conformtest: XFAIL tv_nsec tests for x32 (bug 16437).
[glibc.git] / ChangeLog
blobce823aec0f48d3c32190c3d534670ab1121870ad
1 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #16437]
4         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
6         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7         x86_64-x32-linux.
8         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
9         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
10         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
12         [BZ #21261]
13         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
14         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
15         names for all fields.
16         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
17         for jmp_buf field renaming.
18         (_JMPBUF_UNWINDS_ADJ): Likewise.
20         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
21         with allow-header.
23 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
25         * malloc/malloc.c (unlink): Add consistency check between size and
26         next->prev->size, to further harden against 1-byte overflows.
28 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
30         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
31         CPU_FEATURES_CPU_P.
33 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
35         [BZ #21259]
36         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
37         unconditionally, not just for [__USE_MISC].
39         [BZ #17786]
40         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
41         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
42         mips-o32-linux.
44         [BZ #21260]
45         * sysdeps/unix/sysv/linux/alpha/Makefile
46         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
47         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
49         * conform/conformtest.pl ($cross): New variable.
50         (--cross): New command-line option.
51         (runtest): Skip test execution when cross-compiling.
52         * conform/Makefile (conformtest-cross): New variable.
53         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
54         conformtest.pl.
56         * conform/conformtest.pl ($xfail_str): New variable.
57         (--xfail=): New command-line option.
58         (top level): Handle expectations starting xfail[cond]-.
59         * conform/Makefile (conformtest-xfail): New variable.
60         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
61         conformtest.pl.
63 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
65         * conform/conformtest.pl: Use compilation instead of execution
66         tests for testing values of constants and usability in #if.
68 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70         * math/auto-libm-test-in: Mark some catan and catanh as
71         xfail-rounding:ibm128-libgcc.
72         * math/auto-libm-test-out-catan: Regenerate.
73         * math/auto-libm-test-out-catanh: Likewise.
75 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
77         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
78         (__END_NAMESPACE_STD): Likewise.
79         (__USING_NAMESPACE_STD): Likewise.
80         (__BEGIN_NAMESPACE_C99): Likewise.
81         (__END_NAMESPACE_C99): Likewise.
82         (__USING_NAMESPACE_C99): Likewise.
83         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
84         undefine macro.
85         (_Mdouble_END_NAMESPACE): Likewise.
86         * ctype/ctype.h: Do not handle C++ namespaces.
87         * libio/bits/stdio-ldbl.h: Likewise.
88         * libio/stdio.h: Likewise.
89         * locale/locale.h: Likewise.
90         * math/bits/mathcalls.h: Likewise.
91         * setjmp/setjmp.h: Likewise.
92         * signal/signal.h: Likewise.
93         * stdlib/bits/stdlib-float.h: Likewise.
94         * stdlib/bits/stdlib-ldbl.h: Likewise.
95         * stdlib/stdlib.h: Likewise.
96         * string/string.h: Likewise.
97         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
98         * time/bits/types/clock_t.h: Likewise.
99         * time/bits/types/struct_tm.h: Likewise.
100         * time/bits/types/time_t.h: Likewise.
101         * time/time.h: Likewise.
102         * wcsmbs/bits/wchar-ldbl.h: Likewise.
103         * wcsmbs/uchar.h: Likewise.
104         * wcsmbs/wchar.h: Likewise.
105         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
106         * wctype/wctype.h: Do not handle C++ namespaces.
107         * scripts/begin-end-check.pl: Remove.
108         * Makefile (installed-headers): Likewise.
109         (tests-special): Do not add $(objpfx)begin-end-check.out.
110         ($(objpfx)begin-end-check.out): Remove.
112 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
113             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
115         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
116         (DL_PLATFORM_INIT): New define.
117         (dl_platform_init): New function.
118         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
119         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
120         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
121         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
122         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
124 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
126         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
127         instead of PIC.
129 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
131         [BZ #21094]
132         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
133         24+24+24-bit pi for wider range of values around pi/2.
134         * math/auto-libm-test-in: Add more tests of cos and tan.
135         * math/auto-libm-test-out-cos: Regenerated.
136         * math/auto-libm-test-out-tan: Likewise.
138 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
140         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
141         (RTLD_START): Don't record stack end address in _dl_start_user.
143 2017-03-15  Alexey Neyman  <stilor@att.net>
145         [BZ #21088]
146         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
147         around definitions match those around use.
149 2017-03-15  Alexey Neyman  <stilor@att.net>
151         * configure.ac: Avoid empty subexpression in grep.
152         * configure: Regenerate.
154 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
156         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
157         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
158         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
159         (test_wrp_rv): Fix format.
160         (test_wrp_rv2): New macro.
161         (do_test): Handle mlock return on 64 bits kernels with 32 bits
162         binaries.
164 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
166         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
167         Use a union when storing pointers.
168         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
169         cast result when passing to INIT_VEC_PTRS_LOOP.
170         (VECTOR_WRAPPER_fFF_3): Likewise.
171         (VECTOR_WRAPPER_fFF_4): Likewise.
173 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
175         * include/bits/mathcalls-helper-functions.h: New file.
176         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
177         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
178         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
179         math/bits/mathcalls-helper-functions.h.
180         * math/bits/mathcalls-helper-functions.h: New file.
181         * math/math.h: Include bits/mathcalls-helper-functions.h for
182         float, double, and long double.
184 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
186         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
187         instead of feraiseexcept.
189 2017-03-15  Florian Weimer  <fweimer@redhat.com>
191         [BZ #21243]
192         * support/temp_file.c (support_delete_temp_files): Add comment
193         about ignored errors.
195 2017-03-15  Florian Weimer  <fweimer@redhat.com>
197         [BZ #21244]
198         * support/xclose.c: New file.
199         * support/Makefile (libsupport-routines): Add xclose.
200         * support/xunistd.h (xclose): Declare.
201         * support/resolv_test.c (server_thread_tcp_client)
202         (server_thread_tcp, make_server_sockets, resolv_test_start)
203         (resolv_test_end): Call xclose instead of close.
204         * support/support_enter_network_namespace.c
205         (support_enter_network_namespace): Likewise.
206         * support/support_run_diff.c (write_to_temp_file): Likewise.
208 2017-03-15  Florian Weimer  <fweimer@redhat.com>
210         * support/support_format_dns_packet.c (support_format_dns_packet):
211         Handle CNAME records in the response.  Extract RDATA names from
212         rdata, not the whole packet.  Check AAAA record length.
213         * support/tst-support_format_dns_packet.c: New file.
214         * support/Makefile (tests): Add tst-support_format_dns_packet.
215         (tst-support_format_dns_packet): Link against libresolv.
217 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
219         [BZ #21232]
220         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
221         posix_fadvise64 weak_alias for static build.
223 2017-03-14  Andreas Schwab  <schwab@suse.de>
225         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
226         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
227         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
228         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
229         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
230         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
231         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
232         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
234 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
236         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
237         posix error code.
238         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
240 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
242         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
243         no_isolate usage for SH.
245 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
247         [BZ #15105]
248         [BZ #19463]
249         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
250         * inet/rcmd.c (rcmd_af): Likewise.
251         * inet/rexec.c   (rexec_af): Likewise.
252         * intl/dcigettext.c (_LIBC): Likewise.
253         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
254         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
255         * locale/setlocale.c (setlocale): Likewise.
256         * posix/spawn_faction_addopen.c
257         (posix_spawn_file_actions_addopen): Likewise.
258         * stdlib/putenv.c (putenv): Use __strndup.
259         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
260         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
261         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
262         (__Need_M_And_C) Remove define/undef.
263         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
264         (__malloc_and_calloc_defined): Remove define.
265         * string/bits/string2.h (__strdup): Remove define.
266         (strdup): Likewise.
267         (__strndup): Likewise.
268         (strndup): Likewise.
270 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
272         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
273         macro.
274         (IPV6_ADDR_PREFERENCES): Likewise.
275         (IPV6_MINHOPCOUNT): Likewise.
276         (IPV6_ORIGDSTADDR): Likewise.
277         (IPV6_RECVORIGDSTADDR): Likewise.
278         (IPV6_TRANSPARENT): Likewise.
279         (IPV6_UNICAST_IF): Likewise.
280         (IPV6_RECVFRAGSIZE): Likewise.
282 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
284         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
286 2017-03-12  Alexey Neyman <stilor@att.net>
288         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
289         in R_SH_DIR32 case is always false when inlined from
290         dl-conflict.c. Ifdef out to prevent GCC from insertin an
292 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
294         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
295         (__ASSUME_RECV_SYSCALL): Replace duplicate by
296         __ASSUME_SEND_SYSCALL.
298 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
300         * sunrpc/Makefile: don't build and install rpcsvc header
301         files, rpcgen and librpcsvc.a by default.
303 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
305         * math/auto-libm-test-out-catan: Regenerated.
306         * math/auto-libm-test-out-catanh: Likewise.
307         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
309 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
311         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
312         for long double with corrected test expectations.
314 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
316         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
317         Define.
318         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
319         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
320         * sysdeps/unix/sysv/linux/nios2/sysdep.h
321         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
322         * sysdeps/unix/sysv/linux/tile/sysdep.h
323         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
324         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
325         (__ASSUME_RECV_SYSCALL): Define.
326         * sysdeps/unix/sysv/linux/arm/kernel-features.h
327         (__ASSUME_RECV_SYSCALL): Likewise.
328         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
329         (__ASSUME_RECV_SYSCALL): Likewise.
330         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
331         (__ASSUME_RECV_SYSCALL): Likewise.
332         * sysdeps/unix/sysv/linux/mips/kernel-features.h
333         (__ASSUME_RECV_SYSCALL): Likewise.
334         * sysdeps/unix/sysv/linux/i386/kernel-features.h
335         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
336         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
337         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
338         * sysdeps/unix/sysv/linux/s390/kernel-features.h
339         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
340         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
341         auto-generation list.
342         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
343         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
344         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
345         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
346         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
347         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
348         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
349         __ASSUME_SENDTO_SYSCALL.
350         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
351         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
352         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
354         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
355         auto-generation list.
356         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
357         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
358         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
359         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
360         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
361         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
362         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
363         * sysdeps/unix/sysv/linux/kernel-features.h
364         (__ASSUME_SENDTO_SYSCALL): Define by default.
365         * sysdeps/unix/sysv/linux/i386/kernel-features.h
366         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
367         __NR_sendto.
368         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
369         (__ASSUME_SENDTO_SYSCALL): Likewise.
370         * sysdeps/unix/sysv/linux/s390/kernel-features.h
371         (__ASSUME_SENDTO_SYSCALL): Likewise.
372         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
373         (__ASSUME_SENDTO_SYSCALL): Remove definition.
374         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
375         (__ASSUME_SENDTO_SYSCALL): Likewise.
376         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
377         (__ASSUME_SENDTO_SYSCALL): Likewise.
378         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
380         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
381         auto-generation list.
382         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
383         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
384         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
385         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
386         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
387         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
388         (__ASSUME_RECV_SYSCALL): New define.
389         * sysdeps/unix/sysv/linux/arm/kernel-features.h
390         (__ASSUME_RECV_SYSCALL): Likewise.
391         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
392         (__ASSUME_RECV_SYSCALL): Likewise.
393         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
394         (__ASSUME_RECV_SYSCALL): Likewise.
395         * sysdeps/unix/sysv/linux/mips/kernel-features.h
396         (__ASSUME_RECV_SYSCALL): Likewise.
397         * sysdeps/unix/sysv/linux/i386/kernel-features.h
398         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
399         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
400         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
401         * sysdeps/unix/sysv/linux/s390/kernel-features.h
402         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
403         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
404         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
405         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
406         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
407         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
408         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
410         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
411         auto-generation list.
412         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
413         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
414         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
415         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
416         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
417         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
418         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
419         * sysdeps/unix/sysv/linux/i386/kernel-features.h
420         (__ASSUME_RECVFROM_SYSCALL): Define by default.
421         * sysdeps/unix/sysv/linux/kernel-features.h
422         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
423         __NR_recvfrom.
424         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
425         (__ASSUME_RECVFROM_SYSCALL): Likewise.
426         * sysdeps/unix/sysv/linux/s390/kernel-features.h
427         (__ASSUME_RECVFROM_SYSCALL): Likewise.
428         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
429         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
430         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
431         (__ASSUME_RECVFROM_SYSCALL): Likewise.
432         * sysdeps/unix/sysv/linux/sh/kernel-features.h
433         (__ASSUME_RECVFROM_SYSCALL): Likewise.
434         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
435         (__ASSUME_RECVFROM_SYSCALL): Likewise.
436         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
438         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
439         auto-generation list.
440         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
441         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
442         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
443         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
444         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
445         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
446         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
447         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
448         * sysdeps/unix/sysv/linux/kernel-features.h
449         (__ASSUME_CONNECT_SYSCALL): Define.
450         * sysdeps/unix/sysv/linux/i386/kernel-features.h
451         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
452         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
453         (__ASSUME_CONNECT_SYSCALL): Likewise.
454         * sysdeps/unix/sysv/linux/s390/kernel-features.h
455         (__ASSUME_CONNECT_SYSCALL): Likewise.
456         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
457         (__ASSUME_CONNECT_SYSCALL): Likewise.
459         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
460         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
461         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
462         auto-generation list.
463         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
464         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
465         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
466         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
467         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
468         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
469         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
470         * sysdeps/unix/sysv/linux/i386/kernel-features.h
471         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
472         (__ASSUME_ACCEPT_SYSCALL): Undefine.
473         * sysdeps/unix/sysv/linux/kernel-features.h
474         (__ASSUME_ACCEPT_SYSCALL): New define.
475         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
476         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
477         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
478         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
479         (__ASSUME_ACCEPT_SYSCALL): Define.
480         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
481         (__ASSUME_ACCEPT_SYSCALL): Undefine.
482         * sysdeps/unix/sysv/linux/s390/kernel-features.h
483         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
484         (__ASSUME_ACCEPT_SYSCALL): Undefine.
485         * sysdeps/unix/sysv/linux/sh/kernel-features.h
486         (__ASSUME_ACCEPT_SYSCALL): Undefine.
487         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
488         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
490 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
491             Zack Weinberg  <zackw@panix.com>
493         * posix/test-errno.c: New file.
494         * posix/Makefile (tests): Add test-errno.
495         * sysdeps/unix/sysv/linux/test-errno.c: New file.
496         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
498 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
500         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
502 2017-03-07  Florian Weimer  <fweimer@redhat.com>
504         * time/tzset.c (compute_offset): Open-code min macro.
505         (min, max, sign): Remove.
507 2017-03-07  Florian Weimer  <fweimer@redhat.com>
509         [BZ #15576]
510         Remove TZNAME_MAX limit from sysconf.
511         * include/time.h (__tzname_cur_max, __tzname_max): Remove
512         declaration.
513         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
514         compute_tzname_max.
515         (compute_tzname_max): Remove.
516         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
517         (update_vars): Do not update __tzname_cur_max.
518         (tzset_internal): Remove argument.
519         (__tzset): Adjust call to tzset_internal.
520         (__tz_convert): Likewise.
522         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
523         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
524         * manual/conf.texi (Sysconf Definition): Update comment.
526 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
528         [BZ #21209]
529         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
530         AT_SECURE processes.
531         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
532         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
533         (test_child): Likewise.
534         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
536 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
538         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
540 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
542         * sysdeps/s390/atomic-machine.h
543         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
544         (__arch_compare_and_exchange_val_8_acq,
545         __arch_compare_and_exchange_val_16_acq,
546         __arch_compare_and_exchange_val_32_acq,
547         __arch_compare_and_exchange_val_64_acq):
548         Delete macro.
549         (atomic_compare_and_exchange_val_acq,
550         atomic_compare_and_exchange_val_rel,
551         atomic_compare_and_exchange_bool_acq,
552         catomic_compare_and_exchange_bool_acq,
553         atomic_exchange_acq, atomic_exchange_rel,
554         atomic_exchange_and_add_acq,
555         atomic_exchange_and_add_rel,
556         catomic_exchange_and_add, atomic_or_val,
557         atomic_or, catomic_or, atomic_bit_test_set,
558         atomic_and_val, atomic_and, catomic_and):
559         Define macros with help of C11 atomic builtins.
561 2017-03-03  Justus Winter <justus@gnupg.org>
563         * sysdeps/mach/hurd/ftruncate64.c: New file.
564         * sysdeps/mach/hurd/truncate64.c: Likewise.
566 2017-03-03  Florian Weimer  <fweimer@redhat.com>
568         * time/tzfile.c (NOID): Do not define.
569         * time/tzset.c (NOID): Likewise.
571 2017-03-03  Florian Weimer  <fweimer@redhat.com>
573         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
575 2017-03-02  Florian Weimer  <fweimer@redhat.com>
577         * elf/get-dynamic-info.h: Remove header file inclusion guard.
579 2017-03-02  Florian Weimer  <fweimer@redhat.com>
581         [BZ #21015]
582         * manual/install.texi (Configuring and compiling): Document
583         --enable-bind-now.
584         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
585         (build-shlib-helper): Use $(LDFLAGS-lib.so).
586         (format.lds): Likewise.
587         [bind-now] (LDFLAGS-c.so): Remove.
588         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
589         be R_X86_64_GLOB_DAT.
590         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
591         relocation can be R_386_GLOB_DAT.
592         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
593         relocaiton can be R_ALPHA_GLOB_DAT.
594         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
596 2017-03-01  Zack Weinberg  <zackw@panix.com>
598         * include/libc-pointer-arith.h: New file.  Define
599         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
600         PTR_ALIGN_DOWN here.
601         * include/libc-internal.h: Definitions of above macros
602         moved from here.  Don't include libc-diag.h anymore either.
603         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
604         Don't include libc-internal.h.
606         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
607         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
608         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
609         * string/strcoll_l.c, sysdeps/nacl/brk.c
610         * sysdeps/unix/clock_settime.c
611         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
612         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
613         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
614         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
615         Don't include libc-internal.h.
617         * elf/get-dynamic-info.h, iconv/loop.c
618         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
619         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
620         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
621         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
622         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
623         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
624         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
625         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
626         * sysdeps/ieee754/ldbl-128/k_tanl.c
627         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
628         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
629         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
630         Include libc-diag.h instead of libc-internal.h.
632         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
633         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
634         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
635         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
636         * sysdeps/unix/sysv/linux/spawni.c
637         * sysdeps/x86_64/nptl/tls.h:
638         Include libc-pointer-arith.h instead of libc-internal.h.
640         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
641         * sysdeps/x86_64/atomic-machine.h:
642         Add multiple include guard.
644         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
645         * string/strcasestr.c: No need to include config.h.
646         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
647         sys/auxv.h. Don't include sysdep.h.
648         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
650         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
651         DL_LOOKUP_ADDRESS.
652         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
653         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
654         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
655         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
656         of ARTIFICIAL_LIMIT.
657         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
658         declaration of __clone2.
660 2017-02-28  Florian Weimer  <fweimer@redhat.com>
662         * scripts/backport-support.sh (latest_commit): New file.
664 2017-02-28  Florian Weimer  <fweimer@redhat.com>
666         [BZ #20257]
667         * inet/Makefile (routines): Add deadline.
668         (tests-static): Add tst-deadline.
669         * inet/net-internal.h (struct deadline_current_time)
670         (__deadline_current_time, struct deadline, __deadline_is_infinite)
671         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
672         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
673         * inet/deadline.c: New file.
674         * inet/tst-deadline.c: Likewise.
675         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
676         tst-udp-timeout, tst-udp-garbage.
677         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
678         explicitly.
679         (tst-udp-garbage): Likewise.  Also link against thread library.
680         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
681         struct layout is part of the ABI.
682         (clntudp_call): Rework timeout handling.
683         * sunrpc/tst-udp-garbage.c: New file.
684         * sunrpc/tst-udp-nonblocking.c: Likewise.
685         * sunrpc/tst-udp-timeout.c: Likewise.
687 2017-02-28  Florian Weimer  <fweimer@redhat.com>
689         [BZ #5010]
690         * sunrpc/svc.c (svc_is_mapped): Remove.
691         (svc_unregister): Obtain mapped status while the service is still
692         registered.
693         * sunrpc/Makefile [have-thread-library] (tests): Add
694         tst-svc_register.
695         (tst-svc_register): Link against libc.so explicitly and the thread
696         library.
697         * sunrpc/tst-svc_register.c: New file.
699 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
701         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
702         * sysdeps/pthread/bits/sigthread.h: Likewise.
704 2017-02-27  Florian Weimer  <fweimer@redhat.com>
706         [BZ #21115]
707         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
708         * sunrpc/Makefile (tests): Add tst-udp-error.
709         (tst-udp-error): Link against libc.so explicitly.
710         * sunrpc/tst-udp-error: New file.
712 2017-02-25  Zack Weinberg  <zackw@panix.com>
714         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
715         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
717         * sysdeps/generic/math_ldbl.h
718         * sysdeps/ia64/fpu/math_ldbl.h
719         * sysdeps/ieee754/ldbl-128/math_ldbl.h
720         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
721         * sysdeps/ieee754/ldbl-96/math_ldbl.h
722         * sysdeps/powerpc/fpu/math_ldbl.h
723         * sysdeps/x86_64/fpu/math_ldbl.h:
724         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
725         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
726         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
727         Add copyright notices.
729         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
730         Don't use EXTRACT_WORDS64.
732         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
733         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
734         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
735         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
736         Include math_ldbl.h, not math_private.h.
738 2017-02-25  Zack Weinberg  <zackw@panix.com>
740         * include/libc-diag.h: New file.  Define ignore_value,
741         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
742         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
744         * include/libc-internal.h: Definitions of above macros moved from
745         here.  Include libc-diag.h.  Add copyright notice.
747         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
748         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
749         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
750         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
751         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
752         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
753         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
754         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
755         Include libc-diag.h instead of libc-internal.h.
757         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
758         call to unsetenv (NULL).
759         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
760         call to pthread_mutexattr_destroy (NULL).
762 2017-02-25  Zack Weinberg  <zackw@panix.com>
764         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
765         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
766         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
767         gets was removed from C++ in C++14.
768         * include/stdio.h: Remove redundant declaration of gets.
769         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
770         be declared, since we are testing it.
771         * stdio-common/Makefile (tst-gets.c): Compile with
772         -Wno-deprecated-declarations.
773         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
774         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
775         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
776         Compile with -Wno-deprecated-declarations.
778 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
780         * math/libm-test-support.c (check_ulp): Use LIT() around literal
781         numbers.
783 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
785         * resolv/tst-resolv-qtypes.c (domain):
786         Change type to const pointer to const char.
788 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
790         * math/Makefile (libm-tests-generated): Remove variable.
791         (libm-tests-base-normal): New variable.
792         (libm-tests-base-finite): Likewise.
793         (libm-tests-base-inline): Likewise.
794         (libm-tests-base): Likewise.
795         (libm-tests-normal): Likewise.
796         (libm-tests-finite): Likewise.
797         (libm-tests-inline): Likewise.
798         (libm-tests-vector): Likewise.
799         (libm-tests): Define in terms of these new variables.
800         (libm-tests-for-type): New variable.
801         (libm-tests.o): Move definition.
802         (tests): Move addition of $(libm-tests).
803         (generated): Update for new and removed libm test files.
804         ($(objpfx)libm-test.c): Remove target.
805         ($(objpfx)libm-have-vector-test.h): Likewise.
806         (CFLAGS-test-double-vlen2.c): Remove variable.
807         (CFLAGS-test-double-vlen4.c): Likewise.
808         (CFLAGS-test-double-vlen8.c): Likewise.
809         (CFLAGS-test-float-vlen4.c): Likewise.
810         (CFLAGS-test-float-vlen8.c): Likewise.
811         (CFLAGS-test-float-vlen16.c): Likewise.
812         (CFLAGS-test-float.c): Likewise.
813         (CFLAGS-test-float-finite.c): Likewise.
814         (CFLAGS-libm-test-support-float.c): Likewise.
815         (CFLAGS-test-double.c): Likewise.
816         (CFLAGS-test-double-finite.c): Likewise.
817         (CFLAGS-libm-test-support-double.c): Likewise.
818         (CFLAGS-test-ldouble.c): Likewise.
819         (CFLAGS-test-ldouble-finite.c): Likewise.
820         (CFLAGS-libm-test-support-ldouble.c): Likewise.
821         (libm-test-inline-cflags): New variable.
822         (CFLAGS-test-ifloat.c): Remove variable.
823         (CFLAGS-test-idouble.c): Likewise.
824         (CFLAGS-test-ildouble.c): Likewise.
825         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
826         dependencies.
827         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
828         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
829         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
830         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
831         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
832         Likewise.
833         (dependencies on libm-test-support-*.o): Remove.
834         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
835         rules using iterators.
836         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
837         Likewise.
838         ($(objpfx)libm-test-support-$(o).o): Likewise.
839         ($(addprefix $(objpfx),$(filter-out $(tests-static)
840         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
841         instead.
842         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
843         define rule instead.
844         * math/README.libm-test: Update.
845         * math/libm-test-acos.inc: Include libm-test-driver.c.
846         (do_test): New function.
847         * math/libm-test-acosh.inc: Include libm-test-driver.c.
848         (do_test): New function.
849         * math/libm-test-asin.inc: Include libm-test-driver.c.
850         (do_test): New function.
851         * math/libm-test-asinh.inc: Include libm-test-driver.c.
852         (do_test): New function.
853         * math/libm-test-atan.inc: Include libm-test-driver.c.
854         (do_test): New function.
855         * math/libm-test-atan2.inc: Include libm-test-driver.c.
856         (do_test): New function.
857         * math/libm-test-atanh.inc: Include libm-test-driver.c.
858         (do_test): New function.
859         * math/libm-test-cabs.inc: Include libm-test-driver.c.
860         (do_test): New function.
861         * math/libm-test-cacos.inc: Include libm-test-driver.c.
862         (do_test): New function.
863         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
864         (do_test): New function.
865         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
866         (do_test): New function.
867         * math/libm-test-carg.inc: Include libm-test-driver.c.
868         (do_test): New function.
869         * math/libm-test-casin.inc: Include libm-test-driver.c.
870         (do_test): New function.
871         * math/libm-test-casinh.inc: Include libm-test-driver.c.
872         (do_test): New function.
873         * math/libm-test-catan.inc: Include libm-test-driver.c.
874         (do_test): New function.
875         * math/libm-test-catanh.inc: Include libm-test-driver.c.
876         (do_test): New function.
877         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
878         (do_test): New function.
879         * math/libm-test-ccos.inc: Include libm-test-driver.c.
880         (do_test): New function.
881         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
882         (do_test): New function.
883         * math/libm-test-ceil.inc: Include libm-test-driver.c.
884         (do_test): New function.
885         * math/libm-test-cexp.inc: Include libm-test-driver.c.
886         (do_test): New function.
887         * math/libm-test-cimag.inc: Include libm-test-driver.c.
888         (do_test): New function.
889         * math/libm-test-clog.inc: Include libm-test-driver.c.
890         (do_test): New function.
891         * math/libm-test-clog10.inc: Include libm-test-driver.c.
892         (do_test): New function.
893         * math/libm-test-conj.inc: Include libm-test-driver.c.
894         (do_test): New function.
895         * math/libm-test-copysign.inc: Include libm-test-driver.c.
896         (do_test): New function.
897         * math/libm-test-cos.inc: Include libm-test-driver.c.
898         (do_test): New function.
899         * math/libm-test-cosh.inc: Include libm-test-driver.c.
900         (do_test): New function.
901         * math/libm-test-cpow.inc: Include libm-test-driver.c.
902         (do_test): New function.
903         * math/libm-test-cproj.inc: Include libm-test-driver.c.
904         (do_test): New function.
905         * math/libm-test-creal.inc: Include libm-test-driver.c.
906         (do_test): New function.
907         * math/libm-test-csin.inc: Include libm-test-driver.c.
908         (do_test): New function.
909         * math/libm-test-csinh.inc: Include libm-test-driver.c.
910         (do_test): New function.
911         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
912         (do_test): New function.
913         * math/libm-test-ctan.inc: Include libm-test-driver.c.
914         (do_test): New function.
915         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
916         (do_test): New function.
917         * math/libm-test-erf.inc: Include libm-test-driver.c.
918         (do_test): New function.
919         * math/libm-test-erfc.inc: Include libm-test-driver.c.
920         (do_test): New function.
921         * math/libm-test-exp.inc: Include libm-test-driver.c.
922         (do_test): New function.
923         * math/libm-test-exp10.inc: Include libm-test-driver.c.
924         (do_test): New function.
925         * math/libm-test-exp2.inc: Include libm-test-driver.c.
926         (do_test): New function.
927         * math/libm-test-expm1.inc: Include libm-test-driver.c.
928         (do_test): New function.
929         * math/libm-test-fabs.inc: Include libm-test-driver.c.
930         (do_test): New function.
931         * math/libm-test-fdim.inc: Include libm-test-driver.c.
932         (do_test): New function.
933         * math/libm-test-floor.inc: Include libm-test-driver.c.
934         (do_test): New function.
935         * math/libm-test-fma.inc: Include libm-test-driver.c.
936         (do_test): New function.
937         * math/libm-test-fmax.inc: Include libm-test-driver.c.
938         (do_test): New function.
939         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
940         (do_test): New function.
941         * math/libm-test-fmin.inc: Include libm-test-driver.c.
942         (do_test): New function.
943         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
944         (do_test): New function.
945         * math/libm-test-fmod.inc: Include libm-test-driver.c.
946         (do_test): New function.
947         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
948         (do_test): New function.
949         * math/libm-test-frexp.inc: Include libm-test-driver.c.
950         (do_test): New function.
951         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
952         (do_test): New function.
953         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
954         (do_test): New function.
955         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
956         (do_test): New function.
957         * math/libm-test-hypot.inc: Include libm-test-driver.c.
958         (do_test): New function.
959         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
960         (do_test): New function.
961         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
962         (do_test): New function.
963         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
964         (do_test): New function.
965         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
966         (do_test): New function.
967         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
968         (do_test): New function.
969         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
970         (do_test): New function.
971         * math/libm-test-isinf.inc: Include libm-test-driver.c.
972         (do_test): New function.
973         * math/libm-test-isless.inc: Include libm-test-driver.c.
974         (do_test): New function.
975         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
976         (do_test): New function.
977         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
978         (do_test): New function.
979         * math/libm-test-isnan.inc: Include libm-test-driver.c.
980         (do_test): New function.
981         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
982         (do_test): New function.
983         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
984         (do_test): New function.
985         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
986         (do_test): New function.
987         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
988         (do_test): New function.
989         * math/libm-test-iszero.inc: Include libm-test-driver.c.
990         (do_test): New function.
991         * math/libm-test-j0.inc: Include libm-test-driver.c.
992         (do_test): New function.
993         * math/libm-test-j1.inc: Include libm-test-driver.c.
994         (do_test): New function.
995         * math/libm-test-jn.inc: Include libm-test-driver.c.
996         (do_test): New function.
997         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
998         (do_test): New function.
999         * math/libm-test-llogb.inc: Include libm-test-driver.c.
1000         (do_test): New function.
1001         * math/libm-test-llrint.inc: Include libm-test-driver.c.
1002         (do_test): New function.
1003         * math/libm-test-llround.inc: Include libm-test-driver.c.
1004         (do_test): New function.
1005         * math/libm-test-log.inc: Include libm-test-driver.c.
1006         (do_test): New function.
1007         * math/libm-test-log10.inc: Include libm-test-driver.c.
1008         (do_test): New function.
1009         * math/libm-test-log1p.inc: Include libm-test-driver.c.
1010         (do_test): New function.
1011         * math/libm-test-log2.inc: Include libm-test-driver.c.
1012         (do_test): New function.
1013         * math/libm-test-logb.inc: Include libm-test-driver.c.
1014         (do_test): New function.
1015         * math/libm-test-lrint.inc: Include libm-test-driver.c.
1016         (do_test): New function.
1017         * math/libm-test-lround.inc: Include libm-test-driver.c.
1018         (do_test): New function.
1019         * math/libm-test-modf.inc: Include libm-test-driver.c.
1020         (do_test): New function.
1021         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
1022         (do_test): New function.
1023         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
1024         (do_test): New function.
1025         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
1026         (do_test): New function.
1027         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
1028         (do_test): New function.
1029         * math/libm-test-nextup.inc: Include libm-test-driver.c.
1030         (do_test): New function.
1031         * math/libm-test-pow.inc: Include libm-test-driver.c.
1032         (do_test): New function.
1033         * math/libm-test-remainder.inc: Include libm-test-driver.c.
1034         (do_test): New function.
1035         * math/libm-test-remquo.inc: Include libm-test-driver.c.
1036         (do_test): New function.
1037         * math/libm-test-rint.inc: Include libm-test-driver.c.
1038         (do_test): New function.
1039         * math/libm-test-round.inc: Include libm-test-driver.c.
1040         (do_test): New function.
1041         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
1042         (do_test): New function.
1043         * math/libm-test-scalb.inc: Include libm-test-driver.c.
1044         (do_test): New function.
1045         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
1046         (do_test): New function.
1047         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
1048         (do_test): New function.
1049         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
1050         (do_test): New function.
1051         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
1052         (do_test): New function.
1053         * math/libm-test-signbit.inc: Include libm-test-driver.c.
1054         (do_test): New function.
1055         * math/libm-test-significand.inc: Include libm-test-driver.c.
1056         (do_test): New function.
1057         * math/libm-test-sin.inc: Include libm-test-driver.c.
1058         (do_test): New function.
1059         * math/libm-test-sincos.inc: Include libm-test-driver.c.
1060         (do_test): New function.
1061         * math/libm-test-sinh.inc: Include libm-test-driver.c.
1062         (do_test): New function.
1063         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
1064         (do_test): New function.
1065         * math/libm-test-tan.inc: Include libm-test-driver.c.
1066         (do_test): New function.
1067         * math/libm-test-tanh.inc: Include libm-test-driver.c.
1068         (do_test): New function.
1069         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
1070         (do_test): New function.
1071         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
1072         (do_test): New function.
1073         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
1074         (do_test): New function.
1075         * math/libm-test-trunc.inc: Include libm-test-driver.c.
1076         (do_test): New function.
1077         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
1078         (do_test): New function.
1079         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
1080         (do_test): New function.
1081         * math/libm-test-y0.inc: Include libm-test-driver.c.
1082         (do_test): New function.
1083         * math/libm-test-y1.inc: Include libm-test-driver.c.
1084         (do_test): New function.
1085         * math/libm-test-yn.inc: Include libm-test-driver.c.
1086         (do_test): New function.
1087         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
1088         (HAVE_VECTOR): Remove macro.
1089         (START): Do not call HAVE_VECTOR.
1090         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
1091         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
1092         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
1093         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
1094         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
1095         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
1096         * math/test-math-vector.h (FUNC_TEST): New macro.
1097         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
1098         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
1099         (double-vlen4-funcs): Likewise.
1100         (double-vlen4-avx2-funcs): Likewise.
1101         (double-vlen8-funcs): Likewise.
1102         (float-vlen4-funcs): Likewise.
1103         (float-vlen8-funcs): Likewise.
1104         (float-vlen8-avx2-funcs): Likewise.
1105         (float-vlen16-funcs): Likewise.
1106         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
1107         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
1108         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
1109         macro.
1110         (TEST_VECTOR_sin): Likewise.
1111         (TEST_VECTOR_sincos): Likewise.
1112         (TEST_VECTOR_log): Likewise.
1113         (TEST_VECTOR_exp): Likewise.
1114         (TEST_VECTOR_pow): Likewise.
1115         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
1116         Likewise.
1117         (TEST_VECTOR_sin): Likewise.
1118         (TEST_VECTOR_sincos): Likewise.
1119         (TEST_VECTOR_log): Likewise.
1120         (TEST_VECTOR_exp): Likewise.
1121         (TEST_VECTOR_pow): Likewise.
1122         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
1123         Likewise.
1124         (TEST_VECTOR_sinf): Likewise.
1125         (TEST_VECTOR_sincosf): Likewise.
1126         (TEST_VECTOR_logf): Likewise.
1127         (TEST_VECTOR_expf): Likewise.
1128         (TEST_VECTOR_powf): Likewise.
1129         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
1130         Likewise.
1131         (TEST_VECTOR_sinf): Likewise.
1132         (TEST_VECTOR_sincosf): Likewise.
1133         (TEST_VECTOR_logf): Likewise.
1134         (TEST_VECTOR_expf): Likewise.
1135         (TEST_VECTOR_powf): Likewise.
1136         * math/gen-libm-have-vector-test.sh: Remove file.
1137         * math/libm-test.inc: Likewise.
1138         * math/libm-test-support-double.c: Likewise.
1139         * math/libm-test-support-float.c: Likewise.
1140         * math/libm-test-support-ldouble.c: Likewise.
1141         * math/test-double-finite.c: Likewise.: Likewise.
1142         * math/test-double.c: Likewise.
1143         * math/test-float-finite.c: Likewise.
1144         * math/test-float.c: Likewise.
1145         * math/test-idouble.c: Likewise.
1146         * math/test-ifloat.c: Likewise.
1147         * math/test-ildouble.c: Likewise.
1148         * math/test-ldouble-finite.c: Likewise.
1149         * math/test-ldouble.c: Likewise.
1150         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1151         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
1152         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1153         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1154         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1155         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1156         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1157         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
1158         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1159         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1161 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1162            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1164         * math/Makefile: Add wrappers to gen-libm-calls.
1165         * math/w_acos_template.c: New file.
1166         * math/w_acosh_template.c: Likewise.
1167         * math/w_asin_template.c: Likewise.
1168         * math/w_atan2_template.c: Likewise.
1169         * math/w_atanh_template.c: Likewise.
1170         * math/w_cosh_template.c: Likewise.
1171         * math/w_exp10_template.c: Likewise.
1172         * math/w_exp2_template.c: Likewise.
1173         * math/w_exp_template.c: Likewise.
1174         * math/w_fmod_template.c: Likewise.
1175         * math/w_hypot_template.c: Likewise.
1176         * math/w_j0_template.c: Likewise.
1177         * math/w_j1_template.c: Likewise.
1178         * math/w_jn_template.c: Likewise.
1179         * math/w_lgamma_r_template.c: Likewise.
1180         * math/w_lgamma_template.c: Likewise.
1181         * math/w_log10_template.c: Likewise.
1182         * math/w_log2_template.c: Likewise.
1183         * math/w_log_template.c: Likewise.
1184         * math/w_pow_template.c: Likewise.
1185         * math/w_remainder_template.c: Likewise.
1186         * math/w_sinh_template.c: Likewise.
1187         * math/w_sqrt_template.c: Likewise.
1188         * math/w_tgamma_template.c: Likewise.: Likewise.
1189         * sysdeps/generic/math-type-macros-double.h
1190         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
1191         the new wrappers.
1192         * sysdeps/generic/math-type-macros-float.h: Likewise.
1193         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1195 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
1197         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
1198         New enum constant and macro.
1200         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1201         kernel version to 4.10.
1203 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
1205         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
1207 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1211 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1213         * sysdeps/powerpc/tst-set_ppr.c: New file.
1214         Implement test cases for __ppc_set_ppr_* functions.
1215         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
1216         in the list of tests.
1218 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1220         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
1221         instead of test-skeleton.c.
1222         (do_test): Replaced pthread_create and pthread_join with
1223         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
1224         Removed unneeded status variable.
1225         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
1226         instead of test-skeleton.c.
1227         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
1229 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
1231         [BZ #20313]
1232         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1233         201605L, for Unicode 9.
1235 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
1237         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
1238         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1239         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1240         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1241         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1242         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1244 2017-02-19  Zack Weinberg  <zackw@panix.com>
1246         * rt/tst-mqueue4.c: Include stdint.h.
1248 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1250         * sysdeps/arm/libm-test-ulps: Update.
1251         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1252         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1253         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1255 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1257         [BZ #21029]
1258         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
1259         * sysdeps/unix/sysv/linux/i386/Makefile
1260         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
1261         (uses-6-syscall-arguments): Remove.
1262         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
1263         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
1264         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
1265         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
1266         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
1267         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
1268         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
1269         [$(subdir) = misc] (cflags-pselect.o): Likewise.
1270         [$(subdir) = misc] (cflags-pselect.os): Likewise.
1271         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
1272         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
1273         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
1274         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
1275         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
1276         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
1277         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
1278         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
1279         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
1280         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
1281         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
1282         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
1283         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
1284         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
1285         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
1286         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
1287         Likewise.
1288         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
1289         Likewise.
1290         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
1291         Likewise.
1292         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
1293         Likewise.
1294         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
1295         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
1296         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
1297         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
1298         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
1299         ebp on inline assembly.
1300         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
1301         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1302         Set if CAN_USE_REGISTER_ASM_EBP is set.
1304 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
1306         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
1307         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
1309 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1311         * math/auto-libm-test-in: Add tests of catan and catanh.
1312         * math/auto-libm-test-out-catan: New generated file.
1313         * math/auto-libm-test-out-catanh: Likewise.
1314         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
1315         Move tests with finite inputs, except divide-by-zero cases, to
1316         auto-libm-test-in.
1317         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
1318         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
1319         (libm-test-funcs-noauto): Remove catan and catanh.
1320         * sysdeps/i386/fpu/libm-test-ulps: Update.
1321         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1324         * math/auto-libm-test-in: Add tests of casin and casinh.
1325         * math/auto-libm-test-out-casin: New generated file.
1326         * math/auto-libm-test-out-casinh: Likewise.
1327         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
1328         Move tests with finite inputs to auto-libm-test-in.
1329         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
1330         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
1331         (libm-test-funcs-noauto): Remove casin and casinh.
1332         * sysdeps/i386/fpu/libm-test-ulps: Update.
1333         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1336         * math/auto-libm-test-in: Add tests of cacos and cacosh.
1337         * math/auto-libm-test-out-cacos: New generated file.
1338         * math/auto-libm-test-out-cacosh: Likewise.
1339         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
1340         Move tests with finite inputs to auto-libm-test-in.
1341         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
1342         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
1343         (libm-test-funcs-noauto): Remove cacos and cacosh.
1344         * sysdeps/i386/fpu/libm-test-ulps: Update.
1345         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1348         Revert:
1349         2017-02-16  Zack Weinberg  <zackw@panix.com>
1351         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1352         Don't include init-arch.h.
1353         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1354         Don't include init-arch.h.
1356 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1358         [BZ #21171]
1359         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
1360         +Inf and raise divide-by-zero when x is negative.
1361         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
1362         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
1363         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
1364         -Inf and raise divide-by-zero when x = +-0.
1365         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1366         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
1367         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
1368         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
1369         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1370         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1371         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1373 2017-02-16  Zack Weinberg  <zackw@panix.com>
1375         * scripts/build-many-glibcs.py (bot_build_mail): If the
1376         bot_config does not contain all of the necessary email-
1377         related settings, just print a warning and continue.
1379 2017-02-16  Zack Weinberg  <zackw@panix.com>
1381         * crypt/md5.h: Test _LIBC with #if defined, not #if.
1382         * dirent/opendir-tst1.c: Include sys/stat.h.
1383         * dirent/tst-fdopendir.c: Include sys/stat.h.
1384         * dirent/tst-fdopendir2.c: Include stdlib.h.
1385         * dirent/tst-scandir.c: Include stdbool.h.
1386         * elf/tst-auditmod1.c: Include link.h and stddef.h.
1387         * elf/tst-tls15.c: Include stdlib.h.
1388         * elf/tst-tls16.c: Include stdlib.h.
1389         * elf/tst-tls17.c: Include stdlib.h.
1390         * elf/tst-tls18.c: Include stdlib.h.
1391         * iconv/tst-iconv6.c: Include endian.h.
1392         * iconvdata/bug-iconv11.c: Include limits.h.
1393         * io/test-utime.c: Include stdint.h.
1394         * io/tst-faccessat.c: Include sys/stat.h.
1395         * io/tst-fchmodat.c: Include sys/stat.h.
1396         * io/tst-fchownat.c: Include sys/stat.h.
1397         * io/tst-fstatat.c: Include sys/stat.h.
1398         * io/tst-futimesat.c: Include sys/stat.h.
1399         * io/tst-linkat.c: Include sys/stat.h.
1400         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
1401         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
1402         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
1403         * io/tst-openat.c: Include stdbool.h.
1404         * io/tst-readlinkat.c: Include sys/stat.h.
1405         * io/tst-renameat.c: Include sys/stat.h.
1406         * io/tst-symlinkat.c: Include sys/stat.h.
1407         * io/tst-unlinkat.c: Include stdbool.h.
1408         * libio/bug-memstream1.c: Include stdlib.h.
1409         * libio/bug-wmemstream1.c: Include stdlib.h.
1410         * libio/tst-fwrite-error.c: Include stdlib.h.
1411         * libio/tst-memstream1.c: Include stdlib.h.
1412         * libio/tst-memstream2.c: Include stdlib.h.
1413         * libio/tst-memstream3.c: Include stdlib.h.
1414         * malloc/tst-interpose-aux.c: Include stdint.h.
1415         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
1416         * nptl/tst-basic7.c: Include limits.h.
1417         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
1418         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
1419         * nptl/tst-cancel4_1.c: Include stddef.h.
1420         * nptl/tst-cancel4_2.c: Include stddef.h.
1421         * nptl/tst-cond16.c: Include limits.h.
1422         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1423         * nptl/tst-cond18.c: Include limits.h.
1424         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1425         * nptl/tst-cond4.c: Include stdint.h.
1426         * nptl/tst-cond6.c: Include stdint.h.
1427         * nptl/tst-stack2.c: Include limits.h.
1428         * nptl/tst-stackguard1.c: Include stddef.h.
1429         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
1430         * nptl/tst-tls4moda.c: Include stddef.h.
1431         Don't include stdio.h, unistd.h, or tls.h.
1432         * nptl/tst-tls4modb.c: Include stddef.h.
1433         Don't include stdio.h, unistd.h, or tls.h.
1434         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
1435         * posix/tst-getaddrinfo2.c: Include stdio.h.
1436         * posix/tst-getaddrinfo5.c: Include stdio.h.
1437         * posix/tst-pathconf.c: Include sys/stat.h.
1438         * posix/tst-posix_fadvise-common.c: Include stdint.h.
1439         * posix/tst-preadwrite-common.c: Include sys/stat.h.
1440         * posix/tst-regex.c: Include stdint.h.
1441         Don't include spawn.h or spawn_int.h.
1442         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
1443         * posix/tst-vfork3.c: Include sys/stat.h.
1444         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
1445         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
1446         * resolv/tst-resolv-search.c: Include stdlib.h.
1447         * stdio-common/tst-fmemopen2.c: Include stdint.h.
1448         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
1449         * stdlib/test-canon.c: Include sys/stat.h.
1450         * stdlib/tst-tls-atexit.c: Include stdbool.h.
1451         * string/test-memchr.c: Include stdint.h.
1452         * string/tst-cmp.c: Include stdint.h.
1453         * sysdeps/pthread/tst-timer.c: Include stdint.h.
1454         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
1455         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
1456         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1457         Don't include init-arch.h.
1458         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1459         Don't include init-arch.h.
1460         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
1461         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
1462         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
1463         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
1464         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
1465         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
1466         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
1467         * time/clocktest.c: Include stdint.h.
1468         * time/tst-posixtz.c: Include stdint.h.
1469         * timezone/tst-timezone.c: Include stdint.h.
1471 2017-02-16  Zack Weinberg  <zackw@panix.com>
1473         * string/string.h [__USE_MISC]: Include strings.h.
1474         (__bzero, bcmp, bcopy, bzero, index, rindex)
1475         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
1476         (ffs, ffsl, ffsll): Don't declare.
1477         * string/strings.h: Do not suppress the file if string.h has
1478         already been included.
1479         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
1480         annotations.
1481         (index, rindex): Define inline forwarders even if
1482         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
1483         (ffs): Use __attribute_const__.
1484         (ffsl, ffsll): Declare here.
1485         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
1486         have now been standardized.
1487         * include/string.h (__bzero): Declare here.
1489         * bits/types.h: Move to posix/bits.
1490         * include/bits/types.h: New wrapper.
1492 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1494         * string/bits/string2.h (strcmp): Remove define.
1495         (__strcmp_cg): Likewise.
1496         (strncmp): Likewise.
1498 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1500         * include/string.h: Add __cplusplus check.
1502 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1504         [BZ #21134]
1505         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
1506         "divide by zero" exception when the input is zero.
1507         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
1508         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
1509         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
1510         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
1511         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1513 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
1515         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
1516         and include ...
1517         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
1518         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
1519         to, and include ...
1520         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
1521         file.
1522         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
1523         and include ...
1524         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
1525         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
1526         and include ...
1527         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
1528         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
1529         and include ...
1530         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
1531         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
1532         and include ...
1533         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
1534         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
1535         to, and include ...
1536         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
1537         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
1538         and include ...
1539         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
1541 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
1543         * math/libm-test-support.h: Do not include <math-tests-arch.h>
1544         here.
1545         * math/libm-test-support.c (libm_test_init): Do not call
1546         INIT_ARCH_EXT here.
1547         * math/libm-test-driver.c: Include <math-tests-arch.h>.
1548         (main): Call INIT_ARCH_EXT.
1550 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1552         [BZ #21130]
1553         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
1554         with the "invalid" exception raised when x is -Inf.
1555         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1557 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
1559         * string/bits/string2.h (strchr): Remove define.
1561 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
1563         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
1564         tst-avx512.
1565         (test-extras): Add tst-avx-aux and tst-avx512-aux.
1566         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
1567         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
1568         ($(objpfx)tst-sse): New rule.
1569         ($(objpfx)tst-avx): Likewise.
1570         ($(objpfx)tst-avx512): Likewise.
1571         (CFLAGS-tst-avx-aux.c): New.
1572         (CFLAGS-tst-avxmod.c): Likewise.
1573         (CFLAGS-tst-avx512-aux.c): Likewise.
1574         (CFLAGS-tst-avx512mod.c): Likewise.
1575         * sysdeps/x86_64/tst-avx-aux.c: New file.
1576         * sysdeps/x86_64/tst-avx.c: Likewise.
1577         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
1578         * sysdeps/x86_64/tst-avx512.c: Likewise.
1579         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
1580         * sysdeps/x86_64/tst-avxmod.c: Likewise.
1581         * sysdeps/x86_64/tst-sse.c: Likewise.
1582         * sysdeps/x86_64/tst-ssemod.c: Likewise.
1584 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1586         * math/auto-libm-test-in: Add more tests of csin and csinh.
1587         * math/auto-libm-test-out-csin: Regenerated.
1588         * math/auto-libm-test-out-csinh: Likewise.
1589         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
1590         auto-libm-test-in.
1591         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
1593 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1595         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
1596         libm-compat-calls-auto.
1597         (libm-compat-calls): Likewise.
1598         (libm-compat-calls-auto): Rename to libm-compat-calls and add
1599         w_lgamma_compatF and k_standardF (merged from the items above).
1600         (libm-routines): Use libm-compat-calls, instead of
1601         libm-compat-calls-auto, with type-foreach.
1603 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1605         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
1606         macro.
1607         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
1608         (CFLAGS-test-ifloat.c): ... this.  Remove
1609         -U__LIBC_INTERNAL_MATH_INLINES.
1610         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
1611         (CFLAGS-test-idouble.c): ... this.  Remove
1612         -U__LIBC_INTERNAL_MATH_INLINES.
1613         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
1614         (CFLAGS-test-ildouble.c): ... this.  Remove
1615         -U__LIBC_INTERNAL_MATH_INLINES.
1617 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
1619         * math/libm-test-support.c: New file.  Content from
1620         math/libm-test-driver.c.
1621         * math/libm-test-support.h: Likewise.
1622         * math/libm-test-support-double.c: New file.
1623         * math/libm-test-support-float.c: Likewise.
1624         * math/libm-test-support-ldouble.c: Likewise.
1625         * math/libm-test-driver.c: Remove main comment and header
1626         includes.  Include libm-test-support.h.
1627         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
1628         (flag_test_errno): Remove static.
1629         (flag_test_exceptions): Likewise.
1630         (flag_test_finite): Likewise.
1631         (flag_test_inline): Likewise.
1632         (flag_test_mathvec): Likewise.
1633         (test_msg): Likewise.
1634         (NO_EXCEPTION): Remove.
1635         (INVALID_EXCEPTION): Likewise.
1636         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1637         (OVERFLOW_EXCEPTION): Likewise.
1638         (UNDERFLOW_EXCEPTION): Likewise.
1639         (INEXACT_EXCEPTION): Likewise.
1640         (INVALID_EXCEPTION_OK): Likewise.
1641         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1642         (OVERFLOW_EXCEPTION_OK): Likewise.
1643         (UNDERFLOW_EXCEPTION_OK): Likewise.
1644         (NO_INEXACT_EXCEPTION): Likewise.
1645         (EXCEPTIONS_OK): Likewise.
1646         (IGNORE_ZERO_INF_SIGN): Likewise.
1647         (TEST_NAN_SIGN): Likewise.
1648         (TEST_NAN_PAYLOAD): Likewise.
1649         (NO_TEST_INLINE): Likewise.
1650         (XFAIL_TEST): Likewise.
1651         (ERRNO_UNCHANGED): Likewise.
1652         (ERRNO_EDOM): Likewise.
1653         (ERRNO_ERANGE): Likewise.
1654         (IGNORE_RESULT): Likewise.
1655         (NON_FINITE): Likewise.
1656         (TEST_SNAN): Likewise.
1657         (NO_TEST_MATHVEC): Likewise.
1658         (__CONCATX): Likewise.
1659         (TYPE_MIN): Likewise.
1660         (TYPE_TRUE_MIN): Likewise.
1661         (TYPE_MAX): Likewise.
1662         (MIN_EXP): Likewise.
1663         (MAX_EXP): Likewise.
1664         (MANT_DIG): Likewise.
1665         (FSTR_MAX): Likewise.
1666         (ulp_idx): Likewise.
1667         (qtype_str): Remove static.
1668         (TEST_COND_binary32): Remove.
1669         (TEST_COND_binary64): Likewise.
1670         (TEST_COND_binary128): Likewise.
1671         (TEST_COND_ibm128): Likewise.
1672         (TEST_COND_intel96): Likewise.
1673         (TEST_COND_m68k96): Likewise.
1674         (TEST_COND_ibm128_libgcc): Likewise.
1675         (XFAIL_IBM128_LIBGCC): Likewise.
1676         (PAYLOAD_DIG): Likewise.
1677         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1678         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1679         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1680         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1681         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1682         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1683         (TEST_COND_long32): Likewise.
1684         (TEST_COND_long64): Likewise.
1685         (TEST_COND_before_rounding): Likewise.
1686         (TEST_COND_after_rounding): Likewise.
1687         (ulps_file_name): Likewise.
1688         (ulps_file): Likewise.
1689         (output_ulps): Likewise.
1690         (output_dir): Likewise.
1691         (noErrors): Likewise.
1692         (noTests): Likewise.
1693         (noExcTests): Likewise.
1694         (noErrnoTests): Likewise.
1695         (verbose): Likewise.
1696         (output_max_error): Likewise.
1697         (output_points): Likewise.
1698         (ignore_max_ulp): Likewise.
1699         (max_error): Likewise.
1700         (real_max_error): Likewise.
1701         (imag_max_error): Likewise.
1702         (prev_max_error): Likewise.
1703         (prev_real_max_error): Likewise.
1704         (prev_imag_max_error): Likewise.
1705         (max_valid_error): Likewise.
1706         (TYPE_DECIMAL_DIG): Likewise.
1707         (TYPE_HEX_DIG): Likewise.
1708         (fmt_ftostr): Likewise.
1709         (compare_ulp_data): Likewise.
1710         (find_ulps): Likewise.
1711         (init_max_error): Likewise.
1712         (set_max_error): Likewise.
1713         (print_float): Likewise.
1714         (print_screen): Likewise.
1715         (print_screen_max_error): Likewise.
1716         (update_stats): Likewise.
1717         (print_function_ulps): Likewise.
1718         (print_complex_function_ulps): Likewise.
1719         (fpstack_test): Likewise.
1720         (print_max_error): Likewise.
1721         (print_complex_max_error): Likewise.
1722         (test_single_exception): Likewise.
1723         (test_exceptions): Likewise.
1724         (test_single_errno): Likewise.
1725         (test_errno): Likewise.
1726         (ULPDIFF): Likewise.
1727         (ulp): Likewise.
1728         (check_float_internal): Likewise.
1729         (check_float): Likewise.
1730         (check_complex): Likewise.
1731         (check_int): Likewise.
1732         (check_long): Likewise.
1733         (check_bool): Likewise.
1734         (check_longlong): Likewise.
1735         (check_intmax_t): Likewise.
1736         (check_uintmax_t): Likewise.
1737         (enable_test): Likewise.
1738         (matherr): Likewise.
1739         (initialize): Likewise.
1740         (options): Likewise.
1741         (doc): Remove static.
1742         (argp): Likewise.
1743         (parse_opt): Remove.
1744         (check_ulp): Likewise.
1745         (libm_test_init): Likewise.
1746         (libm_test_finish): Likewise.
1747         * math/Makefile (libm-test-support): New variable.
1748         (test-extras): Add libm-test-support files.
1749         (extra-test-objs): Likewise.
1750         (CFLAGS-libm-test-support-float.c): New variable.
1751         (CFLAGS-libm-test-support-double.c): Likewise.
1752         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1753         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
1754         libm-test-support objects.
1756 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1758         * math/Makefile (libm-calls): Move w_exp...
1759         (libm-compat-calls-auto): Here.
1761         * math/w_expl.c: Add suffix "_compat" to filename.
1762         * sysdeps/ia64/fpu/w_expl.c: Likewise.
1763         * sysdeps/ia64/fpu/w_expf.c: Likewise.
1764         * sysdeps/ia64/fpu/w_exp.c: Likewise.
1765         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1766         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1767         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1768         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1769         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1771         * math/w_expl_compat.c: New file, copied from above.
1772         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
1773         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
1774         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
1775         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
1776         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1777         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1778         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1779         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1781         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
1782         to filename.
1783         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
1785         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
1786         copied from above and adjusted for the new filenames.
1787         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
1789 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1791         * math/Makefile (libm-calls): Move w_lgammaF...
1792         (libm-compat-calls-auto): Here.
1794         * math/w_lgamma.c: Add suffix "_compat2" to filename.
1795         * math/w_lgammaf.c: Likewise.
1796         * math/w_lgammal.c: Likewise.
1798         * math/w_lgamma_compat2.c: New file, copied from above.
1799         * math/w_lgammaf_compat2.c: Likewise.
1800         * math/w_lgammal_compat2.c: Likewise.
1802 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1804         * math/Makefile (libm-calls): Move w_lgammaF_r...
1805         (libm-compat-calls-auto): Here.
1807         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
1808         * math/w_lgammaf_r.c: Likewise.
1809         * math/w_lgammal_r.c: Likewise.
1810         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1811         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1812         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1814         * math/w_lgamma_r_compat.c: New file, copied from above.
1815         * math/w_lgammaf_r_compat.c: Likewise.
1816         * math/w_lgammal_r_compat.c: Likewise.
1817         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
1818         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
1819         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
1821         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
1822         to filename.
1823         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
1825         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
1826         copied from above and adjusted for the new filenames.
1827         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1829 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
1831         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
1832         calculation in SYSCALL_ERROR_HANDLER().
1834 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
1836         * manual/contrib.texi: Fix typo.
1838 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1840         [BZ #21109]
1841         * elf/dl-tunable-types.h (tunable_callback_t): Accept
1842         tunable_val_t as argument.
1843         * elf/dl-tunables.c (__tunable_set_val): Add comment.
1844         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
1845         argument.
1846         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
1848 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
1850         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
1851         Add PTRACE_EVENT_STOP.
1852         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1853         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1854         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1855         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1856         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1857         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1859 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
1861         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
1862         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
1863         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
1864         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
1865         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
1866         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
1867         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
1868         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
1869         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
1870         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
1872         [BZ #21112]
1873         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
1874         12 bits zero.
1875         (cp_l): Update for new value of cp_h.
1876         * math/auto-libm-test-in: Add another test of pow.
1877         * math/auto-libm-test-out-pow: Regenerated.
1879 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1881         * manual/contrib.texi: Fix typo.
1883 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1885         [BZ #15998]
1886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1887         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
1888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1890 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1892         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
1893         STRCHR as __strchr_power8.
1894         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
1895         strlen as __strlen_power8.
1897 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1899         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
1900         unaligned load for shorter strings.
1901         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1903 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1905         * math/libm-test-driver.c (flag_test_errno): New variable.
1906         (flag_test_exceptions): Likewise.
1907         (flag_test_finite): Likewise.
1908         (flag_test_inline): Likewise.
1909         (flag_test_mathvec): Likewise.
1910         (test_msg): Likewise.
1911         (ulp_idx): Likewise.
1912         (qtype_str): Likewise.
1913         (ULP_IDX): Remove macro.
1914         (QTYPE_STR): Likewise.
1915         (find_ulps): Use ulp_idx not ULP_IDX.
1916         (print_function_ulps): Use qtype_str, printed with %s, not
1917         QTYPE_STR, printed with concatentation to format string.
1918         (print_complex_function_ulps): Likewise.
1919         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
1920         (test_errno): Use flag_test_errno not TEST_ERRNO.
1921         (enable_test): Use flag_test_inline, flag_test_finite and
1922         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
1923         TEST_MATHVEC.
1924         (libm_test_init): New function.  Factored out of main.
1925         (libm_test_finish): Likewise.
1926         (main): Call libm_test_init and libm_test_finish and move most
1927         code to those functions.
1929         * math/libm-test-driver.c (STRX): New macro.
1930         (STR): Likewise.
1931         (STR_FLOAT): Likewise.
1932         (STR_VEC_LEN): Likewise.
1933         (TEST_MSG): Likewise.  Define here instead of expecting to be
1934         defined by including file.
1935         * math/test-double-finite.c (TEST_MSG): Remove macro.
1936         * math/test-double-vlen2.h (TEST_MSG): Likewise.
1937         * math/test-double-vlen4.h (TEST_MSG): Likewise.
1938         * math/test-double-vlen8.h (TEST_MSG): Likewise.
1939         * math/test-double.c (TEST_MSG): Likewise.
1940         * math/test-float-finite.c (TEST_MSG): Likewise.
1941         * math/test-float-vlen16.h (TEST_MSG): Likewise.
1942         * math/test-float-vlen4.h (TEST_MSG): Likewise.
1943         * math/test-float-vlen8.h (TEST_MSG): Likewise.
1944         * math/test-float.c (TEST_MSG): Likewise.
1945         * math/test-idouble.c (TEST_MSG): Likewise.
1946         * math/test-ifloat.c (TEST_MSG): Likewise.
1947         * math/test-ildouble.c (TEST_MSG): Likewise.
1948         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
1949         * math/test-ldouble.c (TEST_MSG): Likewise.
1951         * math/libm-test.inc: Move all tests of individual functions to
1952         libm-test-*.inc and #include libm-test-*.c files.
1953         (acos_test_data): Remove.
1954         (acos_test): Likewise.
1955         (acosh_test_data): Likewise.
1956         (acosh_test): Likewise.
1957         (asin_test_data): Likewise.
1958         (asin_test): Likewise.
1959         (asinh_test_data): Likewise.
1960         (asinh_test): Likewise.
1961         (atan_test_data): Likewise.
1962         (atan_test): Likewise.
1963         (atanh_test_data): Likewise.
1964         (atanh_test): Likewise.
1965         (atan2_test_data): Likewise.
1966         (atan2_test): Likewise.
1967         (cabs_test_data): Likewise.
1968         (cabs_test): Likewise.
1969         (cacos_test_data): Likewise.
1970         (cacos_test): Likewise.
1971         (cacosh_test_data): Likewise.
1972         (cacosh_test): Likewise.
1973         (canonicalize_test_data): Likewise.
1974         (canonicalize_test): Likewise.
1975         (carg_test_data): Likewise.
1976         (carg_test): Likewise.
1977         (casin_test_data): Likewise.
1978         (casin_test): Likewise.
1979         (casinh_test_data): Likewise.
1980         (casinh_test): Likewise.
1981         (catan_test_data): Likewise.
1982         (catan_test): Likewise.
1983         (catanh_test_data): Likewise.
1984         (catanh_test): Likewise.
1985         (cbrt_test_data): Likewise.
1986         (cbrt_test): Likewise.
1987         (ccos_test_data): Likewise.
1988         (ccos_test): Likewise.
1989         (ccosh_test_data): Likewise.
1990         (ccosh_test): Likewise.
1991         (ceil_test_data): Likewise.
1992         (ceil_test): Likewise.
1993         (cexp_test_data): Likewise.
1994         (cexp_test): Likewise.
1995         (cimag_test_data): Likewise.
1996         (cimag_test): Likewise.
1997         (clog_test_data): Likewise.
1998         (clog_test): Likewise.
1999         (clog10_test_data): Likewise.
2000         (clog10_test): Likewise.
2001         (conj_test_data): Likewise.
2002         (conj_test): Likewise.
2003         (copysign_test_data): Likewise.
2004         (copysign_test): Likewise.
2005         (cos_test_data): Likewise.
2006         (cos_test): Likewise.
2007         (cosh_test_data): Likewise.
2008         (cosh_test): Likewise.
2009         (cpow_test_data): Likewise.
2010         (cpow_test): Likewise.
2011         (cproj_test_data): Likewise.
2012         (cproj_test): Likewise.
2013         (creal_test_data): Likewise.
2014         (creal_test): Likewise.
2015         (csin_test_data): Likewise.
2016         (csin_test): Likewise.
2017         (csinh_test_data): Likewise.
2018         (csinh_test): Likewise.
2019         (csqrt_test_data): Likewise.
2020         (csqrt_test): Likewise.
2021         (ctan_test_data): Likewise.
2022         (ctan_test): Likewise.
2023         (ctanh_test_data): Likewise.
2024         (ctanh_test): Likewise.
2025         (erf_test_data): Likewise.
2026         (erf_test): Likewise.
2027         (erfc_test_data): Likewise.
2028         (erfc_test): Likewise.
2029         (exp_test_data): Likewise.
2030         (exp_test): Likewise.
2031         (exp10_test_data): Likewise.
2032         (exp10_test): Likewise.
2033         (pow10_test): Likewise.
2034         (exp2_test_data): Likewise.
2035         (exp2_test): Likewise.
2036         (expm1_test_data): Likewise.
2037         (expm1_test): Likewise.
2038         (fabs_test_data): Likewise.
2039         (fabs_test): Likewise.
2040         (fdim_test_data): Likewise.
2041         (fdim_test): Likewise.
2042         (floor_test_data): Likewise.
2043         (floor_test): Likewise.
2044         (fma_test_data): Likewise.
2045         (fma_test): Likewise.
2046         (fmax_test_data): Likewise.
2047         (fmax_test): Likewise.
2048         (fmaxmag_test_data): Likewise.
2049         (fmaxmag_test): Likewise.
2050         (fmin_test_data): Likewise.
2051         (fmin_test): Likewise.
2052         (fminmag_test_data): Likewise.
2053         (fminmag_test): Likewise.
2054         (fmod_test_data): Likewise.
2055         (fmod_test): Likewise.
2056         (fpclassify_test_data): Likewise.
2057         (fpclassify_test): Likewise.
2058         (frexp_test_data): Likewise.
2059         (frexp_test): Likewise.
2060         (fromfp_test_data): Likewise.
2061         (fromfp_test): Likewise.
2062         (fromfpx_test_data): Likewise.
2063         (fromfpx_test): Likewise.
2064         (getpayload_test_data): Likewise.
2065         (getpayload_test): Likewise.
2066         (hypot_test_data): Likewise.
2067         (hypot_test): Likewise.
2068         (ilogb_test_data): Likewise.
2069         (ilogb_test): Likewise.
2070         (iscanonical_test_data): Likewise.
2071         (iscanonical_test): Likewise.
2072         (iseqsig_test_data): Likewise.
2073         (iseqsig_test): Likewise.
2074         (isfinite_test_data): Likewise.
2075         (isfinite_test): Likewise.
2076         (finite_test): Likewise.
2077         (isgreater_test_data): Likewise.
2078         (isgreater_test): Likewise.
2079         (isgreaterequal_test_data): Likewise.
2080         (isgreaterequal_test): Likewise.
2081         (isinf_test_data): Likewise.
2082         (isinf_test): Likewise.
2083         (isless_test_data): Likewise.
2084         (isless_test): Likewise.
2085         (islessequal_test_data): Likewise.
2086         (islessequal_test): Likewise.
2087         (islessgreater_test_data): Likewise.
2088         (islessgreater_test): Likewise.
2089         (isnan_test_data): Likewise.
2090         (isnan_test): Likewise.
2091         (isnormal_test_data): Likewise.
2092         (isnormal_test): Likewise.
2093         (issignaling_test_data): Likewise.
2094         (issignaling_test): Likewise.
2095         (issubnormal_test_data): Likewise.
2096         (issubnormal_test): Likewise.
2097         (isunordered_test_data): Likewise.
2098         (isunordered_test): Likewise.
2099         (iszero_test_data): Likewise.
2100         (iszero_test): Likewise.
2101         (j0_test_data): Likewise.
2102         (j0_test): Likewise.
2103         (j1_test_data): Likewise.
2104         (j1_test): Likewise.
2105         (jn_test_data): Likewise.
2106         (jn_test): Likewise.
2107         (lgamma_test_data): Likewise.
2108         (lgamma_test): Likewise.
2109         (gamma_test): Likewise.
2110         (llogb_test_data): Likewise.
2111         (llogb_test): Likewise.
2112         (lrint_test_data): Likewise.
2113         (lrint_test): Likewise.
2114         (llrint_test_data): Likewise.
2115         (llrint_test): Likewise.
2116         (log_test_data): Likewise.
2117         (log_test): Likewise.
2118         (log10_test_data): Likewise.
2119         (log10_test): Likewise.
2120         (log1p_test_data): Likewise.
2121         (log1p_test): Likewise.
2122         (log2_test_data): Likewise.
2123         (log2_test): Likewise.
2124         (logb_test_data): Likewise.
2125         (logb_test): Likewise.
2126         (lround_test_data): Likewise.
2127         (lround_test): Likewise.
2128         (llround_test_data): Likewise.
2129         (llround_test): Likewise.
2130         (modf_test_data): Likewise.
2131         (modf_test): Likewise.
2132         (nearbyint_test_data): Likewise.
2133         (nearbyint_test): Likewise.
2134         (nextafter_test_data): Likewise.
2135         (nextafter_test): Likewise.
2136         (nextup_test_data): Likewise.
2137         (nextup_test): Likewise.
2138         (nextdown_test_data): Likewise.
2139         (nextdown_test): Likewise.
2140         (nexttoward_test_data): Likewise.
2141         (nexttoward_test): Likewise.
2142         (pow_test_data): Likewise.
2143         (pow_test): Likewise.
2144         (remainder_test_data): Likewise.
2145         (remainder_test): Likewise.
2146         (drem_test): Likewise.
2147         (remquo_test_data): Likewise.
2148         (remquo_test): Likewise.
2149         (rint_test_data): Likewise.
2150         (rint_test): Likewise.
2151         (round_test_data): Likewise.
2152         (round_test): Likewise.
2153         (roundeven_test_data): Likewise.
2154         (roundeven_test): Likewise.
2155         (scalb_test_data): Likewise.
2156         (scalb_test): Likewise.
2157         (scalbn_test_data): Likewise.
2158         (scalbn_test): Likewise.
2159         (ldexp_test): Likewise.
2160         (scalbln_test_data): Likewise.
2161         (scalbln_test): Likewise.
2162         (setpayload_test_data): Likewise.
2163         (setpayload_test): Likewise.
2164         (setpayloadsig_test_data): Likewise.
2165         (setpayloadsig_test): Likewise.
2166         (signbit_test_data): Likewise.
2167         (signbit_test): Likewise.
2168         (sin_test_data): Likewise.
2169         (sin_test): Likewise.
2170         (sincos_test_data): Likewise.
2171         (sincos_test): Likewise.
2172         (sinh_test_data): Likewise.
2173         (sinh_test): Likewise.
2174         (sqrt_test_data): Likewise.
2175         (sqrt_test): Likewise.
2176         (tan_test_data): Likewise.
2177         (tan_test): Likewise.
2178         (tanh_test_data): Likewise.
2179         (tanh_test): Likewise.
2180         (tgamma_test_data): Likewise.
2181         (tgamma_test): Likewise.
2182         (totalorder_test_data): Likewise.
2183         (totalorder_test): Likewise.
2184         (totalordermag_test_data): Likewise.
2185         (totalordermag_test): Likewise.
2186         (trunc_test_data): Likewise.
2187         (trunc_test): Likewise.
2188         (ufromfp_test_data): Likewise.
2189         (ufromfp_test): Likewise.
2190         (ufromfpx_test_data): Likewise.
2191         (ufromfpx_test): Likewise.
2192         (y0_test_data): Likewise.
2193         (y0_test): Likewise.
2194         (y1_test_data): Likewise.
2195         (y1_test): Likewise.
2196         (yn_test_data): Likewise.
2197         (yn_test): Likewise.
2198         (significand_test_data): Likewise.
2199         (significand_test): Likewise.
2200         * math/Makefile (auto-libm-test-out-files): Remove variable.
2201         (libm-test-funcs-noauto): New variable.
2202         (libm-test-funcs-all): Likewise.
2203         (libm-test-c-auto): Likewise.
2204         (libm-test-c-noauto): Likewise.
2205         (libm-tests-generated): Add $(libm-test-c-auto) and
2206         $(libm-test-c-noauto).
2207         (generated): Do not add auto-libm-test-out.
2208         (libm-test-c-auto-obj): New variable.
2209         (libm-test-c-noauto-obj): Likewise.
2210         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
2211         ($(libm-test-c-noauto-obj)): New static pattern rule.
2212         ($(libm-test-c-auto-obj)): Likewise.
2213         (libm-test-incs): New variable.
2214         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
2215         and pass it to gen-libm-have-vector-test.sh.
2216         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
2217         be passed on command line.
2218         * math/libm-test-acos.inc: New file.  Content from
2219         math/libm-test.inc.
2220         * math/libm-test-acosh.inc: Likewise.
2221         * math/libm-test-asin.inc: Likewise.
2222         * math/libm-test-asinh.inc: Likewise.
2223         * math/libm-test-atan.inc: Likewise.
2224         * math/libm-test-atan2.inc: Likewise.
2225         * math/libm-test-atanh.inc: Likewise.
2226         * math/libm-test-cabs.inc: Likewise.
2227         * math/libm-test-cacos.inc: Likewise.
2228         * math/libm-test-cacosh.inc: Likewise.
2229         * math/libm-test-canonicalize.inc: Likewise.
2230         * math/libm-test-carg.inc: Likewise.
2231         * math/libm-test-casin.inc: Likewise.
2232         * math/libm-test-casinh.inc: Likewise.
2233         * math/libm-test-catan.inc: Likewise.
2234         * math/libm-test-catanh.inc: Likewise.
2235         * math/libm-test-cbrt.inc: Likewise.
2236         * math/libm-test-ccos.inc: Likewise.
2237         * math/libm-test-ccosh.inc: Likewise.
2238         * math/libm-test-ceil.inc: Likewise.
2239         * math/libm-test-cexp.inc: Likewise.
2240         * math/libm-test-cimag.inc: Likewise.
2241         * math/libm-test-clog.inc: Likewise.
2242         * math/libm-test-clog10.inc: Likewise.
2243         * math/libm-test-conj.inc: Likewise.
2244         * math/libm-test-copysign.inc: Likewise.
2245         * math/libm-test-cos.inc: Likewise.
2246         * math/libm-test-cosh.inc: Likewise.
2247         * math/libm-test-cpow.inc: Likewise.
2248         * math/libm-test-cproj.inc: Likewise.
2249         * math/libm-test-creal.inc: Likewise.
2250         * math/libm-test-csin.inc: Likewise.
2251         * math/libm-test-csinh.inc: Likewise.
2252         * math/libm-test-csqrt.inc: Likewise.
2253         * math/libm-test-ctan.inc: Likewise.
2254         * math/libm-test-ctanh.inc: Likewise.
2255         * math/libm-test-erf.inc: Likewise.
2256         * math/libm-test-erfc.inc: Likewise.
2257         * math/libm-test-exp.inc: Likewise.
2258         * math/libm-test-exp10.inc: Likewise.
2259         * math/libm-test-exp2.inc: Likewise.
2260         * math/libm-test-expm1.inc: Likewise.
2261         * math/libm-test-fabs.inc: Likewise.
2262         * math/libm-test-fdim.inc: Likewise.
2263         * math/libm-test-floor.inc: Likewise.
2264         * math/libm-test-fma.inc: Likewise.
2265         * math/libm-test-fmax.inc: Likewise.
2266         * math/libm-test-fmaxmag.inc: Likewise.
2267         * math/libm-test-fmin.inc: Likewise.
2268         * math/libm-test-fminmag.inc: Likewise.
2269         * math/libm-test-fmod.inc: Likewise.
2270         * math/libm-test-fpclassify.inc: Likewise.
2271         * math/libm-test-frexp.inc: Likewise.
2272         * math/libm-test-fromfp.inc: Likewise.
2273         * math/libm-test-fromfpx.inc: Likewise.
2274         * math/libm-test-getpayload.inc: Likewise.
2275         * math/libm-test-hypot.inc: Likewise.
2276         * math/libm-test-ilogb.inc: Likewise.
2277         * math/libm-test-iscanonical.inc: Likewise.
2278         * math/libm-test-iseqsig.inc: Likewise.
2279         * math/libm-test-isfinite.inc: Likewise.
2280         * math/libm-test-isgreater.inc: Likewise.
2281         * math/libm-test-isgreaterequal.inc: Likewise.
2282         * math/libm-test-isinf.inc: Likewise.
2283         * math/libm-test-isless.inc: Likewise.
2284         * math/libm-test-islessequal.inc: Likewise.
2285         * math/libm-test-islessgreater.inc: Likewise.
2286         * math/libm-test-isnan.inc: Likewise.
2287         * math/libm-test-isnormal.inc: Likewise.
2288         * math/libm-test-issignaling.inc: Likewise.
2289         * math/libm-test-issubnormal.inc: Likewise.
2290         * math/libm-test-isunordered.inc: Likewise.
2291         * math/libm-test-iszero.inc: Likewise.
2292         * math/libm-test-j0.inc: Likewise.
2293         * math/libm-test-j1.inc: Likewise.
2294         * math/libm-test-jn.inc: Likewise.
2295         * math/libm-test-lgamma.inc: Likewise.
2296         * math/libm-test-llogb.inc: Likewise.
2297         * math/libm-test-llrint.inc: Likewise.
2298         * math/libm-test-llround.inc: Likewise.
2299         * math/libm-test-log.inc: Likewise.
2300         * math/libm-test-log10.inc: Likewise.
2301         * math/libm-test-log1p.inc: Likewise.
2302         * math/libm-test-log2.inc: Likewise.
2303         * math/libm-test-logb.inc: Likewise.
2304         * math/libm-test-lrint.inc: Likewise.
2305         * math/libm-test-lround.inc: Likewise.
2306         * math/libm-test-modf.inc: Likewise.
2307         * math/libm-test-nearbyint.inc: Likewise.
2308         * math/libm-test-nextafter.inc: Likewise.
2309         * math/libm-test-nextdown.inc: Likewise.
2310         * math/libm-test-nexttoward.inc: Likewise.
2311         * math/libm-test-nextup.inc: Likewise.
2312         * math/libm-test-pow.inc: Likewise.
2313         * math/libm-test-remainder.inc: Likewise.
2314         * math/libm-test-remquo.inc: Likewise.
2315         * math/libm-test-rint.inc: Likewise.
2316         * math/libm-test-round.inc: Likewise.
2317         * math/libm-test-roundeven.inc: Likewise.
2318         * math/libm-test-scalb.inc: Likewise.
2319         * math/libm-test-scalbln.inc: Likewise.
2320         * math/libm-test-scalbn.inc: Likewise.
2321         * math/libm-test-setpayload.inc: Likewise.
2322         * math/libm-test-setpayloadsig.inc: Likewise.
2323         * math/libm-test-signbit.inc: Likewise.
2324         * math/libm-test-significand.inc: Likewise.
2325         * math/libm-test-sin.inc: Likewise.
2326         * math/libm-test-sincos.inc: Likewise.
2327         * math/libm-test-sinh.inc: Likewise.
2328         * math/libm-test-sqrt.inc: Likewise.
2329         * math/libm-test-tan.inc: Likewise.
2330         * math/libm-test-tanh.inc: Likewise.
2331         * math/libm-test-tgamma.inc: Likewise.
2332         * math/libm-test-totalorder.inc: Likewise.
2333         * math/libm-test-totalordermag.inc: Likewise.
2334         * math/libm-test-trunc.inc: Likewise.
2335         * math/libm-test-ufromfp.inc: Likewise.
2336         * math/libm-test-ufromfpx.inc: Likewise.
2337         * math/libm-test-y0.inc: Likewise.
2338         * math/libm-test-y1.inc: Likewise.
2339         * math/libm-test-yn.inc: Likewise.
2340         * math/README.libm-test: Update.
2342         * math/gen-auto-libm-tests.c: Update comment about use of program.
2343         (generate_output): Add argument FUNCTION.
2344         (main): Require extra argument.  Pass function name to
2345         generate_output.
2346         * math/Makefile (generated): Add auto-libm-test-out.
2347         (libm-test-funcs-auto): New variable.
2348         (auto-libm-test-out-files): New variable.
2349         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
2350         Concatenate those files to form $(objpfx)auto-libm-test-out and
2351         use it as input to gen-libm-test.pl.
2352         * math/README.libm-test: Update.
2353         * math/auto-libm-test-out: Remove.
2354         * math/auto-libm-test-out-acos: New generated file.
2355         * math/auto-libm-test-out-acosh: Likewise.
2356         * math/auto-libm-test-out-asin: Likewise.
2357         * math/auto-libm-test-out-asinh: Likewise.
2358         * math/auto-libm-test-out-atan: Likewise.
2359         * math/auto-libm-test-out-atan2: Likewise.
2360         * math/auto-libm-test-out-atanh: Likewise.
2361         * math/auto-libm-test-out-cabs: Likewise.
2362         * math/auto-libm-test-out-carg: Likewise.
2363         * math/auto-libm-test-out-cbrt: Likewise.
2364         * math/auto-libm-test-out-ccos: Likewise.
2365         * math/auto-libm-test-out-ccosh: Likewise.
2366         * math/auto-libm-test-out-cexp: Likewise.
2367         * math/auto-libm-test-out-clog: Likewise.
2368         * math/auto-libm-test-out-clog10: Likewise.
2369         * math/auto-libm-test-out-cos: Likewise.
2370         * math/auto-libm-test-out-cosh: Likewise.
2371         * math/auto-libm-test-out-cpow: Likewise.
2372         * math/auto-libm-test-out-csin: Likewise.
2373         * math/auto-libm-test-out-csinh: Likewise.
2374         * math/auto-libm-test-out-csqrt: Likewise.
2375         * math/auto-libm-test-out-ctan: Likewise.
2376         * math/auto-libm-test-out-ctanh: Likewise.
2377         * math/auto-libm-test-out-erf: Likewise.
2378         * math/auto-libm-test-out-erfc: Likewise.
2379         * math/auto-libm-test-out-exp: Likewise.
2380         * math/auto-libm-test-out-exp10: Likewise.
2381         * math/auto-libm-test-out-exp2: Likewise.
2382         * math/auto-libm-test-out-expm1: Likewise.
2383         * math/auto-libm-test-out-fma: Likewise.
2384         * math/auto-libm-test-out-hypot: Likewise.
2385         * math/auto-libm-test-out-j0: Likewise.
2386         * math/auto-libm-test-out-j1: Likewise.
2387         * math/auto-libm-test-out-jn: Likewise.
2388         * math/auto-libm-test-out-lgamma: Likewise.
2389         * math/auto-libm-test-out-log: Likewise.
2390         * math/auto-libm-test-out-log10: Likewise.
2391         * math/auto-libm-test-out-log1p: Likewise.
2392         * math/auto-libm-test-out-log2: Likewise.
2393         * math/auto-libm-test-out-pow: Likewise.
2394         * math/auto-libm-test-out-sin: Likewise.
2395         * math/auto-libm-test-out-sincos: Likewise.
2396         * math/auto-libm-test-out-sinh: Likewise.
2397         * math/auto-libm-test-out-sqrt: Likewise.
2398         * math/auto-libm-test-out-tan: Likewise.
2399         * math/auto-libm-test-out-tanh: Likewise.
2400         * math/auto-libm-test-out-tgamma: Likewise.
2401         * math/auto-libm-test-out-y0: Likewise.
2402         * math/auto-libm-test-out-y1: Likewise.
2403         * math/auto-libm-test-out-yn: Likewise.
2405         * math/Makefile (generated): Do not include libm-test.stmp.
2406         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
2407         on $(objpfx)libm-test.stmp.
2408         ($(objpfx)libm-test.stmp): Remove rule.
2409         ($(objpfx)libm-test-ulps.h): New rule.
2410         ($(objpfx)libm-test.c): Likewise.
2411         ($(objpfx)libm-have-vector-test.h): Likewise.
2412         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
2413         individual generated files, not libm-test.stmp.
2415         * math/gen-libm-test.pl ($output_dir): Remove variable.
2416         ($srcdir): Likewise.
2417         ($opt_a): New variable.
2418         ($opt_c): Likewise.
2419         ($opt_C): Likewise.
2420         ($opt_H): Likewise.
2421         (-n): Make option take argument and use it as NewUlps output.
2422         (-a): New option.  Use its argument for auto-libm-test-out input.
2423         (-c): New option.  Use its argument for libm-test.inc input.
2424         (-C): New option.  Use its argument for libm-test.c output.
2425         (-H): New option.  Use its argument for libm-test-ulps.h output.
2426         (top level): Only process inputs needed to generate outputs
2427         specified by command-line options.  Only generate outputs
2428         specified by command-line options.
2429         * math/README.libm-test: Update example gen-libm-test.pl command.
2430         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
2431         commands.
2432         (regen-ulps): Likewise.
2434 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
2436         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
2437         * include/string.h (index): Remove define.
2438         (rindex): Likewise.
2439         * misc/getttyent.c (__getttyent): Rename index to strchr.
2440         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
2441         * sunrpc/rpc_main.c (mkfile_output): Likewise.
2443 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2445         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
2446         * math/libm-test.inc: Move all contents, other than tests of
2447         individual functions, to libm-test-driver.c.
2448         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
2449         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
2450         [!FE_UPWARD] (FE_UPWARD): Likewise.
2451         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
2452         (NO_EXCEPTION): Likewise.
2453         (INVALID_EXCEPTION): Likewise.
2454         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2455         (OVERFLOW_EXCEPTION): Likewise.
2456         (UNDERFLOW_EXCEPTION): Likewise.
2457         (INEXACT_EXCEPTION): Likewise.
2458         (INVALID_EXCEPTION_OK): Likewise.
2459         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2460         (OVERFLOW_EXCEPTION_OK): Likewise.
2461         (UNDERFLOW_EXCEPTION_OK): Likewise.
2462         (NO_INEXACT_EXCEPTION): Likewise.
2463         (EXCEPTIONS_OK): Likewise.
2464         (IGNORE_ZERO_INF_SIGN): Likewise.
2465         (TEST_NAN_SIGN): Likewise.
2466         (TEST_NAN_PAYLOAD): Likewise.
2467         (NO_TEST_INLINE): Likewise.
2468         (XFAIL_TEST): Likewise.
2469         (ERRNO_UNCHANGED): Likewise.
2470         (ERRNO_EDOM): Likewise.
2471         (ERRNO_ERANGE): Likewise.
2472         (IGNORE_RESULT): Likewise.
2473         (NON_FINITE): Likewise.
2474         (TEST_SNAN): Likewise.
2475         (NO_TEST_MATHVEC): Likewise.
2476         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
2477         (__CONCATX): Likewise.
2478         (TYPE_MIN): Likewise.
2479         (TYPE_TRUE_MIN): Likewise.
2480         (TYPE_MAX): Likewise.
2481         (MIN_EXP): Likewise.
2482         (MAX_EXP): Likewise.
2483         (MANT_DIG): Likewise.
2484         (FSTR_MAX): Likewise.
2485         (ULP_IDX): Likewise.
2486         (QTYPE_STR): Likewise.
2487         (TEST_COND_binary32): Likewise.
2488         (TEST_COND_binary64): Likewise.
2489         (TEST_COND_binary128): Likewise.
2490         (TEST_COND_ibm128): Likewise.
2491         (TEST_COND_intel96): Likewise.
2492         (TEST_COND_m68k96): Likewise.
2493         (TEST_COND_ibm128_libgcc): Likewise.
2494         (XFAIL_IBM128_LIBGCC): Likewise.
2495         (PAYLOAD_DIG): Likewise.
2496         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2497         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2498         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2499         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2500         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2501         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2502         (TEST_COND_long32): Likewise.
2503         (TEST_COND_long64): Likewise.
2504         (TEST_COND_before_rounding): Likewise.
2505         (TEST_COND_after_rounding): Likewise.
2506         (lit_pi_3_m_4_d): Likewise.
2507         (lit_pi_3_m_4_ln10_m_d): Likewise.
2508         (lit_pi_2_ln10_m_d): Likewise.
2509         (lit_pi_4_ln10_m_d): Likewise.
2510         (lit_pi_ln10_d): Likewise.
2511         (lit_pi_2_d): Likewise.
2512         (lit_pi_4_d): Likewise.
2513         (lit_pi): Likewise.
2514         (lit_e): Likewise.
2515         (ulps_file_name): Likewise.
2516         (ulps_file): Likewise.
2517         (output_ulps): Likewise.
2518         (output_dir): Likewise.
2519         (noErrors): Likewise.
2520         (noTests): Likewise.
2521         (noExcTests): Likewise.
2522         (noErrnoTests): Likewise.
2523         (verbose): Likewise.
2524         (output_max_error): Likewise.
2525         (output_points): Likewise.
2526         (ignore_max_ulp): Likewise.
2527         (plus_zero): Likewise.
2528         (minus_zero): Likewise.
2529         (plus_infty): Likewise.
2530         (minus_infty): Likewise.
2531         (qnan_value_pl): Likewise.
2532         (qnan_value): Likewise.
2533         (snan_value_pl): Likewise.
2534         (snan_value): Likewise.
2535         (max_value): Likewise.
2536         (min_value): Likewise.
2537         (min_subnorm_value): Likewise.
2538         (snan_value_ld): Likewise.
2539         (max_error): Likewise.
2540         (real_max_error): Likewise.
2541         (imag_max_error): Likewise.
2542         (prev_max_error): Likewise.
2543         (prev_real_max_error): Likewise.
2544         (prev_imag_max_error): Likewise.
2545         (max_valid_error): Likewise.
2546         (TYPE_DECIMAL_DIG): Likewise.
2547         (TYPE_HEX_DIG): Likewise.
2548         (fmt_ftostr): Likewise.
2549         (compare_ulp_data): Likewise.
2550         (find_ulps): Likewise.
2551         (init_max_error): Likewise.
2552         (set_max_error): Likewise.
2553         (print_float): Likewise.
2554         (print_screen): Likewise.
2555         (print_screen_max_error): Likewise.
2556         (update_stats): Likewise.
2557         (print_function_ulps): Likewise.
2558         (print_complex_function_ulps): Likewise.
2559         (fpstack_test): Likewise.
2560         (print_max_error): Likewise.
2561         (print_complex_max_error): Likewise.
2562         (test_single_exception): Likewise.
2563         (test_exceptions): Likewise.
2564         (test_single_errno): Likewise.
2565         (test_errno): Likewise.
2566         (ULPDIFF): Likewise.
2567         (ulp): Likewise.
2568         (check_float_internal): Likewise.
2569         (check_float): Likewise.
2570         (check_complex): Likewise.
2571         (check_int): Likewise.
2572         (check_long): Likewise.
2573         (check_bool): Likewise.
2574         (check_longlong): Likewise.
2575         (check_intmax_t): Likewise.
2576         (check_uintmax_t): Likewise.
2577         (enable_test): Likewise.
2578         (struct test_f_f_data): Likewise.
2579         (struct test_ff_f_data): Likewise.
2580         (struct test_fj_f_data): Likewise.
2581         (struct test_fi_f_data): Likewise.
2582         (struct test_fl_f_data): Likewise.
2583         (struct test_if_f_data): Likewise.
2584         (struct test_fff_f_data): Likewise.
2585         (struct test_fiu_M_data): Likewise.
2586         (struct test_fiu_U_data): Likewise.
2587         (struct test_c_f_data): Likewise.
2588         (struct test_f_f1_data): Likewise.
2589         (struct test_fF_f1_data): Likewise.
2590         (struct test_ffI_f1_data): Likewise.
2591         (struct test_c_c_data): Likewise.
2592         (struct test_cc_c_data): Likewise.
2593         (struct test_f_i_data): Likewise.
2594         (struct test_ff_i_data): Likewise.
2595         (struct test_f_l_data): Likewise.
2596         (struct test_f_L_data): Likewise.
2597         (struct test_fFF_11_data): Likewise.
2598         (struct test_Ff_b1_data): Likewise.
2599         (IF_ROUND_INIT_): Likewise.
2600         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2601         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2602         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2603         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2604         (ROUND_RESTORE_): Likewise.
2605         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2606         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2607         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2608         (ROUND_RESTORE_FE_UPWARD): Likewise.
2609         (RM_): Likewise.
2610         (RM_FE_DOWNWARD): Likewise.
2611         (RM_FE_TONEAREST): Likewise.
2612         (RM_FE_TOWARDZERO): Likewise.
2613         (RM_FE_UPWARD): Likewise.
2614         (COMMON_TEST_SETUP): Likewise.
2615         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2616         (COMMON_TEST_CLEANUP): Likewise.
2617         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2618         (RUN_TEST_f_f): Likewise.
2619         (RUN_TEST_LOOP_f_f): Likewise.
2620         (RUN_TEST_fp_f): Likewise.
2621         (RUN_TEST_LOOP_fp_f): Likewise.
2622         (RUN_TEST_2_f): Likewise.
2623         (RUN_TEST_LOOP_2_f): Likewise.
2624         (RUN_TEST_ff_f): Likewise.
2625         (RUN_TEST_LOOP_ff_f): Likewise.
2626         (RUN_TEST_LOOP_fj_f): Likewise.
2627         (RUN_TEST_fi_f): Likewise.
2628         (RUN_TEST_LOOP_fi_f): Likewise.
2629         (RUN_TEST_fl_f): Likewise.
2630         (RUN_TEST_LOOP_fl_f): Likewise.
2631         (RUN_TEST_if_f): Likewise.
2632         (RUN_TEST_LOOP_if_f): Likewise.
2633         (RUN_TEST_fff_f): Likewise.
2634         (RUN_TEST_LOOP_fff_f): Likewise.
2635         (RUN_TEST_fiu_M): Likewise.
2636         (RUN_TEST_LOOP_fiu_M): Likewise.
2637         (RUN_TEST_fiu_U): Likewise.
2638         (RUN_TEST_LOOP_fiu_U): Likewise.
2639         (RUN_TEST_c_f): Likewise.
2640         (RUN_TEST_LOOP_c_f): Likewise.
2641         (RUN_TEST_f_f1): Likewise.
2642         (RUN_TEST_LOOP_f_f1): Likewise.
2643         (RUN_TEST_fF_f1): Likewise.
2644         (RUN_TEST_LOOP_fF_f1): Likewise.
2645         (RUN_TEST_fI_f1): Likewise.
2646         (RUN_TEST_LOOP_fI_f1): Likewise.
2647         (RUN_TEST_ffI_f1_mod8): Likewise.
2648         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
2649         (RUN_TEST_Ff_b1): Likewise.
2650         (RUN_TEST_LOOP_Ff_b1): Likewise.
2651         (RUN_TEST_Ffp_b1): Likewise.
2652         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2653         (RUN_TEST_c_c): Likewise.
2654         (RUN_TEST_LOOP_c_c): Likewise.
2655         (RUN_TEST_cc_c): Likewise.
2656         (RUN_TEST_LOOP_cc_c): Likewise.
2657         (RUN_TEST_f_i): Likewise.
2658         (RUN_TEST_LOOP_f_i): Likewise.
2659         (RUN_TEST_f_i_tg): Likewise.
2660         (RUN_TEST_LOOP_f_i_tg): Likewise.
2661         (RUN_TEST_ff_b): Likewise.
2662         (RUN_TEST_LOOP_ff_b): Likewise.
2663         (RUN_TEST_ff_i_tg): Likewise.
2664         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2665         (RUN_TEST_f_b): Likewise.
2666         (RUN_TEST_LOOP_f_b): Likewise.
2667         (RUN_TEST_f_b_tg): Likewise.
2668         (RUN_TEST_LOOP_f_b_tg): Likewise.
2669         (RUN_TEST_f_l): Likewise.
2670         (RUN_TEST_LOOP_f_l): Likewise.
2671         (RUN_TEST_f_L): Likewise.
2672         (RUN_TEST_LOOP_f_L): Likewise.
2673         (RUN_TEST_fFF_11): Likewise.
2674         (RUN_TEST_LOOP_fFF_11): Likewise.
2675         (VEC_SUFF): Likewise.
2676         (STR_CONCAT): Likewise.
2677         (STR_CON3): Likewise.
2678         (HAVE_VECTOR): Likewise.
2679         (START): Likewise.
2680         (END): Likewise.
2681         (END_COMPLEX): Likewise.
2682         (ALL_RM_TEST): Likewise.
2683         (matherr): Likewise.
2684         (initialize): Likewise.
2685         (options): Likewise.
2686         (doc): Likewise.
2687         (parse_opt): Likewise.
2688         (argp): Likewise.
2689         (check_ulp): Likewise.
2690         (main): Likewise.
2691         (do_test): New function.  Call tests of individual functions
2692         previously called from main.
2694         * math/libm-test.inc: Remove comment listing functions tested and
2695         not tested.
2697 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2699         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
2700         (allocate_stack): Remove COLORING_INCREMENT usage.
2701         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
2702         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
2704 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2706         * manual/libm-err-tab.pl (@all_functions): Change to
2707         %all_functions.  Initialize as empty.
2708         (parse_ulps): Add to %all_functions based on functions found in
2709         ulps files.  Ignore results for non-default rounding modes and
2710         vector functions.
2711         (print_platforms): Use %all_platforms.
2712         * manual/math.texi (Errors in Math Functions): Document omissions
2713         from the table.
2715         * math/Makefile (before-compile): Remove.
2717 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
2719         [BZ #21075]
2720         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
2721         unused assignment.
2722         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2724 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2726         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
2727         Add __glibc_unlikely hint.
2729 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2731         [BZ #16640]
2732         * sysdeps/i386/i686/strtok.S: Remove file.
2733         * sysdeps/i386/i686/strtok_r.S: Likewise.
2734         * sysdeps/i386/strtok.S: Likewise.
2735         * sysdeps/i386/strtok_r.S: Likewise.
2736         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
2737         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
2738         * sysdeps/x86_64/strtok.S: Likewise.
2739         * sysdeps/x86_64/strtok_r.S: Likewise.
2741         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
2742         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2743         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2744         (__ASSUME_FADVISE64_AS_64_64): Define.
2745         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
2746         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
2747         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
2748         __ALIGNMENT_ARG usage.
2749         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
2750         __NR_fadvise64_64 if it is not defined.
2752 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2754         * version.h (RELEASE): Set to "development"
2755         (VERSION): Set to 2.25.90.
2756         * NEWS: Add 2.26 section.
2758         * version.h (RELEASE): Set to "stable"
2759         (VERSION): Set to 2.25.
2760         * include/features.h (__GLIBC_MINOR__): Set to 25.
2762         * manual/contrib.texi: Add more contributors from this release
2763         and past releases.
2765         * NEWS (2.25): Add list of bugs fixed.
2767         * NEWS: Add missing news items.
2769 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2771         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
2772         parent if child exited in that manner.  Print WEXITSTATUS
2773         instead of the raw status.
2774         (do_test_prep): Rename to do_test.
2775         (do_test): Return the result of run_executable_sgid.
2776         (TEST_FUNCTION_ARGV): Adjust.
2778 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
2779             Florian Weimer  <fweimer@redhat.com>
2780             Carlos O'Donell  <carlos@redhat.com>
2782         [BZ #20915]
2783         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
2784         Do not initialize DTV.
2785         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2787 2017-02-03  David S. Miller  <davem@davemloft.net>
2789         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
2790         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2791         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
2792         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2793         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
2794         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2795         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
2796         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2797         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2798         (libm-sysdep_routines): Update.
2799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
2800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
2801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
2803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2804         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
2805         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
2806         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
2807         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
2808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
2809         Likewise.
2810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
2812         Likewise.
2813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
2815         Likewise.
2816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
2818         Likewise.
2819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2821         (libm-sysdep_routines): Update.
2823 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
2825         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
2826         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
2827         against unrelocated shared library.
2828         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2830 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2832         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
2833         * elf/tst-env-setuid-tunables.c
2834         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
2835         GLIBC_TUNABLES is removed in a setgid process.
2837         [BZ #21073]
2838         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
2839         * elf/dl-tunables.c (tunables_strdup): Remove.
2840         (get_next_env): Also return the previous envp.
2841         (parse_tunables): Erase tunables of category
2842         TUNABLES_SECLEVEL_SXID_ERASE.
2843         (maybe_enable_malloc_check): Make MALLOC_CHECK_
2844         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
2845         (__tunables_init)[TUNABLES_FRONTEND ==
2846         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
2847         after parsing.
2848         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
2849         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
2850         * elf/dl-tunables.h (struct _tunable): Change member is_secure
2851         to security_level.
2852         * elf/dl-tunables.list: Add security_level annotations for all
2853         tunables.
2854         * scripts/gen-tunables.awk: Recognize and generate enum values
2855         for security_level.
2856         * elf/tst-env-setuid.c: New test case.
2857         * elf/tst-env-setuid-tunables: new test case.
2858         * elf/Makefile (tests-static): Add them.
2860 2017-02-01  Richard Henderson  <rth@twiddle.net>
2862         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
2863         adjusting the byte count.
2865 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
2867         * conform/Makefile (linknamespace-libs): Define.
2869         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
2870         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
2871         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
2872         operands.
2874 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
2876         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
2878 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2880         [BZ #21081]
2881         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2882         (L(stosb)): Add VZEROUPPER before ret.
2884 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
2885             Alexey Makhalov <amakhalov@vmware.com>
2886             Florian Weimer <fweimer@redhat.com>
2888         [BZ #20116]
2889         * nptl/pthread_create.c: Document concurrency notes.
2890         Enhance thread creation notes.
2891         (create_thread): Use bool *stopped_start.
2892         (START_THREAD_DEFN): Comment ownership of PD.
2893         (__pthread_create_2_1): Add local bool stopped_start and use
2894         that instead of pd->stopped_start where appropriate.
2895         * nptl/createthread.c (create_thread): Use bool *stopped_start.
2896         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
2897         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2898         * nptl/tst-create-detached.c: New file.
2899         * nptl/Makefile (tests): Add tst-create-detached.
2900         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2901         Reference the enhanced thread creation notes.
2902         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
2903         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2904         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
2905         (__pthread_current_priority): Likewise.
2906         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
2907         xpthread_attr_init, xpthread_attr_setdetachstate, and
2908         xpthread_attr_setstacksize.
2909         * support/xpthread_attr_destroy.c: New file.
2910         * support/xpthread_attr_init.c: New file.
2911         * support/xpthread_attr_setdetachstate.c: New file.
2912         * support/xpthread_attr_setstacksize.c: New file.
2913         * support/xthread.h: Define prototypes for xpthread_attr_destroy
2914         xpthread_attr_init, xpthread_attr_setdetachstate, and
2915         xpthread_attr_setstacksize.
2917 2017-01-27  Florian Weimer  <fweimer@redhat.com>
2919         * nptl/Makefile (tests): Add tst-robust-fork.
2920         * nptl/tst-robust-fork.c: New file.
2921         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
2922         xpthread_mutex_consistent, xpthread_mutex_destroy,
2923         xpthread_mutex_init, xpthread_mutexattr_destroy,
2924         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
2925         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
2926         xpthread_mutexattr_settype.
2927         * support/xmmap.c: New file.
2928         * support/xmunmap.c: Likewise.
2929         * support/xpthread_mutex_consistent.c: Likewise.
2930         * support/xpthread_mutex_destroy.c: Likewise.
2931         * support/xpthread_mutex_init.c: Likewise.
2932         * support/xpthread_mutexattr_destroy.c: Likewise.
2933         * support/xpthread_mutexattr_init.c: Likewise.
2934         * support/xpthread_mutexattr_setprotocol.c: Likewise.
2935         * support/xpthread_mutexattr_setpshared.c: Likewise.
2936         * support/xpthread_mutexattr_setrobust.c: Likewise.
2937         * support/xpthread_mutexattr_settype.c: Likewise.
2938         * support/xthread.h (xpthread_mutexattr_destroy)
2939         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
2940         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
2941         (xpthread_mutexattr_settype, xpthread_mutex_init)
2942         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
2943         * support/xunistd.h (xmmap, xmunmap): Likewise.
2945 2017-01-25  Florian Weimer  <fweimer@redhat.com>
2947         * string/Makefile (xtests): Add comment.
2948         (LOCALES): Add en_GB.UTF-8.
2949         (tst-strcoll-overflow.out): Depend on generated locales.
2950         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
2951         (SIZE, TIMEOUT): Update comments.
2952         (do_test): Define as static.  Fail test if setlocale fails.
2953         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
2954         messages.
2955         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
2956         TIMEOUT at 300 seconds should be enough to run this test
2957         successfully.
2959 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
2961         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2962         /* FALLTHRU */ comments.
2964 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
2966         [BZ #21053]
2967         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
2968         constants instead of the old R* ones.
2969         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
2970         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
2971         (NGREG): ... to this, to fit in with other architectures.
2972         (gpregset_t): Use new NGREG macro.
2973         [__USE_GNU]: Remove condition; all architectures other than tile
2974         are unconditional.
2975         (R*): Rename to REG_R*.
2977 2017-01-20  DJ Delorie  <dj@redhat.com>
2979         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
2980         (tunable_set_val_if_valid_range_signed) ... this, and ...
2981         (tunable_set_val_if_valid_range_unsigned) ... this.
2982         (tunable_initialize): Call the correct one of the above based on type.
2984 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
2986         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
2987         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2988         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2989         * sysdeps/microblaze/libm-test-ulps: Likewise.
2990         * sysdeps/sh/libm-test-ulps: Likewise.
2992         * math/README.libm-test: Update list of characters for input and
2993         output types.
2995 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2997         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2998         (__lll_unlock_elision): Fix adapt_count decrement.
3000 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
3002         * README.pretty-printers (Known issues): Warn about printers not
3003         always covering everything.
3004         * nptl/nptl-printers.py (MutexPrinter): Change output.
3005         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
3007 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3009         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
3010         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3011         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
3012         (__lll_lock_elision): Do not test futex before starting a
3013         transaction.  Use __glibc_likely instead of __builtin_expect.
3014         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
3015         (__lll_trylock_elision): Do not test futex before starting a
3016         transaction.  Use __glibc_likely instead of __builtin_expect.
3018 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3020         * po/Makefile (update-translations): New target.
3022 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3024         [BZ #21061]
3025         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
3027 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3029         * elf/dl-tunables (get_next_env): Always advance envp.
3030         * stdlib/tst-empty-env.c: New test case.
3031         * stdlib/Makefile (tests): Use it.
3033 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3035         [BZ #21047]
3036         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
3037         name for instruction.
3038         [!__SOFTFP__] (_FPU_SETCW): Likewise.
3040 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3042         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
3043         for make install.
3045 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3047         * po/bg.po: Merge from Translation Project.
3048         * po/fr.po: Likewise.
3049         * po/ko.po: Likewise.
3050         * po/nl.po: Likewise.
3051         * po/sv.po: Likewise.
3053 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3055         * manual/install.texi (Tools for Compilation): Update GCC version
3056         known to work to build glibc.
3057         * INSTALL: Regenerated.
3059 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3061         [BZ #21006]
3062         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
3064 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
3066         [BZ #21045]
3067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3068         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
3069         to __sigprocmask.
3071 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
3073         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
3074         wrap-around.
3075         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
3077         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
3079 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3081         * NEWS: Fix typo.
3083 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3085         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
3086         barriers and comments.
3087         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
3088         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3089         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3091 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3093         [BZ #19402]
3094         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
3095         mutexes.
3097 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3099         [BZ #20985]
3100         * nptl/Makefile: Adapt.
3101         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3102         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3103         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3104         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3105         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
3106         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
3107         lll_robust* functions and adapt.
3108         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3109         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
3110         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3111         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3112         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
3113         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3114         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
3115         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3116         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
3117         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3118         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3119         * nptl/lowlevelrobustlock.c: Remove file.
3120         * nptl/lowlevelrobustlock.sym: Likewise.
3121         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
3122         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
3124 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3126         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3128 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3130         * po/cs.po: Merge translations from the Translation Project.
3131         * po/de.po: Likewise.
3132         * po/pl.po: Likewise.
3133         * po/ru.po: Likewise.
3134         * po/tr.po: Likewise.
3135         * po/uk.po: Likewise.
3136         * po/vi.po: Likewise.
3137         * po/zh_CN.po: Likewise.
3139 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
3141         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
3143         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
3144         object.
3146 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3148         [BZ #16458]
3149         * bits/uintn-identity.h: New file.
3150         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
3151         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
3152         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
3153         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
3154         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
3155         * string/endian.h: Include <bits/uintn-identity.h>.
3156         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
3157         __uint16_identity.
3158         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
3159         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
3160         __uint32_identity.
3161         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
3162         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
3163         __uint64_identity.
3164         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
3165         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
3166         __uint16_identity.
3167         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
3168         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
3169         __uint32_identity.
3170         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
3171         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
3172         __uint64_identity.
3173         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
3174         * string/Makefile (headers): Add bits/uintn-identity.h.
3175         (tests): Add test-endian-types.
3176         * string/test-endian-types.c: New file.
3177         * inet/Makefile (tests): Add test-hnto-types.
3178         * inet/test-hnto-types.c: New file.
3180 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3182         * po/be.po: Update from Translation Project.
3183         * po/bg.po: Likewise.
3184         * po/ca.po: Likewise.
3185         * po/cs.po: Likewise.
3186         * po/da.po: Likewise.
3187         * po/de.po: Likewise.
3188         * po/el.po: Likewise.
3189         * po/eo.po: Likewise.
3190         * po/es.po: Likewise.
3191         * po/fi.po: Likewise.
3192         * po/fr.po: Likewise.
3193         * po/gl.po: Likewise.
3194         * po/hr.po: Likewise.
3195         * po/hu.po: Likewise.
3196         * po/ia.po: Likewise.
3197         * po/id.po: Likewise.
3198         * po/it.po: Likewise.
3199         * po/ja.po: Likewise.
3200         * po/ko.po: Likewise.
3201         * po/lt.po: Likewise.
3202         * po/nb.po: Likewise.
3203         * po/nl.po: Likewise.
3204         * po/pl.po: Likewise.
3205         * po/pt_BR.po: Likewise.
3206         * po/ru.po: Likewise.
3207         * po/rw.po: Likewise.
3208         * po/sk.po: Likewise.
3209         * po/sl.po: Likewise.
3210         * po/sv.po: Likewise.
3211         * po/tr.po: Likewise.
3212         * po/uk.po: Likewise.
3213         * po/vi.po: Likewise.
3214         * po/zh_CN.po: Likewise.
3215         * po/zh_TW.po: Likewise.
3217 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3219         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
3220         -Wformat-truncation instead of -Wformat-length.
3221         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
3222         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
3223         GCC 7.
3224         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
3225         (do_test): Ignore -Wformat-truncation for GCC 7.
3227         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
3228         buffer used to print long int value.
3230         * elf/sotruss-lib.c (init): Increase space allocated for pid by
3231         one byte.  Print it with %ld, cast to long int.
3233 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3235         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
3236         (re.fullmatch, subprocess.run): Likewise.
3238 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3240         * po/libc.pot: Regenerate.
3242 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3244         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
3245         (min_strlen): Likewise.
3246         (disable_tunable): Likewise.
3247         (maybe_disable_malloc_check): Rename to
3248         maybe_enable_malloc_check.
3249         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
3250         if /etc/suid-debug file exists.
3251         (__tunables_init): Update caller.
3252         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
3253         secure.
3255 2016-01-10  Torvald Riegel  <triegel@redhat.com>
3257         * nptl/DESIGN-rwlock.txt: Remove.
3258         * nptl/lowlevelrwlock.sym: Remove.
3259         * nptl/Makefile: Add new tests.
3260         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
3261         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
3262         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
3263         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
3264         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
3265         PTHREAD_RWLOCK_FUTEX_USED): New.
3266         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
3267         implementation.
3268         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
3269         (__pthread_rwlock_rdlock): Adapt.
3270         * nptl/pthread_rwlock_timedrdlock.c
3271         (pthread_rwlock_timedrdlock): Adapt.
3272         * nptl/pthread_rwlock_timedwrlock.c
3273         (pthread_rwlock_timedwrlock): Adapt.
3274         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
3275         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
3276         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
3277         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
3278         (__pthread_rwlock_wrlock): Adapt.
3279         * nptl/tst-rwlock10.c: Adapt.
3280         * nptl/tst-rwlock11.c: Adapt.
3281         * nptl/tst-rwlock17.c: New file.
3282         * nptl/tst-rwlock18.c: New file.
3283         * nptl/tst-rwlock19.c: New file.
3284         * nptl/tst-rwlock2b.c: New file.
3285         * nptl/tst-rwlock8.c: Adapt.
3286         * nptl/tst-rwlock9.c: Adapt.
3287         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3288         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3289         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3290         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3291         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3292         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3293         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3294         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3295         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3296         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3297         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3298         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3299         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3300         (pthread_rwlock_t): Adapt.
3301         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3302         (pthread_rwlock_t): Adapt.
3303         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3304         * nptl/nptl-printers.py (): Adapt.
3305         * nptl/nptl_lock_constants.pysym: Adapt.
3306         * nptl/test-rwlock-printers.py: Adapt.
3307         * nptl/test-rwlockattr-printers.c: Adapt.
3308         * nptl/test-rwlockattr-printers.py: Adapt.
3310 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
3312         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
3313         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
3314         (fma_test_data): Likewise.
3315         (hypot_test_data): Likewise.
3316         (log1p_test_data): Likewise.
3317         (modf_test_data): Likewise.
3318         (pow_test_data): Likewise.
3319         (remainder_test_data): Likewise.
3320         (remquo_test_data): Likewise.
3321         (scalb_test_data): Likewise.
3322         (scalbn_test_data): Likewise.
3323         (scalbln_test_data): Likewise.
3324         * math/gen-libm-test.pl (parse_args): Transform
3325         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
3326         on the rounding mode.
3328 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
3330         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
3331         xfail-rounding:ibm128-libgcc automatically to tests overflowing
3332         and those that can underflow to zero.
3333         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
3334         add others.
3335         * math/auto-libm-test-out: Regenerated.
3337         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
3338         supported.
3339         (feholdexcept_tests): Skip tests requiring exceptions or rounding
3340         modes support if not supported.
3342         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
3343         Add libc.so PLT entry.
3344         (__tls_get_addr): Make ld.so PLT entry optional.
3346 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3348         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
3349         * string/bits/string3.h: ... here.
3351 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3353         [BZ #21028]
3354         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
3355         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
3356         if EXCEPTION_TESTS returns false.
3358 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3360         [BZ #20558]
3361         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
3362         strings_fortified.h.
3363         [__USE_MISC] (bzero): Likewise.
3364         [__USE_MISC] (explicit_bzero): Likewise.
3365         * string/strings.h: Include strings_fortified.h.
3366         * string/Makefile (headers): Add strings_fortified.h.
3367         * string/bits/strings_fortified.h: New file.
3368         * include/bits/strings_fortified.h: Likewise.
3370 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3372         * elf/tst-tls13.c (TIMEOUT): Remove.
3373         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
3374         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
3375         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
3376         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
3377         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
3379         [BZ #21026]
3380         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
3381         (readahead): New syscall entry.
3383 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3385         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
3386         around tests of strncat with large sizes.
3388         * malloc/tst-malloc.c: Include <libc-internal.h>.
3389         (do_test): Disable -Walloc-size-larger-than= around tests of
3390         malloc with negative sizes.
3391         * malloc/tst-mcheck.c: Include <libc-internal.h>.
3392         (do_test): Disable -Walloc-size-larger-than= around tests of
3393         malloc and realloc with negative sizes.
3394         * malloc/tst-realloc.c: Include <libc-internal.h>.
3395         (do_test): Disable -Walloc-size-larger-than= around tests of
3396         realloc with negative sizes.
3398         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
3399         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
3400         allowed to 16 ulps.
3401         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
3402         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
3403         * math/auto-libm-test-out: Regenerated.
3405 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3407         * math/Makefile (libm-calls): Move wrappers...
3408         (libm-compat-call-auto): Here.
3409         (libm-routines): Add items in libm-compat-calls-auto.
3410         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
3411         the filenames of the wrappers that have been renamed.
3412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
3413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3415         * math/w_acos.c: Add _compat suffix to filename.
3416         * math/w_acosf.c: Likewise.
3417         * math/w_acosh.c: Likewise.
3418         * math/w_acoshf.c: Likewise.
3419         * math/w_acoshl.c: Likewise.
3420         * math/w_acosl.c: Likewise.
3421         * math/w_asin.c: Likewise.
3422         * math/w_asinf.c: Likewise.
3423         * math/w_asinl.c: Likewise.
3424         * math/w_atan2.c: Likewise.
3425         * math/w_atan2f.c: Likewise.
3426         * math/w_atan2l.c: Likewise.
3427         * math/w_atanh.c: Likewise.
3428         * math/w_atanhf.c: Likewise.
3429         * math/w_atanhl.c: Likewise.
3430         * math/w_cosh.c: Likewise.
3431         * math/w_coshf.c: Likewise.
3432         * math/w_coshl.c: Likewise.
3433         * math/w_exp10.c: Likewise.
3434         * math/w_exp10f.c: Likewise.
3435         * math/w_exp10l.c: Likewise.
3436         * math/w_exp2.c: Likewise.
3437         * math/w_exp2f.c: Likewise.
3438         * math/w_exp2l.c: Likewise.
3439         * math/w_fmod.c: Likewise.
3440         * math/w_fmodf.c: Likewise.
3441         * math/w_fmodl.c: Likewise.
3442         * math/w_hypot.c: Likewise.
3443         * math/w_hypotf.c: Likewise.
3444         * math/w_hypotl.c: Likewise.
3445         * math/w_j0.c: Likewise.
3446         * math/w_j0f.c: Likewise.
3447         * math/w_j0l.c: Likewise.
3448         * math/w_j1.c: Likewise.
3449         * math/w_j1f.c: Likewise.
3450         * math/w_j1l.c: Likewise.
3451         * math/w_jn.c: Likewise.
3452         * math/w_jnf.c: Likewise.
3453         * math/w_jnl.c: Likewise.
3454         * math/w_log10.c: Likewise.
3455         * math/w_log10f.c: Likewise.
3456         * math/w_log10l.c: Likewise.
3457         * math/w_log2.c: Likewise.
3458         * math/w_log2f.c: Likewise.
3459         * math/w_log2l.c: Likewise.
3460         * math/w_log.c: Likewise.
3461         * math/w_logf.c: Likewise.
3462         * math/w_logl.c: Likewise.
3463         * math/w_pow.c: Likewise.
3464         * math/w_powf.c: Likewise.
3465         * math/w_powl.c: Likewise.
3466         * math/w_remainder.c: Likewise.
3467         * math/w_remainderf.c: Likewise.
3468         * math/w_remainderl.c: Likewise.
3469         * math/w_scalb.c: Likewise.
3470         * math/w_scalbf.c: Likewise.
3471         * math/w_scalbl.c: Likewise.
3472         * math/w_sinh.c: Likewise.
3473         * math/w_sinhf.c: Likewise.
3474         * math/w_sinhl.c: Likewise.
3475         * math/w_sqrt.c: Likewise.
3476         * math/w_sqrtf.c: Likewise.
3477         * math/w_sqrtl.c: Likewise.
3478         * math/w_tgamma.c: Likewise.
3479         * math/w_tgammaf.c: Likewise.
3480         * math/w_tgammal.c: Likewise.
3482         * math/w_acos_compat.c: New file copied from above and
3483         adjusted for new #includes path
3484         * math/w_acosf_compat.c: Likewise.
3485         * math/w_acosh_compat.c: Likewise.
3486         * math/w_acoshf_compat.c: Likewise.
3487         * math/w_acoshl_compat.c: Likewise.
3488         * math/w_acosl_compat.c: Likewise.
3489         * math/w_asin_compat.c: Likewise.
3490         * math/w_asinf_compat.c: Likewise.
3491         * math/w_asinl_compat.c: Likewise.
3492         * math/w_atan2_compat.c: Likewise.
3493         * math/w_atan2f_compat.c: Likewise.
3494         * math/w_atan2l_compat.c: Likewise.
3495         * math/w_atanh_compat.c: Likewise.
3496         * math/w_atanhf_compat.c: Likewise.
3497         * math/w_atanhl_compat.c: Likewise.
3498         * math/w_cosh_compat.c: Likewise.
3499         * math/w_coshf_compat.c: Likewise.
3500         * math/w_coshl_compat.c: Likewise.
3501         * math/w_exp10_compat.c: Likewise.
3502         * math/w_exp10f_compat.c: Likewise.
3503         * math/w_exp10l_compat.c: Likewise.
3504         * math/w_exp2_compat.c: Likewise.
3505         * math/w_exp2f_compat.c: Likewise.
3506         * math/w_exp2l_compat.c: Likewise.
3507         * math/w_fmod_compat.c: Likewise.
3508         * math/w_fmodf_compat.c: Likewise.
3509         * math/w_fmodl_compat.c: Likewise.
3510         * math/w_hypot_compat.c: Likewise.
3511         * math/w_hypotf_compat.c: Likewise.
3512         * math/w_hypotl_compat.c: Likewise.
3513         * math/w_j0_compat.c: Likewise.
3514         * math/w_j0f_compat.c: Likewise.
3515         * math/w_j0l_compat.c: Likewise.
3516         * math/w_j1_compat.c: Likewise.
3517         * math/w_j1f_compat.c: Likewise.
3518         * math/w_j1l_compat.c: Likewise.
3519         * math/w_jn_compat.c: Likewise.
3520         * math/w_jnf_compat.c: Likewise.
3521         * math/w_jnl_compat.c: Likewise.
3522         * math/w_log10_compat.c: Likewise.
3523         * math/w_log10f_compat.c: Likewise.
3524         * math/w_log10l_compat.c: Likewise.
3525         * math/w_log2_compat.c: Likewise.
3526         * math/w_log2f_compat.c: Likewise.
3527         * math/w_log2l_compat.c: Likewise.
3528         * math/w_log_compat.c: Likewise.
3529         * math/w_logf_compat.c: Likewise.
3530         * math/w_logl_compat.c: Likewise.
3531         * math/w_pow_compat.c: Likewise.
3532         * math/w_powf_compat.c: Likewise.
3533         * math/w_powl_compat.c: Likewise.
3534         * math/w_remainder_compat.c: Likewise.
3535         * math/w_remainderf_compat.c: Likewise.
3536         * math/w_remainderl_compat.c: Likewise.
3537         * math/w_scalb_compat.c: Likewise.
3538         * math/w_scalbf_compat.c: Likewise.
3539         * math/w_scalbl_compat.c: Likewise.
3540         * math/w_sinh_compat.c: Likewise.
3541         * math/w_sinhf_compat.c: Likewise.
3542         * math/w_sinhl_compat.c: Likewise.
3543         * math/w_sqrt_compat.c: Likewise.
3544         * math/w_sqrtf_compat.c: Likewise.
3545         * math/w_sqrtl_compat.c: Likewise.
3546         * math/w_tgamma_compat.c: Likewise.
3547         * math/w_tgammaf_compat.c: Likewise.
3548         * math/w_tgammal_compat.c: Likewise.
3550         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
3551         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3552         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3553         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3554         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3555         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3556         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3557         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3558         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3559         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
3560         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
3561         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
3562         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3563         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3564         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3565         * sysdeps/ia64/fpu/w_powl.c: Likewise.
3566         * sysdeps/ia64/fpu/w_powf.c: Likewise.
3567         * sysdeps/ia64/fpu/w_pow.c: Likewise.
3568         * sysdeps/ia64/fpu/w_logl.c: Likewise.
3569         * sysdeps/ia64/fpu/w_logf.c: Likewise.
3570         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3571         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3572         * sysdeps/ia64/fpu/w_log2.c: Likewise.
3573         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3574         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3575         * sysdeps/ia64/fpu/w_log10.c: Likewise.
3576         * sysdeps/ia64/fpu/w_log.c: Likewise.
3577         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3578         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3579         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3580         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3581         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3582         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3583         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3584         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3585         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3586         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3587         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3588         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3589         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3590         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3591         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3592         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3593         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3594         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3595         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3596         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3597         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3598         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3599         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3600         * sysdeps/ia64/fpu/w_asin.c: Likewise.
3601         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3602         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3603         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3604         * sysdeps/ia64/fpu/w_acos.c: Likewise.
3605         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
3606         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
3607         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
3608         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
3609         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
3610         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
3611         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
3612         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
3613         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
3614         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
3615         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
3616         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
3617         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
3618         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
3619         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
3620         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
3621         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
3622         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
3623         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
3624         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
3625         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
3626         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
3627         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
3628         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
3629         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
3630         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
3631         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
3632         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
3633         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
3634         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
3635         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
3636         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
3637         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
3638         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
3639         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
3640         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
3641         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
3642         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
3643         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
3644         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
3645         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
3646         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
3647         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
3648         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
3649         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
3650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
3651         Likewise.
3652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
3653         Likewise.
3654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
3655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
3656         Likewise.
3657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
3658         Likewise.
3659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
3660         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3661         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3662         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3663         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3664         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3665         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
3667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
3669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3670         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3671         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3672         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3673         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3675         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
3676         and adjusted for new #includes path
3677         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
3678         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
3679         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
3680         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
3681         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
3682         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
3683         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
3684         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
3685         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
3686         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
3687         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
3688         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
3689         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
3690         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
3691         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
3692         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
3693         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
3694         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
3695         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
3696         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
3697         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
3698         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
3699         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
3700         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
3701         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
3702         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
3703         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
3704         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
3705         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
3706         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
3707         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
3708         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
3709         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
3710         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
3711         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
3712         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
3713         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
3714         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
3715         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
3716         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
3717         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
3718         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
3719         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
3720         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
3721         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
3722         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
3723         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
3724         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
3725         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
3726         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
3727         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
3728         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
3729         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
3730         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
3731         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
3732         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
3733         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
3734         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
3735         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3736         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3737         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3738         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3739         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3740         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3741         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3742         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3743         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3744         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3745         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3746         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
3747         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
3748         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3749         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3750         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3751         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3752         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3753         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3754         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3755         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3756         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3757         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3758         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3759         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3760         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3761         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3762         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3763         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3764         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3765         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3766         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
3767         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
3768         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
3769         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
3770         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3771         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3772         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3773         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3774         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3775         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
3777         Likewise.
3778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
3779         Likewise.
3780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
3781         Likewise.
3782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
3783         Likewise.
3784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
3785         Likewise.
3786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
3787         Likewise.
3788         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3789         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3790         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3791         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3792         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3793         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3795         Likewise.
3796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3797         Likewise.
3798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3799         Likewise.
3800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3801         Likewise.
3802         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3803         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3804         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3805         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3807 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3809         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
3810         __jmp_buf_internal_tag.
3812         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
3813         preserve NaN payload if [__mips_nan2008].
3814         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3816         [BZ #21022]
3817         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
3819 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3821         * sysdeps/i386/fpu/libm-test-ulps: Update.
3823 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3825         * sysdeps/ia64/strcat.c: Remove file.
3826         * sysdeps/powerpc/strcat.c: Likewise.
3827         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
3828         C implementation.
3829         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
3830         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
3832 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3833             Steven Munroe  <sjmunroe@us.ibm.com>
3834             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3836         [BZ #20822]
3837         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3838         (__lll_lock_elision): Access adapt_count via C11 atomics.
3839         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3840         (__lll_trylock_elision): Likewise.
3841         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3842         (__lll_unlock_elision):  Update adapt_count variable inside the
3843         critical section using C11 atomics.
3845 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3847         * math/test-fenvinline.c (do_test): Disable tests of raised
3848         exceptions if !EXCEPTION_TESTS (FLOAT).
3850 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3852         [BZ #19390]
3853         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
3854         maximum string size.
3855         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
3856         in pointer addition.
3857         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
3858         Likewise.
3860 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3862         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
3863         passed to tst-ldconfig-X.sh.
3865 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
3867         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
3869 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3871         [BZ #21019]
3872         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
3873         New syscall entry.
3874         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
3875         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
3876         lseek.
3878         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3879         power4 glibc for powerpc-linux-gnu.
3881 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3883         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
3884         semctl.
3886 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3888         * math/test-nearbyint-except.c: Include <stdbool.h>.
3889         (any_supported): New variable.
3890         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
3891         set any_supported.
3892         (do_test): Return 77 if no floating-point type supported
3893         exceptions.
3895         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
3896         condition on [__mips_hard_float].
3898 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3900         [BZ #21014]
3901         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
3902         in pointer addition.
3903         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
3905 2017-01-02  Torvald Riegel  <triegel@redhat.com>
3907         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
3908         new condvar.
3910 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3912         * scripts/build-many-glibcs.py (Context.checkout): Default
3913         binutils version to 2.28 branch.
3915 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3917         * support/support_format_netent.c (support_format_netent): Work
3918         around alpha struct netent definition difference.
3920 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3922         * support/xwrite.c (xwrite): Use %td for pointer difference.
3924 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3926         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
3927         have-tunables only.
3928         (tests-static): Add tst-malloc-usable-static-tunables for
3929         have-tunables only.
3931 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
3933         * scripts/config.guess: Update to version 2017-01-01.
3934         * scripts/config.sub: Update to version 2017-01-01.
3936         * NEWS: Update copyright dates.
3937         * catgets/gencat.c (print_version): Likewise.
3938         * csu/version.c (banner): Likewise.
3939         * debug/catchsegv.sh: Likewise.
3940         * debug/pcprofiledump.c (print_version): Likewise.
3941         * debug/xtrace.sh (do_version): Likewise.
3942         * elf/ldconfig.c (print_version): Likewise.
3943         * elf/ldd.bash.in: Likewise.
3944         * elf/pldd.c (print_version): Likewise.
3945         * elf/sotruss.sh: Likewise.
3946         * elf/sprof.c (print_version): Likewise.
3947         * iconv/iconv_prog.c (print_version): Likewise.
3948         * iconv/iconvconfig.c (print_version): Likewise.
3949         * locale/programs/locale.c (print_version): Likewise.
3950         * locale/programs/localedef.c (print_version): Likewise.
3951         * login/programs/pt_chown.c (print_version): Likewise.
3952         * malloc/memusage.sh (do_version): Likewise.
3953         * malloc/memusagestat.c (print_version): Likewise.
3954         * malloc/mtrace.pl: Likewise.
3955         * manual/libc.texinfo: Likewise.
3956         * nptl/version.c (banner): Likewise.
3957         * nscd/nscd.c (print_version): Likewise.
3958         * nss/getent.c (print_version): Likewise.
3959         * nss/makedb.c (print_version): Likewise.
3960         * posix/getconf.c (main): Likewise.
3961         * scripts/test-installation.pl: Likewise.
3962         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3964         * All files with FSF copyright notices: Update copyright dates
3965         using scripts/update-copyrights.
3966         * intl/plural.c: Regenerated.
3967         * locale/programs/charmap-kw.h: Likewise.
3968         * locale/programs/locfile-kw.h: Likewise.
3970 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3972         [BZ #20593]
3973         Update DNS RR type definitions.
3974         * scripts/gen-rrtypes.py: New file.
3975         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
3976         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
3977         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
3978         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
3979         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
3980         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
3981         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
3982         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
3983         ns_t_ta, ns_t_dlv.
3984         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
3985         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
3986         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
3987         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
3988         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
3989         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
3990         Define.
3991         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
3992         entry for ns_t_zxfr.
3994 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3996         [BZ #18784]
3997         CVE-2015-5180
3998         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
3999         T_UNSPEC.  Adjust value.
4000         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
4001         * resolv/res_query.c (__libc_res_nquery): Likewise.
4002         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
4003         QTYPEs.
4004         * resolv/tst-resolv-qtypes.c: New file.
4005         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
4006         (tst-resolv-qtypes): Link against libresolv and libpthread.
4008 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4010         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
4012 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4014         * manual/tunables.texi: New chapter.
4015         * manual/Makefile (chapters): Add it.
4016         * manual/probes.texi (@node): Point to the Tunables chapter.
4018         * Makeconfig (have-tunables): Check for non-negative instead
4019         of positive.
4020         * configure.ac: Add 'valstring' as a valid value for
4021         --enable-tunables.
4022         * configure: Regenerate.
4023         * elf/Makefile (have-tunables): Check for non-negative instead
4024         of positive.
4025         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
4026         dl-tunables.c.
4027         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
4028         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4029         (tunables_strdup): Likewise.
4030         (disable_tunables): Likewise.
4031         (parse_tunables): Likewise.
4032         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
4033         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4034         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
4035         (TUNABLES_FRONTEND_yes): New macro, define as
4036         TUNABLES_FRONTEND_valstring by default.
4037         * manual/install.texi: Document new acceptable values for
4038         --enable-tunables.
4039         * INSTALL: Regenerate.
4041         * config.make.in (have-loop-to-function): Define.
4042         * elf/Makefile (CFLAGS-dl-tunables.c): Add
4043         -fno-tree-loop-distribute-patterns.
4044         * elf/dl-tunables.c: Include libc-internals.h.
4045         (GLIBC_TUNABLES): New macro.
4046         (tunables_strdup): New function.
4047         (parse_tunables): New function.
4048         (min_strlen): New function.
4049         (__tunables_init): Use the new functions and macro.
4050         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
4051         * malloc/tst-malloc-usable-tunables.c: New test case.
4052         * malloc/tst-malloc-usable-static-tunables.c: New test case.
4053         * malloc/Makefile (tests, tests-static): Add tests.
4055         * manual/install.texi: Add --enable-tunables option.
4056         * INSTALL: Regenerate.
4057         * README.tunables: New file.
4058         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
4059         (before-compile): Generate dl-tunable-list.h early.
4060         * config.h.in: Add HAVE_TUNABLES.
4061         * config.make.in: Add have-tunables.
4062         * configure.ac: Add --enable-tunables option.
4063         * configure: Regenerate.
4064         * csu/init-first.c (__libc_init_first): Move
4065         __libc_init_secure earlier...
4066         * csu/init-first.c (LIBC_START_MAIN):... to here.
4067         Include dl-tunables.h, libc-internal.h.
4068         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
4069         binaries.
4070         * elf/Makefile (dl-routines): Add dl-tunables.
4071         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
4072         namespace.
4073         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
4074         only when !HAVE_TUNABLES.
4075         * elf/rtld.c (process_envvars): Likewise.
4076         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
4077         (_dl_sysdep_start): Call __tunables_init.
4078         * elf/dl-tunable-types.h: New file.
4079         * elf/dl-tunables.c: New file.
4080         * elf/dl-tunables.h: New file.
4081         * elf/dl-tunables.list: New file.
4082         * malloc/tst-malloc-usable-static.c: New test case.
4083         * malloc/Makefile (tests-static): Add it.
4084         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
4085         Define TUNABLE_NAMESPACE.
4086         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
4087         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
4088         callback functions.
4089         (ptmalloc_init): Set tunable values.
4090         * scripts/gen-tunables.awk: New file.
4091         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
4092         (_dl_sysdep_start): Call __tunables_init.
4094 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4096         * resolv/resolv.h (RES_BLAST): Deprecate.
4097         * resolv/res_debug.c (p_option): Remove RES_BLAST.
4098         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
4099         to RES_BLAST.
4101 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4103         [BZ #19582]
4104         Deprecate RES_USE_INET6.
4105         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
4106         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
4107         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
4108         RES_USE_INET6.
4109         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
4110         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
4111         (_nss_nisplus_gethostbyaddr_r): Likewise.
4112         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
4113         of res_use_inet6.
4114         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
4115         instead of RES_USE_INET6.
4116         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
4117         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
4118         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
4119         Likewise.
4120         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
4121         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
4122         Likewise.
4123         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
4124         (_nss_dns_gethostbyname_r): Likewise.
4125         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
4126         alternate RES_USE_INET6 handling.
4127         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
4128         instead of RES_USE_INET6.
4129         * resolv/res_init.c (res_setoptions): Likewise.
4130         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
4131         * resolv/resolv-internal.h: New file.
4132         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
4133         make the deprecation warning non-fatal.
4134         * resolv/README (Using the resolver in multi-threaded code): Drop
4135         reference to RES_USE_INET6.
4136         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
4137         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
4139 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4141         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
4142         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
4143         tst-resolv-search.
4144         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
4145         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
4146         with libresolv and libpthread.
4147         * resolv/tst-bug18665.c: New file.
4148         * resolv/tst-bug18665-tcp: Likewise.
4149         * resolv/tst-res_use_inet6: Likewise.
4150         * resolv/tst-resolv-basic: Likewise.
4151         * resolv/tst-resolv-network: Likewise.
4152         * resolv/tst-resolv-search: Likewise.
4153         * support/Makefile (libsupport-routines): Add check_addrinfo,
4154         check_dns_packet, check_hostent, check_netent, resolv_test,
4155         support_format_address_family, support_format_addrinfo,
4156         support_format_dns_packet, support_format_herrno,
4157         support_format_hostent, support_format_netent, support_run_diff,
4158         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
4159         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
4160         xstrdup, xwrite.
4161         * support/check_addrinfo.c: New file.
4162         * support/check_dns_packet.c: Likewise.
4163         * support/check_hostent.c: Likewise.
4164         * support/check_netent.c: Likewise.
4165         * support/check_nss.h: Likewise.
4166         * support/format_nss.h: Likewise.
4167         * support/resolv_test.c: Likewise.
4168         * support/resolv_test.h: Likewise.
4169         * support/run_diff.h: Likewise.
4170         * support/support_format_address_family.c: Likewise.
4171         * support/support_format_addrinfo.c: Likewise.
4172         * support/support_format_dns_packet.c: Likewise.
4173         * support/support_format_herrno.c: Likewise.
4174         * support/support_format_hostent.c: Likewise.
4175         * support/support_format_netent.c: Likewise.
4176         * support/support_run_diff.c: Likewise.
4177         * support/xaccept.c: Likewise.
4178         * support/xbind.c: Likewise.
4179         * support/xconnect.c: Likewise.
4180         * support/xfclose.c: Likewise.
4181         * support/xfopen.c: Likewise.
4182         * support/xgetsockname.c: Likewise.
4183         * support/xlisten.c: Likewise.
4184         * support/xmemstream.c: Likewise.
4185         * support/xmemstream.h: Likewise.
4186         * support/xpoll.c: Likewise.
4187         * support/xpthread_once.c: Likewise.
4188         * support/xrecvfrom.c: Likewise.
4189         * support/xsendto.c: Likewise.
4190         * support/xsetsockopt.c: Likewise.
4191         * support/xstdio.h: Likewise.
4192         * support/xstrdup.c: Likewise.
4193         * support/support.h (xstrdup): Declare.
4194         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
4195         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
4196         * support/xthread.h (xpthread_once): Likwise.
4197         * support/xunistd.h (xwrite): Declare.
4199 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4201         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
4202         (test_verbose): Declare.
4203         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
4204         * support/support_test_main.c (default_options): Likewise.
4205         (usage, support_test_main): Handle 'v'.
4206         (test_verbose): Define.
4207         * support/tst-support_record_failure.c (do_test): Use
4208         test_verbose.
4209         * support/tst-support_record_failure-2.sh (different_status): Add
4210         --verbose test.
4212 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4214         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
4215         test failures are recorded.
4216         * support/check.c (support_print_failure_impl): Call
4217         support_record_failure.
4218         (support_exit_failure_impl): Call support_record_failure if status
4219         indicates failure.
4220         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
4221         * support/xasprintf.c (xasprintf): Likewise.
4222         * support/xfork.c (xfork): Likewise.
4223         * support/xpthread_check_return.c (xpthread_check_return):
4224         Likewise.
4225         * support/xsocket.c (xsocket): Likeweise.
4226         * support/xwaitpid.c (xwaitpid): Likewise.
4227         * support/support_record_failure.c (struct test_failures): Adjust
4228         to coding style.
4229         * support/support_test_verify_impl.c (support_test_verify_impl):
4230         Adjust error messages.
4231         * support/tst-support_record_failure-2.sh (different_status):
4232         Adjust error messages.
4234 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4236         * support/namespace.h: New file.
4237         * support/support_become_root.c: Likewise.
4238         * support/support_enter_network_namespace.c: Likewise.
4239         * support/tst-support-namespace.c: Likewise.
4240         * support/xsocket.c: Likewise.
4241         * support/xsocket.h: Likewise.
4242         * support/Makefile (libsupport-routines): Add support_become_root,
4243         support_enter_network_namespace, xsocket.
4244         (tests): Add tst-support-namespace.
4246 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4248         [BZ #17252]
4249         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
4250         __USE_GNU.
4252 2016-12-31  Torvald Riegel  <triegel@redhat.com>
4254         [BZ #13165]
4255         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
4256         use new algorithm.
4257         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4258         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4259         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4260         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4261         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
4262         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
4263         __condvar_cleanup_waiting, __condvar_dec_grefs,
4264         __pthread_cond_wait_common): New.
4265         (__condvar_cleanup): Remove.
4266         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
4267         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
4268         Likewise.
4269         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
4270         Likewise.
4271         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
4272         * nptl/tst-cond1.c: Add comment.
4273         * nptl/tst-cond20.c (do_test): Adapt.
4274         * nptl/tst-cond22.c (do_test): Likewise.
4275         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
4276         structure.
4277         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4278         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4279         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4280         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
4281         Likewise.
4282         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4283         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4284         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4285         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4286         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4287         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
4288         Likewise.
4289         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
4290         Likewise.
4291         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4292         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
4293         (COND_CLOCK_BITS): Adapt.
4294         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
4295         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
4296         __PTHREAD_COND_SHARED_MASK): New.
4297         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
4298         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
4299         * nptl/nptl_lock_constants.pysym: Adapt.
4300         * nptl/test-cond-printers.py: Adapt.
4301         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
4302         cond_compat_check_and_clear): Adapt.
4303         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
4304         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4305         (__pthread_cond_timedwait): ... and move here.
4306         * nptl/DESIGN-condvar.txt: Remove file.
4307         * nptl/lowlevelcond.sym: Likewise.
4308         * nptl/pthread_cond_timedwait.c: Likewise.
4309         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
4310         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
4311         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
4312         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
4313         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
4314         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
4315         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
4316         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
4317         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
4318         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
4319         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
4320         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
4321         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
4322         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
4323         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
4324         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
4326 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
4328         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4329         (fromfp): New declaration.
4330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4333         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
4334         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
4335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4336         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4337         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4338         * math/math.h: Include <bits/types.h>.
4339         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
4340         constant and macro.
4341         (FP_INT_DOWNWARD): Likewise.
4342         (FP_INT_TOWARDZERO): Likewise.
4343         (FP_INT_TONEARESTFROMZERO): Likewise.
4344         (FP_INT_TONEAREST): Likewise.
4345         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
4346         (fromfpf): Likewise.
4347         (fromfpl): Likewise.
4348         (ufromfp): Likewise.
4349         (ufromfpf): Likewise.
4350         (ufromfpl): Likewise.
4351         (fromfpx): Likewise.
4352         (fromfpxf): Likewise.
4353         (fromfpxl): Likewise.
4354         (ufromfpx): Likewise.
4355         (ufromfpxf): Likewise.
4356         (ufromfpxl): Likewise.
4357         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
4358         s_fromfpxF and s_ufromfpxF.
4359         * math/gen-fromfp-tests.py: New file.
4360         * math/gen-fromfp-tests-inputs: Likewise.
4361         * math/libm-test.inc: Include <stdint.h>
4362         (check_intmax_t): New function.
4363         (check_uintmax_t): Likewise.
4364         (struct test_fiu_M_data): New type.
4365         (struct test_fiu_U_data): Likewise.
4366         (RUN_TEST_fiu_M): New macro.
4367         (RUN_TEST_LOOP_fiu_M): Likewise.
4368         (RUN_TEST_fiu_U): Likewise.
4369         (RUN_TEST_LOOP_fiu_U): Likewise.
4370         (fromfp_test_data): New array.
4371         (fromfp_test): New function.
4372         (fromfpx_test_data): New array.
4373         (fromfpx_test): New function.
4374         (ufromfp_test_data): New array.
4375         (ufromfp_test): New function.
4376         (ufromfpx_test_data): New array.
4377         (ufromfpx_test): New function.
4378         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
4379         ufromfpx_test.
4380         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
4381         characters.
4382         * math/test-tgmath-ret.c: Include <stdint.h>.
4383         (rm): New variable.
4384         (width): Likewise.
4385         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
4386         called function.
4387         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
4388         CHECK_RET_CONST_TYPE.
4389         (CHECK_RET_CONST_DOUBLE): Likewise.
4390         (CHECK_RET_CONST_LDOUBLE): Likewise.
4391         (CHECK_RET_CONST): Take extra arguments and pass them to calls
4392         macros.
4393         (fromfp): New CHECK_RET_CONST call.
4394         (ufromfp): Likewise.
4395         (fromfpx): Likewise.
4396         (ufromfpx): Likewise.
4397         (do_test): Call check_return_fromfp, check_return_ufromfp,
4398         check_return_fromfpx and check_return_ufromfpx.
4399         * math/test-tgmath.c: Include <stdint.h>
4400         (NCALLS): Increase to 138.
4401         (F(compile_test)): Initialize i.  Call fromfp functions.
4402         (F(fromfp)): New function.
4403         (F(fromfpx)): Likewise.
4404         (F(ufromfp)): Likewise.
4405         (F(ufromfpx)): Likewise.
4406         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
4407         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
4408         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
4409         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
4410         ufromfpxl.
4411         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
4412         ufromfp and ufromfpx.
4413         * math/fromfp.h: New file.
4414         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
4415         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
4416         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
4417         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
4418         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
4419         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
4420         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
4421         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
4422         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
4423         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
4424         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
4425         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
4426         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
4427         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
4428         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
4429         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
4430         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
4431         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
4432         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
4433         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
4434         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
4435         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
4436         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
4437         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
4438         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
4439         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
4440         ufromfp, fromfpx and ufromfpx.
4441         (CFLAGS-nldbl-fromfp.c): New variable.
4442         (CFLAGS-nldbl-fromfpx.c): Likewise.
4443         (CFLAGS-nldbl-ufromfp.c): Likewise.
4444         (CFLAGS-nldbl-ufromfpx.c): Likewise.
4445         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
4446         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
4447         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
4448         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
4449         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
4450         * sysdeps/nacl/libm.abilist: Update.
4451         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4452         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4453         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4454         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4455         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4456         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4457         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4458         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4459         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4460         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4461         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4462         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4464         Likewise.
4465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4466         Likewise.
4467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4468         Likewise.
4469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4470         Likewise.
4471         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4472         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4473         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4474         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4475         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4477         Likewise.
4478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4479         Likewise.
4480         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4481         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4482         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4484 2016-12-30  Florian Weimer  <fweimer@redhat.com>
4486         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
4487         compat-gethnamaddr.
4488         (CPPFLAGS): Remove.
4489         * resolv/gethnamaddr.c: Rename ...
4490         * resolv/compat-gethnamaddr.c: ... to this file.
4491         (_endhtent): Make static.
4492         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
4493         symbol.
4494         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
4495         compat symbol.
4496         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
4497         symbol.
4498         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
4499         Turn into compat symbol.
4500         * include/resolv.h (_endhtent): Remove declaration.
4502 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
4504         * bits/types.h (__intmax_t): New typedef.
4505         (__uintmax_t): Likewise.
4506         * sysdeps/generic/stdint.h: Include <bits/types.h>.
4507         (intmax_t): Define using __intmax_t.
4508         (uintmax_t): Define using __uintmax_t.
4510         * support/Makefile (tests-special): Make definition conditional on
4511         [$(run-built-tests) = yes].
4512         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
4513         on [$(run-built-tests) = yes].
4515 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4517         * Rules (tests): Add tests-printers-programs to tests to be
4518         built.
4520 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4522         * sysvipc/Makefile (tests): Add test-sysvshm.
4523         * sysvipc/test-sysvshm.c: New file.
4525         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
4526         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
4527         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
4528         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
4529         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
4530         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
4531         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
4532         Likewise.
4533         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
4534         Likewise.
4535         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
4536         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
4537         is defined.
4539         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
4540         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
4541         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
4542         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
4543         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
4544         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
4545         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
4546         Likewise.
4547         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
4548         Likewise.
4549         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
4550         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
4551         defined.
4553         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4554         oldshmctl.
4555         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
4556         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
4557         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
4558         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
4559         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
4560         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
4561         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
4562         Likewise.
4563         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
4564         Likewise.
4565         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
4566         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
4567         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
4568         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
4569         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
4570         implementation.
4571         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
4572         if it is defined.
4574         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
4575         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
4576         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
4577         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
4578         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
4579         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
4580         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
4581         Likewise.
4582         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
4583         Likewise.
4584         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
4585         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4586         Define to __NR_osf_shmat.
4587         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
4588         defined.
4590         * sysvipc/Makefile (tests): Add test-sysvsem.
4591         * sysvipc/test-sysvsem.c: New file.
4593         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
4594         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
4595         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
4596         Likewise.
4597         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
4598         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
4599         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
4600         Likewise.
4601         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
4602         Likewise.
4603         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
4604         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
4605         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
4606         add a comment about s390 syscall difference from default one.
4607         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
4608         syscall if it is defined.
4610         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
4611         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
4612         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
4613         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
4614         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
4615         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
4616         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
4617         Likewise.
4618         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
4619         Likewise.
4620         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
4621         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
4622         defined.
4624         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
4625         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
4626         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
4627         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
4628         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
4629         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
4630         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
4631         Likewise.
4632         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
4633         Likewise.
4634         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
4635         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
4636         if it is defined.
4638         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4639         oldsemctl.
4640         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
4641         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
4642         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
4643         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4644         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
4645         implementation.
4646         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
4647         syscall if it is defined.
4648         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
4649         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
4650         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
4651         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
4652         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
4653         Likewise.
4654         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
4656         * sysvipc/Makefile (tests): Add test-sysvmsg.
4657         * sysvipc/test-sysvmsg.c: New file.
4658         * support/check.h (FAIL_UNSUPPORTED): New define.
4660         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
4661         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
4662         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
4663         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
4664         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
4665         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
4666         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
4667         Likewise.
4668         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
4669         Likewise.
4670         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
4671         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
4672         define.
4674         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
4675         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
4676         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
4677         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
4678         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
4679         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
4680         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
4681         Likewise.
4682         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
4683         Likewise.
4684         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
4685         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
4686         if defined.
4688         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
4689         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
4690         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4691         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4692         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4693         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
4694         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4695         Likewise.
4696         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
4697         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
4698         Likewise.
4699         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
4700         if defined.
4701         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
4703         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4704         oldmsgctl.
4705         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
4706         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
4707         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
4708         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
4709         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4710         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4711         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4712         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4713         Likewise.
4714         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
4715         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
4716         implementation.
4717         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
4718         if defined.
4720         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
4721         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
4722         definition and define its own.
4723         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
4724         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
4725         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
4726         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
4727         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
4728         definitions to common header.
4729         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
4730         operation from ipc_ops.h.
4732         * sysdeps/unix/sysv/linux/kernel-features.h
4733         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
4734         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4735         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
4736         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4737         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4738         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4739         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4740         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4741         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4742         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4743         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4744         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4745         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4746         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4747         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4749 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4751         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
4752         overflow in pointer addition.
4754 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4756         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4757         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
4758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4759         (strchr): Add __strchr_power8 to list of strchr functions.
4760         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
4761         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
4762         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
4763         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
4764         (strchr): Add __strchr_power8 to ifunc list.
4765         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
4766         (__strchrnul): Add __strchrnul_power8 to ifunc list.
4767         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
4768         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
4770 2016-12-28  Florian Weimer  <fweimer@redhat.com>
4772         * support/Makefile (libsupport-routines): Add
4773         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
4774         (tests): Add tst-support_record_failure.
4775         (tests-special): tst-support_record_failure-2.
4776         (tst-support_record_failure-2.out): Depend on
4777         tst-support_record_failure-2.sh and tst-support_record_failure.
4778         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
4779         (support_test_verify_impl, support_record_failure)
4780         (support_report_failure, support_report_failure_reset): Declare.
4781         * support/support_test_main.c (adjust_exit_status): New function.
4782         (support_test_main): Call it to incorporate record test failures.
4783         * support/support_test_verify_impl.c: New file.
4784         * support/support_record_failure.c: Likewise.
4785         * support/tst-support_record_failure.c: Likewise.
4786         * support/tst-support_record_failure-2.sh: Likewise.
4787         * support/xunistd.h: Likewise.
4788         * support/xfork.c: Likewise.
4789         * support/xwaitpid.c: Likewise.
4791 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
4793         * scripts/check-c++-types.sh: Add comments.
4795 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
4797         [BZ #19514]
4798         * resolv/res_send.c: Fix typo in comment.
4799         * sysdeps/i386/i386-mcount.S: Likewise.
4800         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4801         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4802         * sysdeps/sparc/sparc-mcount.S: Likewise.
4804 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4806         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
4807         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
4808         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4809         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4810         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
4811         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
4812         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
4813         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
4815 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4817         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
4819 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4821         [BZ #17252]
4822         * posix/unistd.h (getentropy): Declare.
4824 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4826         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
4827         Remove.
4828         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
4829         (cmd): Remove spoof, nospoof, spoofalert.
4830         (parse_line): Ignore spoof-related lines.
4831         (do_init): Do not process RESOLV_SPOOF_CHECK.
4833 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4835         [BZ #20964]
4836         sunrpc: Always obtain AF_INET addresses from NSS.
4837         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
4838         * sunrpc/rpc_gethostbyname.c: New file.
4839         * sunrpc/Makefile (routines): Add it.
4840         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
4841         * sunrpc/clnt_simp.c (callrpc): Likewise.
4842         * sunrpc/getrpcport.c (getrpcport): Likewise.
4844 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4846         * sunrpc/rpcinfo.c: Remove.
4847         * sunrpc/Makefile: Remove comments referring to rpcinfo.
4849 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4851         [BZ# 19387]
4852         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
4853         addition.
4854         * string/test-memchr.c (do_test): Remove alignment limitation.
4855         (test_main): Add test that trigger BZ# 19387.
4857 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4859         [BZ #7065]
4860         Enable stack protectore if requested by ./configure.
4861         * Makeconfig (+stack-protector): New variable.
4862         (+cflags): Use it.
4864 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4866         [BZ #7065]
4867         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
4868         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
4869         (__rt_sigreturn_stub): Use inhibit_stack_protector.
4870         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4871         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
4873 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4875         [BZ #7065]
4876         * login/Makefile (pt_chown-cflags): Remove.
4877         * nscd/Makefile (CFLAGS-nscd): Likewise.
4878         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4880 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4882         [BZ #7065]
4883         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
4884         non-libc-linking testcase.
4886 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4887             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4888             Florian Weimer  <fweimer@redhat.com>
4890         [BZ #7065]
4891         PLT avoidance for __stack_chk_fail*.
4892         * debug/Makefile (CFLAGS-stack_chk_fail.c)
4893         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
4894         * debug/stack_chk_fail.c (__stack_chk_fail): Add
4895         __stack_chk_fail_local alias.
4896         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
4897         (__stack_chk_fail): Turn into hidden reference to
4898         __stack_chk_fail_local.
4900 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4902         [BZ #7065]
4903         * configure.ac: Add check for unsupported stack-protection level.
4904         (libc_cv_predef_stack_protector): Remove.
4905         (no_ssp): New variable.
4906         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
4907         (stack_protector): Set to -fno-stack-protector similarly.
4908         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
4909         (libc_cv_asm_set_directive): Likewise.
4910         (libc_cv_protected_data): Likewise.
4911         (libc_cv_z_combreloc): Likewise.
4912         (libc_cv_hashstyle): Likewise.
4913         (libc_cv_has_glob_dat): Likewise.
4914         (libc_cv_output_format): Likewise.
4915         (libc_cv_output_format): Likewise.
4916         (libc_cv_ehdr_start): Likewise.
4917         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
4918         (LIBC_LINKER_FEATURE): Likewise.
4919         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
4921 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4923         [BZ #7065]
4924         * elf/Makefile (dummy-stack-chk-fail): New.
4925         (librtld.map): Use it.
4927 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4929         [BZ #7065]
4930         Compile the dynamic linker without stack protection.
4931         * elf/Makefile (elide-stack-protector): New.
4932         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
4933         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
4934         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
4935         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
4937 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4939         [BZ #7065]
4940         * config.make.in (have-ssp, no-stack-protector): New.
4941         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
4942         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
4943         (CFLAGS-sbrk.op): Likewise.
4944         (CFLAGS-brk.o): Likewise.
4945         (CFLAGS-brk.op): Likewise.
4946         * string/Makefile (CFLAGS-memcpy.c): Likewise.
4947         (CFLAGS-wordcopy.c): Likewise.
4949 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4951         [BZ #7065]
4952         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
4953         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
4954         * include/libc-symbols.h (inhibit_stack_protector): New macro.
4955         (__ifunc_resolver): Use it.
4956         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
4957         inhibit_stack_protector.
4958         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
4959         * elf/ifuncmain7.c (foo_ifunc): Likewise.
4960         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
4961         (foo_protected_ifunc): Likewise.
4962         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
4963         (foo_protected_ifunc): Likewise.
4964         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4965         * sysdeps/nacl/nacl_interface_query.c
4966         (nacl_interface_query_ifunc): Likewise.
4967         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4968         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
4969         Likewise.
4970         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
4971         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
4972         the generated vDSO syscall resolver.
4974 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4975             Florian Weimer  <fweimer@redhat.com>
4977         [BZ #7065]
4978         Initialize the stack guard earlier when linking statically.
4979         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
4980         (__pthread_initialize_minimal): Declare.
4981         * csu/libc-start.c (__pthread_initialize_minimal): Remove
4982         declaration.
4983         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
4984         stack canary and apply_irel initialization up.  Call
4985         __pthread_initialize_minimal only if linked in.
4986         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
4987         constant values.
4988         (__pthread_initialize_minimal): Remove.
4989         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
4990         (__pthread_initialize_minimal_internal): Do not call
4991         __libc_setup_tls.
4993 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4995         [BZ #7065]
4996         * configure.ac (libc_cv_ssp): Move up.
4997         (libc_cv_ssp_strong): Likewise.
4998         (libc_cv_ssp_all): New.
4999         (stack_protector): Augment, adding -fstack-protector-all.
5000         (no_stack_protector): New.
5001         (STACK_PROTECTOR_LEVEL): New.
5002         (AC_ARG_ENABLE(stack-protector)): New configure flag.
5003         * manual/install.texi (--enable-stack-protector): Document it.
5004         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
5006 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
5008         * README.pretty-printers: Must specify CPPFLAGS-* also.
5009         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
5010         (CPPFLAGS-test-mutex-printers.c): Define.
5011         (CPPFLAGS-test-condattr-printers.c): Define.
5012         (CPPFLAGS-test-cond-printers.c): Define.
5013         (CPPFLAGS-test-rwlockattr-printers.c): Define.
5014         (CPPFLAGS-test-rwlock-printers.c): Define.
5016         * nss/Makefile [ifeq (yes,$(have-thread-library))]
5017         (tests): Add tst-cancel-getpwuid_r.
5018         * nss/tst-cancel-getpwuid_r.c: New file.
5020         [BZ #11941]
5021         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
5022         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
5023         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
5024         tst-nodelete-dlclose.
5025         (modules-names): Add tst-nodelete-dlclose-dso and
5026         tst-nodelete-dlclose-plugin.
5027         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
5028         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
5029         ($(objpfx)tst-nodelete-dlclose): Define.
5030         ($(objpfx)tst-nodelete-dlclose.out): Define.
5032 2016-12-23  Florian Weimer  <fweimer@redhat.com>
5034         * scripts/test_printers_common.py: Log GDB output in case of
5035         Python detection failure.
5037 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5039         * configure.ac: Check for python3 or python.
5040         * configure: Regenerated.
5041         * config.make.in (PYTHON): New variable.
5042         * benchtests/Makefile: Don't define PYTHON.
5043         (bench): Define target only if PYTHON was defined.
5044         * Rules: Don't define PYTHON.
5045         Define pretty printer targets only if PYTHON was defined.
5046         (tests-printers): Add to tests-unsupported if PYTHON is not
5047         found.
5048         (python-flags, python-invoke): Remove.
5049         (tests-printers-out): Use PYTHON instead of python-invoke.
5051 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5053         [BZ #20978]
5054         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5055         Compare name == NULL, not name != NULL.
5057         * manual/texinfo.tex: Update to version 2016-09-18.18 with
5058         trailing whitespace removed.
5059         * scripts/config.guess: Update to version 2016-10-02.
5060         * scripts/config.sub: Update to version 2016-11-19.
5061         * scripts/install-sh: Update to version 2016-01-11.22.
5062         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
5063         * scripts/move-if-change: Update to version 2016-01-11 22:04.
5065 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
5067         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
5068         (do_one_test) Restore original string so iteration works.
5069         * string/string-inlines.c (do_test): Create better input strings.
5070         (test_main) Reduce number of testruns.
5071         * string/string-inlines.c (__old_strsep_1c): New function.
5072         (__old_strsep_2c): Likewise.
5073         (__old_strsep_3c): Likewise.
5074         * string/strsep.c (__strsep): Remove case of small delim string.
5075         Call strcspn directly rather than strpbrk.
5076         * string/bits/string2.h (__strsep): Remove define.
5077         (__strsep_1c): Remove.
5078         (__strsep_2c): Remove.
5079         (__strsep_3c): Remove.
5080         (strsep): Remove.
5081         * sysdeps/unix/sysv/linux/internal_statvfs.c
5082         (__statvfs_getflags): Rename to __strsep.
5084 2016-12-21  Florian Weimer  <fweimer@redhat.com>
5086         * csu/libc-tls.c (_dl_tls_setup): Remove.
5087         * elf/dl-tls.c (_dl_tls_setup): Likewise.
5088         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
5089         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
5091 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5093         [BZ #7065]
5094         * sysdeps/x86_64/Makefile [$(subdir) = elf]
5095         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
5097 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5098             Florian Weimer  <fweimer@redhat.com>
5100         [BZ #7065]
5101         * csu/Makefile (tests): Empty assignment and document it.
5102         (tests-static): Remove.
5103         * csu/tst-empty.c: Move to...
5104         * misc/tst-empty.c: ... here.  Switch to new test driver.
5105         * csu/tst-atomic.c: Move to...
5106         * misc/tst-atomic.c: ... here.  Switch to new test driver.
5107         * csu/tst-atomic-long.c: Move to...
5108         * misc/tst-atomic-long.c: ... here.
5109         * misc/Makefile (tests): Add tst-empty, tst-atomic,
5110         tst-atomic-long.
5111         (tests-static): Add tst-empty.
5113 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
5115         * manual/nss.texi: Change incorrect @vtable to @table.
5116         * manual/arith.texi: Convert @tables of variables to @vtables
5117         and remove unnecessary indexing.
5118         * manual/filesys.texi: Likewise.
5119         * manual/llio.texi: Likewise.
5120         * manual/memory.texi: Likewise.
5121         * manual/process.texi: Likewise.
5122         * manual/resource.texi: Likewise.
5123         * manual/search.texi: Likewise.
5124         * manual/signal.texi: Likewise.
5125         * manual/socket.texi: Likewise.
5126         * manual/stdio.texi: Likewise.
5127         * manual/sysinfo.texi: Likewise.
5128         * manual/syslog.texi: Likewise.
5129         * manual/terminal.texi: Likewise.
5130         * manual/time.texi: Likewise.
5131         * manual/users.texi: Likewise.
5133 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5135         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5136         (roundeven): New declaration.
5137         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
5138         macro.
5139         * math/Versions (roundeven): New libm symbol at version
5140         GLIBC_2.25.
5141         (roundevenf): Likewise.
5142         (roundevenl): Likewise.
5143         * math/Makefile (libm-calls): Add s_roundevenF.
5144         * math/libm-test.inc (roundeven_test_data): New array.
5145         (roundeven_test): New function.
5146         (main): Call roundeven_test.
5147         * math/test-tgmath.c (NCALLS): Increase to 134.
5148         (F(compile_test)): Call roundeven.
5149         (F(roundeven)): New function.
5150         * manual/arith.texi (Rounding Functions): Document roundeven,
5151         roundevenf and roundevenl.
5152         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
5153         * include/math.h (roundeven): Use libm_hidden_proto.
5154         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
5155         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
5156         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
5157         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
5158         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
5159         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
5160         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5161         roundeven.
5162         (CFLAGS-nldbl-roundeven.c): New variable.
5163         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
5164         * sysdeps/nacl/libm.abilist: Update.
5165         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5166         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5167         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5168         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5169         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5170         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5171         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5172         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5173         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5174         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5175         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5176         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5178         Likewise.
5179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5180         Likewise.
5181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5182         Likewise.
5183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5184         Likewise.
5185         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5186         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5187         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5188         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5189         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5191         Likewise.
5192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5193         Likewise.
5194         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5195         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5196         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5198 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5200         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
5201         preprocessor indentation inside #if.
5203 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5205         * math/libm-test.inc (fmt_ftostr): New function.
5206         (print_float, check_float_internal): Replace some uses of
5207         FTOSTR with uses of fmt_ftostr.
5208         (print_max_error, print_complex_max_error, print_function_ulps)
5209         (print_complex_function_ulps): Remove uses of the macros
5210         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
5211         * math/test-double.h (FTOSTR): Define to strfromd.
5212         (PRINTF_EXPR): Delete.
5213         (PRINTF_XEXPR): Likewise.
5214         (PRINTF_NEXPR): Likewise.
5215         * math/test-float.h (FTOSTR): Define to strfromf.
5216         (PRINTF_EXPR): Delete.
5217         (PRINTF_XEXPR): Likewise.
5218         (PRINTF_NEXPR): Likewise.
5219         * math/test-ldouble.h (FTOSTR): Define to strfroml.
5220         (PRINTF_EXPR): Delete.
5221         (PRINTF_XEXPR): Likewise.
5222         (PRINTF_NEXPR): Likewise.
5224 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5226         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5227         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
5228         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5229         (__lll_lock_elision): Decrement adapt_count while unlocking
5230         instead of before locking.
5231         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5232         (__lll_trylock_elision): Likewise.
5233         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
5234         (__lll_unlock_elision): Likewise.
5236 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5238         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
5239         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
5240         Use __libc_tbegin_retry macro.
5242 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5244         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
5245         Add -msoft-float.
5246         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
5247         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5248         Use __libc_t* transaction macros instead of __builtin_t*.
5249         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5250         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5252 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5254         * sysdeps/unix/sysv/linux/s390/elision-lock.c
5255         (__lll_lock_elision): Use atomics to load / store adapt_count.
5256         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5257         (__lll_trylock_elision): Likewise.
5259 2016-12-20  Florian Weimer  <fweimer@redhat.com>
5261         Do not require memset elimination in explicit_bzero test.
5262         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
5263         (enum test_expectation): Add NO_EXPECTATIONS.
5264         (subtests): NO_EXPECTATIONS for ordinary clear.
5265         (check_test_buffer): Handle NO_EXPECTATIONS.
5266         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
5268 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5270         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5271         (fmaxmag): New declaration.
5272         (fminmag): Likewise.
5273         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
5274         macro.
5275         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
5276         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
5277         (fmaxmagf): Likewise.
5278         (fmaxmagl): Likewise.
5279         (fminmag): Likewise.
5280         (fminmagf): Likewise.
5281         (fminmagl): Likewise.
5282         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
5283         * math/s_fmaxmag_template.c: New file.
5284         * math/s_fminmag_template.c: Likewise.
5285         * math/libm-test.inc (fmaxmag_test_data): New array.
5286         (fmaxmag_test): New function.
5287         (fminmag_test_data): New array.
5288         (fminmag_test): New function.
5289         (main): Call fmaxmag_test and fminmag_test.
5290         * math/test-tgmath.c (NCALLS): Increase to 132.
5291         (F(compile_test)): Call fmaxmag and fminmag.
5292         (F(fminmag)): New function.
5293         (F(fmaxmag)): Likewise.
5294         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
5295         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
5296         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
5297         fminmag.
5298         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
5299         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
5300         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
5301         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
5302         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
5303         and fminmag.
5304         (CFLAGS-nldbl-fmaxmag.c): New variable.
5305         (CFLAGS-nldbl-fminmag.c): Likewise.
5306         * sysdeps/nacl/libm.abilist: Update.
5307         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5308         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5309         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5310         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5311         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5312         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5313         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5314         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5315         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5316         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5317         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5318         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5320         Likewise.
5321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5322         Likewise.
5323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5324         Likewise.
5325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5326         Likewise.
5327         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5328         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5329         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5330         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5331         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5333         Likewise.
5334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5335         Likewise.
5336         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5337         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5338         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5340 2016-12-19  Torvald Riegel  <triegel@redhat.com>
5342         [BZ #20973]
5343         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
5344         wake-up in robust mutexes.
5345         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5347 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5349         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
5350         (CFLAGS-bench-fmaxf.c): New rule.
5351         (CFLAGS-bench-fminf.c): Likewise.
5352         * benchtests/fmaxf-inputs: New file.
5353         * benchtests/fminf-inputs: Likewise.
5355         * benchtests/Makefile (bench-math): Add fmin and fmax.
5356         (CFLAGS-bench-fmax.c): New rule.
5357         (CFLAGS-bench-fmin.c): Likewise.
5358         * benchtests/fmax-inputs: New file.
5359         * benchtests/fmin-inputs: Likewise.
5361         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
5362         parenthesis.
5363         (CMDLINE_PROCESS): Define using function instead of macro.
5364         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
5365         of test-skeleton.
5366         * benchtests/bench-memchr.c: Likewise.
5367         * benchtests/bench-memcmp.c: Likewise.
5368         * benchtests/bench-memcpy-large.c: Likewise.
5369         * benchtests/bench-memcpy.c: Likewise.
5370         * benchtests/bench-memmem.c: Likewise.
5371         * benchtests/bench-memmove-large.c: Likewise.
5372         * benchtests/bench-memmove.c: Likewise.
5373         * benchtests/bench-memset-large.c: Likewise.
5374         * benchtests/bench-memset.c: Likewise.
5375         * benchtests/bench-rawmemchr.c: Likewise.
5376         * benchtests/bench-strcasecmp.c: Likewise.
5377         * benchtests/bench-strcasestr.c: Likewise.
5378         * benchtests/bench-strcat.c: Likewise.
5379         * benchtests/bench-strchr.c: Likewise.
5380         * benchtests/bench-strcmp.c: Likewise.
5381         * benchtests/bench-strcpy.c: Likewise.
5382         * benchtests/bench-strcpy_chk.c: Likewise.
5383         * benchtests/bench-strlen.c: Likewise.
5384         * benchtests/bench-strncasecmp.c: Likewise.
5385         * benchtests/bench-strncmp.c: Likewise.
5386         * benchtests/bench-strncpy.c: Likewise.
5387         * benchtests/bench-strnlen.c: Likewise.
5388         * benchtests/bench-strpbrk.c: Likewise.
5389         * benchtests/bench-strrchr.c: Likewise.
5390         * benchtests/bench-strsep.c: Likewise.
5391         * benchtests/bench-strspn.c: Likewise.
5392         * benchtests/bench-strstr.c: Likewise.
5393         * benchtests/bench-strtok.c: Likewise.
5395 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5397         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
5398         stepping identification.
5399         (init_cpu_features): Add handle of Haswell.
5401 2016-11-25  Jim Meyering  <meyering@fb.com>
5403         [BZ #20386]
5404         Let gcc detect assert(a = 1) errors.
5405         * assert/assert.h (assert): Rewrite, retaining the old definintion
5406         when required, but otherwise putting the expression as-is in an "if"
5407         expression (hence, with no added parentheses) within a statement
5408         expression.
5410 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5412         * benchtests/Makefile (binaries-benchset): Depend on libsupport
5413         DSO.
5415 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
5417         * Rules (python-flags, python-invoke): New.
5418         ($(test-printers-out)): Use $(python-flags).
5420 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5422         * manual/arith.texi (Math Error Reporting): Document that sNaN
5423         arguments are not considered domain errors.
5425 2016-12-16  Zack Weinberg <zackw@panix.com>
5426             Florian Weimer <fweimer@redhat.com>
5427             Nick Mathewson <nickm@torproject.org>
5429         * string/explicit_bzero.c: New routine.
5430         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
5431         * string/Makefile (routines, strop-tests, tests): Add them.
5432         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
5433         * string/string.h [__USE_MISC]: Declare explicit_bzero.
5435         * debug/explicit_bzero_chk.c: New routine.
5436         * debug/Makefile (routines): Add it.
5437         * debug/tst-chk1.c: Test fortification of explicit_bzero.
5438         * string/bits/string3.h: Fortify explicit_bzero.
5440         * manual/string.texi: Document explicit_bzero.
5441         * NEWS: Mention addition of explicit_bzero.
5443         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
5444         data before returning, using explicit_bzero.
5445         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
5446         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5447         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5449         * include/string.h: Redirect internal uses of explicit_bzero
5450         to __explicit_bzero_chk[_internal].
5451         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
5452         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
5453         * sysdeps/arm/nacl/libc.abilist
5454         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5455         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5456         * sysdeps/unix/sysv/linux/arm/libc.abilist
5457         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5458         * sysdeps/unix/sysv/linux/i386/libc.abilist
5459         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5460         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5461         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5462         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5463         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5464         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5465         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5466         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5467         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5472         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5473         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5474         * sysdeps/unix/sysv/linux/sh/libc.abilist
5475         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5476         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5479         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5480         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5481         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5482         Add entries for explicit_bzero and __explicit_bzero_chk.
5484 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5486         * math/fenv.h
5487         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
5488         (FE_SNANS_ALWAYS_SIGNAL): New macro.
5489         * math/test-fe-snans-always-signal.c: New file.
5490         * math/Makefile (tests): Add test-fe-snans-always-signal.
5491         (CFLAGS-test-fe-snans-always-signal.c): New variable.
5492         * manual/arith.texi (Infinity and NaN): Document
5493         FE_SNANS_ALWAYS_SIGNAL.
5495 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5497         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
5498         bracket.
5500 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5502         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
5503         before calling execv.
5505 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5507         [BZ# 20971]
5508         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
5509         overflow in pointer addition.
5510         * string/test-memchr.c (do_test): Add an argument to pass as
5511         the size on memchr.
5512         (test_main): Add check for SIZE_MAX.
5514 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5516         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
5517         (libm-calls): Add w_scalblnF.
5518         * math/w_scalbln.c: Remove.
5519         * math/w_scalblnf.c: Likewise.
5520         * math/w_scalblnl.c: Likewise.
5521         * math/w_scalbln_template.c: New file with type-generic
5522         implementation based on math/w_scalbln.c.
5523         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
5524         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
5526 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5528         [BZ #20947]
5529         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
5530         either is a signaling NaN.
5531         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
5532         follow fmaxl more closely.
5533         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
5534         when either is a signaling NaN.
5535         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
5536         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
5537         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
5538         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
5539         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
5540         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
5541         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
5542         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
5543         (fmin_test_data): Likewise.
5545 2016-12-15  Andreas Schwab  <schwab@suse.de>
5547         * support/support_test_main.c (support_test_main): Don't shadow
5548         file-local variable test_pid.
5550 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5552         [BZ #20947]
5553         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
5554         either is a signaling NaN.
5555         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
5557 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5559         [BZ #20947]
5560         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
5561         when either is a signaling NaN.
5562         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
5564         * bits/long-double.h: New file.
5565         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
5566         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
5567         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
5568         * sysdeps/mips/bits/long-double.h: Likewise.
5569         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
5570         * math/Makefile (headers): Add bits/long-double.h.
5571         * misc/sys/cdefs.h: Include <bits/long-double.h>.
5572         * stdlib/strtold.c: Include <bits/long-double.h> instead of
5573         <bits/wordsize.h>.
5574         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
5575         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
5576         * math/math.h: Do not include <bits/mathdef.h>.
5577         * sysdeps/aarch64/bits/mathdef.h: Remove file.
5578         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
5579         inclusion.
5580         * sysdeps/ia64/bits/mathdef.h: Remove file.
5581         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
5582         * sysdeps/mips/bits/mathdef.h: Likewise.
5583         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5584         * sysdeps/s390/bits/mathdef.h: Likewise.
5585         * sysdeps/sparc/bits/mathdef.h: Likewise.
5586         * sysdeps/x86/bits/mathdef.h: Likewise.
5587         * sysdeps/s390/s390-32/bits/wordsize.h
5588         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
5589         conditional code.
5590         * sysdeps/s390/s390-64/bits/wordsize.h
5591         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5592         Likewise.
5593         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
5594         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5595         Likewise.
5596         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
5597         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5598         Likewise.
5599         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5600         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5601         Likewise.
5603         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
5604         <linux/falloc.h>.
5605         (FALLOC_FL_KEEP_SIZE): Remove.
5606         (FALLOC_FL_PUNCH_HOLE): Likewise.
5607         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
5608         (FALLOC_FL_ZERO_RANGE): Likewise.
5610 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5612         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
5614 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5616         * sysdeps/unix/sysv/linux/renameat.c: New file.
5617         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
5619         * sysdeps/unix/sysv/linux/rename.c: New file.
5620         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
5622 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5624         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
5625         * string/strtok.c (strtok): Change to tailcall __strtok_r.
5626         * string/strtok_r.c (__strtok_r): Optimize for performance.
5627         * string/string-inlines.c (__old_strtok_r_1c): New function.
5628         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
5630 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5632         * math/Makefile (gen-libm-calls): Add w_log1pF.
5633         (libm-calls): Remove w_log1pF.
5634         * math/w_log1p.c: Remove.
5635         * math/w_log1pf.c: Likewise.
5636         * math/w_log1pl.c: Likewise.
5637         * math/w_log1p_template.c: New file with type-generic
5638         implementation based on math/w_log1p.c.
5639         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
5640         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
5642 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5644         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
5646 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5648         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5649         kernel version to 4.9.
5651 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
5653         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
5654         ($(inst_libdir)/libm.a): Fix rule to create the target only.
5656 2016-12-13  Andreas Schwab  <schwab@suse.de>
5658         * sysdeps/powerpc/dl-procinfo.c: Don't define
5659         _dl_powerpc_platforms.
5660         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
5661         constants instead of referencing _dl_powerpc_platforms.
5662         (_dl_platform_string): Remove.
5664 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5666         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
5668 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5670         * Rules (binaries-shared-tests, binaries-pie-tests)
5671         (binaries-static-tests): Link with $(link-extra-libs-tests).
5672         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
5673         Remove $(link-extra-libs-tests).
5675 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5677         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5678         (sysdep_routines): Add strncmp_power9.
5679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5680         (strncmp): Add __strncmp_power9 to list of strncmp functions.
5681         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
5682         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5683         (strncmp): Add __strncmp_power9 to ifunc list.
5684         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
5686 2016-12-12  Florian Weimer  <fweimer@redhat.com>
5688         [BZ #17252]
5689         Add getentropy, getrandom.
5690         * stdlib/sys/random.h: New file.
5691         (headers): Add it.
5692         * stdlib/Makefile (routines): Add getentropy, getrandom.
5693         (tests): Add tst-getrandom.
5694         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
5695         * stdlib/getentropy.c: New file.
5696         * stdlib/getrandom.c: Likewise.
5697         * stdlib/tst-getrandom.c: Likewise.
5698         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
5699         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
5700         * manual/crypt.texi (Unpredictable Bytes): New section.
5701         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
5702         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
5703         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
5704         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5705         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5706         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5707         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5708         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5709         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5710         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5711         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5712         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5713         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5714         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5715         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5716         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5718         Likewise.
5719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5720         Likewise.
5721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5723         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5724         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5725         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5726         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5727         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5730         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5731         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5732         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5734 2016-12-10  Florian Weimer  <fweimer@redhat.com>
5736         [BZ #20956]
5737         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
5738         as additional compiler barriers.
5739         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
5740         (fn2, do_test): Declare with external linkage.
5741         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
5742         (do_test): Declare with external linkage.
5743         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
5744         (do_test): Declare with external linkage.
5745         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
5746         (do_test): Declare with external linkage.
5748 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
5750         * support/support_test_main.c (support_test_main): Use correct
5751         timeout.
5753 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
5754             Florian Weimer  <fweimer@redhat.com>
5756         [BZ #16421]
5757         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
5758         and __u6_addr32 members.
5759         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
5760         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
5761         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
5762         Use __u6_addr32.
5763         * inet/tst-checks.c: Use <support/test-driver.c>
5764         * inet/tst-checks-posix.c: New file.
5765         * inet/Makefile (tests): Add it.
5766         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
5768 2016-12-09  Florian Weimer  <fweimer@redhat.com>
5770         New subdirectory support for build and test infrastructure.
5771         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
5772         setting install-lib.
5773         * Makeconfig (link-extra-libs-tests): Define.
5774         (+link-pie-tests, +link-static-tests, +link-tests): Use
5775         link-extra-libs-tests.
5776         (rpath-dirs, all-subdirs): Add support.
5777         (built-modules): Add libsupport.
5778         (libsupport): Define.
5779         * support: New directory.
5780         * support/Makefile: New file.
5781         * support/check.c: Likewise.
5782         * support/check.h: Likewise.
5783         * support/delayed_exit.c: Likewise.
5784         * support/ignore_stderr.c: Likewise.
5785         * support/oom_error.c: Likewise.
5786         * support/set_fortify_handler.c: Likewise.
5787         * support/support.h: Likewise.
5788         * support/temp_file-internal.h: Likewise.
5789         * support/temp_file.c: Likewise.
5790         * support/test-driver.c: Likewise.
5791         * support/test-driver.h: Likewise.
5792         * support/test_main.c: Likewise.
5793         * support/write_message.c: Likewise.
5794         * support/xasprintf.c: Likewise.
5795         * support/xcalloc.c: Likewise.
5796         * support/xmalloc.c: Likewise.
5797         * support/xpthread_barrier_destroy.c: Likewise.
5798         * support/xpthread_barrier_init.c: Likewise.
5799         * support/xpthread_barrier_wait.c: Likewise.
5800         * support/xpthread_cancel.c: Likewise.
5801         * support/xpthread_check_return.c: Likewise.
5802         * support/xpthread_cond_wait.c: Likewise.
5803         * support/xpthread_create.c: Likewise.
5804         * support/xpthread_detach.c: Likewise.
5805         * support/xpthread_join.c: Likewise.
5806         * support/xpthread_mutex_lock.c: Likewise.
5807         * support/xpthread_mutex_unlock.c: Likewise.
5808         * support/xpthread_sigmask.c: Likewise.
5809         * support/xpthread_spin_lock.c: Likewise.
5810         * support/xpthread_spin_unlock.c: Likewise.
5811         * support/xrealloc.c: Likewise.
5812         * support/xsignal.h: Likewise.
5813         * support/xthread.h: Likewise.
5814         * support_tempfile.h: Likewise.
5815         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
5816         (TEST_DATA_LIMIT): Remove unused macro.
5817         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
5818         <support/check.h>.
5819         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
5820         (ignore_stderr, set_fortify_handler): Remove.  Now in
5821         <support/support.h>.
5822         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
5823         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
5824         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
5825         (xpthread_join): Remove.  Now in <support/xthread.h>.
5826         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
5827         Introduce legacy wrappers.
5828         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
5829         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
5830         (write_message): Remove.
5831         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
5832         test-skeleton.c.
5833         * io/test-open-tmpfile: Likewise.
5834         * io/tst-posix_fallocate-common.c: Likewise.
5835         * libio/tst-fseek.c: Likewise.
5836         * malloc/tst-malloc-backtrace.c: Likewise.
5837         * malloc/tst-malloc-fork-deadlock.c: Likewise.
5838         * malloc/tst-malloc-thread-exit.c: Likewise.
5839         * nptl/tst-cancel7.c: Likewise.
5840         * nptl/tst-cleanup0.c: Likewise.
5841         * posix/tst-posix_fadvise-common.c: Likewise.
5842         * rt/tst-shm.c: Likewise.
5843         * time/bug-getdate1.c: Likewise.
5844         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5845         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
5846         * elf/Makefile (tst-piemod1.so): Link against libsupport.
5848 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
5850         * Rules [$(run-built-tests) != no] (tests-expected): Add
5851         $(tests-printers).
5852         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
5854 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
5856         [BZ #20539]
5857         * math/Makefile (install-lib-ldscripts): Add libm.a.
5858         (install_subdir): Remove.
5859         (install-others): Add.
5860         ($(inst_libdir)/libm.a): Add rule for installation as
5861         linker script.
5862         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
5864 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
5866         * INSTALL: Regenerated.
5867         * Makeconfig: Add comments and whitespace to make the control flow
5868         clearer.
5869         (+link-printers-tests, +link-pie-printers-tests,
5870         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
5871         built-rtld-LDFLAGS, link-libc-rpath,
5872         link-libc-tests-after-rpath-link,
5873         link-libc-printers-tests): New.
5874         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
5875         link-libc-tests): Use the new variables as required.
5876         * Makerules ($(py-const)): New rule.
5877         generated: Add $(py-const).
5878         * README.pretty-printers: New file.
5879         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
5880         (others): Depend on $(py-const).
5881         (tests): Depend on $(tests-printers-programs) or
5882         $(tests-printers-out),
5883         as required.  Pass $(tests-printers) to merge-test-results.sh.
5884         * manual/install.texi: Add requirements for testing the pretty
5885         printers.
5886         * nptl/Makefile (gen-py-const-headers, pretty-printers,
5887         tests-printers, CFLAGS-test-mutexattr-printers.c
5888         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
5889         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
5890         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
5891         * nptl/nptl-printers.py: New file.
5892         * nptl/nptl_lock_constants.pysym: Likewise.
5893         * nptl/test-cond-printers.c: Likewise.
5894         * nptl/test-cond-printers.py: Likewise.
5895         * nptl/test-condattr-printers.c: Likewise.
5896         * nptl/test-condattr-printers.py: Likewise.
5897         * nptl/test-mutex-printers.c: Likewise.
5898         * nptl/test-mutex-printers.py: Likewise.
5899         * nptl/test-mutexattr-printers.c: Likewise.
5900         * nptl/test-mutexattr-printers.py: Likewise.
5901         * nptl/test-rwlock-printers.c: Likewise.
5902         * nptl/test-rwlock-printers.py: Likewise.
5903         * nptl/test-rwlockattr-printers.c: Likewise.
5904         * nptl/test-rwlockattr-printers.py: Likewise.
5905         * scripts/gen-py-const.awk: Likewise.
5906         * scripts/test_printers_common.py: Likewise.
5907         * scripts/test_printers_exceptions.py: Likewise.
5909 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5911         * scripts/build-many-glibcs.py (Context.__init__): Take strip
5912         argument.
5913         (Glibc.build_glibc): Strip installed shared libraries if
5914         requested.
5915         (get_parser): Add --strip option.
5916         (main): Update Context call.
5918 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5919             Dominik Vogt  <vogt@linux.vnet.ibm.com>
5921         [BZ #20847]
5922         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5923         array bounds for else branch.
5924         (__execvpe): Style fixes.
5925         * posix/tst-vfork3.c (run_script): New function.
5926         (create_script): Likewise.
5927         (do_test): Use run_script internal function.
5928         (do_prepare): Use create_script internal function.
5930 2016-12-07  Andreas Schwab  <schwab@suse.de>
5932         * sysdeps/unix/sysv/linux/x86/elision-conf.h
5933         (__elision_available): Don't declare.
5934         * sysdeps/unix/sysv/linux/x86/elision-conf.c
5935         (__elision_available): Don't define.
5936         (elision_init): Don't set __elision_available.
5938 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5940         [BZ #20940]
5941         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
5942         return Inf for arguments Inf and sNaN.
5943         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
5944         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5945         Likewise.
5946         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5947         Likewise.
5948         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5949         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
5950         for arguments Inf and sNaN.  When returning a NaN, compute it by
5951         arithmetic on the arguments.
5952         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
5953         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
5954         arguments.
5956 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
5958         [BZ #20916]
5959         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
5960         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
5961         to compute result.
5962         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5963         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
5965 2016-12-05  Torvald Riegel  <triegel@redhat.com>
5967         * include/atomic.h (__atomic_check_size_ls): New.
5968         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
5969         atomic_store_release): Use it.
5970         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
5971         (elision_adapt, ELIDE_LOCK): Use atomics.
5972         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
5973         atomics and improve code comments.
5974         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
5975         (__lll_trylock_elision): Likewise.
5977 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5979         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
5980         programs.
5982 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
5984         [BZ #20916]
5985         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
5986         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
5987         arguments to compute result.
5988         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
5989         1 for arguments (sNaN, 0) or (1, sNaN).
5990         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5991         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5993         [BZ #20919]
5994         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
5995         NaN first argument when raised to power 0.
5996         * math/w_pow.c (__pow): Do not check for NaN or zero results from
5997         raising to power zero.
5998         * math/w_powf.c (__powf): Likewise.
5999         * math/w_powl.c (__powl): Likewise.
6000         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
6001         pow (0, 0) or pow (NaN, 0).
6003 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
6005         [BZ #20918]
6006         * configure.ac: Test for static NSS cryptographic libraries and set
6007         libc_cv_static_nss_crypt.
6008         * configure: Regenerate.
6009         * config.make.in (static-nss-crypt): Define.
6010         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
6011         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
6012         (CFLAGS-tst-linkall-static.c): Define.
6013         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
6014         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
6015         ($(objpfx)tst-linkall-static): Define.
6016         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
6017         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
6019 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6021         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
6022         (one-hundred, tst-tls-many-dynamic-modules): Define.
6023         (modules-names): Add $(tst-tls-many-dynamic-modules).
6024         (tst-tls-manydynamic%mod.os): Build with special preprocessor
6025         macros.
6026         (tst-tls-manydynamic): Link against libdl, libpthread.
6027         (tst-tls-manydynamic.out): The test needs the test modules at run
6028         time.
6029         * elf/tst-tls-manydynamic.c: New file.
6030         * elf/tst-tls-manydynamic.h: Likewise.
6031         * elf/tst-tls-manydynamicmod.c: Likewise.
6033 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6035         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
6036         (TLS_DTV_UNALLOCATED): Add.
6037         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
6038         offsets.
6040 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6042         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6044 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6046         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
6047         Add -fno-optimize-sibling-calls.
6049 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6051         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
6052         New declaration.
6053         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
6054         macro.
6055         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
6056         New macro.
6057         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
6058         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
6059         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
6060         (llogbf): Likewise.
6061         (llogbl): Likewise.
6062         * math/Makefile (gen-libm-calls): Add w_llogbF.
6063         (tests): Add test-fp-llogb-constants.
6064         * math/w_llogb_template.c: New file.  Based on
6065         math/w_ilogb_template.c.
6066         * math/libm-test.inc (llogb_test_data): New array.
6067         (llogb_test): New function.
6068         (main): Call llogb_test.
6069         * math/test-fp-llogb-constants.c: New file.  Based on
6070         math/test-fp-ilogb-constants.c.
6071         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
6072         (do_test): Call check_return_llogb.
6073         * math/test-tgmath.c (NCALLS): Increase to 126.
6074         (F(compile_test)): Call llogb.
6075         (F(llogb)): New function.
6076         * manual/math.texi (Exponents and Logarithms): Document llogb,
6077         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
6078         * manual/libm-err-tab.pl (@all_functions): Add llogb.
6079         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
6080         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
6081         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
6082         (CFLAGS-nldbl-llogb.c): New variable.
6083         * sysdeps/nacl/libm.abilist: Update.
6084         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6085         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6086         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6087         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6088         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6089         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6090         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6091         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6092         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6093         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6094         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6095         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6097         Likewise.
6098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6099         Likewise.
6100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6101         Likewise.
6102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6103         Likewise.
6104         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6105         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6106         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6107         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6108         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6110         Likewise.
6111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6112         Likewise.
6113         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6114         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6115         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6117 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6119         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
6120         _Float128 instead of long double.
6121         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
6123         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
6124         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
6125         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
6126         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
6127         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
6128         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
6129         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
6130         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
6131         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
6132         Likewise.
6134 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6136         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
6137         Remove redirection to __strrchr_ppc.
6139 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6141         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6142         (sysdep_routines): Add strcmp_power9.
6143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6144         (strcmp): Add __strcmp_power9 to list of strcmp functions.
6145         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
6146         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6147         (strcmp): Add __strcmp_power9 to ifunc list.
6148         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
6150 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6152         * bits/fp-logb.h: New file.
6153         * sysdeps/ia64/bits/fp-logb.h: Likewise.
6154         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
6155         * sysdeps/x86/bits/fp-logb.h: Likewise.
6156         * math/Makefile (headers): Add bits/fp-logb.h.
6157         * math/math.h: Include <bits/fp-logb.h>.
6158         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
6159         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
6160         * bits/mathdef.h (FP_ILOGB0): Remove.
6161         (FP_ILOGBNAN): Likewise.
6162         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
6163         (FP_ILOGBNAN): Likewise.
6164         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
6165         (FP_ILOGBNAN): Likewise.
6166         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
6167         (FP_ILOGBNAN): Likewise.
6168         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
6169         (FP_ILOGBNAN): Likewise.
6170         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
6171         (FP_ILOGBNAN): Likewise.
6172         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
6173         (FP_ILOGBNAN): Likewise.
6174         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
6175         (FP_ILOGBNAN): Likewise.
6176         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
6177         (FP_ILOGBNAN): Likewise.
6178         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
6179         (FP_ILOGBNAN): Likewise.
6181         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
6182         time module.
6183         (Context.__init__): Initialize self.logsdir_old.
6184         (Context.run_builds): Handle bot action.
6185         (Context.bot_cycle): Copy logs directory before running builds.
6186         (Context.bot_run_self): Take argument for whether to check
6187         subprocess result.  Flush stdout before running subprocess.
6188         (Context.bot): New function.
6189         (get_parser): Allow bot action.
6191 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
6193         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
6194         Import email.mime.text, email.utils and smtplib modules.
6195         (Context.__init__): Initialize self.bot_config_json.
6196         (Context.run_builds): Handle bot-cycle action.
6197         (Context.load_bot_config_json): New function.
6198         (Context.part_build_old): Likewise.
6199         (Context.bot_cycle): Likewise.
6200         (Context.bot_build_mail): Likewise.
6201         (Context.bot_run_self): Likewise.
6202         (get_parser): Allow bot-cycle action.
6204 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6206         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
6207         Remove redirection to __stpcpy_ppc.
6209 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6211         Remove __libc_memalign from ld.so because it is unused.
6212         * elf/dl-minimal.c: Update comment on the malloc implementation.
6213         (malloc): Renamed from __libc_memalign, replacing the original
6214         malloc implementation.  Replace the align parameter with
6215         MALLOC_ALIGNMENT.
6216         * elf/Versions (ld): Update comment and remove __libc_memalign.
6217         * sysdeps/nacl/ld.abilist: Likewise.
6218         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
6219         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
6220         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
6221         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
6222         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
6223         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
6224         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
6225         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
6226         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
6227         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
6228         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
6229         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
6230         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
6231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
6232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6234         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
6235         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
6236         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
6237         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
6238         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
6239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
6240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
6241         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
6242         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
6243         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
6244         * sysdeps/generic/localplt.data (ld.so): Likewise.
6245         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6246         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6247         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6248         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6249         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6250         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6251         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6252         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
6253         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6255         (ld.so): Likewise.
6256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6257         (ld.so): Likewise.
6258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6259         Likewise.
6260         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6261         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6262         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
6263         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
6264         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6266 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6268         [BZ #16628]
6269         Implement _dl_catch_error, _dl_signal_error in libc.so.
6270         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
6271         (catch_hook): Define as thread-local or regular variable,
6272         depending on DL_ERROR_BOOTSTRAP.
6273         (CATCH_HOOK): Remove.
6274         (dl_signal_error, _dl_catch_error): Use
6275         catch_hook.  Add hidden definition for libc.
6276         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
6277         for DL_ERROR_BOOTSTRAP only.
6278         * elf/dl-error.c: New file.
6279         * elf/dl-error-minimal.c: Likewise.
6280         * elf/tst-latepthread.c: Likewise.
6281         * elf/tst-latepthreadmod.c: Likewise.
6282         * elf/Makefile (routines): Add dl-error.
6283         (dl-routines): Remove dl-error.
6284         (rtld-routines): Add dl-error-minimal.
6285         [build-shared] (tests): Add tst-latepthread.
6286         (module-names): Add tst-latepthreadmod.
6287         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
6288         symbol.
6289         (tst-latepthreadmod.so): Link against libpthread.
6290         (tst-latepthread): Link against libdbl.
6291         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
6292         _dl_catch_error.
6293         [ld] (GLIBC_PRIVATE): Likewise.
6294         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
6295         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
6296         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
6297         directly.
6298         * elf/dl-tsd.c: Remove file.
6299         * elf/rtld.c (_rtld_global_ro): Remove initializers for
6300         _dl_catch_error, _dl_signal_error.
6301         (_dl_initial_error_catch_tsd): Remove definition.
6302         (do_preload): Remove initialization of dl_error_catch_tsd.
6303         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
6304         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
6305         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6306         * dlfcn/dlopen.c (dlopen_doit): Likewise.
6307         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
6308         set dl_error_catch_tsd.
6309         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
6310         _dl_error_catch_tsd member.
6311         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
6312         members.
6313         (_dl_initial_error_catch_tsd): Remove declaration.
6314         (_dl_dprintf): Provide definition for use outside of ld.so.
6315         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
6316         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
6317         prototype for libc.
6318         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
6319         _dl_catch_error.
6320         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6321         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6322         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6323         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6324         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6325         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6326         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6327         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6328         Likewise.
6329         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6331         (ld.so): Likewise.
6332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6333         (ld.so): Likewise.
6334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6335         Likewise.
6336         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6337         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6338         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6339         Likewise.
6340         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6341         Likewise.
6342         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6344 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6346         [BZ #4099]
6347         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
6348         _IO_BUFSIZ (8192).
6350 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
6352         * PROJECTS: Remove file.
6354 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6356         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
6358 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
6359             Steve Ellcey  <sellcey@caviumnetworks.com>
6361         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
6362         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
6363         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
6364         fxstatat.
6365         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
6366         lxstat.
6367         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
6368         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
6369         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
6370         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
6371         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
6372         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
6373         __xstat.
6375 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6377         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
6378         Define.
6379         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
6380         definition.
6382 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6384         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
6385         version and turn into strong alias.  Remove compat symbol.
6387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6388         (__longjmp): Remove.
6390 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
6392         * bits/fp-fast.h: New file.
6393         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
6394         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
6395         * math/Makefile (headers): Add bits/fp-fast.h.
6396         * math/math.h: Include <bits/fp-fast.h>.
6397         * bits/mathdef.h (FP_FAST_FMA): Remove.
6398         (FP_FAST_FMAF): Likewise.
6399         (FP_FAST_FMAL): Likewise.
6400         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
6401         (FP_FAST_FMAF): Likewise.
6402         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
6403         (FP_FAST_FMAF): Likewise.
6404         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
6405         (FP_FAST_FMAF): Likewise.
6406         (FP_FAST_FMAL): Likewise.
6407         * sysdeps/arm/bits/mathdef.h: Remove file.
6408         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
6409         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6410         * sysdeps/tile/bits/mathdef.h: Likewise.
6412 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6414         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
6415         * math/w_ilogb.c: Remove.
6416         * math/w_ilogbf.c: Likewise.
6417         * math/w_ilogbl.c: Likewise.
6418         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
6419         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
6420         * math/Makefile (gen-libm-calls): Add w_ilogbF.
6421         (libm-calls): Remove w_ilogbF.
6422         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
6423         (LDOUBLE_ilogbl_libm_version): New macro.
6425         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
6427         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
6428         [!__STRICT_ANSI__ && !__cplusplus].
6430 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6432         [BZ #20750]
6433         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
6434         of PIC.
6436 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
6437             Yury Norov  <ynorov@caviumnetworks.com>
6438             Steve Ellcey  <sellcey@caviumnetworks.com>
6440         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
6441         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
6442         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
6443         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
6444         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
6445         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
6446         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
6447         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
6448         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
6449         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
6450         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
6451         to get correct reg name for ILP32.
6452         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
6453         (RELA_SIZE): New Macro.
6454         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
6455         to support ILP32.
6456         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
6457         cast for ILP32 mode.
6458         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
6459         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
6460         * sysdeps/aarch64/memset.S (__memset): Ditto.
6461         * sysdeps/aarch64/strchr.S (strchr): Ditto.
6462         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
6463         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
6464         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
6465         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
6466         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
6467         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
6468         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
6469         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
6470         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
6471         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
6472         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
6473         change PTR_MANGLE call to use register numbers instead of names.
6474         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
6475         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
6476         ILP32 mode, change PTR_MANGLE calls to use register numbers.
6477         * sysdeps/aarch64/start.S (_start): Ditto.
6478         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
6479         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
6480         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
6481         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
6482         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
6483         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
6484         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
6485         Make defined values dependent on __ILP32__.
6486         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
6487         (sem_t): Change __align type.
6488         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
6489         PTR_SIZE): New Macros.
6490         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
6491         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
6492         Set when in ILP32 mode.
6493         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
6494         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
6495         Set elf flags for ILP32.
6496         (add_system_dir): Set ILP32 library directories.
6497         * sysdeps/unix/sysv/linux/aarch64/init-first.c
6498         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
6499         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
6500         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
6501         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
6502         New Macros.
6503         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
6505 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6507         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
6508         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
6509         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
6511 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6513         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
6514         <asm/cachectl.h>.
6516 2016-11-27  Zack Weinberg  <zackw@panix.com>
6518         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
6519         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
6521 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6523         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
6524         error_t to fix usage in C++ programs.
6526 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
6528         * scripts/build-many-glibcs.py: Import datetime module.
6529         (Context.__init__): Load JSON build state.  Initialize list of
6530         status logs.
6531         (Context.run_builds): Update saved build state.
6532         (Context.add_makefile_cmdlist): Update list of status logs.
6533         (Context.load_build_state_json): New function.
6534         (Context.store_build_state_json): Likewise.
6535         (Context.clear_last_build_state): Likewise.
6536         (Context.update_build_state): Likewise.
6537         (CommandList.status_logs): Likewise.
6539 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
6541         * scripts/build-many-glibcs.py (Context.__init__): Save text of
6542         script being executed.
6543         (Context.get_script_text): New function.
6544         (Context.exec_self): Likewise.
6545         (Context.checkout): Re-exec script if changed by checkout process.
6547 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6549         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6550         (setpayloadsig): New declaration.
6551         * math/Versions (setpayloadsig): New libm symbol at version
6552         GLIBC_2.25.
6553         (setpayloadsigf): Likewise.
6554         (setpayloadsigl): Likewise.
6555         * math/Makefile (libm-calls): Add s_setpayloadsigF.
6556         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
6557         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
6558         (setpayloadsig_test_data): New array.
6559         (setpayloadsig_test): New function.
6560         (main): Call setpayloadsig_test.
6561         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
6562         setpayloadsigf and setpayloadsigl.
6563         * manual/libm-err-tab.pl: Update comment on interfaces without
6564         ulps tabulated.
6565         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
6566         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
6567         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
6568         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
6569         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
6570         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
6571         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6572         setpayloadsig.
6573         (CFLAGS-nldbl-setpayloadsig.c): New variable.
6574         * sysdeps/nacl/libm.abilist: Update.
6575         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6576         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6577         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6578         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6579         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6580         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6581         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6582         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6583         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6584         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6585         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6586         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6588         Likewise.
6589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6590         Likewise.
6591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6592         Likewise.
6593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6594         Likewise.
6595         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6596         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6597         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6598         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6599         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6601         Likewise.
6602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6603         Likewise.
6604         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6605         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6606         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6608         * scripts/build-many-glibcs.py: Import json module.
6609         (Context.__init__): Take replace_sources argument.  Load
6610         versions.json.
6611         (Context.load_versions_json): New function.
6612         (Context.store_json): Likewise.
6613         (Context.store_versions_json): Likewise.
6614         (Context.set_component_version): Likewise.
6615         (Context.checkout): Update versions.json.  Check for and handle
6616         changes of version.  Prefer previously explicitly specified
6617         version to default version.
6618         (Context.checkout_vcs): Return a revision identifier.
6619         (Context.git_checkout): Likewise.
6620         (Context.gcc_checkout): Likewise.
6621         (get_parser): Add --replace-sources option.
6622         (main): Pass replace_sources argument to Context call.
6624 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6626         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
6627         * nptl/allocatestack.c (allocate_stack): Likewise.
6628         (__reclaim_stacks): Likewise.
6629         (setxid_signal_thread): Obtain pid through syscall.
6630         * nptl/nptl-init.c (sigcancel_handler): Likewise.
6631         (sighandle_setxid): Likewise.
6632         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
6633         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6634         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6635         Likewise.
6636         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6637         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
6638         comment.
6639         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
6640         * nptl/descr.h (struct pthread): Change comment about pid value.
6641         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
6642         pid assert.
6643         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
6644         Do not set pid value.
6645         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
6646         pid cache check.
6647         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
6648         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
6649         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
6650         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
6651         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
6652         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6653         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
6654         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
6655         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
6656         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
6657         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
6658         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6659         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
6660         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6661         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
6662         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
6663         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6664         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
6665         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6666         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
6667         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
6668         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6669         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
6670         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
6671         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
6672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6674         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6675         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6676         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6677         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
6678         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6679         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
6680         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6681         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
6682         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6683         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
6684         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6685         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
6686         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
6687         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6688         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
6689         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
6690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6692         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6693         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6694         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6695         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6696         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6697         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
6698         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6699         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
6700         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
6701         struct access.
6702         (clone_test): Remove function.
6703         (do_test): Rewrite to take in consideration pid is not cached anymore.
6705 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6707         * bits/flt-eval-method.h: New file.
6708         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
6709         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
6710         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
6711         * math/Makefile (headers): Add bits/flt-eval-method.h.
6712         * math/math.h: Include <bits/flt-eval-method.h>.
6713         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
6714         [__USE_ISOC99] (double_t): Likewise.
6715         * bits/mathdef.h (float_t): Remove.
6716         (double_t): Likewise.
6717         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
6718         (double_t): Likewise.
6719         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
6720         (double_t): Likewise.
6721         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
6722         (double_t): Likewise.
6723         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
6724         (double_t): Likewise.
6725         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
6726         (double_t): Likewise.
6727         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
6728         (double_t): Likewise.
6729         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
6730         (double_t): Likewise.
6731         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
6732         (double_t): Likewise.
6733         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
6734         (double_t): Likewise.
6735         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
6736         (double_t): Likewise.
6737         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
6738         (double_t): Likewise.
6739         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
6740         (double_t): Likewise.
6741         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
6742         (double_t): Likewise.
6744 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
6746         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
6747         instead of PIC.
6749 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6751         [BZ #20859]
6752         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
6753         (-0x7fffffff) instead of 0x80000001.
6754         * math/test-fp-ilogb-constants.c: New file.
6755         * math/Makefile (tests): Add test-fp-ilogb-constants.
6757 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
6759         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
6760         (_init): Use it in place of hardcoded R_MIPS_JALR.
6761         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
6762         (_init): Use it in place of hardcoded R_MIPS_JALR.
6763         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
6764         (_init): Use it in place of hardcoded R_MIPS_JALR.
6766 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6768         [BZ #20787]
6769         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
6770         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
6771         (double_t): Do not define to double if [__x86_64__] when
6772         __FLT_EVAL_METHOD__ is nonzero.
6773         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
6774         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
6775         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6776         test-flt-eval-method-387 and test-flt-eval-method-sse.
6777         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
6778         variable.
6779         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
6781 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
6783         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
6784         use of -fno-isolate-erroneous-paths options for tilepro.
6786 2016-11-23  Florian Weimer  <fweimer@redhat.com>
6788         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
6789         structure initialization is no longer needed.
6791 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6793         [BZ #20855]
6794         * bits/mathdef.h (float_t): Define to float.
6795         * math/test-flt-eval-method.c: New file.
6796         * math/Makefile (tests): Add test-flt-eval-method.
6797         (CFLAGS-test-flt-eval-method.c): New variable.
6799 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
6801         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
6802         and __fstatfs.  Make them aliases of __fstatfs64 if
6803         STATFS_IS_STATFS64 is set to non-zero.
6804         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
6805         and __statfs64.
6806         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
6807         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
6808         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
6809         for __statfs and statfs.
6810         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
6811         to 0.
6812         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
6813         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
6814         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
6815         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6816         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6817         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
6820         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
6821         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6822         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
6823         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
6825 2016-11-22  Andreas Schwab  <schwab@suse.de>
6827         * misc/mkstemp.c: Include <fcntl.h>.
6828         * misc/mkstemps.c: Likewise.
6829         * misc/mkostemp.c: Likewise.
6830         * misc/mkostemps.c: Likewise.
6832 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
6834         [BZ #20847]
6835         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6836         array bounds.
6837         (__execvpe): Likewise.
6839 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
6841         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
6842         -fno-isolate-erroneous-paths options for tilepro.
6844 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
6846         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
6847         to 0 when in 32 bit mode.
6848         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
6849         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6850         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6851         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6853         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6854         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
6855         XSTAT_IS_XSTAT64 test.
6856         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
6857         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
6858         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
6859         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
6860         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
6861         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
6862         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
6863         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
6864         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
6865         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
6866         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
6868 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
6870         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6871         (setpayload): New declaration.
6872         * math/Versions (setpayload): New libm symbol at version
6873         GLIBC_2.25.
6874         (setpayloadf): Likewise.
6875         (setpayloadl): Likewise.
6876         * math/Makefile (libm-calls): Add s_setpayloadF.
6877         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
6878         test_Ff_b1_data.
6879         (RUN_TEST_Ff_b1): New macro.
6880         (RUN_TEST_LOOP_Ff_b1): Likewise.
6881         (canonicalize_test_data): Update type.
6882         (setpayload_test_data): New array.
6883         (setpayload_test): New function.
6884         (main): Call setpayload_test.
6885         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
6886         setpayloadf and setpayloadl.
6887         * manual/libm-err-tab.pl: Update comment on interfaces without
6888         ulps tabulated.
6889         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
6890         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
6891         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
6892         Likewise.
6893         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
6894         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
6895         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
6896         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
6897         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
6898         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
6899         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
6900         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
6901         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
6902         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6903         setpayload.
6904         (CFLAGS-nldbl-setpayload.c): New variable.
6905         * sysdeps/nacl/libm.abilist: Update.
6906         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6907         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6908         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6909         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6910         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6911         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6912         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6913         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6914         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6915         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6916         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6917         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6919         Likewise.
6920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6921         Likewise.
6922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6923         Likewise.
6924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6925         Likewise.
6926         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6927         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6928         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6929         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6930         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6932         Likewise.
6933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6934         Likewise.
6935         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6936         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6937         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6939 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6941         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
6942         * include/unistd.h: Extend comment about __access_noerrno return
6943         semantics.
6944         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
6945         (access_common): Correct typo for EACCES.
6947 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
6949         * sysdeps/tile/math-tests.h: New file.
6951         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
6952         (__old_set_dataplane): Rename from set_dataplane and make a
6953         compatibility symbol.
6954         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
6955         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
6956         sys/dataplane.h.
6958 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
6960         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
6961         script quote words in command output to log suitably for input to
6962         the shell.
6964 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
6965             Maciej W. Rozycki  <macro@imgtec.com>
6967         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
6968         `.Lno_weak_fn' label.
6969         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
6970         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
6972 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6973             Yury Norov  <ynorov@caviumnetworks.com>
6975         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
6976         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
6977         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6978         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
6979         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6980         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
6981         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6982         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6983         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6984         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
6985         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6986         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
6987         (sysdep_routines): Remove oldgetrlimit64.
6988         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
6989         (sysdep_routines): Likewise.
6990         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
6991         (sysdep_routines): Likewise.
6992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6993         [$(subdir) = resource] (sysdep_routines): Likewise.
6994         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6995         [$(subdir) = resource] (sysdep_routines): Likewise.
6996         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
6997         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
6998         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
6999         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
7000         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
7001         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7002         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7003         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
7004         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
7005         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
7006         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
7007         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
7008         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
7009         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
7010         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
7011         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
7012         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
7013         setrlimit and getrlimit.
7014         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7015         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7016         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
7017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
7019         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7020         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
7021         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7022         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7023         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
7024         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
7025         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
7026         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
7027         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
7028         (__old_getrlimit64): Add compatibility symbol.
7029         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
7031 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
7033         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
7034         newly built gmp, mpfr and mpc.
7036         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
7038 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7040         * conform/Makefile (linknamespace-libs): Rename to
7041         linknamespace-libs-thr.
7042         (linknamespace-libs-posix): New variable.
7043         (linknamespace-libs-xsi): Likewise.
7044         (linknamespace-libs-XPG3): Include libcrypt.a.
7045         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
7046         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
7047         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
7048         (linknamespace-libs-XOPEN2K): Likewise.
7049         (linknamespace-libs-XOPEN2K8): Likewise.
7050         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
7052         [BZ #20829]
7053         * stdio-common/Versions (__snprintf): Add to version
7054         GLIBC_PRIVATE.
7055         * include/stdio.h (__snprintf): Use libc_hidden_proto.
7056         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
7057         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
7058         of snprintf.
7059         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7061 2016-11-16  Zack Weinberg  <zackw@panix.com>
7063         * string/string.h: Remove obsolete comment stating that
7064         strcoll_l and strxfrm_l have not yet been standardized.
7066 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7068         * hurd/hurd.h (__hurd_fail_noerrno): New function.
7069         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
7070         __access_noerrno.
7071         * io/access.c (__access_noerrno): New function.
7072         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
7073         (hurd_fail_seterrno): Likewise.
7074         (access_common): Likewise.
7075         (__access_noerrno): Likewise.
7076         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
7077         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
7078         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
7079         macro.
7081 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7083         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
7084         Only declare fpregs if [__SH_FPU_ANY__].
7086 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
7088         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
7089         Make code unconditional.
7090         [!(__SH4__ || __SH4A__)]: Remove conditional code.
7092 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
7094         * manual/sysinfo.texi (S_APPEND): Delete.
7095         (S_IMMUTABLE): Likewise.
7097 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
7098             Magnus Granberg  <zorry@gentoo.org>
7099             Mike Frysinger  <vapier@gentoo.org>
7101         [BZ #20662]
7102         * configure.ac (libc_cv_predef_stack_protector): Also check for
7103         __stack_chk_fail_local symbols.
7104         * configure: Regenerated.
7106 2016-11-15  Florian Weimer  <fweimer@redhat.com>
7108         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7109         (libc_hidden_def): Remove redefinition.
7110         (__sigsetjmp): Add hidden definition.
7111         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7112         (libc_hidden_def): Remove redefinition.
7113         (__sigsetjmp): Add hidden definition.
7115 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
7117         * scripts/build-many-glibcs.py (os.path): Do not import.
7118         (Context): Inherit explicitly from object.  Remove blank line
7119         between class and docstring.
7120         (Config): Likewise.
7121         (Glibc): Likewise.
7122         (Command): Likewise.
7123         (CommandList): Likewise.
7124         (Context.write_files): Store chmod mode in a variable.
7126         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
7127         LIBC_SLIBDIR_RTLDDIR for tilegx32.
7128         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
7130 2016-11-14  Zack Weinberg  <zackw@panix.com>
7132         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
7133         creating or re-creating it.
7135         * string/bits/string2.h: Fix typo in comment.
7137 2016-11-14  Zack Weinberg  <zackw@panix.com>
7139         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
7140         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
7141         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
7142         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
7143         of redirected function names.
7145         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
7146         as well.  Document that MESSAGE must be a single string literal.
7148 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
7150         * scripts/build-many-glibcs.py: New file.
7152         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
7153         (do_test): Disable -Wmaybe-uninitialized around uses of
7154         except_mask.
7156         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
7158 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
7160         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
7161         (atomic_store_release): Provide tilepro-specific implementations.
7163 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
7165         * math/math.h (__MATH_TG): New macro.
7166         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
7167         [__USE_ISOC99] (signbit): Likewise.
7168         [__USE_ISOC99] (isfinite): Likewise.
7169         [__USE_ISOC99] (isnan): Likewise.
7170         [__USE_ISOC99] (isinf): Likewise.
7171         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
7172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
7173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
7174         __MATH_TG and __MATH_EVAL_FMT2.
7175         * sysdeps/generic/math_private.h (fabs_tg): Define using
7176         __MATH_TG.
7177         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7178         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
7179         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
7180         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
7181         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
7182         macro.
7183         (__iscanonical): Likewise.
7184         (iscanonical): Define using __MATH_TG.
7186 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7188         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
7189         guards.
7191         * sysdeps/unix/sysv/linux/access.c: New file.
7192         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
7194 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
7196         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
7197         and __WORDSIZE32_PTRDIFF_LONG.
7199 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7201         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7203 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7205         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
7206         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
7207         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
7208         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
7209         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
7210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
7211         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
7212         * sysdeps/unix/sysv/linux/truncate.c: New file.
7213         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
7214         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7215         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
7216         Remove.
7217         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
7218         Likewise.
7220         * posix/tst-truncate-common.c: New file.
7221         * posix/tst-truncate.c: Use tst-truncate-common.c.
7222         * posix/tst-truncate64.c: Likewise and add LFS tests.
7223         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
7224         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
7225         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
7226         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
7227         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
7228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
7229         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
7230         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
7231         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
7232         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7233         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
7234         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
7235         Remove.
7236         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
7237         Likewise.
7239 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
7241         [BZ #20790]
7242         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
7243         to MAXLINESIZE.
7244         * sunrpc/bug20790.x: New file.
7245         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
7246         variable.
7247         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
7248         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
7250         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
7252         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
7254         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
7255         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
7256         calloc, realloc, free, memalign and __libc_memalign rather than
7257         making them optional.
7259         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
7260         for libc.so.
7262 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7264         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
7265         ptw-lseek64.
7266         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
7267         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
7268         Likewise.
7269         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
7270         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
7271         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
7272         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
7273         * sysdeps/unix/sysv/linux/lseek.c: New file.
7274         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
7275         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
7276         __libc_lseek64 from auto-generation.
7277         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7278         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
7280 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7282         * nptl/tst-basic1.c (tf, do_test): Use write_message.
7283         * nptl/tst-cleanup1.c (do_test): Likewise.
7284         * nptl/tst-cleanup3.c (do_test): Likewise.
7285         * nptl/tst-key1.c (do_test): Likewise.
7286         * nptl/tst-key2.c (tf, do_test): Likewise.
7287         * nptl/tst-key3.c (tf, do_test): Likewise.
7288         * nptl/tst-stdio1.c (do_test): Likewise.
7289         * nptl/tst-stdio2.c (do_test): Likewise.
7291         * nptl/tst-kill3.c (handler): Use write_message in place of write.
7292         * nptl/tst-kill6.c (handler): Likewise.
7293         * nptl/tst-tls2.c (CB): Likewise.
7294         * nptl/tst-tls3.c (CB): Likewise.
7296 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
7298         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
7300 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
7301             Steve Ellcey  <sellcey@caviumnetworks.com>
7303         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
7304           __ASSUME_ST_INO_64_BIT as 0
7305         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
7306         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
7307           over the code where __ASSUME_ST_INO_64_BIT is used.
7308         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7309         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7310         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7312 2016-11-07  Florian Weimer  <fweimer@redhat.com>
7314         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7315         Document ABI exposure of the __kind offset.
7316         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7317         Mention reason for the __kind offset exposure in the ABI.
7318         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7319         Likewise.
7320         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7321         Likewise.
7322         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7323         Likewise.
7324         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
7325         (struct __pthread_mutex_s): Likewise.
7326         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7327         Likewise.
7328         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7329         Likewise.
7330         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7331         Likewise.
7332         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7333         Likewise.
7334         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7335         Likewise.
7336         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7337         Likewise.
7338         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7339         (struct __pthread_mutex_s): Likewise.
7340         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7341         (struct __pthread_mutex_s): Likewise.
7342         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
7343         Likewise.
7345 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
7347         * test-skeleton.c: Document do_test usage.
7349 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
7351         * iconv/gconv.h (__gconv_info): Define __data element using a
7352         zero-length array.
7354 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
7356         * math/test-tgmath2.c: Split up test function.
7358 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7360         * Rules (tests-expected): New variable, depending on
7361         $(run-built-tests).
7362         (tests): Pass $(tests-expected) to merge-test-results.sh, not
7363         $(tests).
7365         * Rules [$(run-built-tests) = no] (tests): Do not depend on
7366         $(tests-unsupported).
7368 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7370         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7371         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
7373 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7375         [BZ #20768]
7376         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
7377         __fegetenv instead of fegetenv.
7379         [BZ #14139]
7380         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
7381         (find_files): Obtain platform name from libm-test-ulps-name and
7382         store in %pplatforms.
7383         (canonicalize_platform): Remove.
7384         (print_platforms): Use $pplatforms directly.
7385         (by_platforms): Do not allow for platforms missing from
7386         %pplatforms.
7387         * sysdeps/aarch64/libm-test-ulps-name: New file.
7388         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
7389         * sysdeps/arm/libm-test-ulps-name: Likewise.
7390         * sysdeps/generic/libm-test-ulps-name: Likewise.
7391         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
7392         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
7393         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
7394         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
7395         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
7396         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
7397         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
7398         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
7399         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
7400         * sysdeps/nios2/libm-test-ulps-name: Likewise.
7401         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
7402         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
7403         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
7404         * sysdeps/sh/libm-test-ulps-name: Likewise.
7405         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
7406         * sysdeps/tile/libm-test-ulps-name: Likewise.
7407         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
7409         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
7411         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
7412         (test-xfail-check-execstack): New variable.
7414         * sysdeps/mips/localplt.data: New file.
7416 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
7417             Steve Ellcey  <sellcey@caviumnetworks.com>
7419         * bits/wordsize.h: Add documentation.
7420         * sysdeps/aarch64/bits/wordsize.h : New file
7421         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
7422         definitions.
7423         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
7424         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
7425         with #if instead of #ifdef.
7426         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
7427         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
7428         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
7429         Add or change defines.
7430         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
7431         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7432         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
7433         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
7434         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7435         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7436         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
7437         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
7438         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
7439         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7440         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
7441         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
7442         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
7443         * sysdeps/x86/bits/wordsize.h: Likewise.
7445 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
7446             Kevin Petit  <kevin.petit@arm.com>
7448         * sysdeps/aarch64/memchr.S (__memchr): New file.
7450 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7452         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
7454 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
7456         [BZ #19398]
7457         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
7458         $(linknamespace-symlists-tests).
7460 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
7462         * time/tst-strptime2.c: Ignore -Wformat-length warning.
7464 2016-11-02  Florian Weimer  <fweimer@redhat.com>
7465             Carlos O'Donell  <carlos@redhat.com>
7467         [Bug #20729]
7468         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
7469         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
7470         for -Os related change.
7472 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
7474         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
7476 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
7478         [BZ #19673]
7479         * manual/math.texi (Exponents and Logarithms): Correct description
7480         of clog10.
7482 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
7484         [Bz #20729]
7485         * locale/weight.h: Include libc-internal.h.
7486         * locale/weightwc.h: Likewise.
7487         * nptl/nptl_dbP.h: Likewise.
7489 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
7491         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
7492         when it is MACH_PORT_NULL.
7494 2016-10-31  Andreas Schwab  <schwab@suse.de>
7496         [BZ #20707]
7497         * posix/glob.c (glob): Initialize pglob before checking for
7498         GLOB_BRACE.  Don't call glob recursively if pattern contains no
7499         valid brace expression despite GLOB_BRACE.
7500         * posix/globtest.sh: Test it.
7502 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7504         [BZ #20729]
7505         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
7506         Define.
7507         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
7508         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
7509         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
7510         for seq2.back_us and seq1.back_us only for -Os compiles.
7511         * locale/weightwc.h (findix): Likewise.
7512         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
7513         DB_GET_FIELD_ADDRESS only for -Os compiles.
7514         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
7515         for slen only for -Os compiles.
7516         * string/strcoll_l.c (get_next_seq): Ignore
7517         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
7518         for -Os compiles.
7520         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
7521         * include/crypt.h: New file.
7523 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7525         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
7526         from test-skeleton.c.
7527         (statclass): Replace calls to write with calls to write_message.
7529 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7531         * math/math.h
7532         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
7533         New macro.
7534         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
7535         Likewise.
7536         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
7537         Likewise.
7538         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
7539         SNANL.
7540         * math/test-double.h (snan_value_MACRO): New macro.
7541         * math/test-float.h (snan_value_MACRO): Likewise.
7542         * math/test-ldouble.h (snan_value_MACRO): Likewise.
7543         * math/libm-test.inc (issignaling_test_data): Add tests of
7544         snan_value_MACRO.
7546 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7548         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
7549         behavior when eliding a lock not held by the current thread.
7550         * sysdeps/powerpc/nptl/elide.h: Likewise.
7552 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7554         [BZ #20728]
7555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
7556         branch to _exit() by a function call.
7558 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7560         * malloc/malloc.c: Update chunk layout comments.
7561         (chunk_main_arena): Update comment.
7563 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7565         * crypt/sha256.c, crypt/sha256-block.c,
7566         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
7567         sha256_process_block to __sha256_process_block.
7568         * crypt/sha512.c, crypt/sha512-block.c,
7569         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
7570         sha512_process_block to __sha512_process_block.
7572 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7574         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
7576         * math/test-nan-overflow.c: Include stdlib.h for malloc.
7578 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
7580         [BZ #20019]
7581         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
7582         definition in unrelocated shared library.
7583         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7585 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7587         [BZ #20729]
7588         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
7589         * sysdeps/unix/sysv/linux/i386/Makefile
7590         (uses-6-syscall-arguments): Define.
7591         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
7592         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
7593         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
7594         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
7595         Likewise.
7596         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
7597         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
7598         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
7599         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
7600         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
7601         (CFLAGS-fallocate64.os): Likewise.
7602         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
7603         (CFLAGS-pthread_rwlock_timedrdlock.os)
7604         (CFLAGS-pthread_rwlock_timedwrlock.o)
7605         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
7606         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
7607         (CFLAGS-sem_timedwait.os): Likewise.
7609 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7611         * elf/tst-linkall-static.c: New file.
7612         * elf/Makefile (tests-static): Add tst-linkall-static.
7613         (tst-linkall-static): Link against static libraries.
7615 2016-10-27  Florian Weimer  <fweimer@redhat.com>
7617         * malloc/malloc.c (sysmalloc): Initialize previous size field of
7618         mmaped chunks.
7620 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7622         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
7623         members to mchunk_prev_size, mchunk_size.
7624         (chunk_main_arena): Reverse sense and rename from
7625         chunk_non_main_arena.
7626         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
7627         mchunk_size instead of size.
7628         (set_non_main_arena): Define.
7629         (chunksize): Use chunksize_nomask instead of direct member access.
7630         (chunksize_nomask): Define.
7631         (next_chunk): Use chunksize instead of direct member access.
7632         (prev_size, set_prev_size): Define.
7633         (prev_chunk): Use prev_size instead of direct member access.
7634         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
7635         (inuse_bit_at_offset, set_inuse_bit_at_offset)
7636         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
7637         (mchunk_prev_size, mchunk_size): Poison tokens.
7638         (unlink): Use chunksize_nomask, prev_size accessors.
7639         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
7640         (do_check_free_chunk): Use prev_size accessor.
7641         (sysmalloc): Use set_prev_size, set_head accessors.
7642         (munmap_chunk, mremap_chunk): Use prev_size accessor.
7643         (__libc_free): Use chunksize_nomask accessor.
7644         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
7645         chunk_main_arena accessors.
7646         (_int_free): Use chunksize_nomask, prev_size accessors.
7647         (malloc_consolidate): Use chunksize, prev_size accessors.
7648         (_int_realloc): Use chunksize_nomask accessor.
7649         (_int_memalign): Use set_prev_size accessor.
7650         (__malloc_info): Use chunksize_nomask accessor.
7651         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
7652         accessors.
7653         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
7654         (heap_trim): Use chunksize_nomask, prev_size accessors.
7656 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7658         [BZ #19380]
7659         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
7660         for inexact results.
7661         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
7662         of inexact result where mpfr_subnormalize is the only inexact
7663         step.
7664         * stdlib/tst-strtod-round-data.h: Regenerated.
7665         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
7666         Define to 0.
7667         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
7669 2016-10-27  David S. Miller  <davem@davemloft.net>
7671         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
7673 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7675         * malloc/malloc.c (do_set_mallopt_check): New function.
7676         (do_set_mmap_threshold): Likewise.
7677         (do_set_mmaps_max): Likewise.
7678         (do_set_top_pad): Likewise.
7679         (do_set_perturb_byte): Likewise.
7680         (do_set_trim_threshold): Likewise.
7681         (do_set_arena_max): Likewise.
7682         (do_set_arena_test): Likewise.
7683         (__libc_mallopt): Use them.
7685 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
7687         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7688         (canonicalize): New declaration.
7689         * math/Versions (canonicalize): New libm symbol at version
7690         GLIBC_2.25.
7691         (canonicalizef): Likewise.
7692         (canonicalizel): Likewise.
7693         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
7694         * math/s_canonicalize_template.c: New file.
7695         * math/libm-test.inc: Update comment on functions tested and
7696         testing of NaN payloads.
7697         (TEST_NAN_PAYLOAD): New macro.
7698         (NO_TEST_INLINE): Update value.
7699         (XFAIL_TEST): Likewise.
7700         (ERRNO_UNCHANGED): Likewise.
7701         (ERRNO_EDOM): Likewise.
7702         (ERRNO_ERANGE): Likewise.
7703         (IGNORE_RESULT): Likewise.
7704         (NON_FINITE): Likewise.
7705         (TEST_SNAN): Likewise.
7706         (NO_TEST_MATHVEC): Likewise.
7707         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
7708         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
7709         (struct test_Ffp_b1_data): New type.
7710         (RUN_TEST_Ffp_b1): New macro.
7711         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7712         (canonicalize_test_data): New array.
7713         (canonicalize_test): New function.
7714         (main): Call canonicalize_test.
7715         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
7716         canonicalizef and canonicalizel.
7717         * manual/libm-err-tab.pl: Update comment on interfaces without
7718         ulps tabulated.
7719         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
7720         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
7721         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7722         canonicalize.
7723         (CFLAGS-nldbl-canonicalize.c): New variable.
7724         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
7725         to ...
7726         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
7727         ... here.
7728         (do_test): Also test canonicalizel.
7729         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
7730         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
7731         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
7732         file.
7733         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
7734         Use libm_hidden_def.
7735         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
7736         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
7737         (do_test): Also test canonicalizel.
7738         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
7739         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
7740         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
7741         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
7742         libm_hidden_def.
7743         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
7744         macro.
7745         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
7746         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
7747         * sysdeps/nacl/libm.abilist: Update.
7748         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7749         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7750         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7751         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7752         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7753         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7754         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7755         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7756         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7757         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7758         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7759         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7761         Likewise.
7762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7763         Likewise.
7764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7765         Likewise.
7766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7767         Likewise.
7768         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7769         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7770         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7771         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7772         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7774         Likewise.
7775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7776         Likewise.
7777         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7778         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7779         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7781         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
7782         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7783         getpayload.
7784         (CFLAGS-nldbl-getpayload.c): New variable.
7786 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7788         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
7789         integer from the format string.
7791 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7793         [BZ #19473]
7794         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
7795         declarations.
7796         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
7797         weak aliases.
7798         * malloc/hooks.c (__malloc_get_state): Remove definition.
7799         (malloc_get_state): New stub implementation as
7800         compatibility symbol.
7801         (malloc_set_state): Rename from __malloc_set_state.  Turn into
7802         compat symbol.
7803         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
7804         malloc_set_state.
7805         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
7807 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7809         * iconvdata/iso646.c (enum variant): Drop illegal_var.
7810         (names): Turn into concatenation of strings.
7811         (gconv_init): Adapt iteration over names.
7813 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7815         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
7816         make const.
7817         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
7818         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
7819         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
7820         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
7821         character in sbconv.
7822         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
7823         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
7824         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
7826 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7828         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
7830         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
7831         (M_TRIM_THRESHOLD): Likewise.
7833         * manual/memory.texi (M_ARENA_TEST): Add documentation.
7834         (M_ARENA_MAX): Likewise.
7835         * malloc/malloc.c: Remove obsolete comment.
7837         * manual/memory.texi: Add environment variable alternatives to
7838         setting mallopt parameters.
7840 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
7842         * include/atomic.h
7843         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
7844         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
7846 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7848         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
7849         * stdlib/tst-strfrom.h: New file.
7850         * stdlib/tst-strfrom.c: New file.
7851         * stdlib/tst-strfrom-locale.c: New file.
7853         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
7854         * stdlib/bug-strtod2.c: Likewise.
7855         * stdlib/tst-strtod-round-skeleton.c: Likewise.
7856         * stdlib/tst-strtod6.c: Likewise.
7857         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
7859 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7861         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
7862         * manual/arith.texi: Document strfromd, strfromf, strfroml.
7863         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
7864         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
7865         * stdlib/stdlib.h (strfromd): New declaration.
7866         (strfromf): Likewise.
7867         (strfroml): Likewise.
7868         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
7869         strfrom.
7870         * stdlib/strfromd.c: New file.
7871         * stdlib/strfromf.c: Likewise.
7872         * stdlib/strfroml.c: Likewise.
7873         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
7874         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
7875         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
7876         * sysdeps/arm/nacl/libc.abilist: Update.
7877         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7878         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7879         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7880         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7881         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7882         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7883         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7884         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7885         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7886         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7887         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7888         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7889         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7890         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
7892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7895         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7896         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7897         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7898         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7899         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7902         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7903         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7904         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7906 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
7908         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
7909         instead of cmpli.
7910         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
7911         instead of cmpli.
7913 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
7915         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
7916         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
7917         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
7918         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7919         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7920         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7922 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7924         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
7925         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7926         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
7927         SYSCALL_LL64_PRW.
7928         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7929         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
7930         __ASSUME_PRW_DUMMY_ARG.
7931         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
7932         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7933         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7934         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7935         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
7936         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
7938 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
7940         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
7942 2016-10-22  Florian Weimer  <fweimer@redhat.com>
7944         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
7945         "C++", to override a potential extern "C" directive around the
7946         header file inclusion.
7948 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
7950         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
7952 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7954         * sysdeps/powerpc/fpu/fenv_private.h:
7955         (_FPU_MASK_ALL): Rename to...
7956         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
7957         XE FPSCR bits.
7959         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
7961         (_FPU_MASK_ROUNDING): Rename to...
7962         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
7963         NI bits.
7965         (_FPU_MASK_EXCEPT_ROUND): Rename to...
7966         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
7967         bits and rounding bits.
7969         (__libc_feholdbits_ppc): New inline function to mask, set,
7970         and pontentially clear FSPCR bits, and change MSR[FE] bits.
7971         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
7972         (libc_feholdexcept_setround_ppc): Likewise.
7974         (__libc_femergeenv_ppc): New function to dynamically mask both
7975         old and new FP environments and merge.
7976         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
7977         (libc_feresetround_ppc): Likewise.
7978         (libc_feupdateenv_test_ppc): Likewise.
7979         (libc_feupdateenv_ppc): Likewise.
7981         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
7982         of ISA RN bits, and update macro names.
7983         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
7984         effectively the same as the previously mentioned function.
7986         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
7987         usage with fe_resetround_ppc.
7989         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
7990         to be used.
7991         (libc_feholdexcept_setround_ctxf): Likewise.
7992         (libc_feholdexcept_setround_ctxl): Likewise.
7994 2016-10-21  Florian Weimer  <fweimer@redhat.com>
7996         [BZ #20715]
7997         * math/math.h [__cplusplus] (iszero): Define as function template.
7998         * math/Makefile [CXX] (tests): Add test-math-iszero.
7999         (CFLAGS-test-math-iszero.cc): Set.
8000         * math/test-math-iszero.cc: New file.
8002 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
8004         [BZ #20660]
8005         * sysdeps/arm/e_sqrt.c: New file.
8006         * sysdeps/arm/e_sqrtf.c: Likewise.
8008 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
8010         [BZ #20718]
8011         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
8012         not use floating-point comparisons to test sign.
8013         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
8014         Likewise.
8016         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8017         (getpayload): New declaration.
8018         * math/Versions (getpayload): New libm symbol at version
8019         GLIBC_2.25.
8020         (getpayloadf): Likewise.
8021         (getpayloadl): Likewise.
8022         * math/Makefile (libm-calls): Add s_getpayloadF.
8023         * math/libm-test.inc: Include <nan-high-order-bit.h>.
8024         (struct test_f_f_data): Add comment.
8025         (RUN_TEST_fp_f): New macro.
8026         (RUN_TEST_LOOP_fp_f): Likewise.
8027         (getpayload_test_data): New array.
8028         (getpayload_test): New function.
8029         (main): Call getpayload_test.
8030         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
8031         descriptor.
8032         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
8033         getpayloadf and getpayloadl.
8034         * manual/libm-err-tab.pl: Update comment on interfaces without
8035         ulps tabulated.
8036         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
8037         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
8038         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
8039         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
8040         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
8041         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
8042         * sysdeps/nacl/libm.abilist: Update.
8043         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8044         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8045         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8046         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8047         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8048         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8049         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8050         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8051         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8052         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8053         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8054         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8056         Likewise.
8057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8058         Likewise.
8059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8060         Likewise.
8061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8062         Likewise.
8063         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8064         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8065         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8066         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8067         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8069         Likewise.
8070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8071         Likewise.
8072         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8073         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8074         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8076 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8078         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
8079         tst-fallocate{64}.
8080         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
8081         on syscall return.
8083 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
8085         [BZ #20689]
8086         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
8087         usable.
8089 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
8091         * sysdeps/generic/nan-high-order-bit.h: New file.
8092         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
8093         * sysdeps/mips/nan-high-order-bit.h: Likewise.
8094         * sysdeps/hppa/math_private.h: Remove file.
8095         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
8096         not define here.
8097         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
8098         <nan-high-order-bit.h>.
8099         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8100         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8101         <nan-high-order-bit.h>.
8102         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8103         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8104         <nan-high-order-bit.h>.
8105         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8106         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
8107         <nan-high-order-bit.h>.
8108         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8109         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8110         <nan-high-order-bit.h>.
8111         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8112         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8113         <nan-high-order-bit.h>.
8114         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8115         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
8116         <nan-high-order-bit.h>.
8117         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8118         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
8119         <nan-high-order-bit.h>.
8120         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8121         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
8122         <nan-high-order-bit.h>.
8123         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8124         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
8125         <nan-high-order-bit.h>.
8126         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8127         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8128         <nan-high-order-bit.h>.
8129         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8130         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8131         <nan-high-order-bit.h>.
8132         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8133         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
8134         <nan-high-order-bit.h>.
8135         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8136         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
8137         <nan-high-order-bit.h>.
8138         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8139         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
8140         <nan-high-order-bit.h>.
8141         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8142         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
8143         <nan-high-order-bit.h>.
8144         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8145         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8146         <nan-high-order-bit.h>.
8147         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8148         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8149         <nan-high-order-bit.h>.
8150         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8152 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8154         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
8156 2016-09-22  John David Anglin  <dave.anglin@bell.net>
8158         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
8159         abort-instr.h.
8160         (EFAULT): Remove conditional define.
8161         (ENOSYS): Likewise.
8162         (atomic_compare_and_exchange_val_acq): Use instruction nullification
8163         instead of conditional branch instructions.
8165 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
8167         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8168         (totalordermag): New declaration.
8169         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
8170         New macro.
8171         * math/Versions (totalordermag): New libm symbol at version
8172         GLIBC_2.25.
8173         (totalordermagf): Likewise.
8174         (totalordermagl): Likewise.
8175         * math/Makefile (libm-calls): Add s_totalordermagF.
8176         * math/libm-test.inc (totalordermag_test_data): New array.
8177         (totalordermag_test): New function.
8178         (main): Call totalordermag_test.
8179         * math/test-tgmath.c (NCALLS): Increase to 125.
8180         (F(compile_test)): Call totalordermag.
8181         (F(totalordermag)): New function.
8182         * manual/arith.texi (FP Comparison Functions): Document
8183         totalordermag, totalordermagf and totalordermagl.
8184         * manual/libm-err-tab.pl: Update comment on interfaces without
8185         ulps tabulated.
8186         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
8187         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
8188         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
8189         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
8190         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
8191         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
8192         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
8193         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8194         totalordermag.
8195         (CFLAGS-nldbl-totalordermag.c): New variable.
8196         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
8197         (do_test): Also test totalordermagl.
8198         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
8199         Likewise.
8200         * sysdeps/nacl/libm.abilist: Update.
8201         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8202         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8203         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8204         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8205         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8206         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8207         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8208         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8209         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8210         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8211         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8212         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8214         Likewise.
8215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8216         Likewise.
8217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8218         Likewise.
8219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8220         Likewise.
8221         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8222         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8223         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8224         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8225         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8227         Likewise.
8228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8229         Likewise.
8230         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8231         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8232         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8234 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
8236         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
8237         boolean.
8239 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
8241         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
8242         raising FE_INVALID with feraisexcept in case where part of
8243         argument is infinite, subtract that part of argument from itself.
8244         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
8245         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
8246         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8248 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8250         * math/libm-test.inc (totalorder_test_data): Add more tests.
8252 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8254         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
8255         Undefine weak_alias and add a comment why mips64 require
8256         versioning.
8258 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
8260         [BZ #20647]
8261         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
8262         maximum CPUID level is less than 2.
8264 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8266         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8267         (totalorder): New declaration.
8268         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
8269         New macro.
8270         * math/Versions (totalorder): New libm symbol at version
8271         GLIBC_2.25.
8272         (totalorderf): Likewise.
8273         (totalorderl): Likewise.
8274         * math/Makefile (libm-calls): Add s_totalorderF.
8275         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
8276         string.
8277         * math/libm-test.inc (PAYLOAD_DIG): New macro.
8278         (qnan_value_pl): Likewise.
8279         (snan_value_pl): Likewise.
8280         (qnan_value): Define using qnan_value_pl.
8281         (snan_value): Define using snan_value_pl.
8282         (struct test_ff_i_data): Add comment about which tests use this
8283         structure.
8284         (RUN_TEST_ff_b): New macro.
8285         (RUN_TEST_LOOP_ff_b): Likewise.
8286         (totalorder_test_data): New array.
8287         (totalorder_test): New function.
8288         (main): Call totalorder_test.
8289         * math/test-tgmath.c (NCALLS): Increase to 122.
8290         (F(compile_test)): Call totalorder.
8291         (F(totalorder)): New function.
8292         * manual/arith.texi (FP Comparison Functions): Document
8293         totalorder, totalorderf and totalorderl.
8294         * manual/libm-err-tab.pl: Update comment on interfaces without
8295         ulps tabulated.
8296         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
8297         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
8298         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
8299         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
8300         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
8301         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
8302         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
8303         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8304         totalorder.
8305         (CFLAGS-nldbl-totalorder.c): New variable.
8306         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
8307         file.
8308         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8309         Add test-totalorderl-ldbl-128ibm.
8310         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
8311         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
8312         test-totalorderl-ldbl-96.
8313         * sysdeps/nacl/libm.abilist: Update.
8314         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8315         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8316         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8317         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8318         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8319         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8320         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8321         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8322         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8323         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8324         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8325         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8327         Likewise.
8328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8329         Likewise.
8330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8331         Likewise.
8332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8333         Likewise.
8334         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8335         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8336         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8337         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8338         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8340         Likewise.
8341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8342         Likewise.
8343         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8344         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8345         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8347 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8349         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
8350         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
8351         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
8352         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
8353         remove ENOSYS implementation.
8354         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
8355         Consolidate all Linux implementations.
8357 2016-10-11  Florian Weimer  <fweimer@redhat.com>
8359         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
8360         * resolv/herror.c (herror): Cast away const-ness.
8361         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
8362         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
8364 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
8366         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
8367         instead of M_NAN + M_NAN.
8368         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8370 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8372         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
8373         unused variable 'p'.
8375 2016-10-09  Alan Modra  <amodra@gmail.com>
8376             Andreas Schwab  <schwab@linux-m68k.org>
8378         [BZ #20554]
8379         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
8380         [PIC && !SHARED]: Set up PIC register for PLT call.
8382 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
8384         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
8385         conditional on value of [__FLT_EVAL_METHOD__].
8386         * math/test-iseqsig-excess-precision.c: New file.
8387         * math/Makefile (tests): Add test-iseqsig-excess-precision.
8389 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8391         * math/s_iseqsig_template.c: Include math-private.h.
8393         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
8394         * posix/tst-posix_fadvise.c: New file.
8395         * posix/tst-posix_fadvise64.c: Likewise.
8396         * posix/tst-posix_fadvise-common.c: Likewise.
8397         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8398         (__ASSUME_FADVISE64_64_6ARG): Define.
8399         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8400         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
8401         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8402         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
8403         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
8404         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
8405         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
8406         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8407         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
8408         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
8409         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
8410         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
8411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
8412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
8413         Likewise.
8414         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
8415         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
8416         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
8417         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8418         Alias to __posix_fadvise64_l32.
8419         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
8420         Add compat definition to posix_fadvise64.
8421         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8422         Add versioned definition to posix_fadvise64.
8423         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
8424         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
8425         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
8426         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
8427         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
8429         * io/Makefile (tests): Add tst-posix_fallocate and
8430         tst-posix_fallocate64.
8431         * io/tst-posix_fallocate-common.c: New file.
8432         * io/tst-posix_fallocate.c: Likewise.
8433         * io/tst-posix_fallocate64.c: Likewise.
8434         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
8435         file.
8436         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
8437         Likewise.
8438         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
8439         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
8440         Likewise.
8441         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
8442         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
8443         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
8444         SYSCALL_LL to pass both offset and len arguments.
8445         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
8446         Likewise.
8447         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
8448         __libc_pwrite64 alias used by posix_fallocate64.
8450         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8451         tst-fallocate64.
8452         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8453         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8454         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8455         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8456         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8457         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8458         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8459         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8460         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8461         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8462         macro on offset argument.
8463         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8464         SYSCALL_LL64 on offset argument.
8466         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8467         tst-fallocate64.
8468         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8469         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8470         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8471         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8472         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8473         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8474         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8475         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8476         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8477         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8478         macro on offset argument.
8479         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8480         SYSCALL_LL64 on offset argument.
8481         * test-skeleton.c (FAIL_RET): Add macro.
8482         (FAIL_EXIT): Likewise.
8483         (FAIL_EXIT1): Likewise.
8484         (_FAIL): Likewise.
8486 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8488         [BZ #20629]
8489         resolv: Remove RES_USEBSTRING and its implementation.
8490         * resolv/resolv.h (RES_USEBSTRING): Remove.
8491         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
8492         (digitvalue, encode_bitstring, decode_bitstring): Remove.
8493         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
8494         (labellen): Remove extended label types support.
8495         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
8496         * resolv/res_init.c (res_setoptions): Likewise.
8497         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8499 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8501         resolv: Remove RES_NOIP6DOTINT and its implementation.
8502         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
8503         (RES_NOIP6DOTINT): Remove.
8504         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
8505         handling.
8506         * resolv/res_debug.c (p_option): Likewise.
8507         * resolv/res_init.c (res_setoptions): Likewise.
8508         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8510 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8512         resolv: Deprecate unimplemented flags.
8513         * misc/sys/cdefs.h (__glibc_macro_warning1)
8514         (__glibc_macro_warning): Define.
8515         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
8516         (RES_KEEPTSIG): Mark as deprecated.
8517         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
8518         RES_NOCHECKNAME, RES_KEEPTSIG.
8519         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
8521 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8523         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
8524         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
8525         Use strong_alias to create symbols for glibc verison 2.19.
8527 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8529         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
8531 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8533         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
8535 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8537         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
8539 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8541         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8542         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
8543         in header for using it as type for ifunc function because __GI_* symbols
8544         for ppc32 do not target the ifunc symbols.
8545         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8547 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8549         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
8550         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
8551         libc_ifunc_hidden_def.
8552         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
8553         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
8554         Redirect ifunced function in header for using it as type of ifunc'ed
8555         function. Redefine libc_hidden_def to use fallback non ifunc'ed
8556         function for __GI_* symbol.
8557         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
8558         * include/libc-symbols.h
8559         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
8561 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8563         [BZ #20478]
8564         * sysdeps/s390/multiarch/ifunc-resolve.h
8565         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
8566         to create ifunc symbols.
8567         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
8568         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
8569         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
8570         for using it as type for ifunc function.
8571         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8572         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8573         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8574         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8575         * sysdeps/s390/multiarch/strcat.c: Likewise.
8576         * sysdeps/s390/multiarch/strchr.c: Likewise.
8577         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8578         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8579         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8580         * sysdeps/s390/multiarch/strlen.c: Likewise.
8581         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8582         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8583         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8584         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8585         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8586         * sysdeps/s390/multiarch/strspn.c: Likewise.
8587         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8588         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8589         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8590         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8591         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8592         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8593         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8594         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
8595         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
8596         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8597         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
8598         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
8600 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8602         * include/libc-symbols.h (__ifunc_resolver):
8603         New macro is used by __ifunc* macros.
8604         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
8605         depending on HAVE_GCC_IFUNC.
8606         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
8607         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
8608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8609         Redirect ifunced function in header for using as type for ifunc function.
8610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
8611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
8612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
8613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
8614         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8615         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8616         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8617         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8618         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8619         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8620         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8621         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8622         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8623         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
8626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
8628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8629         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8630         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8631         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8632         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8633         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8634         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8635         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8636         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8637         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8638         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8639         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8640         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8641         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
8642         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
8644         Add libc_hidden_def() and use libc_ifunc_hidden() macro
8645         instead of libc_ifunc() macro.
8646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
8647         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8649 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8651         * config.h.in (HAVE_GCC_IFUNC): New undef.
8652         * configure.ac: Add check if gcc supports attribute ifunc feature.
8653         * configure: Regenerated.
8654         * manual/install.texi: Add recommendation for gcc with
8655         indirect-function support.
8656         * INSTALL: Regenerated.
8658 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
8660         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
8661         macro.
8662         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8663         (__iseqsig): New declaration.
8664         * math/s_iseqsig_template.c: New file.
8665         * math/Versions (__iseqsigf): New libm symbol at version
8666         GLIBC_2.25.
8667         (__iseqsig): Likewise.
8668         (__iseqsigl): Likewise.
8669         * math/libm-test.inc (iseqsig_test_data): New array.
8670         (iseqsig_test): New function.
8671         (main): Call iseqsig_test.
8672         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
8673         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
8674         * manual/libm-err-tab.pl: Update comment on interfaces without
8675         ulps tabulated.
8676         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
8677         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
8678         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
8679         * sysdeps/nacl/libm.abilist: Update.
8680         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8681         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8682         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8683         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8684         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8685         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8686         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8687         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8688         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8689         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8690         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8691         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8693         Likewise.
8694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8695         Likewise.
8696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8697         Likewise.
8698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8699         Likewise.
8700         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8701         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8702         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8703         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8704         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8706         Likewise.
8707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8708         Likewise.
8709         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8710         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8711         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8713 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8715         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
8716         do_sincos_2, sloww, sloww1): Update comments.
8718         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
8719         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
8721         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
8722         K boolean and rename it.
8723         (__sin): Adjust.
8724         (__cos): Adjust.
8726 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8727             Siddhesh Poyarekar  <siddhesh@sourceware.org>
8729         * manual/nss.texi: Fix typos in the manual.
8731 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8733         * manual/contrib.texi: Fix typos in the manual.
8735         * manual/maint.texi: Fix typos in the manual.
8737         * manual/install.texi: Fix typos in the manual.
8738         * INSTALL: Regenerated.
8740         * manual/lang.texi: Fix typos in the manual.
8742         * manual/probes.texi: Fix typos in the manual.
8744         * manual/threads.texi: Fix typos in the manual.
8746         * manual/debug.texi: Fix typos in the manual.
8748         * manual/crypt.texi: Fix typos in the manual.
8750         * manual/conf.texi: Fix typos in the manual.
8752         * manual/sysinfo.texi: Fix typos in the manual.
8754         * manual/users.texi: Fix typos in the manual.
8756         * manual/job.texi: Fix typos in the manual.
8758         * manual/process.texi: Fix typos in the manual.
8760         * manual/argp.texi: Fix typos in the manual.
8761         * manual/getopt.texi: Likewise.
8762         * manual/startup.texi: Likewise.
8764         * manual/signal.texi: Fix typos in the manual.
8766         * manual/setjmp.texi: Fix typos in the manual.
8768         * manual/resource.texi: Fix typos in the manual.
8770         * manual/time.texi: Fix typos in the manual.
8772         * manual/arith.texi: Fix typos in the manual.
8774         * manual/math.texi: Fix typos in the manual.
8776         * manual/syslog.texi: Fix typos in the manual.
8778         * manual/terminal.texi: Fix typos in the manual.
8780         * manual/socket.texi: Fix typos in the manual.
8782         * manual/filesys.texi: Fix typos in the manual.
8784         * manual/llio.texi: Fix typos in the manual.
8786         * manual/stdio.text: Fix typos in the manual.
8788 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8790         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
8791         instead of K1.
8793         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
8794         SHIFT_QUADRANT and make it bool.
8795         (do_sincos_2): Likewise.
8796         (sloww): Likewise.
8797         (sloww1): Likewise.
8798         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
8799         (__cos): Likewise.
8801 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8803         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8805 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
8807         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
8808         Define to __WORDSIZE, not conditional on [LONG_MAX ==
8809         0x7fffffffL].
8810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8812 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8814         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
8815         inline by __inline__.
8816         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
8817         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
8818         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
8819         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
8820         sigset_t from signal.h.
8821         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
8822         which is already required.
8824 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
8826         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8828 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
8830         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
8831         (struct tcp_repair_window): New type.
8833 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8835         * libio/tst-memstream3.c: Include string.h.
8837 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8839         [BZ #18241]
8840         [BZ #20181]
8841         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
8842         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
8843         write position is at the end the buffer.
8844         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
8845         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
8846         (_IO_str_seekoff): Set correct offset from negative displacement and
8847         set EINVAL for invalid ones.
8848         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
8849         buffer length.
8850         (_IO_wstr_switch_to_get_mode): New function.
8851         (_IO_wstr_seekoff): Set correct offset from negative displacement and
8852         set EINVAL for invalid ones.
8853         * libio/tst-memstream3.c: New file.
8854         * libio/tst-wmemstream3.c: Likewise.
8855         * manual/examples/memstrm.c: Remove warning when priting size_t.
8857 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8859         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
8860         macro to use __builtin_fma.
8861         * sysdeps/x86_64/fpu/dla.h: Remove file.
8863         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8864         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
8865         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
8867 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
8869         [BZ #20292]
8870         * elf/Makefile (routines): Add dl-addr-obj.
8871         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
8872         tst-_dl_addr_inside_object.
8873         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
8874         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8875         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
8876         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8877         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
8878         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
8879         * elf/dl-open.c: Likewise.
8880         * elf/dl-addr-obj.c: New file.
8881         * elf/tst-_dl_addr_inside_object.c: New file.
8883 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8885         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
8886         <bits/iscanonical.h>.
8887         * bits/iscanonical.h: New file.
8888         * math/s_iscanonicall.c: Likewise.
8889         * math/Versions (__iscanonicall): New libm symbol at version
8890         GLIBC_2.25.
8891         * math/libm-test.inc (iscanonical_test_data): New array.
8892         (iscanonical_test): New function.
8893         (main): Call iscanonical_test.
8894         * math/Makefile (headers): Add bits/iscanonical.h.
8895         (type-ldouble-routines): Add s_iscanonicall.
8896         * manual/arith.texi (Floating Point Classes): Document
8897         iscanonical.
8898         * manual/libm-err-tab.pl: Update comment on interfaces without
8899         ulps tabulated.
8900         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
8901         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
8902         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
8903         Likewise.
8904         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8905         test-iscanonical-ldbl-128ibm.
8906         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
8907         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
8908         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
8909         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
8910         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8911         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8912         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8914         Likewise.
8915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8916         Likewise.
8917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8918         Likewise.
8919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8920         Likewise.
8921         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8922         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8924 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8926         * string/bits/string3.h: Remove C++ style comments.
8928 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8930         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
8931         instead of ternary condition.
8932         (do_sincos_2): Likewise.
8933         (__sin): Likewise.
8934         (__cos): Likewise.
8935         (slow): Likewise.
8936         (sloww): Likewise.
8937         (sloww1): Likewise.
8938         (bsloww): Likewise.
8939         (bsloww1): Likewise.
8941         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
8942         instead of ternary condition.
8943         (do_sin_slow): Likewise.
8944         (do_sincos_1): Likewise.
8945         (do_sincos_2): Likewise.
8946         (__cos): Likewise.
8947         (sloww): Likewise.
8948         (sloww1): Likewise.
8949         (sloww2): Likewise.
8950         (bsloww): Likewise.
8951         (bsloww1): Likewise.
8952         (bsloww2): Likewise.
8954         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
8955         check from here...
8956         (slow2): ... and here...
8957         (__sin): ... to here.
8959 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
8961         * math/math.h
8962         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
8963         Cast argument to its own type.
8964         * math/test-iszero-excess-precision.c: New file.
8965         * math/Makefile (tests): Add test-iszero-excess-precision.
8966         (CFLAGS-test-iszero-excess-precision.c): New variable.
8968 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
8970         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
8971         field, add err field.
8972         (__spawni_child): Report error through err member instead of pipe.
8973         (__spawnix): Likewise.
8975 2016-09-28  Zack Weinberg  <zackw@panix.com>
8977         * scripts/check-installed-headers.sh: Generalize treatment of
8978         sys/elf.h to all target architectures.
8980         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
8981         deleted typedef ucontext_t.
8983 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8985         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
8986         (__INTERNAL_SYSCALL1): Likewise.
8987         (__INTERNAL_SYSCALL2): Likewise.
8988         (__INTERNAL_SYSCALL3): Likewise.
8989         (__INTERNAL_SYSCALL4): Likewise.
8990         (__INTERNAL_SYSCALL5): Likewise.
8991         (__INTERNAL_SYSCALL6): Likewise.
8992         (__INTERNAL_SYSCALL7): Likewise.
8993         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
8994         (__INTERNAL_SYSCALL_NARGS): Likewise.
8995         (__INTERNAL_SYSCALL_DISP): Likewise.
8996         (INTERNAL_SYSCALL_CALL): Likewise.
8997         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
8998         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
8999         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
9000         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
9001         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
9002         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
9003         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
9004         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
9005         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
9006         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
9007         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
9008         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
9009         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
9011 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
9013         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
9014         macro.
9015         * math/libm-test.inc (iszero_test_data): New array.
9016         (iszero_test): New function.
9017         (main): Call iszero_test.
9018         * manual/arith.texi (Floating Point Classes): Document iszero.
9019         * manual/libm-err-tab.pl: Update comment on interfaces without
9020         ulps tabulated.
9022 2016-09-23  Zack Weinberg  <zackw@panix.com>
9024         * scripts/check-installed-headers.sh: New script.
9025         * Rules: In each directory that defines header files to be installed,
9026         run check-installed-headers.sh on them as a special test.
9027         * Makefile: Likewise for the headers installed at top level.
9029         * include/aliases.h, include/alloca.h, include/argz.h
9030         * include/arpa/nameser.h, include/arpa/nameser_compat.h
9031         * include/elf.h, include/envz.h, include/err.h
9032         * include/execinfo.h, include/fpu_control.h, include/getopt.h
9033         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
9034         * include/link.h, include/malloc.h, include/mcheck.h
9035         * include/mntent.h, include/netinet/ether.h
9036         * include/nss.h, include/obstack.h, include/printf.h
9037         * include/pty.h, include/resolv.h, include/rpc/auth.h
9038         * include/rpc/auth_des.h, include/rpc/auth_unix.h
9039         * include/rpc/clnt.h, include/rpc/des_crypt.h
9040         * include/rpc/key_prot.h, include/rpc/netdb.h
9041         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
9042         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
9043         * include/rpc/rpc_msg.h, include/rpc/svc.h
9044         * include/rpc/svc_auth.h, include/rpc/xdr.h
9045         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
9046         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
9047         * include/rpcsvc/ypupd.h, include/shadow.h
9048         * include/stdio_ext.h, include/sys/epoll.h
9049         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
9050         * include/sys/prctl.h, include/sys/profil.h
9051         * include/sys/statfs.h, include/sys/sysctl.h
9052         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
9053         * sysdeps/arm/nacl/include/bits/setjmp.h
9054         * sysdeps/mips/include/sys/asm.h
9055         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
9056         * sysdeps/unix/sysv/linux/include/sys/timex.h
9057         * sysdeps/x86/fpu/include/bits/fenv.h:
9058         Add #ifndef _ISOMAC guard around internal declarations.
9059         Add multiple-inclusion guard if not already present.
9061 2016-09-23  Zack Weinberg  <zackw@panix.com>
9063         * sysdeps/generic/sys/ucontext.h
9064         * sysdeps/arm/sys/ucontext.h
9065         * sysdeps/i386/sys/ucontext.h
9066         * sysdeps/m68k/sys/ucontext.h
9067         * sysdeps/mips/sys/ucontext.h
9068         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
9069         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
9070         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
9071         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
9072         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
9073         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
9074         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
9075         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
9076         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
9077         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
9078         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
9079         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
9080         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
9081         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
9082         Include both bits/sigcontext.h and bits/sigstack.h.
9083         Fix grammar error in comment, if present.
9085         * bits/sigstack.h
9086         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
9087         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
9088         * sysdeps/unix/sysv/linux/bits/sigstack.h
9089         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
9090         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
9091         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
9092         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
9093         * bits/sigcontext.h
9094         * sysdeps/mach/hurd/i386/bits/sigcontext.h
9095         * sysdeps/unix/sysv/linux/bits/sigcontext.h
9096         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
9097         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
9098         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
9099         as well as signal.h, if this was not already allowed.  Request
9100         definition of size_t if necessary.  Minimize semantically-null
9101         differences across files.
9103 2016-09-23  Zack Weinberg  <zackw@panix.com>
9105         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
9106         Remove all logic conditional on __need macros.  Move all the
9107         conditionally defined types to their own headers...
9108         * time/bits/types/clock_t.h: Define clock_t here.
9109         * time/bits/types/clockid_t.h: Define clockid_t here.
9110         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
9111         * time/bits/types/struct_timespec.h: Define struct timespec here.
9112         * time/bits/types/struct_timeval.h: Define struct timeval here.
9113         * time/bits/types/struct_tm.h: Define struct tm here.
9114         * time/bits/types/time_t.h: Define time_t here.
9115         * time/bits/types/timer_t.h: Define timer_t here.
9116         * time/Makefile: Install the new headers.
9118         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
9119         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
9120         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
9121         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
9122         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
9123         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
9124         * sysdeps/unix/sysv/linux/bits/resource.h
9125         * sysdeps/unix/sysv/linux/bits/timex.h
9126         * sysdeps/unix/sysv/linux/mips/bits/resource.h
9127         * sysdeps/unix/sysv/linux/net/ppp_defs.h
9128         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
9129         * sysdeps/unix/sysv/linux/sys/acct.h
9130         * sysdeps/unix/sysv/linux/sys/timerfd.h
9131         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
9132         * time/sys/time.h, time/sys/timeb.h
9133         Use the new bits/types headers.
9135         * include/time.h: Remove __need logic.
9136         * include/bits/time.h
9137         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
9138         * include/bits/types/time_t.h, include/bits/types/timer_t.h
9139         * include/bits/types/struct_itimerspec.h
9140         * include/bits/types/struct_timespec.h
9141         * include/bits/types/struct_timeval.h
9142         * include/bits/types/struct_tm.h:
9143         New wrapper headers.
9145 2016-09-23  Zack Weinberg  <zackw@panix.com>
9147         * sysdeps/mach/hurd/net/if_ppp.h
9148         * sysdeps/unix/sysv/linux/net/if_ppp.h:
9149         Only define struct ifpppstatsreq and struct ifpppcstatsreq
9150         if __USE_MISC is defined, to ensure struct ifreq is declared.
9152         * inet/netinet/ether.h: Condition all function prototypes
9153         on __USE_MISC, to ensure struct ether_addr is declared.
9155         * socket/bits/types/struct_osockaddr.h: New header.
9156         * include/bits/types/struct_osockaddr.h: New wrapper.
9157         * socket/Makefile: Install the new header.
9158         * socket/sys/socket.h, inet/protocols/talkd.h:
9159         Refer to bits/types/struct_osockaddr.h for the definition of
9160         struct osockaddr.
9162 2016-09-23  Zack Weinberg  <zackw@panix.com>
9164         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
9165         * inet/protocols/routed.h, inet/protocols/talkd.h
9166         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
9167         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
9168         * sysdeps/generic/netinet/if_ether.h
9169         * sysdeps/generic/netinet/in_systm.h
9170         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
9171         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9172         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
9173         * sysdeps/mach/hurd/net/if_arp.h
9174         * sysdeps/mach/hurd/net/if_ppp.h
9175         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
9176         * sysdeps/unix/sysv/linux/bits/in.h
9177         * sysdeps/unix/sysv/linux/net/ethernet.h
9178         * sysdeps/unix/sysv/linux/net/if_arp.h
9179         * sysdeps/unix/sysv/linux/net/if_ppp.h
9180         * sysdeps/unix/sysv/linux/net/if_shaper.h
9181         * sysdeps/unix/sysv/linux/net/route.h
9182         * sysdeps/unix/sysv/linux/netinet/if_ether.h
9183         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9184         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9185         * sysdeps/unix/sysv/linux/netipx/ipx.h
9186         * sysdeps/unix/sysv/linux/sys/acct.h
9187         * include/arpa/nameser.h, include/resolv.h:
9188         Change all uses of u_char to unsigned char,
9189         u_short and ushort to unsigned short, u_int and uint to unsigned int,
9190         u_long and ulong to unsigned long, u_int8_t to uint8_t,
9191         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
9192         and u_int64_t and u_quad_t to uint64_t.
9194         * mach/sys/reboot.h: Remove two casts of integer literals
9195         to the types they already have.
9197         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
9198         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
9199         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
9200         from referring to 'unsigned char' to 'uint8_t' for consistency with
9201         the macro definition below.
9203         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
9204         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
9205         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
9206         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
9207         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
9208         * sysdeps/unix/sysv/linux/sys/acct.h
9209         * include/arpa/nameser.h, include/resolv.h:
9210         Fix indentation disrupted by mechanical edits.
9212         * inet/protocols/talkd.h, resolv/arpa/nameser.h
9213         * sysdeps/generic/netinet/in_systm.h
9214         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9215         * sysdeps/gnu/netinet/udp.h
9216         * sysdeps/unix/sysv/linux/net/ethernet.h
9217         * sysdeps/unix/sysv/linux/net/if_arp.h
9218         * sysdeps/unix/sysv/linux/net/if_ppp.h
9219         * sysdeps/unix/sysv/linux/net/if_shaper.h
9220         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9221         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9222         * sysdeps/unix/sysv/linux/netipx/ipx.h
9223         * sysdeps/unix/sysv/linux/sys/acct.h
9224         Include stdint.h for uintNN_t definitions.
9225         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
9227 2016-09-23  Zack Weinberg  <zackw@panix.com>
9229         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
9230         * sysdeps/unix/sysv/linux/netrose/rose.h:
9231         Include sys/socket.h and netax25/ax25.h.
9233         * inet/netinet/icmp6.h, inet/netinet/ip6.h
9234         * resolv/arpa/nameser_compat.h:
9235         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
9237         * sysdeps/unix/sysv/linux/sys/quota.h:
9238         Use __caddr_t instead of caddr_t.
9239         * sysdeps/unix/sysv/linux/sys/timerfd.h:
9240         Use __clockid_t instead of clockid_t.
9242         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
9244         * argp/argp.h: Check whether _LIBC is defined before expanding it.
9245         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
9246         expanding it.
9248         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
9249         Define __glibc_c99_flexarr_available to 1 when the compiler
9250         supports C99-compatible flexible array members, 0 otherwise.
9251         * sysdeps/unix/sysv/linux/bits/socket.h
9252         * sysdeps/mach/hurd/bits/socket.h
9253         * bits/socket.h: Use __glibc_c99_flexarr_available in
9254         definitions of struct cmsghdr and CMSG_DATA.
9256 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9258         * manual/nss.texi (NSS Modules Interface): Adjust function return
9259         type to enum nss_status.  Document errnop argument.  Clarify
9260         h_errnop semantics.  Fix cross-reference formatting.
9261         (NSS Module Function Internals): Mention that *errnop needs to be
9262         set on failure, but not to zero.
9264 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9266         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
9267         (get_random_name): New functions.
9268         (check_wrapper_flags_mode): Use linkat to give the new file a name
9269         determined by get_random_name.
9270         (do_test): Add calls to test open64 and openat64.
9272 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9274         * test-skeleton.c: Remove #include <stdarg.h>.
9276 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
9278         [BZ #19826]
9279         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
9280         initialization of static TLS entries.
9281         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
9282         * nptl/allocatestack.c (init_one_static_tls): Likewise.
9284 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9286         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
9287         _hurd_malloc_fork_prepare.
9288         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
9289         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
9290         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
9291         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
9292         (_hurd_fork_child_hook): Drop malloc_fork_child.
9293         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
9294         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
9295         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
9296         after locking locks (notably hurd_dtable_lock). Call
9297         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
9298         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
9299         __malloc_fork_unlock_child.
9300         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
9302 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
9304         * soft-fp/extendhftf2.c: New.
9305         * soft-fp/fixhfti.c: Likewise.
9306         * soft-fp/fixunshfti.c: Likewise.
9307         * soft-fp/floattihf.c: Likewise.
9308         * soft-fp/floatuntihf.c: Likewise.
9309         * soft-fp/half.h: Likewise.
9310         * soft-fp/trunctfhf2.c: Likewise.
9312 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
9314         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
9315         macro.
9316         * math/libm-test.inc (issubnormal_test_data): New array.
9317         (issubnormal_test): New function.
9318         * manual/arith.texi (Floating Point Classes): Document
9319         issubnormal.
9320         * manual/libm-err-tab.pl: Update comment on interfaces without
9321         ulps tabulated.
9323         * sysdeps/generic/stdint.h: Define
9324         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9325         <bits/libc-header-start.h> instead of including <features.h>.
9326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
9327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
9328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
9329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
9330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
9331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
9332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
9333         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
9334         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
9335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
9336         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
9337         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
9338         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
9339         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
9340         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
9341         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
9342         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
9343         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
9344         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
9345         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
9346         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
9347         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
9348         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
9349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
9350         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
9351         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
9352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
9353         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
9354         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
9355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
9356         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
9357         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
9358         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
9359         * manual/arith.texi (Integers): Document these macros for types
9360         specified by width properties.
9361         * manual/lang.texi (Width of Type): Document these macros for
9362         other standard typedefs.
9363         * stdlib/tst-width-stdint.c: New file.
9364         * stdlib/Makefile (tests): Add tst-width-stdint.
9366 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9368         [BZ #20016]
9369         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
9370         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
9371         Move ...
9372         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
9373         ... here, as compatibility symbols in a new file.
9374         * resolv/Makefile (libresolv-routines): Add compat-hooks.
9375         * resolv/res_init.c (__res_vinit): Adjust member names.
9376         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
9377         * resolv/resolv.h (res_sendhookact, res_send_qhook)
9378         (res_send_rhook): Remove.
9379         (struct __res_state): Rename qhook, rhook members.
9381 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9383         malloc: Use __libc_lock wrappers.
9384         * malloc/arena.c (list_lock, free_list_lock): Define using
9385         __libc_lock_define_initialized.
9386         (arena_lock): Adjust formatting.
9387         * malloc/malloc.c (struct malloc_state): Define mutex using
9388         __libc_lock_define.
9389         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
9390         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
9391         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
9392         (mutex_unlock, mutex_trylock): Remove.
9393         (__pthread_initialize): Remove unused macro.
9394         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
9395         (mutex_unlock, mutex_trylock): Remove.
9397 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9399         [BZ #20592]
9400         Remove RR type classification macros.
9401         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
9402         (ns_t_udp_p, ns_t_xfr_p): Remove.
9404 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9406         Remove misleading version information.
9407         * resolv/arpa/nameser.h (__NAMESER): Remove.
9408         * resolv/arpa/nameser_compat.h (__BIND): Remove.
9410 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9412         Remove the always-defined BIND_4_COMPAT macro.
9413         * resolv/arpa/nameser.h: Unconditionally include
9414         <arpa/nameser_compat.h>.
9415         (BIND_4_COMPAT): Remove.
9416         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
9418 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9420         [BZ #20591]
9421         Remove obsolete DNSSEC support.
9422         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
9423         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
9424         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
9425         (ns_verify_tcp, ns_verify_tcp_init): Remove.
9426         (ns_cert_types): Add comment.
9427         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
9428         separately.
9429         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
9430         (dst_s_dns_key_id): Remove.
9431         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
9432         variables.
9434 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9436         [BZ #20524]
9437         * manual/string.texi (String/Array Comparison): Clarify the
9438         strverscmp behavior.
9440 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9442         * test-skeleton.c (xasprintf): Add function.
9443         * io/tst-open-tmpfile.c: New test.
9444         * io/Makefile (tests): Add it.
9446 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9448         Avoid running $(CXX) during build to obtain header file paths.
9449         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
9450         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
9451         * Makerules (cstdlib, cmath): Remove variables.  Use
9452         $(c++-cstdlib-header), $(c++-cmath-header) instead.
9453         * configure: Regenerate.
9455 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9457         * Makeconfig (all-object-suffixes): Include .op only if
9458         $(build-profile).
9460 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9462         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
9463         conditionals.  Do not define PATH_MAX.
9465 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9467         * posix/Makefile (tests): Add tst-spawn3.
9468         * posix/tst-spawn3.c: New file.
9469         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
9470         if it is already opened for open action.
9472         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
9473         all signals when executing the clone vfork child.
9474         (SIGALL_SET): Remove macro.
9476         * nptl/Makefile (tests): Add tst-exec5.
9477         * nptl/tst-exec5.c: New file.
9478         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
9479         asynchronous cancellation.
9481 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9483         * hurd/exc2signal.c: #include <hurd/signal.h>
9484         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
9485         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
9486         accordingly.
9487         * mach/mach_error.c (mach_error): Fix old-style function definition.
9488         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
9490 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9492         * math/Makefile (libm-calls): Remove s_nanF.
9493         (gen-libm-calls): Add s_nanF.
9495         * math/s_nan.c: Refactor into ...
9496         * math/s_nan_template.c: New file.
9498         * math/s_nanf.c: Removed.
9499         * math/s_nanl.c: Removed.
9500         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
9501         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
9503         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9504         (LDOUBLE_nanl_libm_version): New macro.
9506         * sysdeps/generic/math-type-macros-double.h:
9507         (M_STRTO_NAN): New macro.
9508         * sysdeps/generic/math-type-macros-float.h: Likewise.
9509         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9511         * sysdeps/generic/math-type-macros.h: Document
9512         M_STRTO_NAN.
9514 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9516         * math/s_nanf.c: Remove __nanf undef.
9517         * math/s_nan.c: Remove __nan undef.
9518         * math/s_nanl.c: Remove __nanl undef.
9520         * sysdeps/generic/math_private.h (__nan): Remove macro
9521         override.
9522         (__nanf): Likewise.
9523         (__nanl): Likewise.
9525 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9527         * math/Makefile (gen-all-calls): New variable.
9528         (generated): Replace gen-libm-calls with gen-all-calls.
9529         (gen-libm-templates.stmp): Likewise.  Also, ensure
9530         the output directory exists or is created and add
9531         dependency on the Makefile.
9532         (calls): Move s_ldexpF into gen-calls.
9533         (gen-calls): New variable.
9535         * math/s_ldexpf.c: Removed.
9536         * math/s_ldexpl.c: Removed.
9537         * math/s_ldexp.c: Refactored into ...
9538         * math/s_ldexp_template.c: New file.
9540         * sysdeps/generic/math-type-macros-double.h: Remove
9541         redundant fall-through definition of declare_mgen_alias.
9542         (declare_mgen_alias_2): New macro.
9544         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
9545         New macro for function aliased to two exported symbols.
9547         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
9548         new template file.
9549         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9551 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9553         * Makeconfig (all-object-suffixes): Remove .og.
9554         * Makerules (elide-routines.og): Remove.
9555         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
9556         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
9557         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
9559 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9561         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
9562         .os objects.
9564 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9566         [BZ #20615]
9567         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
9568         fpu directory by non-fpu.
9569         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
9570         on non-fpu directory from a fpu directory.
9572 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
9574         * include/limits.h: Define
9575         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9576         <bits/libc-header-start.h> instead of including <features.h>.
9577         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
9578         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
9579         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
9580         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
9581         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
9582         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
9583         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
9584         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
9585         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9586         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
9587         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
9588         * manual/lang.texi (Width of Type): Document these macros.
9589         * stdlib/tst-width.c: New file.
9590         * stdlib/Makefile (tests): Add tst-width.
9592 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9594         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
9595         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
9597 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9599         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
9600         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9601         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9603 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9605         [BZ #18243]
9606         * rt/Makefile (test): Add tst-shm-cancel.
9607         * rt/tst-shm-cancel.c: New file.
9608         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
9610         [BZ #18243]
9611         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
9612         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
9613         definition.
9614         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
9615         uncontended case.
9616         * nptl/sem_wait.c (__new_sem_wait): Likewise.
9617         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
9618         (tf): Fix check for uncontended case.
9619         (do_test): Likewise.
9620         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
9621         (tf): Fix check for uncontended case.
9622         (do_test): Likewise.
9623         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
9624         (tf): Fix check for uncontended case.
9625         (do_test): Likewise.
9626         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
9627         (tf): Fix check for uncontended case.
9628         (do_test): Likewise.
9630         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
9631         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
9633         [BZ #15765]
9634         * nptl/Makefile (tests): Add tst-sem16.
9635         * nptl/tst-sem16.c: New file.
9636         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
9638         * nptl/sem_open.c (sem_open): Init pad value to 0.
9639         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9640         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9642 2016-09-15  Florian Weimer  <fweimer@redhat.com>
9644         [BZ #20611]
9645         * inet/Makefile (routines): Add inet6_scopeid_pton.
9646         (tests): Add tst-inet6_scopeid_pton.
9647         * inet/inet6_scopeid_pton.c: New file.
9648         * inet/net-internal.h: Likewise.
9649         * inet/tst-inet6_scopeid_pton.c: New test.
9650         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
9651         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
9652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9654 2016-09-14  Florian Weimer  <fweimer@redhat.com>
9656         Remove support for compiling wrappers with PTW.
9657         * sysdeps/nptl/Makeconfig: Drop ptw- support.
9658         * nptl/Makefile (pthread-compat-wrappers): Define.
9659         (libpthread-routines): Use pthread-compat-wrappers.
9660         * sysdeps/unix/sysv/linux/alpha/Makefile
9661         (libpthread-routines, libpthread-shared-only-routines): Remove
9662         ptw- prefix.
9663         * sysdeps/s390/nptl/Makefile
9664         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9665         * sysdeps/ia64/nptl/Makefile
9666         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9667         * sysdeps/nacl/Makefile (libpthread-routines): Use
9668         pthread-compat-wrappers to filter the routines list instead of the
9669         ptw- prefix.
9671 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9673         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
9674         with L() and remove explicit suffix, convert real literals
9675         which can be equivalentally substituted with integers, and
9676         transform -L(x) to L(-x).
9678         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9679         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9680         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9681         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9682         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9683         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9684         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9685         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9686         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9687         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9688         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9689         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9690         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9691         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9692         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9693         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9694         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9695         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9696         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9697         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9698         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9699         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9700         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9701         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9702         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9703         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9704         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9705         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9706         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9707         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9708         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9709         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9710         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9711         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9712         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9713         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9714         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9715         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9716         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9717         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9718         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9719         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9720         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9721         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9722         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9723         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9724         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9725         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9726         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9727         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9729 2016-09-13  Florian Weimer  <fweimer@redhat.com>
9731         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
9733 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9735         * malloc/Makefile (tests): Remove individual static test names
9736         and just add all of tests-static.
9738         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
9740 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
9742         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
9743         file.
9745         * sysdeps/sparc/fpu/fegetmode.c: New file.
9746         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
9748         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
9749         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
9751         * sysdeps/s390/fpu/fegetmode.c: New file.
9752         * sysdeps/s390/fpu/fesetmode.c: Likewise.
9754         * sysdeps/powerpc/fpu/fegetmode.c: New file.
9755         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
9756         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
9757         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
9758         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
9759         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
9761         * sysdeps/mips/fpu/fegetmode.c: New file.
9762         * sysdeps/mips/fpu/fesetmode.c: Likewise.
9764         * sysdeps/m68k/fpu/fegetmode.c: New file.
9765         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
9767         * sysdeps/ia64/fpu/fegetmode.c: New file.
9768         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
9770         * sysdeps/hppa/fpu/fegetmode.c: New file.
9771         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
9773         * sysdeps/arm/fegetmode.c: New file.
9774         * sysdeps/arm/fesetmode.c: Likewise.
9776         * sysdeps/alpha/fpu/fegetmode.c: New file.
9777         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
9779         * sysdeps/aarch64/fpu/fegetmode.c: New file.
9780         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
9782         * math/fegetmode.c: New file.
9783         * math/fesetmode.c: Likewise.
9784         * sysdeps/i386/fpu/fegetmode.c: Likewise.
9785         * sysdeps/i386/fpu/fesetmode.c: Likewise.
9786         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
9787         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
9788         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
9789         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
9790         declaration.
9791         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
9792         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
9793         typedef.
9794         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9795         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9796         (femode_t): New typedef.
9797         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9798         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9799         (femode_t): New typedef.
9800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9801         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9802         (femode_t): New typedef.
9803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9804         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9805         (femode_t): New typedef.
9806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9807         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9808         (femode_t): New typedef.
9809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9810         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9811         (femode_t): New typedef.
9812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9813         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9814         (femode_t): New typedef.
9815         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9816         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9817         (femode_t): New typedef.
9818         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9819         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9820         (femode_t): New typedef.
9821         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9822         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9823         (femode_t): New typedef.
9824         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
9825         declaration.
9826         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9827         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9828         (femode_t): New typedef.
9829         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9830         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9831         (femode_t): New typedef.
9832         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9833         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9834         (femode_t): New typedef.
9835         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9836         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9837         (femode_t): New typedef.
9838         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9839         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9840         (femode_t): New typedef.
9841         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9842         * manual/arith.texi (FE_DFL_MODE): Document macro.
9843         (fegetmode): Document function.
9844         (fesetmode): Likewise.
9845         * math/Versions (fegetmode): New libm symbol at version
9846         GLIBC_2.25.
9847         (fesetmode): Likewise.
9848         * math/Makefile (libm-support): Add fegetmode and fesetmode.
9849         (tests): Add test-femode and test-femode-traps.
9850         * math/test-femode-traps.c: New file.
9851         * math/test-femode.c: Likewise.
9852         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
9853         alias for __fe_dfl_env.
9854         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
9855         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
9856         (__fe_dfl_mode): Likewise.
9857         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
9858         version GLIBC_2.25.
9859         * sysdeps/nacl/libm.abilist: Update.
9860         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9861         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9862         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9863         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9864         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9865         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9866         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9867         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9868         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9869         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9870         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9871         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9873         Likewise.
9874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9875         Likewise.
9876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9877         Likewise.
9878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9879         Likewise.
9880         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9881         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9882         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9883         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9884         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9886         Likewise.
9887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9888         Likewise.
9889         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9890         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9891         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9893 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9895         [BZ #20495]
9896         [BZ #20508]
9897         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
9898         processors, set Use_dl_runtime_resolve_slow and set
9899         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
9900         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
9901         New.
9902         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
9903         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
9904         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
9905         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
9906         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
9907         if Use_dl_runtime_resolve_opt is set.  Use
9908         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
9909         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
9910         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
9911         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
9912         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
9913         New.
9914         (_dl_runtime_resolve_opt): Likewise.
9915         (_dl_runtime_profile): Define only if _dl_runtime_profile is
9916         defined.
9918 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9920         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
9921         __libc_memalign with "+ RELA R_390_GLOB_DAT".
9923 2016-09-06  Florian Weimer  <fweimer@redhat.com>
9925         Convert malloc to __libc_lock.  Automated part, using this Perl
9926         s/// command:
9927           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
9928             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
9929         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
9930         conversion.
9932 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
9934         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
9935         (linknamespace-symlists-tests): Likewise.
9936         (linknamespace-header-tests): Likewise.
9938 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
9940         [BZ #19810]
9941         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
9942         * elf/tst-noload.c: New test case.
9943         * elf/Makefile (tests): Add tst-noload.
9945 2016-09-02  Roland McGrath  <roland@hack.frob.com>
9947         * sysdeps/nacl/dup.c: Add libc_hidden_def.
9949         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
9950         not any more.
9952         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
9954 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9956         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
9957         (do_cos_slow): Likewise.
9958         (do_sin): Likewise.
9959         (do_sin_slow): Likewise.
9960         (slow): Likewise.
9961         (slow1): Likewise.
9962         (slow2): Likewise.
9963         (sloww): Likewise.
9964         (sloww1): Likewise.
9965         (sloww2): Likewise.
9966         (bsloww): Likewise.
9967         (bsloww1): Likewise.
9968         (bsloww2): Likewise.
9969         (cslow2): Likewise.
9971         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
9973         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
9974         arguments.  Consolidate input partitioning from callers here.
9975         (do_cos_slow): Likewise.
9976         (do_sin): Likewise.
9977         (do_sin_slow): Likewise.
9978         (do_sincos_1): Remove the no longer necessary input partitioning.
9979         (do_sincos_2): Likewise.
9980         (__sin): Likewise.
9981         (__cos): Likewise.
9982         (slow1): Likewise.
9983         (slow2): Likewise.
9984         (sloww1): Likewise.
9985         (sloww2): Likewise.
9986         (bsloww1): Likewise.
9987         (bsloww2): Likewise.
9988         (cslow2): Likewise.
9990 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9992         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
9993         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
9994         outside of allocated array.
9996 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9998         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
9999         instead of MB_CUR_MAX to avoid variable-length array.
10001 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10003         * math/Makefile (libm-calls): Remove k_rem_pio2F.
10004         (type-double-routines): Add k_rem_pio2.
10005         (type-float-routines): Add k_rem_pio2f.
10007         * sysdeps/generic/math_private.h:
10008         (__kernel_rem_pio2l): Removed.
10010         * math/k_rem_pio2l.c: Removed.
10011         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
10012         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
10013         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
10014         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
10016 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10018         * math/Makefile (gen-libm-calls): Add s_fmin
10019         (libm-calls): Remove above.
10021         * math/s_fmin.c: Refactor into ...
10022         * math/s_fmin_template.c: New file.
10024         * math/s_fminf.c: Removed.
10025         * math/s_fminl.c: Removed.
10026         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10027         (LDOUBLE_fmin_libm_version): New macro.
10029         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
10030         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
10032 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10034         * math/Makefile: (gen-libm-calls): Add s_fmax.
10035         (libm-calls): Remove above.
10037         * math/s_fmax.c: Refactor into ...
10038         * math/s_fmax_template.c: New file.
10039         * math/s_fmaxf.c: Removed.
10040         * math/s_fmaxl.c: Removed.
10042         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10043         (LDOUBLE_fmaxl_libm_version): New macro.
10045         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
10046         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
10048         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
10049         s_fmin.c to pick the aarch64 version of the file.
10050         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
10051         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
10053 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10055         * math/Makefile: (gen-libm-calls): Add s_nextdown.
10056         (libm-calls): Remove above.
10058         * math/s_nextdown.c: Refactor into ...
10059         * math/s_nextdown_template.c: New file.
10060         * math/s_nextdownf.c: Removed.
10061         * math/s_nextdownl.c: Removed.
10063         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
10065 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10067         * math/Makefile (gen-libm-calls): Add s_fdim.
10068         (libm-calls): Move to above.
10070         * math/s_fdim.c: Renamed and refactored into to ...
10071         * math/s_fdim_template.c: New file.
10072         * math/s_fdiml.c: Removed.
10073         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
10074         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
10076         * sysdeps/generic/math-type-macros-double.h:
10077         (declare_mgen_alias): Don't declare if already declared.
10078         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
10079         Likewise.
10081         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10082         (declare_mgen_alias): Don't declare if already declared.
10083         (M_LIBM_NEED_COMPAT): Likewise.
10084         (declare_mgen_libm_compat): Likewise.
10085         (LDOUBLE_fdiml_libm_version): New macro.
10087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10088         Include math/s_fdim.c now that ldbl-opt version is not needed.
10089         (declare_mgen_alias): New macro to disable aliasing.
10091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
10092         (declare_mgen_alias): Likewise.
10093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
10094         (declare_mgen_alias): Likewise.
10095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
10096         (declare_mgen_alias): Likewise.
10097         (M_LIBM_NEED_COMPAT): Likewise.
10099 2016-09-01  Florian Weimer  <fweimer@redhat.com>
10101         [BZ #20525]
10102         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
10103         Include <linux/quota.h>.
10104         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
10105         and btodb.
10106         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
10107         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
10108         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
10109         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
10110         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
10111         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
10112         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
10113         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
10114         types.
10115         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
10116         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
10118 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10120         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
10121         (gammal_positive): Fix spacing.
10122         (__ieee754_gammal_r): Likewise.
10124 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10126         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
10127         (_Float128): Define as long double, always.
10128         (L): Apply long double type suffix, always.
10130         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
10131         _Float128, excepting comments.
10133         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10134         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10135         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10136         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10137         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10138         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10139         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10140         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10141         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10142         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
10143         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10144         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10145         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10146         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10147         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10148         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10149         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10150         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10151         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10152         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10153         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10154         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10155         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10156         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10157         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10158         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10159         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10160         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10161         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10162         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10163         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10164         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10165         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10166         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10167         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10168         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10169         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10170         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10171         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10172         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10173         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10174         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10175         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10176         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10177         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10178         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10179         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10180         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10181         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10182         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10183         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10184         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10185         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10186         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10187         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10188         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10189         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10190         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10191         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10192         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10193         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10194         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10195         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10196         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10197         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10198         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10199         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10200         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10202         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
10203         _Float128, and include math_private.h.
10204         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10206         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
10207         long double semantics.
10208         (_Float128): Likewise.
10209         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
10210         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10211         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10212         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10214 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10216         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
10217         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
10218         * sysdeps/s390/configure: Regenerated.
10219         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
10220         instruction for raising over-/underflow if z196 zarch is supported
10221         by default.
10222         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
10224 2016-08-30  Svante Signell  <svante.signell@gmail.com>
10226         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
10227         it point to a dumb buffer for RPC to fill it.
10229 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10231         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
10232         instead of if/else.
10233         (do_sin_slow): Likewise.
10234         (do_sincos_1): Use fabs instead of if/else.
10235         (do_sincos_2): Likewise.
10236         (__sin): Likewise.
10237         (__cos): Likewise.
10238         (slow2): Likewise.
10239         (sloww): Likewise.
10240         (sloww1): Likewise.  Drop argument M.
10241         (sloww2): Use fabs instead of if/else.
10242         (bsloww): Likewise.
10243         (bsloww1): Likewise.
10244         (bsloww2): Likewise.
10246         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
10247         fall through comment.
10248         (do_sincos_1): Likewise.
10250         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
10251         Consolidate switch cases 0 and 2.
10253 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10255         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
10256         (libm-calls): Remove the above.
10258         * math/s_cexp_template.c: Update using type-generic macros.
10259         * math/s_clog10_template.c: Likewise.
10260         * math/s_cpow_template.c: Likewise.
10261         * math/s_clog_template.c: Likewise.
10262         * math/s_cproj_template.c: Likewise.
10263         * math/s_csqrt_template.c: Likewise.
10265         * math/s_cexp.c: Removed.
10266         * math/s_cexpf.c: Removed.
10267         * math/s_cexpl.c: Removed.
10268         * math/s_clog10.c: Removed.
10269         * math/s_clog10f.c: Removed.
10270         * math/s_clog10l.c: Removed.
10271         * math/s_cpow.c: Removed.
10272         * math/s_cpowf.c: Removed.
10273         * math/s_cpowl.c: Removed.
10274         * math/s_clog.c: Removed.
10275         * math/s_clogf.c: Removed.
10276         * math/s_clogl.c: Removed.
10277         * math/s_cproj.c: Removed.
10278         * math/s_cprojf.c: Removed.
10279         * math/s_cprojl.c: Removed.
10280         * math/s_csqrt.c: Removed.
10281         * math/s_csqrtf.c: Removed.
10282         * math/s_csqrtl.c: Removed.
10284         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
10285         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
10286         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
10287         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
10288         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
10289         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
10291         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
10292         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
10293         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
10294         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
10295         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
10296         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
10297         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
10298         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
10299         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
10300         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
10301         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
10303         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
10304         version.
10306         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
10307         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
10308         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
10309         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
10311 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10313         * s_cexp_template.c: Copy of s_cexp.c.
10314         * s_clog_template.c: Copy of s_clog.c.
10315         * s_clog10_template.c: Copy of s_clog10.c.
10316         * s_cpow_template.c: Copy of s_cpow.c.
10317         * s_cproj_template.c: Copy of s_cproj.c.
10318         * s_csqrt_template.c: Copy of s_csqrt.c.
10320 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10322         [BZ #20517]
10323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10324         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
10325         exported.
10327 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
10329         * math/fetestexceptflag.c: New file.
10330         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
10331         Stefan Liebler.
10332         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10333         (fetestexceptflag): New function declaration.
10334         * manual/arith.texi (fetestexceptflag): Document function.
10335         * math/Versions (fetestexceptflag): New libm symbol at version
10336         GLIBC_2.25.
10337         * math/Makefile (libm-support): Add fetestexceptflag.
10338         (tests): Add test-fetestexceptflag.
10339         * math/test-fetestexceptflag.c: New file.
10340         * sysdeps/nacl/libm.abilist: Update.
10341         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10342         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10343         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10344         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10345         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10346         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10347         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10348         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10349         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10350         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10351         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10352         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10354         Likewise.
10355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10356         Likewise.
10357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10358         Likewise.
10359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10360         Likewise.
10361         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10362         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10363         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10364         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10365         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10367         Likewise.
10368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10369         Likewise.
10370         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10371         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10372         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10374 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10376         [BZ #20432]
10377         Avoid strong references to malloc-internal symbols when linking
10378         statically, to support statically interposed mallocs.
10379         * include/libc-symbols.h (call_function_static_weak): New macro.
10380         * malloc/Makefile (tests): Add tst-interpose-nothread,
10381         tst-interpose-thread, tst-interpose-static-nothread,
10382         tst-interpose-static-thread.
10383         (tests-static): Add tst-interpose-static-nothread,
10384         tst-interpose-static-thread.
10385         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
10386         tst-interpose-aux-thread.o.
10387         (test-extras): Add tst-interpose-aux-nothread,
10388         tst-interpose-aux-thread.
10389         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
10390         tst-interpose-aux-nothread.o.
10391         (tst-interpose-thread, tst-interpose-static-thread): Link with
10392         tst-interpose-aux-thread.o and libthread.
10393         * malloc/tst-interpose-aux-nothread.c: New file.
10394         * malloc/tst-interpose-aux-thread.c: Likewise.
10395         * malloc/tst-interpose-aux.c: Likewise.
10396         * malloc/tst-interpose-aux.h: Likewise.
10397         * malloc/tst-interpose-nothread.c: Likewise.
10398         * malloc/tst-interpose-skeleton.c: Likewise.
10399         * malloc/tst-interpose-static-nothread.c: Likewise.
10400         * malloc/tst-interpose-static-thread.c: Likewise.
10401         * malloc/tst-interpose-thread.c: Likewise.
10402         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
10403         * sysdeps/mach/hurd/fork.c (__fork): Only call
10404         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
10405         __malloc_fork_unlock_child if defined.
10406         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10408 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10410         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
10411         timespec C99 designated initialization.
10413 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10415         [BZ #19946]
10416         Avoid expected SIGALRM signals.
10417         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
10418         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
10419         (xpthread_create, xpthread_detach, xpthread_join)
10420         (delayed_exit_thread, delayed_exit): New functions.
10421         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
10422         (tf): Use xpthread_cond_wait.
10423         (do_test): Likewise.  Replace alarm with delayed_exit.
10424         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10425         (do_test): Call delayed_exit.  Report failure.
10426         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10427         (do_test): Call delayed_exit.
10428         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10429         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
10430         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10431         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
10432         error.
10433         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10434         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
10435         error.
10436         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
10437         (do_test): Call delayed_exit.
10438         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
10439         (do_test): Call delayed_exit.
10440         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
10441         (do_test): Call delayed_exit instead of alarm.  Use
10442         xpthread_mutex_lock.
10443         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
10444         (do_test): Call delayed_exit instead of alarm.  Use
10445         xpthread_mutex_lock.
10446         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
10447         (do_test): Call delayed_exit instead of alarm.
10448         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
10449         (do_test): Call delayed_exit instead of alarm.  Use
10450         xpthread_spin_lock.
10451         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
10452         (do_test): Call delayed_exit instead of alarm.  Use
10453         xpthread_join.
10455 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10457         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
10458         adjust CFA when allocating register save area on re-aligned
10459         stack.
10461 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10463         * string/tst-cmp.c: New test.
10464         * string/Makefile (tests): Add it.
10466 2016-08-25  Mark Wielaard  <mark@klomp.org>
10468         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
10469         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
10470         (check_tree_recurse): Use newly defined accessors.
10471         (check_tree): Likewise.
10472         (maybe_split_for_insert): Likewise.
10473         (__tfind): Likewise.
10474         (__tdelete): Likewise.
10475         (trecurse): Likewise.
10476         (tdestroy_recurse): Likewise.
10477         (__tsearch): Likewise. And add asserts for malloc alignment.
10478         (__twalk): Cast root to node in case CHECK_TREE is defined.
10480 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10482         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
10484 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10486         * math/Makefile (libm-gen-calls): Add
10487         catan, catanh, ctan, ctanh.
10488         (libm-calls): Remove the above.
10490         * math/s_catan_template.c: Update using type-generic macros.
10491         * math/s_catanh_template.c: Likewise.
10492         * math/s_ctan_template.c: Likewise.
10493         * math/s_ctanh_template.c: Likewise.
10495         * math/s_catanf.c: Removed.
10496         * math/s_catan.c: Removed.
10497         * math/s_catanl.c: Removed.
10498         * math/s_catanhf.c: Removed.
10499         * math/s_catanh.c: Removed.
10500         * math/s_catanhl.c: Removed.
10501         * math/s_ctanf.c: Removed.
10502         * math/s_ctan.c: Removed.
10503         * math/s_ctanl.c: Removed.
10504         * math/s_ctanhf.c: Removed.
10505         * math/s_ctanh.c: Removed.
10506         * math/s_ctanhl.c: Removed.
10508         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
10509         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
10510         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
10511         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
10512         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
10513         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
10515         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
10516         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
10517         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
10518         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
10520 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10522         * s_catan_template.c: Copy of s_catan.c.
10523         * s_catanh_template.c: Copy of s_catanh.c.
10524         * s_ctan_template.c: Copy of s_ctan.c.
10525         * s_ctanh_template.c: Copy of s_ctanh.c.
10527 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10529         * math/Makefile (gen-libm-calls): Move
10530         casin, casinh, csin, csinh here.
10531         (libm-calls): Remove the above.
10533         * math/s_casin_template.c: Update using type-generic macros.
10534         * math/s_casinh_template.c: Likewise.
10535         * math/s_csin_template.c: Likewise.
10536         * math/s_csinh_template.c: Likewise.
10537         * math/k_casinh_template.c: Likewise.
10539         * math/s_casinf.c: Removed.
10540         * math/s_casin.c: Removed.
10541         * math/s_casinl.c: Removed.
10542         * math/s_casinh.c: Removed.
10543         * math/s_casinhf.c: Removed.
10544         * math/s_casinhl.c: Removed.
10545         * math/s_csin.c: Removed.
10546         * math/s_csinf.c: Removed.
10547         * math/s_csinl.c: Removed.
10548         * math/s_csinh.c: Removed.
10549         * math/s_csinhf.c: Removed.
10550         * math/s_csinhl.c: Removed.
10551         * math/k_casinh.c: Removed.
10552         * math/k_casinhf.c: Removed.
10553         * math/k_casinhl.c: Removed.
10555         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
10556         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
10557         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
10558         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
10560         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
10561         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
10562         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
10563         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
10564         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
10565         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
10566         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
10567         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
10569         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
10570         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
10571         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
10572         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
10574         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
10575         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
10576         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
10577         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
10579 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10581         * s_casin_template.c: Copy of s_casin.c.
10582         * s_casinh_template.c: Copy of s_casinh.c.
10583         * s_csin_template.c: Copy of s_csin.c.
10584         * s_csinh_template.c: Copy of s_csinh.c.
10585         * k_casinh_template.c: Copy of k_casinh.c.
10587 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10589         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
10591 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10593         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
10594         (mul_split) Remove, rename as mul_splitl, remove
10595         redundant float.h include, and include via mul_splitl.h
10597         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10598         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10599         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10600         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10601         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10603         * math/mul_splitl.h: New file.
10605         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
10606         Move into mul_split.h, and remove redundant float.h include.
10608         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10609         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10610         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10611         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
10613         * math/mul_split.h: New file.
10615 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10617         * math/Makefile (libm-gen-calls): Move
10618         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
10619         (libm-calls): Remove above.
10621         * math/s_cacos_template.c: Update using type-generic macros.
10622         * math/s_cacosh_template.c: Likewise.
10623         * math/s_ccos_template.c: Likewise.
10624         * math/s_ccosh_template.c: Likewise.
10626         * math/s_cacosf.c: Removed.
10627         * math/s_cacos.c: Removed.
10628         * math/s_cacosl.c: Removed.
10629         * math/s_cacoshf.c: Removed.
10630         * math/s_cacosh.c: Removed.
10631         * math/s_cacoshl.c: Removed.
10632         * math/s_ccosf.c: Removed.
10633         * math/s_ccos.c: Removed.
10634         * math/s_ccosl.c: Removed.
10635         * math/s_ccoshf.c: Removed.
10636         * math/s_ccosh.c: Removed.
10637         * math/s_ccoshl.c: Removed.
10639         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
10640         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
10641         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
10642         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
10643         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
10644         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
10646         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
10647         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
10648         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
10649         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
10651         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
10652         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
10653         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
10654         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
10656 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10658         * s_cacos_template.c: Copy of s_cacos.c.
10659         * s_cacosh_template.c: Copy of s_cacosh.c.
10660         * s_ccos_template.c: Copy of s_ccos.c.
10661         * s_ccosh_template.c: Copy of s_ccosh.c.
10663 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10665         * stdlib/tst-strtod-round-skeleton.c:
10666         Refactored from tst-strtod-round.c.
10668         (L_): New macro to apply literal modifier.
10669         (FNPFX): New macro to select str or wcs prefix.
10670         (CHAR): New macro to choose wchar_t or char.
10671         (STRM): New macro to choose printf for tested character type.
10673         (STRTO): New macro to choose appropriate string -> real function.
10674         (FNPFXS): Stringitized version of FNPFX.
10675         (STR): Support for above macro.
10676         (STRX): Likewise.
10678         (TEST): Update with above macros.
10679         (test): Likewise.
10680         (GEN_ONE_TEST): Likewise.
10681         (test_in_one_mode): Likewise.
10683         * stdlib/tst-strtod-round.c: New file.
10684         * wcsmbs/tst-wcstod-round.c: New file.
10686         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
10687         (tst-wcstod-round): Add libm depencency for fesetround.
10689 2016-08-19  Zack Weinberg  <zackw@panix.com>
10691         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
10693 2016-08-18  Torvald Riegel  <triegel@redhat.com>
10695         [BZ #20477]
10696         * resolv/res_hconf.c (do_init): Use atomic access.
10697         * resolv/res_hconf.h: Add comments.
10698         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
10699         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
10700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10702 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10704         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10705         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
10706         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10707         Likewise.
10709 2016-08-18  Florian Weimer  <fweimer@redhat.com>
10711         [BZ #16907]
10712         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
10713         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
10714         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
10715         (__attribute__): Remove definition.
10717 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10719         * sysdeps/ieee754/ldbl-128/e_asinl.c:
10720         Remove unused sqrtl declaration.
10722 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10724         * math/Makefile: (gen-libm-templates.stmp): New rule.
10725         (libm-calls): Move carg conj cimag and cabs into ...
10726         (gen-libm-calls): New variable.
10727         (generated): Inform Make objects from gen-libm-calls
10728         may be generated.
10730         * sysdeps/generic/math-type-macros.h: New file.
10731         * sysdeps/generic/math-type-macros-float.h: Likewise.
10732         * sysdeps/generic/math-type-macros-double.h: Likewise.
10733         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10734         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
10735         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
10737         * math/cabs.c: Refactor into
10738         * math/cabs_template.c: new file.
10739         * math/cabsf.c: Removed.
10740         * math/cabsl.c: Removed.
10741         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
10742         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
10744         * math/carg.c: Refactor into
10745         * math/carg_template.c: new file.
10746         * math/cargf.c: Removed.
10747         * math/cargl.c: Removed.
10748         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
10749         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
10751         * math/conj.c: Refactor into
10752         * math/conj_template.c: new file.
10753         * math/conjf.c: Removed.
10754         * math/conjl.c: Removed.
10755         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
10756         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
10758         * math/cimag.c: Refactor into
10759         * math/cimag_template.c: new file.
10760         * math/cimagf.c: Removed.
10761         * math/cimagl.c: Removed.
10762         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10763         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10765         * math/cimag.c: Refactor into
10766         * math/cimag_template.c: new file.
10767         * math/cimagf.c: Removed.
10768         * math/cimagl.c: Removed.
10769         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10770         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10772 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10774         Reduce time to expected nptl/tst-once5 failure.
10775         * nptl/tst-once5.cc (TIMEOUT): Define.
10777 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10779         [BZ #20452]
10780         Avoid additional copies of objects in libc.a in static libraries.
10781         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
10782         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
10783         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
10784         rt-sysdep.
10785         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
10786         Add nptl-sysdep.
10787         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
10788         Add ptw-sysdep.
10789         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
10790         rt-sysdep.
10791         * sysdeps/unix/sysv/linux/alpha/Makefile
10792         (libpthread-shared-only-routines): Add ptw-sysdep,
10793         ptw-sigprocmask, ptw-rt_sigaction.
10794         * sysdeps/unix/sysv/linux/ia64/Makefile
10795         (librt-shared-only-routines): Add rt-sysdep.
10796         * sysdeps/unix/sysv/linux/i386/Makefile
10797         (libpthread-shared-only-routines): Add libc-do-syscall.
10798         * sysdeps/unix/sysv/linux/microblaze/Makefile
10799         (libpthread-shared-only-routines): Add sysdep.
10800         * sysdeps/unix/sysv/linux/powerpc/Makefile
10801         (librt-shared-only-routines): Add rt-sysdep.
10802         (libpthread-shared-only-routines): Add sysdep.
10803         * sysdeps/unix/sysv/linux/s390/Makefile
10804         (librt-shared-only-routines): Add rt-sysdep.
10805         * sysdeps/unix/sysv/linux/sparc/Makefile
10806         (librt-shared-only-routines): Add rt-sysdep.
10807         (libpthread-shared-only-routines): Add sysdep.
10808         * sysdeps/unix/sysv/linux/tile/Makefile
10809         (libpthread-shared-only-routines): Likewise.
10811 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
10813         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
10814         Mask implicit bit out of unpacked value.
10815         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
10816         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
10817         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
10819         * sysdeps/sparc/fpu/fesetexcept.c: New file.
10821         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
10823         * sysdeps/s390/fpu/fesetexcept.c: New file.
10825         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
10826         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
10827         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
10829         * sysdeps/mips/fpu/fesetexcept.c: New file.
10831         * sysdeps/m68k/fpu/fesetexcept.c: New file.
10833         * sysdeps/ia64/fpu/fesetexcept.c: New file.
10835         * sysdeps/hppa/fpu/fesetexcept.c: New file.
10837         * sysdeps/arm/fesetexcept.c: New file.
10839         * sysdeps/alpha/fpu/fesetexcept.c: New file.
10841         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
10843         * math/fesetexcept.c: New file.
10844         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
10845         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
10846         * math/fenv.h: Define
10847         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10848         <bits/libc-header-start.h> instead of including <features.h>.
10849         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
10850         declaration.
10851         * manual/arith.texi (fesetexcept): Document function.
10852         * math/Versions (fesetexcept): New libm symbol at version
10853         GLIBC_2.25.
10854         * math/Makefile (libm-support): Add fesetexcept.
10855         (tests): Add test-fesetexcept and test-fesetexcept-traps.
10856         * math/test-fesetexcept.c: New file.
10857         * math/test-fesetexcept-traps.c: Likewise.
10858         * sysdeps/nacl/libm.abilist: Update.
10859         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10860         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10861         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10862         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10863         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10864         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10865         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10866         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10867         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10868         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10869         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10870         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10872         Likewise.
10873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10874         Likewise.
10875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10876         Likewise.
10877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10878         Likewise.
10879         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10880         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10881         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10882         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10883         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10885         Likewise.
10886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10887         Likewise.
10888         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10889         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10890         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10892 2016-08-16  Florian Weimer  <fweimer@redhat.com>
10894         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
10895         New.
10896         (do_test): Apply default_stack_size_in_mb if not set.
10897         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
10899 2016-08-15  Andreas Schwab  <schwab@suse.de>
10901         [BZ #20435]
10902         CVE-2016-6323
10903         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
10904         as .cantunwind.
10906 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
10908         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
10909         comment from fraiseexcpt.c.
10911         * math/test-fexcept.c (feraiseexcept_exact): New function.
10912         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
10913         (test_except): Likewise.
10915 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
10917         [BZ #20455]
10918         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
10919         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
10920         to be restored.
10922         * math/test-fexcept-traps.c: New file.
10923         * math/test-fexcept.c: Likewise.
10924         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
10925         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
10926         macro.
10927         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
10928         (EXCEPTION_SET_FORCES_TRAP): Likewise.
10930 2016-08-09  Torvald Riegel  <triegel@redhat.com>
10932         * include/atomic.h (atomic_fetch_and_relaxed,
10933         atomic_fetch_and_release, atomic_fetch_or_release,
10934         atomic_fetch_xor_release): New.
10936 2016-08-06  Christian Seiler  <christian@iwakd.de>
10938         [BZ #20444]
10939         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
10940         MACH_PORT_NULL.
10942 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10944         * math/s_fdim.c: Avoid alias renamed.
10945         * math/s_fdimf.c: Likewise.
10946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10947         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10948         Add s_fdimf-vis3, s_fdim-vis3.
10949         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10950         (CFLAGS-s_fdim-vis3.c): Likewise.
10951         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
10952         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
10954 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10957         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10958         Remove s_fdimf-vis3, s_fdim-vis3.
10959         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
10960         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
10961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
10962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
10963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
10964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
10965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
10966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
10967         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
10968         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
10970 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10972         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
10973         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
10974         -Wa,-Av9a -mvis.
10976 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10978         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
10979         LIT() to individual constants in simple expressions
10980         after splitting on spaces.
10981         (_apply_lit): Rename replaced version, and use it to
10982         apply to what appears to be a token.
10984         * math/libm-test.inc: Fix many, many issues with
10985         spacing.
10987 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
10989         * math/math.h: Move comment about <bits/mathdef.h> definitions
10990         above inclusion of <bits/mathdef.h>.  Do not mention
10991         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
10993 2016-08-05  Torvald Riegel  <triegel@redhat.com>
10995         * include/atomic.h (atomic_exchange_relaxed): New.
10997 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
10999         * math/e_scalb.c: Do not include <fenv.h>.
11000         (invalid_fn): Do calculation resulting in NaN instead of raising
11001         FE_INVALID and returning a NaN explicitly.
11002         * math/e_scalbf.c: Do not include <fenv.h>.
11003         (invalid_fn): Do calculation resulting in NaN instead of raising
11004         FE_INVALID and returning a NaN explicitly.
11005         * math/e_scalbl.c: Do not include <fenv.h>.
11006         (invalid_fn): Do calculation resulting in NaN instead of raising
11007         FE_INVALID and returning a NaN explicitly.
11009 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
11011         * po/de.po: Updated from Translation Project.
11012         * po/fi.po: Likewise.
11013         * po/sv.po: Likewise.
11015 2016-08-04  Florian Weimer  <fweimer@redhat.com>
11017         [BZ #20452]
11018         Use sysdep.o from libc.a in static libraries.
11019         * sysdeps/unix/sysv/linux/i386/Makefile
11020         (libpthread-shared-only-routines): Add sysdep.
11021         (librt-shared-only-routines): Likewise.
11023 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11025         * math/tgmath.h (nextdown): Define if
11026         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
11027         (nextup): Likewise.
11029         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
11030         macro.
11031         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11032         Document.
11033         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11034         Document macro.
11035         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
11036         (exp10f): Likewise.
11037         (exp10l): Likewise.
11038         * math/bits/mathcalls.h (exp10): Declare if
11039         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
11041         * manual/arith.texi (nextup): Fix typo in last change.
11043 2016-08-03  Zack Weinberg  <zackw@panix.com>
11045         [BZ #19239]
11046         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
11047         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
11048         define major, minor, and makedev to issue deprecation warnings on use.
11049         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
11050         previously-activated deprecation warnings for these macros and prevent
11051         subsequent inclusions of this header from having any effect.
11052         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
11053         including <sys/sysmacros.h>, and undefine it again afterward.
11055 2016-08-03  Zack Weinberg  <zackw@panix.com>
11057         * sysdeps/generic/sys/sysmacros.h: Delete file.
11058         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
11059         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
11060         * bits/sysmacros.h: ... here; this encoding is now the generic
11061         encoding.  Now defines only the following macros:
11062         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
11063         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
11064         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
11066         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
11067         bits/sysmacros.h and the above new macros to generate the
11068         public implementations of major, minor, and makedev.
11069         * misc/tst-makedev.c: New test.
11070         * include/sys/sysmacros.h: New wrapper.
11072         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
11073         (routines): Add makedev.
11074         (tests): Add tst-makedev.
11075         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
11076         gnu_dev_makedev.
11077         * posix/Makefile (headers): Remove sys/sysmacros.h.
11078         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
11080         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
11081         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
11082         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11083         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11084         * sysdeps/unix/sysv/linux/arm/libc.abilist
11085         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11086         * sysdeps/unix/sysv/linux/i386/libc.abilist
11087         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11088         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11089         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11090         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11091         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11092         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11093         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11094         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11095         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11100         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11101         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11102         * sysdeps/unix/sysv/linux/sh/libc.abilist
11103         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11104         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11107         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11108         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11109         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11110         Add GLIBC_2.25.
11112         * include/features.h (__glibc_clang_prereq): New macro.
11113         * misc/sys/cdefs.h (__glibc_clang_has_extension)
11114         (__attribute_deprecated_msg__): New macros.
11116 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11118         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
11119         macro.
11120         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
11121         * manual/arith.texi (issignaling): Document as ISO from TS
11122         18661-1:2014.
11123         (nextup): Likewise.
11124         (nextupf): Likewise.
11125         (nextupl): Likewise.
11126         (nextdown): Likewise.
11127         (nextdownf): Likewise.
11128         (nextdownl): Likewise.
11129         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
11130         macro.
11131         * math/math.h: Define
11132         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11133         <bits/libc-header-start.h> instead of including <features.h>.
11134         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
11135         [__USE_GNU].
11136         * math/bits/mathcalls.h (nextdown): Declare if
11137         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
11138         (nextup): Likewise.
11139         (__issignaling): Likewise.
11141 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11143         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
11144         check, and remove __glibc_likely hint
11145         from FP_INFINITE check.
11146         * s_csinhf.c (__csinhf): Likewise.
11148         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
11149         hint from FP_INFINITE check.
11150         * s_csinhl.c (__csinhl): Likewise.
11152 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11154         * math/Makefile (libm-calls): Insert F placeholder into
11155         object names.  Move w_lgamma_compat* routines into
11156         (libm-compat-calls): New variable.
11157         (libm-compat-calls-ldouble-yes): New variable.
11158         (calls): Insert F placeholder.
11159         (generated): Redefine using new type-foreach macro call.
11160         (routines): Likewise.
11162         (types): New variable to hold a list of symbolic names
11163         for each type supported by the target machine.
11164         (libm-routines): Redefine using new types variable.
11165         (type-foreach): macro to replace fooF with the
11166         appropriately suffixed foo for each types.
11168         (type-ldouble-suffix): New variable.
11169         (type-ldouble-routines): Likewise.
11170         (type-ldouble-yes): Likewise.
11171         (type-double-suffix): Likewise.
11172         (type-double-routines): Likewise.
11173         (type-float-suffix): Likewise.
11174         (type-float-routines): Likewise.
11176         (dbl-only-routines): Remove.
11177         (long-c-yes): Likewise.
11178         (long-m-routines): Likewise.
11179         (long-m-support): Likewise.
11180         (long-m-yes): Likewise.
11181         (test-longdouble-yes): Likewise.
11183         (test-float.o): Simplify by increasing the scope of the
11184         recipe which adds libm-test.stmp to the vector types.
11185         (test-ifloat.o): Likewise.
11186         (test-float-finite.o): Likewise.
11187         (test-double.o): Likewise
11188         (test-idouble.o): Likewise.
11189         (test-double-finite.o): Likewise.
11190         (test-ldouble.o): Likewise
11191         (test-ildoubl.o): Likewise.
11192         (test-ldouble-finite.o): Likewise.
11194         (libm-tests): Redefine type tests using foreach and the
11195         list of types in types.
11197         (CPPFLAGS-test-ildoubl.c): Rename to
11198         (CPPFLAGS-test-ildouble.c): New variable
11200         * math/test-ildoubl.c: Rename to
11201         * math/test-ildouble.c: New file.
11203 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11205         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
11206         Use fabsl instead of fabs.
11207         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
11208         Likewise.
11209         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
11210         Add long double suffix to constant to ensure proper
11211         promotion to long double.
11213 2016-08-03  Tom Tromey  <tom@tromey.com>
11215         [BZ #20311]
11216         * nptl_db/Makefile (headers): Add proc_service.h.
11217         * nptl_db/proc_service.h: Add include guard.  Use
11218         __BEGIN/__END_DECLS.
11219         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
11220         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
11221         arguments.
11224 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11226         [BZ #17730]
11227         Avoid using memalign for TCB allocations.
11228         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
11229         (_dl_allocate_tls_storage): Use malloc and manual alignment.
11230         Avoid alignment gap in the TLS_DTV_AT_TP case.
11231         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
11232         determine the pointer to free.
11233         * nptl/tst-tls3-malloc.c: New test.
11234         * nptl/Makefile (tests): Add it.
11235         (tst-tls3-malloc): Link with libdl, libpthread.
11236         (LDFLAGS-tst-tls3-malloc): Set.
11237         (tst-tls3-malloc.out): Depend on DSO used in test.
11239 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11241         [BZ #17730]
11242         Avoid using memalign for TLS allocations.
11243         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
11244         is_static member with to_free member.
11245         (union dtv): Use struct dtv_pointer.
11246         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
11247         dtv_pointer instead of is_static.
11248         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
11249         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
11250         instead of val.
11251         (allocate_dtv_entry): New function.
11252         (allocate_and_init): Return struct dtv_pointer.  Call
11253         allocate_dtv_entry instead of __libc_memalign.
11254         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
11255         instead of val.
11256         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
11257         instead of is_static.  Adjust call to allocate_and_init.
11258         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
11259         struct dtv_pointer instead of val.
11261 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11263         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
11264         (MALLOC_ALIGN_MASK): Move ...
11265         * malloc/malloc-internal.h: ... to here.
11266         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
11268 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11270         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
11271         (UDP_ENCAP_GTP1U): Likewise.
11273         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
11274         (PF_MAX): Update value.
11275         (AF_QIPCRTR): New macro.
11277 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11279         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
11280         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11281         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11282         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
11283         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11284         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11285         s_truncf-vis3, s_trunc-vis3.
11286         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11287         (CFLAGS-s_ceil-vis3.c): Likewise.
11288         (CFLAGS-s_floorf-vis3.c): Likewise.
11289         (CFLAGS-s_floor-vis3.c): Likewise.
11290         (CFLAGS-s_truncf-vis3.c): Likewise.
11291         (CFLAGS-s_trunc-vis3.c): Likewise.
11292         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
11293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
11295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11296         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
11297         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
11299         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11300         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
11301         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11302         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
11303         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11305 2016-08-02  David S. Miller  <davem@davemloft.net>
11307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11308         (__nearbyint_vis3): Don't check for sNaN before float register is
11309         loaded with the incoming argument.
11310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11311         (__nearbyintf_vis3): Likewise.
11312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
11313         Likewise.
11314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
11315         Likewise.
11317         * string/test-strncmp.c (do_test_limit): Make sure the test data
11318         stream is aligned as required for the type "CHAR".
11319         (do_test): Likewise.
11321 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11323         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
11324         by beq instructions jumping to the end of the function.
11325         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
11326         clobber list. Use "i" constraint instead of "X".
11327         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
11328         of "X".
11330 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
11332         * bits/libc-header-start.h: New file.
11333         * Makefile (headers): Add bits/libc-header-start.h.
11334         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
11335         (__GLIBC_USE): New macro.
11336         * libio/stdio.h: Define
11337         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11338         <bits/libc-header-start.h> instead of including <features.h>.
11339         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
11340         (open_memstream): Likewise.
11341         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
11342         (__asprintf): Likewise.
11343         (asprintf): Likewise.
11344         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
11345         (getdelim): Likewise.
11346         (getline): Likewise.
11347         * string/string.h: Define
11348         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11349         <bits/libc-header-start.h> instead of including <features.h>.
11350         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
11351         (strndup): Likewise.
11352         * wcsmbs/wchar.h: Define
11353         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11354         <bits/libc-header-start.h> instead of including <features.h>.
11355         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
11356         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
11358 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11360         Support linking against compatibility symbols, for use in tests.
11361         * include/libc-symbols.h (symbol_version_reference): New macro.
11362         (symbol_version): Use it.
11363         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
11364         (compat_symbol): Use compat_symbol_reference.
11365         (compat_symbol_1, compat_symbol_2): Remove.
11366         (compat_symbol_reference, compat_symbol_reference_1)
11367         (compat_symbol_reference_2): New macro.  Use
11368         symbol_version_reference.
11370 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11372         [BZ #19469]
11373         * malloc/Makefile (CPPFLAGS): Compile tests with
11374         -DTEST_NO_MALLOPT.
11375         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
11377 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
11379         [BZ #20033]
11380         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
11381         finite version.
11382         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
11383         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
11384         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
11385         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
11386         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
11387         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
11388         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
11389         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
11390         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
11391         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
11392         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
11393         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
11394         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
11395         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
11396         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
11397         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
11398         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
11399         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
11400         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
11401         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
11402         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
11403         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
11404         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
11405         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
11406         in zero power.
11408 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11410         [BZ #20370]
11411         * malloc/arena.c (get_free_list): Update comment.  Assert that
11412         arenas on the free list have no attached threads.
11413         (remove_from_free_list): New function.
11414         (reused_arena): Call it.
11416 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
11418         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
11419         when it is a NaN.
11420         [_IEEE_FP_INEXACT] Remove.
11421         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
11422         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
11423         when it is a NaN.
11424         [_IEEE_FP_INEXACT] Remove.
11425         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
11426         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
11427         when it is a NaN.
11428         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
11429         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
11430         when its absolute value is greater than 0x1.0p52.
11431         [_IEEE_FP_INEXACT] Remove.
11432         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
11433         when its absolute value is greater than 0x1.0p23.
11434         [_IEEE_FP_INEXACT] Remove.
11436 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
11438         * version.h (RELEASE): Set to "development"
11439         (VERSION): Set to 2.24.90.
11440         * NEWS: Add 2.25 section.
11442         * version.h (RELEASE): Set to "stable"
11443         (VERSION): Set to 2.24.
11444         * include/features.h (__GLIBC_MINOR__): Set to 24.
11446         * NEWS: Add 2.24 fixed bugs.
11447         * po/libc.pot: Regenerate.
11449 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
11451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11452         [$(subdir) = math] (libm-sysdep_routines): Remove.
11453         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11454         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11455         s_truncf-vis3, s_trunc-vis3.
11456         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
11458         file.
11459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
11460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
11461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
11465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
11466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
11468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
11469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
11470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
11471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
11472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
11473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
11474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
11478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
11479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
11480         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
11481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11486         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
11487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11489         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
11490         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11492         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
11493         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
11494         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
11495         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
11496         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11497         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11498         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
11499         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
11500         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
11501         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
11503 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
11505         [BZ #20384]
11506         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
11507         test-double-libmvec-sincos-avx-main.o,
11508         test-double-libmvec-sincos-avx2-main.o,
11509         test-double-libmvec-sincos-main.o,
11510         test-float-libmvec-sincosf-avx-main.o,
11511         test-float-libmvec-sincosf-avx2-main.o and
11512         test-float-libmvec-sincosf-main.o.
11513         test-float-libmvec-sincosf-avx512-main.o.
11514         ($(objpfx)test-double-libmvec-sincos): Also link with
11515         $(objpfx)test-double-libmvec-sincos-main.o.
11516         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
11517         $(objpfx)test-double-libmvec-sincos-avx-main.o.
11518         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
11519         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
11520         ($(objpfx)test-float-libmvec-sincosf): Also link with
11521         $(objpfx)test-float-libmvec-sincosf-main.o.
11522         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
11523         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
11524         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
11525         test-double-libmvec-sincos-avx512-main.o and
11526         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
11527         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
11528         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
11529         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
11530         (CFLAGS-test-double-libmvec-sincos.c): Removed.
11531         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
11532         (CFLAGS-test-double-libmvec-sincos-main.c): New.
11533         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
11534         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
11535         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
11536         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
11537         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
11538         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
11539         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
11540         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
11541         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
11542         -DREQUIRE_AVX2.
11543         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
11544         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
11545         -DREQUIRE_AVX512F.
11546         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
11547         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
11548         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11549         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
11550         file.
11551         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
11552         Likewise.
11553         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
11554         Likewise.
11555         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
11556         Likewise.
11557         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
11558         Likewise.
11559         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
11560         Likewise.
11561         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
11562         Likewise.
11563         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
11564         Likewise.
11566 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
11568         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
11570 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
11572         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
11573         and typo in a comment about AT_HWCAP entry.
11575 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11577         * sysdeps/aarch64/libm-test-ulps: Updated.
11579 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11581         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
11582         of r13 as it is not restored in mvcle case.
11584 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
11586         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
11587         Rename "ret" to "__ret".
11588         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
11589         inline_syscall5, inline_syscall6): Likewise.
11591 2016-07-19   Will Newton  <will.newton@gmail.com>
11593         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
11594         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
11595         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
11596         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
11597         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
11599 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
11601         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
11602         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
11603         -mfpmath=387 with $(rtld-CFLAGS).
11604         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
11605         $(rtld-CFLAGS).
11607 2016-07-18   Ross Burton  <ross.burton@intel.com>
11608              Khem Raj  <raj.khem@gmail.com>
11610         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
11611         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
11612         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
11613         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
11614         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
11615         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
11616         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
11617         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
11618         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
11619         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
11620         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
11621         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
11622         R_METAG_TLS_DTPOFF): New.
11624 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11625             Matt Clay  <mclay@lycos.com>
11627         [BZ #20357]
11628         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
11629         to call __mpsin/__mpcos and to negate values.
11630         * math/auto-libm-test-in: Add test.
11631         * math/auto-libm-test-out: Regenerate.
11633 2016-07-18  Zack Weinberg  <zackw@panix.com>
11635         * grp/Makefile: Don't install the internal header grp-merge.h.
11637 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11639         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11641 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11643         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
11645 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11647         [BZ #15368]
11648         * sysdeps/unix/sysv/linux/nptl-signals.h
11649         (__nptl_clear_internal_signals): New function.
11650         (__libc_signal_block_all): Likewise.
11651         (__libc_signal_block_app): Likewise.
11652         (__libc_signal_restore_set): Likewise.
11653         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
11654         implementation.
11655         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
11656         the cached pid/tid value in pthread structure.
11658 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
11660         [BZ #20347]
11661         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11663 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11665         [BZ #20348]
11666         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
11667         preadv64, pwrite64 and pwritev64.
11669 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11671         [BZ #20350]
11672         * posix/tst-preadwrite.c: Renamed to ...
11673         * posix/tst-preadwrite-common.c: This.
11674         (PREAD): Removed.
11675         (PWRITE): Likewise.
11676         (STRINGIFY): Likewise.
11677         (STRINGIFY2): Likewise.
11678         (do_prepare): Make it static and remove function arguments.
11679         (do_test): Likewise.
11680         (PREPARE): Updated.
11681         (TEST_FUNCTION): New.
11682         (name): Make it static.
11683         (fd): Likewise.
11684         (do_prepare): Use create_temp_file.
11685         (do_test): Renamed to ...
11686         (do_test_with_offset): This.  Make it static and accept offset.
11687         Properly check return value of PWRITE and PREAD.  Return bytes
11688         read.  Don't close fd nor unlink name.
11689         * posix/tst-preadwrite.c: Rewrite.
11690         * posix/tst-preadwrite64.c: Likewise.
11692 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11694         [BZ #20309]
11695         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
11696         -mtls-dialect=gnu2 works.
11697         * configure: Regenerated.
11698         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
11699         (tests): Add tst-gnu2-tls1.
11700         (modules-names): Add tst-gnu2-tls1mod.
11701         ($(objpfx)tst-gnu2-tls1): New.
11702         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
11703         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
11704         * elf/tst-gnu2-tls1.c: New file.
11705         * elf/tst-gnu2-tls1mod.c: Likewise.
11706         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
11707         bytes for push in the PLT entry to align the stack.
11709 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11711         [BZ #20349]
11712         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
11714 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11716         [BZ #18707]
11717         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
11718         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
11720 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11722         * sysdeps/unix/sysv/linux/sysdep.h
11723         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
11724         guards.
11725         * misc/tst-preadvwritev-common.c: New file.
11726         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
11727         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
11728         a check for files larger than 2GB.
11730         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11731         (__ASSUME_OFF_DIFF_OFF64): Remove define.
11732         * sysdeps/unix/sysv/linux/pread.c
11733         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
11734         __OFF_T_MATCHES_OFF64_T.
11735         * sysdeps/unix/sysv/linux/pread64.c
11736         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
11737         * sysdeps/unix/sysv/linux/preadv.c
11738         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
11739         * sysdeps/unix/sysv/linux/preadv64.c
11740         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
11741         * sysdeps/unix/sysv/linux/pwrite.c
11742         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
11743         * sysdeps/unix/sysv/linux/pwrite64.c
11744         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
11745         * sysdeps/unix/sysv/linux/pwritev.c
11746         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
11747         * sysdeps/unix/sysv/linux/pwritev64.c
11748         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
11750 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
11752         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11753         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
11755 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11757         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
11759 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11761         [BZ #20240]
11762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
11763         (CFLAGS-s_modf-ppc32.c): New variable.
11764         (CFLAGS-s_modff-ppc32.c): Likewise.
11765         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11766         (CFLAGS-s_modf-ppc64.c): Likewise.
11767         (CFLAGS-s_modff-ppc64.c): Likewise.
11769 2016-07-07  Andreas Schwab  <schwab@suse.de>
11771         [BZ #20263]
11772         * nptl/tst-robust10.c: New test.
11773         * nptl/Makefile (tests): Add tst-robust10.
11775 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
11777         [BZ #20263]
11778         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
11780 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11782         * sysdeps/s390/linkmap.h (struct link_map_machine):
11783         Remove member gotplt and add member jmprel.
11784         * sysdeps/s390/s390-32/dl-machine.h
11785         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
11786         instead of gotplt with &got[3].
11787         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
11788         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11790 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
11792         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
11794 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11796         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
11797         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
11798         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11799         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
11800         * libio/vtables.c (_IO_vtable_check)
11801         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11802         * libio/libioP.h (IO_set_accept_foreign_vtables)
11803         [!PTR_MANGLE]: Do not call PTR_MANGLE.
11805 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
11807         [BZ #20314]
11808         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
11809         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
11810         $(common-objpfx)cmath.
11811         ($(common-objpfx)cstdlib): New target.
11812         ($(common-objpfx)cmath): Likewise.
11814 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
11816         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
11818 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11820         [BZ #20327]
11821         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
11822         are not part of the string.
11824 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11826         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
11827         * nptl/tst-cancel4-common.h (fifoname): New variable.
11828         (fifofd): Likewise.
11829         (cl_fifo): New function.
11830         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
11831         SIGINT.
11832         (tf_open): Add early cancel test.
11834 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11836         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
11838 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
11840         * sysdeps/generic/ldsodefs.h
11841         (dl_symbol_visibility_binds_local_p): New inline function.
11842         * elf/dl-addr.c (determine_info): Treat hidden and internal
11843         symbols as local.
11844         * elf/dl-lookup.c (do_lookup_x): Likewise.
11845         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
11847 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
11849         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
11850         invalid exception for a sNaN input.
11851         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11852         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11853         (__nearbyint_vis3): Likewise
11854         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11855         (__nearbyintf_vis3): Likewise
11856         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
11857         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11858         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
11859         Likewise.
11860         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
11861         Likewise.
11863 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
11865         [BZ #20139]
11866         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
11867         (HAVE_AVX512DQ_ASM_SUPPORT): This.
11868         * sysdeps/x86_64/configure.ac: Require assembler from binutils
11869         2.24 or above.
11870         (HAVE_AVX512_ASM_SUPPORT): Removed.
11871         (HAVE_AVX512DQ_ASM_SUPPORT): New.
11872         * sysdeps/x86_64/configure: Regenerated.
11873         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
11874         check unconditional.
11875         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11876         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11877         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11878         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
11879         Likewise.
11880         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11881         Likewise.
11882         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11883         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11884         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11885         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11886         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11887         Likewise.
11888         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11889         Likewise.
11890         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11891         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11892         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
11893         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
11894         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
11895         Likewise.
11896         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
11897         Likewise.
11898         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
11899         Likewise.
11900         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
11901         Likewise.
11902         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
11903         Likewise.
11904         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
11905         Likewise.
11906         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
11907         Likewise.
11908         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
11909         Likewise.
11910         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
11911         Likewise.
11912         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
11913         Likewise.
11914         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
11915         Likewise.
11917 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
11919         [BZ #20024]
11920         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
11921         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
11922         of this implementation of vector function.
11923         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11924         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11925         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
11926         Likewise.
11927         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11928         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11929         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
11930         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
11931         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
11932         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
11933         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
11934         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
11935         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
11936         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
11937         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
11938         for testing vector sincos with fixed ABI.
11939         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11940         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11941         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11942         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11943         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11944         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11945         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11946         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
11947         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
11948         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
11949         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
11950         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
11951         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
11952         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
11953         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11954         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11956 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11958         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
11960 2016-06-30  Anton Blanchard  <anton@samba.org>
11962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11963         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
11964         s_sinf-ppc64.
11965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
11966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11968         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11970 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11973         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11974         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
11975         e_expf-ppc64.
11976         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
11977         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
11978         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
11979         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
11981 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
11983         [BZ #20277]
11984         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
11985         when SHARED is defined.
11987 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
11989         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
11990         (index_arch_Prefer_ERMS): Likewise.
11991         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
11992         __memcpy_erms for Prefer_ERMS.
11993         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11994         (__memmove_erms): Enabled for libc.a.
11995         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
11996         __memmove_erms or Prefer_ERMS.
11997         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
11998         __mempcpy_erms for Prefer_ERMS.
11999         * sysdeps/x86_64/multiarch/memset.S (memset): Return
12000         __memset_erms for Prefer_ERMS.
12002 2016-06-30  Andreas Schwab  <schwab@suse.de>
12004         [BZ #20262]
12005         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
12006         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
12007         of memory.
12009 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
12011         [BZ #18645]
12012         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
12013         (test-extras): Add tst-cleanupx4aux.
12014         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
12015         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
12016         tst-cleanupx4aux.o.
12017         * nptl/tst-cleanupx4aux.c: New file.
12019 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12021         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12023 2016-06-29  Andreas Schwab  <schwab@suse.de>
12025         [BZ #20260]
12026         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
12027         address before the beginning of the string as an integer to avoid
12028         array-bounds warning.
12030 2016-06-28  Richard Henderson  <rth@redhat.com>
12032         * elf/elf.h (EM_BPF): New.
12033         (EM_NUM): Update.
12034         (R_BPF_NONE, R_BPF_MAP_FD): New.
12036         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
12037         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
12038         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
12039         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
12040         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
12041         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
12042         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
12043         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
12044         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
12045         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
12046         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
12047         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
12048         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
12049         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
12050         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
12051         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
12052         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
12053         (EM_NUM): Update.
12055 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
12057         [BZ #18960]
12058         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
12059         Set _nl_current_LC_CATEGORY_used to two instead of one.
12061 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
12063         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
12064         (do_test): ... this.
12065         (TEST_FUNCTION): New macro.
12066          Include test-skeleton.c.
12067         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
12068         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
12070 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
12072         [BZ #15479]
12073         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
12074         floating-point environment rather than just control word.
12075         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12076         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
12077         floating-point environment, with "invalid" exceptions merged in,
12078         rather than just control word.
12079         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
12080         * math/libm-test.inc (trunc_test_data): Do not allow spurious
12081         "inexact" exceptions.
12083         [BZ #15479]
12084         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
12085         floating-point environment rather than just control word.
12086         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12087         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
12088         floating-point environment, with "invalid" exceptions merged in,
12089         rather than just control word.
12090         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
12091         * math/libm-test.inc (floor_test_data): Do not allow spurious
12092         "inexact" exceptions.
12094         [BZ #15479]
12095         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
12096         floating-point environment rather than just control word.
12097         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12098         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
12099         floating-point environment, with "invalid" exceptions merged in,
12100         rather than just control word.
12101         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
12102         * math/libm-test.inc (ceil_test_data): Do not allow spurious
12103         "inexact" exceptions.
12105 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
12107         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
12108         __libc_vfork.
12109         (__vfork) [IS_IN (libc)]: Remove alias.
12110         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
12111         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12112         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12114 2016-06-24  Torvald Riegel  <triegel@redhat.com>
12116         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
12117         of atomic_compare_and_exchange_bool_rel.
12118         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12119         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
12120         catomic_compare_and_exchange_bool_rel): Remove.
12121         * sysdeps/aarch64/atomic-machine.h
12122         (atomic_compare_and_exchange_bool_rel): Likewise.
12123         * sysdeps/alpha/atomic-machine.h
12124         (atomic_compare_and_exchange_bool_rel): Likewise.
12125         * sysdeps/arm/atomic-machine.h
12126         (atomic_compare_and_exchange_bool_rel): Likewise.
12127         * sysdeps/mips/atomic-machine.h
12128         (atomic_compare_and_exchange_bool_rel): Likewise.
12129         * sysdeps/microblaze/atomic-machine.h
12130         ( __arch_compare_and_exchange_bool_8_rel,
12131         __arch_compare_and_exchange_bool_16_rel): Likewise.
12132         * sysdeps/powerpc/atomic-machine.h
12133         ( __arch_compare_and_exchange_bool_8_rel,
12134         __arch_compare_and_exchange_bool_16_rel): Likewise.
12135         * sysdeps/powerpc/powerpc32/atomic-machine.h
12136         ( __arch_compare_and_exchange_bool_32_rel,
12137         __arch_compare_and_exchange_bool_64_rel): Likewise.
12138         * sysdeps/powerpc/powerpc64/atomic-machine.h
12139         ( __arch_compare_and_exchange_bool_32_rel,
12140         __arch_compare_and_exchange_bool_64_rel): Likewise.
12141         * sysdeps/tile/atomic-machine.h
12142         (atomic_compare_and_exchange_bool_rel): Likewise.
12144 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
12146         [BZ #20296]
12147         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
12148         when either argument is a NaN.
12149         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12150         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
12152         * math/libm-test.inc (snan_value_ld): New macro.
12153         (isgreater_test_data): Add sNaN tests.
12154         (isgreaterequal_test_data): Likewise.
12155         (isless_test_data): Likewise.
12156         (islessequal_test_data): Likewise.
12157         (islessgreater_test_data): Likewise.
12158         (isunordered_test_data): Likewise.
12159         (nextafter_test_data): Likewise.
12160         (nexttoward_test_data): Likewise.
12161         (remainder_test_data): Likewise.
12162         (remquo_test_data): Likewise.
12163         (significand_test_data): Likewise.
12164         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
12166 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12168         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
12169         environment macros are defined.
12170         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
12172 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12174         [BZ #20191]
12175         Implement vtable verification in libio.
12176         * Makerules (shlib.lds): Place __libc_IO_vtables section.
12177         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
12178         * debug/vdprintf_chk.c (__vdprintf_chk): Call
12179         _IO_new_file_init_internal instead of _IO_file_init.
12180         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
12181         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
12182         * libio/Makefile (routines): Add vtables.
12183         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
12184         (_IO_init): Remove, not for internal use.
12185         (_IO_init_internal): Declare, internal replacement for _IO_init.
12186         (_IO_file_init): Remove, not for internal use.
12187         (_IO_new_file_init): Remove, not for internal use.
12188         (_IO_new_file_init_internal): Declare, internal replacement for
12189         _IO_new_file_init.
12190         (_IO_old_file_init): Remove, not for internal use.
12191         (_IO_old_file_init_internal): Declare, internal replacement for
12192         _IO_old_file_init.
12193         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
12194         internal use.
12195         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
12196         Declare.
12197         (libio_vtable): New macro.
12198         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
12199         functions.
12200         * libio/fileops.c (_IO_new_file_init_internal): Rename from
12201         _IO_new_file_init.
12202         (_IO_new_file_init): New externally visible wrapper which disables
12203         vtable verification.
12204         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
12205         Define as vtables.
12206         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
12207         (_IO_init): New externally visible wrapper which disables
12208         vtable verification.
12209         * libio/iofdopen.c (_IO_new_fdopen): Call
12210         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
12211         comment.
12212         * libio/iofopen.c (__fopen_internal): Call
12213         _IO_new_file_init_internal instead of _IO_file_init.
12214         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
12215         Define as vtables.
12216         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
12217         _IO_new_file_init_internal instead of _IO_file_init.
12218         * libio/iopopen.c (_IO_new_popen): Likewise.
12219         (_IO_proc_jumps): Define as vtable.
12220         * libio/iovdprintf.c (_IO_vdprintf): Call
12221         _IO_new_file_init_internal instead of _IO_file_init.
12222         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
12223         (__open_memstream): Call _IO_init_internal instead of _IO_init.
12224         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
12225         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
12226         _IO_old_file_init.
12227         (_IO_old_file_init): New externally visible wrapper which disables
12228         vtable verification.
12229         (_IO_old_file_jumps): Define as vtable.
12230         * libio/oldiofdopen.c (_IO_old_fdopen): Call
12231         _IO_old_file_init_internal instead of _IO_old_file_init.
12232         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12233         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12234         (_IO_old_proc_jumps): Define as vtable.
12235         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
12236         Define as vtables.
12237         * libio/vtables.c: New file.
12238         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
12239         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
12240         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
12241         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
12242         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
12243         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
12244         instead of _IO_init.
12246 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12248         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
12250 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12252         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
12253         potentially unused.
12255 2016-06-22  Florian Weimer  <fweimer@redhat.com>
12257         * test-skeleton.c (write_message): New function.
12258         * malloc/tst-mallocfork2.c (write_message): Remove.
12259         * debug/tst-longjmp_chk2.c (write_indented): New function.
12260         (write_message): Remove.
12261         (stackoverflow_handler): Call write_indented.
12263 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
12265         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
12266         "inexact" exceptions after fnstenv.
12267         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12268         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12269         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12271 2015-06-22  Zack Weinberg  <zackw@panix.com>
12273         * sysdeps/generic/bits/hwcap.h: Moved to ...
12274         * bits/hwcap.h: Here.
12276 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
12278         * sysdeps/aarch64/memcpy.S (memcpy):
12279         Further tuning for performance.
12281 2016-06-21  Florian Weimer  <fweimer@redhat.com>
12283         [BZ #20284]
12284         * malloc/arena.c (reused_arena): Do not return NULL if we start
12285         out with a non-corrupted arena.
12287 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12289         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
12290         * misc/tst-preadvwritev.c: New file.
12291         * misc/tst-preadvwritev64.c: Likewise.
12292         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
12293         usage.
12294         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
12295         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
12296         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
12297         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
12299 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
12301         [BZ #19654]
12302         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12303         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
12304         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
12305         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
12306         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
12307         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
12308         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
12309         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
12310         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
12311         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
12312         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
12313         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
12314         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
12315         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
12316         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
12317         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
12318         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
12319         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
12320         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
12321         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
12322         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
12323         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
12324         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
12325         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
12326         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
12327         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
12329 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12331         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
12332         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
12334 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12336         * sysdeps/aarch64/memcpy.S (memcpy):
12337         Rewrite of optimized memcpy and memmove.
12338         * sysdeps/aarch64/memmove.S (memmove): Remove
12339         memmove code (merged into memcpy.S).
12341 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12343         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
12344         * sysdeps/generic/dl-dtv.h: New file.
12345         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12346         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
12347         (dtv_t): Remove.
12348         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12349         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
12350         (dtv_t): Remove.
12351         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12352         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
12353         (dtv_t): Remove.
12354         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12355         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
12356         (dtv_t): Remove.
12357         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12358         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
12359         (dtv_t): Remove.
12360         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12361         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
12362         (dtv_t): Remove.
12363         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12364         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
12365         (dtv_t): Remove.
12366         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
12367         (dtv_t): Remove.
12368         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12369         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
12370         (dtv_t): Remove.
12371         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12372         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
12373         (dtv_t): Remove.
12374         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12375         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
12376         (dtv_t): Remove.
12377         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12378         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
12379         (dtv_t): Remove.
12380         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12381         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
12382         (dtv_t): Remove.
12383         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12384         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
12385         (dtv_t): Remove.
12386         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12387         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
12388         (dtv_t): Remove.
12389         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12390         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
12391         (dtv_t): Remove.
12393 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12395         Revert symbol poisoning of  __malloc_initialize_hook.
12396         * include/stdc-predef.h (__malloc_initialize_hook): Remove
12397         poisoning.
12398         * malloc/Makefile: Remove un-poisoning.
12399         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
12400         instead of old__malloc_initialize_hook.
12401         * malloc/malloc-hooks.h: Likewise.
12402         * malloc/malloc.c: Likewise.
12403         * malloc/mcheck-init.c: Likewise.
12405 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
12407         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
12409 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
12411         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
12412         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
12413         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12414         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12416 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12418         * NEWS: Mention addition of nextup and nextdown.
12419         * manual/arith.texi: Document nextup and nextdown.
12420         * manual/libm-err-tab.pl: Add nextup and nextdown.
12421         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
12422         * math/Versions (libm): Add GLIBC_2.24.
12423         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
12424         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12425         Add new test.
12426         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
12427         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
12428         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
12429         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
12430         (nextup_test_data): Likewise.
12431         (nextdown_test_data): Likewise.
12432         * math/s_nextdown.c: New file.
12433         * math/s_nextdownf.c: Likewise.
12434         * math/s_nextdownl.c: Likewise.
12435         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
12436         F(nextup): New function.
12437         F(nextdown): Likewise.
12438         * math/tgmath.h: Add nextup and nextdown.
12439         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
12440         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
12441         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12442         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12443         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12444         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
12445         Add nextup and nextdown.
12446         (CFLAGS-nldbl-nextup.c): New variable.
12447         (CFLAGS-nldbl-nextdown.c): Likewise.
12448         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
12449         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
12450         * sysdeps/nacl/libm.abilist: Update.
12451         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12452         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12453         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12454         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12455         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12456         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12457         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12458         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12459         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12460         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12461         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12462         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12465         Likewise.
12466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12468         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12469         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12470         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12471         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12472         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
12474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
12475         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12476         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12477         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12478         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12480 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12482         * manual/pattern.texi: Fix typos & grammar errors.
12484 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12486         * manual/search.texi: Fix typos & grammar errors.
12488 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12490         * manual/message.texi: Fix typos & grammar errors.
12492 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
12494         * manual/contrib.texi: Fix spelling typos.
12495         * manual/crypt.texi: Likewise.
12496         * manual/filesys.texi: Likewise.
12497         * manual/locale.texi: Likewise.
12498         * manual/message.texi: Likewise.
12499         * manual/nss.texi: Likewise.
12500         * manual/string.texi: Likewise.
12502 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12504         * manual/locale.texi: Fix typos & grammar errors.
12506 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12508         * manual/charset.texi: Fix typos & grammar errors.
12510 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12512         * manual/string.texi: Fix typos.
12514 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12516         * manual/ctype.texi: Fix typos.
12518 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12520         * manual/memory.texi: Fix various typos & grammar errors.
12522 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
12524         [BZ #20255]
12525         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
12526         * math/libm-test.inc (fdim_test_data): Add another test.
12528         [BZ #6796]
12529         [BZ #20255]
12530         [BZ #20256]
12531         * math/s_fdim.c: Include <math_private.h>.
12532         (__fdim): Use math_narrow_eval on result.
12533         * math/s_fdimf.c: Include <math_private.h>.
12534         (__fdimf): Use math_narrow_eval on result.
12535         * sysdeps/i386/fpu/s_fdim.S: Remove file.
12536         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
12537         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
12538         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
12539         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
12540         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
12541         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
12542         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
12543         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
12544         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
12545         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
12546         * math/libm-test.inc (fdim_test_data): Expect errno setting on
12547         overflow.  Add sNaN tests.
12549         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
12550         fpclassify.
12551         * math/s_fdimf.c (__fdimf): Likewise.
12552         * math/s_fdiml.c (__fdiml): Likewise.
12554 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12556         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12557         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
12558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12559         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12560         ifunc'ed strcasecmp/strncasecmp.
12561         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
12562         [EALIGN]: Removed.
12563         [END]: Likewise.
12564         [__strcasecmp]: Define instead of the above to control symbol name.
12565         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
12566         for __strcasecmp_power8.
12567         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
12568         for __strncasecmp_power8.
12569         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
12570         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
12571         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
12572         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
12573         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
12574         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
12576 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
12578         [BZ #20252]
12579         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
12580         arguments when second argument is a NaN.
12581         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
12582         qNaN tests.
12584         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
12585         (conj_test_data): Likewise.
12586         (copysign_test_data): Likewise.
12587         (creal_test_data): Likewise.
12588         (fma_test_data): Likewise.
12589         (fmod_test_data): Likewise.
12591         [BZ #20250]
12592         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
12593         itself.
12594         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
12595         zero input to itself.
12596         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
12597         Likewise.
12598         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
12599         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
12600         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12601         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
12602         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
12604 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12606         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
12607         * nptl/tst-cancel4-common.c: New file.
12608         * nptl/tst-cancel4-common.h: Likewise.
12609         * nptl/tst-cancel4.c: Move common definitions to
12610         tst-cancel4-common.{c,h} file.
12611         * nptl/tst-cancel4_1.c: New test.
12612         * nptl/tst-cancel4_2.c: New test.
12614 2016-06-13  Florian Weimer  <fweimer@redhat.com>
12616         [BZ #20248]
12617         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
12618         (write_message): New function.
12619         (stackoverflow_handler): Call it instead of printf, to avoid
12620         excessive stack usage by printf.
12621         (do_test): Restore SIGSEGV, SIGBUS default handlers.
12623 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12625         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
12626         (prio_inherit_missing): Remove define.
12627         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12628         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12629         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
12630         Likewise.
12631         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12632         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12633         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12634         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12635         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12636         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12638 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12640         [BZ #19670]
12641         [BZ #19672]
12643         * io/test-lfs.c (do_prepare): Use xmalloc.
12644         * io/tst-fcntl.c (do_prepare): Likewise.
12645         * libio/tst-fopenloc.c (do_bz17916): Likewise.
12646         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
12647         * login/tst-utmp.c (do_prepare): Likewise.
12648         * posix/tst-exec.c (do_prepare): Likewise.
12649         * posix/tst-pathconf.c (prepare): Likewise.
12650         * posix/tst-spawn.c (do_prepare): Likewise.
12651         * posix/tst-truncate.c (do_prepare): Likewise.
12652         * rt/tst-aio.c (do_prepare): Likewise.
12653         * rt/tst-aio64.c (do_prepare): Likewise.
12655 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12657         [BZ #20237]
12658         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
12659         (get*ent): Set entidx to NULL during initialization.  If entidx is
12660         NULL, start iteration from the beginning.
12662 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12664         * malloc/malloc.c (musable): Return correct size for dumped fake
12665         mmapped chunk.
12667 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12669         [BZ #20222]
12670         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
12671         (_IO_cookie_write): Likewise.
12672         (_IO_cookie_seek): Likewise.
12673         (_IO_cookie_close): Likewise.
12674         (_IO_old_cookie_seek): Likewise.
12675         (set_callbacks): New function.
12676         (_IO_cookie_init): Call set_callbacks to copy callbacks.
12678 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
12680         * locale/programs/localedef.c (oldstyle_tables): Remove.
12681         * locale/programs/localedef.h (oldstyle_tables): Likewise.
12683 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
12685         [BZ #20240]
12686         * math/Makefile (CFLAGS-s_modf.c): New variable.
12687         (CFLAGS-s_modff.c): Likewise.
12688         (CFLAGS-s_modfl.c): Likewise.
12689         * math/libm-test.inc (modf_test_data): Add sNaN tests.
12691 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
12693         [BZ #20215]
12694         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
12695         [!__GNUC_PREREQ (3,2)]: Likewise.
12697 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12699         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
12700         (msghdr.msg_controllen): Likewise.
12701         (cmsghdr.cmsg_len): Likewise.
12702         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
12703         ptw-oldsendmsg.
12704         (CFLAGS-oldrecvmsg.c): Remove rule.
12705         (CFLAGS-oldsendmsg.c): Likewise.
12706         (CFLAGS-recvmsg.c): Add rule.
12707         (CFLAGS-sendmsg.c): Likewise.
12708         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
12709         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
12710         (CFLAGS-recvmsg.c): Remove rule.
12711         (CFLAGS-sendmsg.c): Likewise.
12712         (CFLAGS-oldrecvmsg.c): Likewise.
12713         (CFLAGS-oldsendmsg.c): Likewise.
12714         (CFLAGS-recvmmsg.c): Likewise.
12715         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
12716         to kernel defined interfaces.
12717         (msghdr.msg_controllen): Likewise.
12718         (cmsghdr.cmsg_len): Likewise.
12719         (msghdr.__glibc_reserved1): Remove member.
12720         (msghdr.__glibc_reserved2): Likewise.
12721         (cmsghdr.__glibc_reserved1): Likewise.
12722         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
12723         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
12724         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12725         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12726         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
12727         version.
12728         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12729         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
12730         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12731         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
12732         Remove recvmsg and sendmsg.
12733         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
12734         Likewise.
12735         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12736         Likewise.
12737         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12738         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12739         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12740         Likewise.
12741         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12742         Likewise.
12743         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
12744         [libc] (GLIBC_2.24): Likewise.
12745         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12746         Likewise.
12747         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12748         Likewise.
12749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12750         [libc] (GLIBC_2.24): Likewise.
12751         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12752         Likewise.
12753         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12754         Likewise.
12755         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12756         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12757         Likewise.
12758         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12759         Likewise.
12760         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12761         Likewise.
12762         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
12763         Likewise.
12764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
12765         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
12766         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
12767         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
12768         version for {recv,send,recm,sendm}msg.
12769         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12770         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12771         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12772         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12773         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12774         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12775         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12776         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12777         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12778         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12779         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12780         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12782         Likewise.
12783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12784         Likewise.
12785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12787         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12788         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12789         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12790         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12791         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12792         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12795         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12796         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12797         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12799 2016-06-10  Florian Weimer  <fweimer@redhat.com>
12801         [BZ #19564]
12802         Remove __malloc_initialize_hook from the API.
12803         * malloc/malloc.h (__malloc_initialize_hook): Remove.
12804         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
12805         #pragma GCC poison.
12806         * malloc/malloc-hooks.h: New file.
12807         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
12808         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
12809         (old__malloc_initialize_hook): Rename from
12810         __malloc_initialize_hook to evade poisoning.  Turn into compat
12811         symbol.
12812         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
12813         __malloc_initialize_hook.
12814         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
12815         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
12816         * manual/memory.texi (Hooks for Malloc): Remove
12817         __malloc_initialize_hook.  Adjust hook example.
12819 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
12821         [BZ #20235]
12822         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
12823         itself.
12824         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12825         * math/libm-test.inc (log2_test_data): Add sNaN tests.
12827         [BZ #20234]
12828         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
12829         infinity or NaN input to itself.
12831         [BZ #20233]
12832         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
12833         to itself.
12835         [BZ #20232]
12836         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
12837         itself.
12839 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12841         * sysdeps/x86_64/start.S (_start): Always indirect branch to
12842         __libc_start_main via GOT.
12844 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12846         * sysdeps/x86_64/memcopy.h: New file.
12847         * sysdeps/x86_64/wordcopy.c: Likewise.
12849 2016-06-09  Florian Weimer  <fweimer@redhat.com>
12851         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
12852         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
12853         <cstdlib>.
12854         (optimization_barrier): New.
12855         (do_test): Use it.  Call quick_exit in the global namespace.
12856         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
12857         instead of <cstdlib>, <thread>.
12858         (optimization_barrier): New.
12859         (non_main_thread): Adjust declaration.  Call optimization_barrier.
12860         Call quick_exit in the global namespace.
12861         (do_test): Call optimization_barrier.  Use pthread_create,
12862         pthread_join instead of std::thread.
12864 2016-06-09  Andreas Schwab  <schwab@suse.de>
12866         [BZ #19755]
12867         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
12868         new entries in auto-propagate mode.
12869         * nscd/grpcache.c (cache_addgr): Likewise.
12871 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12873         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
12874         New functions.
12875         (add_temp_file): Use them.
12877 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
12879         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
12881 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
12883         [BZ #20229]
12884         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
12885         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
12886         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
12888         [BZ #20228]
12889         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
12890         itself.
12891         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12892         * math/libm-test.inc (log10_test_data): Add sNaN tests.
12894         [BZ #20227]
12895         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
12896         itself.
12897         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12898         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12899         * math/libm-test.inc (log_test_data): Add sNaN tests.
12901         [BZ #20226]
12902         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
12903         itself.
12904         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12905         * math/libm-test.inc (exp_test_data): Add sNaN tests.
12906         (exp10_test_data): Likewise.
12907         (expm1_test_data): Likewise.
12909         [BZ #20225]
12910         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
12911         itself.
12912         * math/s_ldexpf.c (__ldexpf): Likewise.
12913         * math/s_ldexpl.c (__ldexpl): Likewise.
12914         * math/w_scalbln.c (__w_scalbln): Likewise.
12915         * math/w_scalblnf.c (__w_scalblnf): Likewise.
12916         * math/w_scalblnl.c (__w_scalblnl): Likewise.
12917         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
12918         (scalbln_test_data): Likewise.
12920         [BZ #20224]
12921         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
12922         argument to itself.
12923         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
12925 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12927         [BZ #19776]
12928         * sysdeps/x86_64/memcpy.S: Make it dummy.
12929         * sysdeps/x86_64/mempcpy.S: Likewise.
12930         * sysdeps/x86_64/memmove.S: New file.
12931         * sysdeps/x86_64/memmove_chk.S: Likewise.
12932         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12933         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12934         * sysdeps/x86_64/memmove.c: Removed.
12935         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12936         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12937         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
12938         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12939         Likewise.
12940         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12941         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12943         memcpy-sse2-unaligned, memmove-avx-unaligned,
12944         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
12945         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12946         (__libc_ifunc_impl_list): Replace
12947         __memmove_chk_avx512_unaligned_2 with
12948         __memmove_chk_avx512_unaligned.  Remove
12949         __memmove_chk_avx_unaligned_2.  Replace
12950         __memmove_chk_sse2_unaligned_2 with
12951         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
12952         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
12953         with __memmove_avx512_unaligned.  Replace
12954         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
12955         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
12956         with __memcpy_chk_avx512_unaligned.  Remove
12957         __memcpy_chk_avx_unaligned_2.  Replace
12958         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
12959         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
12960         Replace __memcpy_avx512_unaligned_2 with
12961         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
12962         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
12963         with __mempcpy_chk_avx512_unaligned.  Remove
12964         __mempcpy_chk_avx_unaligned_2.  Replace
12965         __mempcpy_chk_sse2_unaligned_2 with
12966         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
12967         Replace __mempcpy_avx512_unaligned_2 with
12968         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
12969         Replace __mempcpy_sse2_unaligned_2 with
12970         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
12971         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
12972         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
12973         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
12974         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
12975         (ENTRY): Removed.
12976         (END): Likewise.
12977         (ENTRY_CHK): Likewise.
12978         (libc_hidden_builtin_def): Likewise.
12979         Don't include ../memcpy.S.
12980         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
12981         __memcpy_chk_avx512_unaligned_erms and
12982         __memcpy_chk_avx512_unaligned.  Use
12983         __memcpy_chk_avx_unaligned_erms and
12984         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
12985         Default to __memcpy_chk_sse2_unaligned.
12986         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12987         Change function suffix from unaligned_2 to unaligned.
12988         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
12989         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
12990         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
12991         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
12992         (ENTRY): Removed.
12993         (END): Likewise.
12994         (ENTRY_CHK): Likewise.
12995         (libc_hidden_builtin_def): Likewise.
12996         Don't include ../mempcpy.S.
12997         (mempcpy): New.  Add a weak alias.
12998         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
12999         __mempcpy_chk_avx512_unaligned_erms and
13000         __mempcpy_chk_avx512_unaligned.  Use
13001         __mempcpy_chk_avx_unaligned_erms and
13002         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13003         Default to __mempcpy_chk_sse2_unaligned.
13005 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13007         [BZ #19881]
13008         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
13009         into ...
13010         * sysdeps/x86_64/memset.S: This.
13011         (__bzero): Removed.
13012         (__memset_tail): Likewise.
13013         (__memset_chk): Likewise.
13014         (memset): Likewise.
13015         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
13016         defined.
13017         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
13018         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
13019         (__memset_zero_constant_len_parameter): Check SHARED instead of
13020         PIC.
13021         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13022         memset-avx2 and memset-sse2-unaligned-erms.
13023         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13024         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
13025         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
13026         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13027         (__bzero): Enabled.
13028         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
13029         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
13030         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
13031         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
13032         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13033         (memset): Removed.
13034         (__memset_chk): Likewise.
13035         (MEMSET_SYMBOL): New.
13036         (libc_hidden_builtin_def): Replace __memset_sse2 with
13037         __memset_sse2_unaligned.
13038         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
13039         __memset_chk_sse2 and __memset_chk_avx2 with
13040         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
13041         Use __memset_chk_sse2_unaligned_erms or
13042         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
13043         __memset_chk_avx512_unaligned_erms and
13044         __memset_chk_avx512_unaligned.
13046 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13048         * math/gen-auto-libm-test.c (fp_format_desc): remove
13049         suffix member.
13050         (output_generic_value): Remove usage of suffix member,
13051         and the resulting unuse of the fp_format argument.
13052         (output_for_one_input_case): Remove unused fp_format
13053         parameter.
13055         * math/auto-libm-test-out: Regenerate.
13057         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
13058         usage with TEST_COND_ibm128.
13059         (TEST_COND_flt_32): Remove.
13060         (TEST_COND_dbl_64): Remove.
13061         (TEST_COND_ldbl_96_intel): Remove.
13062         (TEST_COND_ldbl_96_m68k): Remove.
13063         (TEST_COND_ldbl_128): Remove.
13065 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13067         * auto-libm-test-in:
13068         Replace flt-32 usage with binary32.
13069         Replace dbl-64 usage with binary64.
13070         Replace ldbl-intel-96 usage with intel96.
13071         Replace ldbl-m68k-96 usage with m68k96.
13072         Replace ldbl-128ibm usage with ibm128.
13073         Replace ldbl-128 usage with binary128.
13075         * auto-libm-test-out: Regenerate.
13077 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13079         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
13080         (parse_ulps): Dynamically generate type name matching
13081         string from all_floats.
13082         (get_ulps): Generate the ulps as an array instead.
13083         (output_ulps): Dynamically compose the type based
13084         on the number of supported formats, and print
13085         the indices as type specific helper macros.
13087         * math/libm-test.inc: Remove comment about CHOOSE.
13088         (ulp_data): Generate the type in libm-test-ulps.h.
13089         (ULP_IDX): New macro.
13090         (find_ulps): Update usage of max_ulp.
13092         * math/test-double-vlen2.h (CHOOSE): Remove.
13093         * math/test-double-vlen4.h (CHOOSE): Likewise.
13094         * math/test-double-vlen8.h (CHOOSE): Likewise.
13095         * math/test-float.c (CHOOSE): Likewise.
13096         * math/test-float-finite.c (CHOOSE): Likewise.
13097         * math/test-double.c (CHOOSE): Likewise.
13098         * math/test-double-finite.c (CHOOSE): Likewise.
13099         * math/test-idouble.c (CHOOSE): Likewise.
13100         * math/test-ifloat.c (CHOOSE): Likewise.
13101         * math/test-ildoubl.c (CHOOSE): Likewise.
13102         * math/test-ldouble-finite.c (CHOOSE): Likewise.
13103         * math/test-ldouble.c (CHOOSE): Likewise.
13105         * math/test-float.h (TEST_FLOAT): Remove.
13106         * math/test-double.h (TEST_DOUBLE): Likewise.
13107         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
13109 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13111         * math/gen-libm-test.pl: (apply_lit): New subroutine.
13112         (parse_args): Strip C suffix from floating point literals
13113         typed with 'f' and wrap them with LIT().
13115         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
13116         (test_ff_f_data_nexttoward): Rename to
13117         (test_fj_f_data): New struct.
13118         (nexttoward_test_data): Relabel tests as
13119         TEST_fj_f instead of TEST_ff_f.
13121 2016-06-08  Florian Weimer  <fweimer@redhat.com>
13123         Emacs bug 23726.
13124         * malloc/malloc.c (dumped_main_arena_start): Update comment.
13125         (__libc_realloc): Correct size computation for dumped fake mmapped
13126         chunks.
13128 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
13130         [BZ #20219]
13131         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
13132         to itself.
13133         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
13135         [BZ #20218]
13136         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
13137         to itself.
13138         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
13140 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
13142         [BZ #20195]
13143         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
13144         check to ...
13145         (init_cpu_features): Here.
13147 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
13149         [BZ #20214]
13150         * sysdeps/unix/sysv/linux/bits/in.h
13151         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13152          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
13153         Define to 1.
13154         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13155          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
13156         Define to 0.
13157         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
13158         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
13160 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
13162         [BZ #20198]
13163         * stdlib/Makefile (tests): Add tst-quick_exit, and
13164         tst-thread-quick_exit.
13165         [ifeq ($(have-cxx-thread_local),yes)]
13166         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
13167         (CFLAGS-tst-thread-quick_exit.o): Likewise.
13168         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
13169         (LDLIBS-tst-thread-quick_exit): Likewise.
13170         [ifneq ($(have-cxx-thread_local),yes)]
13171         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
13172         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
13173         If run_dtors is true call __call_tls_dtors.
13174         (exit): Call __run_exit_handlers with run_dtors set to true.
13175         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
13176         definition.
13177         * stdlib/quick_exit.c (quick_exit): Remove function.
13178         (__new_quick_exit): New function.
13179         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
13180         function.
13181         * stdlib/tst-quick_exit.cc: New file.
13182         * stdlib/tst-thread-quick_exit.cc: New file.
13183         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
13184         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
13185         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
13186         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
13187         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
13188         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
13189         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
13190         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
13191         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
13192         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
13193         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
13194         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
13195         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
13196         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
13197         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
13198         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
13200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
13201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
13202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
13203         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
13204         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
13205         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
13206         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
13207         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
13208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
13209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
13210         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
13211         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
13212         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
13214 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
13216         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
13217         a typo in comments.
13219 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13221         [BZ #20213]
13222         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
13223         argument to itself.
13224         * math/libm-test.inc (asin_test_data): Add sNaN tests.
13226 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13228         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
13229         required flags.
13230         (CFLAGS-pwritev64.c): Likewise.
13231         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
13232         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13233         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
13234         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13235         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
13236         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
13237         syscall from auto-generation.
13238         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
13239         [WORDSIZE == 64] (pwritev64): Remove macro.
13240         [!PWRITEV] (PWRITEV): Likewise.
13241         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13242         [!PWRITEV] (PWRITE): Likewise.
13243         [!PWRITEV] (OFF_T): Likewise.
13244         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13245         (LO_HI_LONG): Remove macro.
13246         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
13247         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
13248         (PWRITEV): Remove macro.
13249         (PWRITEV_REPLACEMENTE): Likewise.
13250         (PWRITE): Likewise.
13251         (OFF_T): Likewise.
13252         (pwritev64): New function.
13253         * nptl/tst-cancel4.c (tf_writev): Add test.
13255         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
13256         required flags.
13257         (CFLAGS-preadv64.c): Likewise.
13258         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
13259         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13260         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
13261         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
13262         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
13263         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
13264         syscall from auto-generation.
13265         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
13266         [WORDSIZE == 64] (preadv64): Remove macro.
13267         [!PREADV] (PREADV): Likewise.
13268         [!PREADV] (PREADV_REPLACEMENT): Likewise.
13269         [!PREADV] (PREAD): Likewise.
13270         [!PREADV] (OFF_T): Likewise.
13271         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
13272         (LO_HI_LONG): Remove macro.
13273         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
13274         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
13275         (PREADV): Remove macro.
13276         (PREADV_REPLACEMENTE): Likewise.
13277         (PREAD): Likewise.
13278         (OFF_T): Likewise.
13279         (preadv64): New function.
13280         * nptl/tst-cancel4.c (tf_preadv): Add test.
13282 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13284         [BZ #20212]
13285         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
13286         argument to itself.
13287         * math/libm-test.inc (acos_test_data): Add sNaN tests.
13289 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13291         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
13292         New symbol defined as libc_hidden_def.
13293         (strcasestr): Became a weak alias to __strcasestr.
13294         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
13295         according to multi-arch support.  Move __stpncpy hidden
13296         definition from here to...
13297         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
13298         symbol stpncpy.
13299         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
13300         libc_hidden_builtin_def.
13301         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
13302         memset symbol to use when multi-arch support is available.
13304 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13306         * dlfcn/tst-rec-dlopen.c: Include string.h.
13308 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13310         * manual/install.texi: Remove mention of --without-tls
13311         * INSTALL: Regenerate.
13313 2016-06-05  Florian Weimer  <fweimer@redhat.com>
13315         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
13316         Remove.
13317         (call_function, interposed_malloc_called): New variables.
13318         (malloc): New function.
13319         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
13320         and clear call_function as needed.
13322 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
13324         * include/wchar.h (__wmemset): Use __typeof.
13326 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
13328         * include/wchar.h (__wmemset): Declare function without typeof.
13330 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
13332         [BZ #20205]
13333         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
13334         exponent when incrementing negative subnormal with low mantissa
13335         word zero.
13336         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13337         Add another test.
13339 2016-06-03  Florian Weimer  <fweimer@redhat.com>
13341         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
13342         __wmemset instead of wmemset.
13344 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
13346         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
13347         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
13348         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
13349         __USE_KERNEL_IPV6_DEFS to 0.
13350         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
13351         Update comment.
13353 2016-06-01  Florian Weimer  <fweimer@redhat.com>
13355         [BZ #19861]
13356         Do not use IFUNC resolver with potentially unrelocated symbol.
13357         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
13358         (DEFINE_FORK): Remove macro and inline definition.
13359         (fork_alias): Renamed from fork_ifunc.
13360         (__fork_alias): Renamed from __fork_ifunc.
13362 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
13364         [BZ 19653]
13365         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
13366         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
13368 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13370         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
13371         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
13372         i386-linux-gnu).
13373         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
13374         Set to no.
13375         * sysdeps/mach/hurd/configure: Refresh.
13377 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13379         [BZ #20178]
13380         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
13381         on failure instead of exit.
13383 2016-05-30  Roland McGrath  <roland@hack.frob.com>
13385         [BZ #3629]
13386         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
13387         of POSIX.1-2008.
13389 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13391         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
13392           Use PLT entry for calling _hurd_self_sigstate.
13394 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
13396         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
13397         available logical processors with SMT level type sharing L2
13398         cache for Intel processors.
13400 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13402         [BZ #20160]
13403         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
13404         argument to itself before returning the result.
13405         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13406         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13407         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13408         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13409         Likewise.
13410         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13411         Likewise.
13412         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
13413         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
13414         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13415         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13416         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13417         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13419         [BZ #20160]
13420         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
13421         argument to itself before returning the result.
13422         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13423         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13424         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13425         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
13426         Likewise.
13427         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13428         Likewise.
13429         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
13430         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
13431         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
13432         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13433         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13434         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13436 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13438         * libm-test.inc: Replace usage of M_El with
13439         (lit_e): New macro.
13441 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13443         * libm-test.inc: Replace usage of M_PI_4l with
13444         (lit_pi_4_d): New macro.
13446 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13448         * libm-test.inc: Replace usage of M_PIl with
13449         (lit_pi): New macro.
13451 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13453         * libm-test.inc: Replace usage of M_PI2l with
13454         (lit_pi_2_d): New macro.
13456         * math/test-double.h (LITM): New macro.
13457         * math/test-float.h (LITM): Likewise.
13458         * math/test-ldouble.h (LITM): Likewise.
13460 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13462         * libm-test.inc (M_PI_34l): Rename to
13463         (lit_pi_3_m_4_d): New Macro.
13464         (M_PI_34_LOG10El): Rename to
13465         (lit_pi_3_m_4_ln10_m_d): New Macro.
13466         (M_PI2_LOG10El): Rename to
13467         (lit_pi_2_ln10_m_d):  New Macro.
13468         (M_PI4_LOG10El): Rename to
13469         (lit_pi_4_ln10_m_d):  New Macro.
13470         (M_PI_LOG10El): Rename to
13471         (lit_pi_ln10_d):  New Macro.
13473 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13475         [BZ #20157]
13476         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
13477         determine whether to negate low half if [_ARCH_PPCGR], and integer
13478         comparison otherwise.
13479         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
13480         determine whether to negate low half.
13482         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
13483         (NO_TEST_INLINE_DOUBLE): Likewise.
13484         (TEST_COND_x86_64): Likewise.
13485         (TEST_COND_x86): Likewise.
13486         (M_PI_6l): Likewise.
13488 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13490         * math/libm-test.inc:
13491         (TEST_FLOAT): Change usage to TEST_COND_binary32.
13492         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
13493         (TEST_LDOUBLE): Update usage to evaluate as true if
13494         the guarded tests match the property being tested.
13495         (LDBL_MAX_EXP): Change to MAX_EXP.
13496         (LDBL_MIN_EXP): Change to MIN_EXP.
13497         (LDBL_MANT_DIG): Change to MANT_DIG, except for
13498         nexttoward tests.
13500 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13502         * math/libm-test.inc:
13503         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
13504         (TYPE_MIN): Likewise.
13505         (TYPE_TRUE_MIN): Likewise.
13506         (TYPE_MAX): Likewise.
13507         (MIN_EXP): Likewise.
13508         (MAX_EXP): Likewise.
13509         (MANT_DIG): Likewise.
13511         (FSTR_MAX): New macro.
13512         (__CONCATX): Likewise.
13513         (QTYPE_STR): Likewise.
13514         (TEST_COND_binary32): Likewise.
13515         (TEST_COND_binary64): Likewise.
13516         (TEST_COND_binary128): Likewise.
13517         (TEST_COND_ibm128): Likewise.
13518         (TEST_COND_intel96): Likewise.
13519         (TEST_COND_m68k96): Likewise.
13521         (TEST_COND_flt_32): Redefine as equivalent format test macro.
13522         (TEST_COND_dbl_64): Likewise.
13523         (TEST_COND_ldbl_96_intel): Likewise.
13524         (TEST_COND_ldbl_96_m68k): Likewise.
13525         (TEST_COND_ldbl_128): Likewise.
13526         (TEST_COND_ldbl_128ibm): Likewise.
13528         (plus_zero): Redefine using LIT macro.
13529         (minus_zero): Likewise.
13530         (plus_infty): Redefine as (INF).
13531         (minux_infty): Redefine as (-INF).
13532         (max_value): Redefine as TYPE_MAX.
13533         (min_value): Redefine as TYPE_MIN.
13534         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
13536         (print_float): Refactor to use snprintf to convert FLOAT values
13537         to string. This brings it closer to dropin replacement of strtof
13538         for the TS 18661 defined types.
13539         (update_stats): Likewise.
13540         (print_complex_function_ulps): Likewise.
13541         (print_max_error): Likewise.
13542         (print_complex_max_error): Likewise.
13543         (check_float_internal): Likewise.
13545         * math/test-float.h (PREFIX): New macro.
13546         (LIT): Likewise.
13547         (TYPE_STR): Likewise.
13548         (FTOSTR): Likewise.
13550         * math/test-double.h (PREFIX): New macro.
13551         (LIT): Likewise.
13552         (TYPE_STR): Likewise.
13553         (FTOSTR): Likewise.
13555         * math/test-ldouble.h (PREFIX): New macro.
13556         (LIT): Likewise.
13557         (TYPE_STR): Likewise.
13558         (FTOSTR): Likewise.
13560 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13562         [BZ #20156]
13563         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
13564         to itself when zero or not finite.
13565         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
13566         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13567         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
13568         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13570 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
13572         [BZ #20153]
13573         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
13574         x * x + x for infinities and NaNs.
13576         [BZ #20151]
13577         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
13578         argument to itself before returning result.
13579         (__ieee754_y0l): Likewise.
13580         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13581         (__ieee754_y1l).
13583         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
13584         (atan_test_data): Likewise.
13585         (ceil_test_data): Likewise.
13586         (cos_test_data): Likewise.
13587         (cosh_test_data): Likewise.
13588         (erf_test_data): Likewise.
13589         (exp2_test_data): Likewise.
13590         (fabs_test_data): Likewise.
13591         (floor_test_data): Likewise.
13592         (ilogb_test_data): Likewise.
13593         (j0_test_data): Likewise.
13594         (j1_test_data): Likewise.
13595         (jn_test_data): Likewise.
13596         (lgamma_test_data): Likewise.
13597         (lrint_test_data): Likewise.
13598         (llrint_test_data): Likewise.
13599         (logb_test_data): Likewise.
13600         (lround_test_data): Likewise.
13601         (llround_test_data): Likewise.
13602         (nearbyint_test_data): Likewise.
13603         (rint_test_data): Likewise.
13604         (round_test_data): Likewise.
13605         (sin_test_data): Likewise.
13606         (sincos_test_data): Likewise.
13607         (sinh_test_data): Likewise.
13608         (sqrt_test_data): Likewise.
13609         (tan_test_data): Likewise.
13610         (tanh_test_data): Likewise.
13611         (tgamma_test_data): Likewise.
13612         (trunc_test_data): Likewise.
13613         (y0_test_data): Likewise.
13614         (y1_test_data): Likewise.
13615         (yn_test_data): Likewise.
13617         * math/libm-test.inc: Update comment about NaN testing.
13618         (TEST_SNAN): New macro.
13619         (snan_value): Likewise.
13620         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
13621         (fpclassify_test_data): Add sNaN tests.
13622         (isfinite_test_data): Likewise.
13623         (isinf_test_data): Likewise.
13624         (isnan_test_data): Likewise.
13625         (isnormal_test_data): Likewise.
13626         (issignaling_test_data): Likewise.
13627         (signbit_test_data): Likewise.
13628         * math/gen-libm-test.pl (%beautify): Add snan_value.
13629         (show_exceptions): Add argument $test_snan.
13630         (parse_args): Handle snan_value as non-finite.  Update call to
13631         show_exceptions.
13632         * math/Makefile (libm-test-no-inline-cflags): Add
13633         -fsignaling-nans.
13635 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13637         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
13638         (CFLAGS-oldsendmsg.c): Add rule.
13639         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13640         Correct recvmsg symbol name.
13641         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
13642         Likewise.
13644 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13646         * sysdeps/unix/sysv/linux/Makefile
13647         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
13648         oldsendmmsg.
13649         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
13650         sendmmsg.
13651         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13652         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13653         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13654         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13656         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13657         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13659         Likewise.
13660         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13661         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
13662         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13663         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
13664         iovlen and controllen fields to adjust to POSIX specification.
13665         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13667         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
13668         and change to correct expected type.
13669         (msghdr.msg_controllen): Likewise.
13670         (cmsghdr.cmsg_len): Likewise.
13671         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
13672         expected POSIX assumption about the size.
13673         (msghdr.msg_controllen): Likewise.
13674         (msghdr.__glibc_reserved1): Likewise.
13675         (msghdr.__glibc_reserved2): Likewise.
13676         (cmsghdr.cmsg_len): Likewise.
13677         (cmsghdr.__glibc_reserved1): Likewise.
13678         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
13679         Add ptw-oldrecvmsg and ptw-oldsendmsg.
13680         (CFLAGS-sendmsg.c): Remove rule.
13681         (CFLAGS-recvmsg.c): Likewise.
13682         (CFLAGS-oldsendmsg.c): Add rule.
13683         (CFLAGS-oldrecvmsg.c): Likewise.
13684         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
13685         recvmsg and sendmsg.
13686         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
13687         Likewise.
13688         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
13689         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
13690         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13691         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
13692         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13693         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13694         Likewise.
13695         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13696         Likewise.
13697         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
13698         Likewise.
13699         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
13700         Likewise.
13701         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13702         Likewise.
13703         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13704         Likewise.
13705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
13706         (GLIBC_2.24): Likewise.
13707         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13708         Likewise.
13709         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13710         Likewise.
13711         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13712         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13713         Likewise.
13714         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13715         Likewise.
13716         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13717         Likewise.
13718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
13719         (GLIBC_2.24): Likewise.
13720         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
13721         Likewise.
13722         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
13723         Likewise.
13724         * sysdeps/unix/sysv/linux/Makefile
13725         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
13726         (CFLAGS-sendmsg.c): Add rule.
13727         (CFLAGS-recvmsg.c): Likewise.
13728         (CFLAGS-oldsendmsg.c): Likewise.
13729         (CFLAGS-oldrecvmsg.c): Likewise.
13730         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
13731         initialization.
13732         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13733         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13734         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
13735         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13736         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
13737         iovlen and controllen fields to adjust to POSIX specification.
13738         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
13739         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
13740         added recvmsg and sendmsg.
13741         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13742         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13743         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13744         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13745         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13746         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13747         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13748         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13749         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13750         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13751         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13752         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13754         Likewise.
13755         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13757         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13758         Likewise.
13759         Likewise.
13760         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13761         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13762         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13763         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13764         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13765         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13767         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13769         Likewise.
13770         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13771         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13773         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
13774         from auto-generation.
13775         (sendmsg): Likewise.
13776         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
13777         (sendmsg): Likewise.
13778         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
13779         (sendmsg): Likewise.
13780         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
13781         (sendmsg): Likewise.
13782         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
13783         (sendmsg): Likewise.
13784         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
13785         (sendmsg): Likewise.
13786         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
13787         Likewise.
13788         (sendmsg): Likewise.
13789         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
13790         (sendmsg): Likewise.
13791         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13792         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13793         Remove.
13794         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13795         Likewise.
13796         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13797         Undefine.
13798         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13799         Likewise.
13800         * sysdeps/unix/sysv/linux/kernel-features.h
13801         (__ASSUME_SENDMSG_SYSCALL): Define.
13802         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13803         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13804         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13805         Remove.
13806         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13807         Likewise.
13808         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13809         Undefine.
13810         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13811         Likewise.
13812         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13813         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13814         Remove.
13815         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13816         Likewise.
13817         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13818         Undefine.
13819         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13820         Likewise.
13821         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13822         (__ASSUME_SENDMSG_SYSCALL): Undefine.
13823         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13824         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13825         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13826         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13827         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13828         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13829         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13831 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13833         * stdlib/gen-tst-strtod-round.c: Add backslash to
13834         compile command in comment.
13835         (printfp): Remove the literal suffix, and define an infinite
13836         value as INF to avoid expansion clash with INFINITY.
13837         (round_str): Remove the literal suffix.
13838         (round_for_all): Likewise, remove the now duplicate ldbl-64
13839         entry, and remove some magic constants.
13841         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
13842         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
13843         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
13844         (_CONCAT): New macro.
13845         (CONCAT): Likewise.
13846         (CHOOSE_ld): Likewise.
13847         (CHOOSE_f): Likewise.
13848         (CHOOSE_d): Likewise.
13849         (FTYPE_MEMBER): Likewise.
13850         (BOOL_MEMBER): Likewise.
13851         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
13852         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
13853         (_XNTRY): Likewise.
13854         (XNTRY): Likewise.
13855         (_ENTRY): Likewise.
13856         (ENTRY): Likewise.
13857         (test_exactness): Generate members via macro.
13858         (test_results): Likewise.
13859         (test): Update members.
13860         (TEST): Redefine using new macros.
13861         (INF): New macro.
13862         (fetestmodes): New structure.
13863         (do_test): Refactor to be type generic.
13864         (test_in_one_mode): Refactor duplicate code into
13865         (GEN_ONE_TEST): New macro.
13867         * stdlib/tst-strtod-round-data.h: Regenerate.
13869         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
13870         Extend to pass additional arbitrary parameters to
13871         generators.
13873 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
13875         [BZ #15479]
13876         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
13877         floating-point state after first floating-point operation on
13878         input.  Restore full floating-point state instead of just rounding
13879         mode.
13880         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13881         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13882         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13883         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13884         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13886         [BZ #15479]
13887         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
13888         floating-point state after first floating-point operation on
13889         input.  Restore full floating-point state instead of just rounding
13890         mode.
13891         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13892         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13893         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13894         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13895         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13897 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13899         [BZ #19727]
13900         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
13901         valid high surrogate.
13902         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
13903         of an utf16 surrogate.
13904         * iconv/gconv_simple.c (BODY): Likewise.
13905         * iconvdata/bug-iconv12.c: New file.
13906         * iconvdata/Makefile (tests): Add bug-iconv12.
13908 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13910         [BZ #19726]
13911         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
13912         outptrp in case of an illegal input.
13913         * iconv/tst-iconv6.c: New file.
13914         * iconv/Makefile (tests): Add tst-iconv6.
13916 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13918         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
13919         an error in case of a value in range of an utf16 low surrogate.
13921 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13923         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
13924         an error in case of a value in range of an utf16 low surrogate.
13926 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13928         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
13929         Move to ...
13930         * sysdeps/s390/Makefile: ... here.
13931         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
13932         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
13933         (BRANCH_ON_COUNT): New define.
13934         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
13935         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
13936         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
13937         run on s390-32, too.
13938         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
13939         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
13940         run on s390-32, too.
13941         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
13942         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
13943         run on s390-32, too.
13945 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13947         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
13948         etf3eh or new vector loop-variant.
13950 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13952         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
13953         etf3eh or new vector loop-variant.
13955 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13957         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
13958         or new vector loop-variant.
13960 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13962         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
13963         Rename to TR_LOOP and usage of tr instead of troo instruction.
13965 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13967         * sysdeps/s390/multiarch/gconv_simple.c: New File.
13968         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
13970 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13972         * sysdeps/s390/multiarch/8bit-generic.c: New File.
13973         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
13974         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
13975         New override define.
13976         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
13978 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13980         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
13981         * sysdeps/s390/configure.ac: Add test for S390 vector register
13982         support in gcc.
13983         * sysdeps/s390/configure: Regenerated.
13985 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13987         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
13988         Install file from $(objpfx)gconv-modules.
13989         ($(objpfx)gconv-modules): Concatenate architecture specific file
13990         in variable sysdeps-gconv-modules and gconv-modules in src dir.
13991         * sysdeps/s390/gconv-modules: New file.
13992         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
13993         Deleted.
13994         ($(objpfx)gconv-modules-s390): Deleted.
13995         (sysdeps-gconv-modules): New variable.
13997 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
13999         [BZ #15479]
14000         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
14001         of immediate operand to rounding instruction.
14002         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
14003         Likewise.
14004         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
14005         Likewise.
14006         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
14007         Likewise.
14009 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14011         * math/libm-test.inc (MIN_EXP): Directly define as
14012         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
14014 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14016         * math/libm-test.inc (MANT_DIG): Directly define as
14017         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
14019 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14021         * stdlib/gen-tst-strtod-round.c (main):
14022           Change usage to more closely match the generated
14023           output.  Add usage and compilation instructions.
14024           (string_to_fp): Add and use FILE* parameter as
14025           output target.
14026           (print_fp): Likewise.
14027           (round_str): Likewise.
14028           (round_for_all): Likewise.
14029         * stdlib/tst-strtod-round.c (tests): Move into
14030         * stdlib/tst-strtod-round-data.h: New file.
14032 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14034         [BZ #15479]
14035         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
14036         (__round): Do not force "inexact" exception.
14037         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
14038         variable.
14039         (__round): Do not force "inexact" exception.
14040         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
14041         (__roundf): Do not force "inexact" exception.
14042         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
14043         (__roundl): Do not force "inexact" exception.
14044         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
14045         (__roundl): Do not force "inexact" exception.
14046         * math/libm-test.inc (round_test_data): Do not allow spurious
14047         "inexact" exceptions.
14049         [BZ #15479]
14050         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
14051         exception in comment.
14052         (huge): Remove variable.
14053         (__floor): Do not force "inexact" exception.
14054         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
14055         "inexact" exception in comment.
14056         (huge): Remove variable.
14057         (__floor): Do not force "inexact" exception.
14058         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
14059         exception in comment.
14060         (huge): Remove variable.
14061         (__floorf): Do not force "inexact" exception.
14062         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
14063         exception in comment.
14064         (huge): Remove variable.
14065         (__floorl): Do not force "inexact" exception.
14067         [BZ #15479]
14068         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
14069         exception in comment.
14070         (huge): Remove variable.
14071         (__ceil): Do not force "inexact" exception.
14072         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
14073         "inexact" exception in comment.
14074         (huge): Remove variable.
14075         (__ceil): Do not force "inexact" exception.
14076         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
14077         (__ceilf): Do not force "inexact" exception.
14078         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
14079         exception in comment.
14080         (huge): Remove variable.
14081         (__ceill): Do not force "inexact" exception.
14083 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14085         * config.h.in (BIND_NOW): New.
14086         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
14087         * configure: Regenerated.
14088         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
14089         indirect branch via the GOT slot.
14091 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14093         [BZ #19765]
14094         * sysdeps/s390/mempcpy.S: New File.
14095         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14096         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
14097         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14098         Add mempcpy variants.
14099         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
14100         (memcpy): Adjust to be usable from mempcpy entry point.
14101         (__memcpy_mvcle): Likewise.
14102         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14103         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
14104         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
14105         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
14106         (__memcpy_z10): Likewise.
14107         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14109 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14111         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
14112         Remove __GI_ symbol.
14113         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
14114         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
14115         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
14116         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14117         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
14118         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
14120 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14122         * sysdeps/s390/s390-64/memcpy.S (memcpy):
14123         Use cghi instead of chi to compare 64bit value.
14125 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14127         * sysdeps/s390/s390-32/memcpy.S (memcpy):
14128         Jump to 1MB check before executing mvc-loop.
14130 2016-05-24  Florian Weimer  <fweimer@redhat.com>
14132         [BZ #6527]
14133         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
14134         unconditionally.
14135         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
14137 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14139         * stdlib/tst-strtod6.c (do_test): Use new type generic
14140         invocation of the test function.
14141         (test): Refactor into ...
14142         (TEST_STRTOD): New macro base function.
14144 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14146         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
14147         (TEST_STRTOD): New macro.
14148         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
14150 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14152         * stdlib/tst-strtod6.c (do_test): Use new type generic
14153         invocation of the test function.
14154         (test): Refactor into ...
14155         (TEST_STRTOD): New macro base function.
14157 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14159         CVE-2016-4429
14160         [BZ #20112]
14161         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
14162         payload.
14164 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14166         [BZ #20111]
14167         * bits/sockaddr.h (_SS_SIZE): Define.
14168         * bits/socket.h (_SS_SIZE): Remove.
14169         (_SS_PADSIZE): Adjust to account for all padding.
14170         (struct sockaddr_storage): Update comment.  Avoid implicit
14171         padding.
14172         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
14173         (_SS_PADSIZE): Adjust to account for all padding.
14174         (struct sockaddr_storage): Update comment.  Avoid implicit
14175         padding.
14176         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
14177         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
14178         (_SS_PADSIZE): Adjust to account for all padding.
14179         (struct sockaddr_storage): Update comment.  Avoid implicit
14180         padding.
14181         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
14182         __SS_SIZE is 126 in this version.
14183         * inet/tst-sockaddr.c: New file.
14184         * inet/Makefile (tests): Add tst-sockaddr.c
14185         (tst-sockaddr.c): Compile with non-strict aliasing.
14187 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
14189         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
14190         [XPG3 || XPG4].
14191         (NL_ARGMAX): Also expect for [XPG3].
14192         (NL_LANGMAX): Likewise.
14193         (NL_MSGMAX): Likewise.
14194         (NL_NMAX): Likewise.
14195         (NL_SETMAX): Likewise.
14196         (NL_TEXTMAX): Likewise.
14197         (NZERO): Likewise.
14198         (TMP_MAX): Likewise.
14199         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
14200         variable.
14202         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
14203         (PF_MAX): Update value.
14204         (AF_KCM): New macro.
14205         (SOL_NETBEUI): Likewise.
14206         (SOL_LLC): Likewise.
14207         (SOL_DCCP): Likewise.
14208         (SOL_NETLINK): Likewise.
14209         (SOL_TIPC): Likewise.
14210         (SOL_RXRPC): Likewise.
14211         (SOL_PPPOL2TP): Likewise.
14212         (SOL_BLUETOOTH): Likewise.
14213         (SOL_PNPIPE): Likewise.
14214         (SOL_RDS): Likewise.
14215         (SOL_IUCV): Likewise.
14216         (SOL_CAIF): Likewise.
14217         (SOL_ALG): Likewise.
14218         (SOL_NFC): Likewise.
14219         (SOL_KCM): Likewise.
14220         (MSG_BATCH): New enum value and macro.
14222 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
14224         [BZ #18185]
14225         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
14226         sharing L2 cache to 2 for Knights Landing.
14228 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
14230         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
14231         (FTW_DP): Do not expect for [XPG3 || XPG4].
14232         (FTW_SL): Do not expect for [XPG3].
14233         (FTW_SLN): Likewise.
14234         (FTW_PHYS): Likewise.
14235         (FTW_MOUNT): Likewise.
14236         (FTW_DEPTH): Likewise.
14237         (FTW_CHDIR): Likewise.
14238         (nftw): Likewise.
14239         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
14240         variable.
14242 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14244         * manual/errno.texi: Fix various typos & grammar errors.
14246 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14248         * manual/intro.texi: Fix duplicated typo.
14250 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14252         [BZ #13304]
14253         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
14254         <float.h>, <math_private.h> and <stdlib.h>.
14255         (add_split): New function.
14256         (mul_split): Likewise.
14257         (ext_val): New typedef.
14258         (store_ext_val): New function.
14259         (mul_ext_val): New function.
14260         (compare): New function.
14261         (add_split_ext): New function.
14262         (__fmal): After checking for Inf, NaN and zero, compute result as
14263         an exact sum of scaled double values in round-to-nearest before
14264         adding those up and adjusting for other rounding modes.
14265         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
14266         tests of fma.
14267         * math/auto-libm-test-out: Regenerated.
14269 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14271         [BZ #20119]
14272         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
14273         processor level type mask for CPUID with EAX == 11.
14275 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14277         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
14278         logical threads if the HTT bit is 0.
14279         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
14280         (index_cpu_HTT): Likewise.
14281         (reg_HTT): Likewise.
14283 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14285         [BZ #20115]
14286         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
14287         Remove alignments on jump targets.
14289 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14291         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
14292         (getpwent): Likewise.
14293         (setpwent): Likewise.
14294         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
14295         variable.
14297         * conform/data/search.h-data (insque): Do not expect for [XPG3].
14298         (remque): Likewise.
14299         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
14300         variable.
14302 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14304         * math/libm-test.inc: Update comment not to refer to signs of NaNs
14305         not being tested.
14307 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14309         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14310         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
14311         call.
14312         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14313         (__condvar_cleanup1): Likewise.
14315 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14317         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
14318         New
14319         (__pthread_unwind): Renamed to ...
14320         (PTHREAD_UNWIND): This.
14321         (__pthread_enable_asynccancel): Replace
14322         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
14324 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14326         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
14327         (CLONE_NEWCGROUP): New macro.
14329         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
14330         (Q_GETNEXTQUOTA): New macro.
14332 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14334         [BZ #19907]
14335         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
14336         buffer updated by the previous run.
14337         * string/test-memcpy.c (do_one_test): Likewise.
14338         * benchtests/bench-memmove.c (do_one_test): Add a comment.
14339         * string/test-memmove.c (do_one_test): Likewise.
14341 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
14343         [BZ #20094]
14344         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
14345         not [__USE_XOPEN].
14346         (unlockpt): Likewise.
14347         (ptsname): Likewise.
14348         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
14349         variable.
14351         [BZ #20076]
14352         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
14353         instead of [__USE_UNIX98].
14354         (S_ISSOCK): Likewise.
14355         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
14356         variable.
14358         [BZ #20074]
14359         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
14360         [__USE_POSIX].
14361         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
14362         variable.
14364         [BZ #20051]
14365         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
14366         (ttyslot): Do not declare.
14367         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
14368         (ttyslot): New prototype.
14369         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
14370         variable.
14371         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14373 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14375         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
14377 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14379         Fix race condition in tst-mallocfork2, use fewer resources.
14380         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
14381         to current process group.
14382         (signal_sender): Yield in the non-sleeping case.
14384 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
14386         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
14387         (ecvt): Likewise.
14388         (fcvt): Likewise.
14389         (gcvt): Likewise.
14390         (getsubopt): Likewise.
14391         (grantpt): Likewise.
14392         (initstate): Likewise.
14393         (l64a): Likewise.
14394         (mktemp): Likewise.
14395         (mkstemp): Likewise.
14396         (ptsname): Likewise.
14397         (random): Likewise.
14398         (realpath): Likewise.
14399         (setstate): Likewise.
14400         (srandom): Likewise.
14401         (ttyslot): Likewise.
14402         (unlockpt): Likewise.
14403         (valloc): Likewise.
14405         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
14406         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
14407         variable.
14409 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14411         [BZ #20072]
14412         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
14413         init_cpu_features only if SHARED is defined.
14414         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
14416 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14418         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
14419         non-inclusive caches on Intel processors.
14421 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14423         * malloc/malloc.c (dumped_main_arena_start)
14424         (dumped_main_arena_end): New variables.
14425         (DUMPED_MAIN_ARENA_CHUNK): New macro.
14426         (do_check_chunk): Skip dumped fake mmapped chunks.
14427         (munmap_chunk): Likewise.
14428         (__libc_free): Do not adjust statistics for fake mmapped chunks.
14429         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
14430         mmapped chunks.
14431         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
14432         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
14433         and dumped_main_arena_end to cover the dumped heap.
14435 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
14437         * conform/data/time.h-data (getdate_err): Do not expect for
14438         [XPG3].
14439         (getdate): Likewise.
14440         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
14441         variable.
14443         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
14444         (F_ULOCK): Likewise.
14445         (F_TEST): Likewise.
14446         (F_TLOCK): Likewise.
14447         (useconds_t): Likewise.
14448         (intptr_t): Do not expect for [XPG3] or [XPG4].
14449         (brk): Do not expect for [XPG3]
14450         (fchown): Likewise.
14451         (fchdir): Likewise.
14452         (ftruncate): Likewise.
14453         (getdtablesize): Likewise.
14454         (gethostid): Likewise.
14455         (getpagesize): Likewise.
14456         (getpgid): Likewise.
14457         (getsid): Likewise.
14458         (getwd): Likewise.
14459         (lchown): Likewise.
14460         (lockf): Likewise.
14461         (readlink): Likewise.
14462         (sbrk): Likewise.
14463         (setpgrp): Likewise.
14464         (setregid): Likewise.
14465         (setreuid): Likewise.
14466         (symlink): Likewise.
14467         (sync): Likewise.
14468         (truncate): Likewise.
14469         (ualarm): Likewise.
14470         (usleep): Likewise.
14471         (vfork): Likewise.
14472         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
14473         variable.
14475         [BZ #20054]
14476         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
14477         not [__USE_UNIX98].
14478         * conform/data/unistd.h-data (gethostname): Do not expect for
14479         [XPG3].
14481         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
14482         [!POSIX] (S_IFBLK): Likewise.
14483         [!POSIX] (S_IFCHR): Likewise.
14484         [!POSIX] (S_IFIFO): Likewise.
14485         [!POSIX] (S_IFREG): Likewise.
14486         [!POSIX] (S_IFDIR): Likewise.
14487         [!POSIX] (S_IFLNK): Likewise.
14488         [!POSIX] (S_IFSOCK): Likewise.
14489         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
14490         variable.
14491         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14493 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
14495         * sysdeps/aarch64/memset.S (__memset):
14496         Rewrite of optimized memset.
14498 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14500         [BZ #19703]
14501         Partially async-signal-safe fork for single-threaded processes.
14502         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
14503         variable.  Do not acquire and reset/release malloc and libio locks
14504         in single-threaded processes.
14505         * malloc/tst-mallocfork2.c: New file.
14506         * malloc/Makefile (tests): Add it.
14508 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14510         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
14511         argument.  Use scratch buffer instead of extend_alloca.
14512         (gethosts): Use scratch buffer instead of extend_alloca.
14513         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
14514         extend_alloca.
14515         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
14517 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
14519         [BZ #20055]
14520         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
14521         instead of [__USE_UNIX98].
14522         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
14523         [__USE_UNIX98].
14524         * conform/data/termios.h-data (tcgetsid): Do not expect for
14525         [XPG3].
14526         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
14527         variable.
14528         (test-xfail-XPG4/termios.h/conform): Likewise.
14530 2016-05-11  Florian Weimer  <fweimer@redhat.com>
14532         Do not use mcheck in localedef.
14533         * locale/programs/localedef.c (turn_on_mcheck)
14534         (__malloc_initialize_hook): Remove.
14536 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14538         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
14539         * sysdeps/s390/s390-64/Makefile: Likewise.
14541 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14543         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
14544         Remove ifunc-defines.sym.
14545         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
14546         Likewise.
14547         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
14548         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14549         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
14550         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
14551         rtld-global-offsets.sym.
14552         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
14553         * sysdeps/x86/cpu-features-offsets.sym: This.
14554         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
14555         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
14557 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
14559         [BZ #20073]
14560         * io/sys/stat.h (fchmod): Declare for
14561         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
14562         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
14563         variable.
14565         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
14566         [XPG3] (S_IFSOCK): Likewise.
14567         [XPG3] (S_ISVTX): Likewise.
14568         [XPG3] (S_ISLNK): Likewise.
14569         [XPG3] (S_ISSOCK): Likewise.
14570         [XPG3] (fchmod): Likewise.
14571         [XPG3] (lstat): Likewise.
14572         [XPG3] (mknod): Likewise.
14574         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
14575         [XPG3].  Expect type long and XFAIL for [XPG4].
14576         (st_blocks): Likewise.
14578         [BZ #20044]
14579         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
14580         (pthread_atfork): New prototype.
14581         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
14582         variable.
14584         [BZ #20043]
14585         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
14586         prototype.
14588 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14590         [BZ #20017]
14591         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
14592         gmtime.
14594 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14596         [BZ #19994]
14597         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
14598         flag in _res.options.
14600 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
14602         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
14603         [XPG3 || XPG4].
14604         (blksize_t): Likewise.
14605         (clockid_t): Likewise.
14606         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
14607         variable.
14608         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14610 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14612         * sysdeps/unix/sysv/linux/s390/init-first.c:
14613         Add VDSO_SYMBOL(getcpu).
14614         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
14615         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
14616         Add VDSO_SYMBOL(getcpu).
14617         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
14618         New define HAVE_GETCPU_VSYSCALL.
14619         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14621 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14623         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
14624         instead of <sysdeps/x86_64/cacheinfo.c>.
14625         * sysdeps/x86_64/cacheinfo.c: Moved to ...
14626         * sysdeps/x86/cacheinfo.c: Here.
14628 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14630         * malloc/malloc-internal.h: Adjust header file guard.
14632 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14634         [BZ #19787]
14635         * inet/getnameinfo.c (check_sprintf_result): New function.
14636         (CHECKED_SNPRINTF): New macro.
14637         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
14638         to the host buffer.
14639         (gni_host_local): Use checked_copy to copy the host name.
14640         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
14641         (gni_serv_local): Use checked_copy to copy the service name.
14642         (getnameinfo): Remove unnecessary truncation of result buffers.
14644 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14646         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
14647         in case of inet_ntop failure.
14649 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14651         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
14652         avoid long lines.
14653         (gni_host_inet_numeric): Likewise.  Reduce scope of local
14654         variables.
14655         (gni_host_inet, gni_host_local): Add comment.
14656         (gni_host): Add comment.  Use temporary to avoid long lines.
14658 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14660         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
14661         registers specifiers where general purpose registers specifiers should
14662         have been used.
14664 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14666         [BZ #19779]
14667         CVE-2016-1234
14668         Avoid copying names of directory entries.
14669         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
14670         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
14671         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
14672         (struct readdir_result): New type.
14673         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
14674         (GL_READDIR): New macros.
14675         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
14676         (convert_dirent, convert_dirent64): New functions.
14677         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
14678         convert_dirent64.  Adjust references to the readdir result.
14679         * sysdeps/unix/sysv/linux/i386/glob64.c:
14680         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
14681         * posix/bug-glob2.c (LONG_NAME): Define.
14682         (filesystem): Add LONG_NAME.
14683         (my_DIR): Increase the size of room_for_dirent.
14685 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
14687         [BZ #20041]
14688         * misc/sys/select.h (__need_timespec): Only define if
14689         [__USE_XOPEN2K].
14690         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
14691         variable.
14692         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14693         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14694         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14696 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14697             Segher Boessenkool  <segher@gcc.gnu.org>
14699         [BZ #20004]
14700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
14701         (__novec_swapcontext): Add missing load.
14703 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
14705         [BZ #20023]
14706         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
14707         <time.h>.
14708         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
14709         variable.
14710         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14712 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
14715         flags CLONE_VM compare.
14717 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14719         [BZ #20031]
14720         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
14721         completely empty.
14723 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14725         [BZ #19573]
14726         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
14727         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
14728         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
14729         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
14730         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
14731         (hesiod_free_list): Mark as hidden.
14732         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
14733         res_set, res_get.
14734         * hesiod/hesiod.c: Remove unnecessary forward declarations.
14735         (init, __hesiod_res_get, __hesiod_res_set): Remove.
14736         (hesiod_init): Remove obsolete res_ninit call.
14737         (hesiod_end): Do not free resolver state.  Do not invoke callback.
14738         (hesiod_bind): Do not call init.
14739         (get_txt_records): Use res_mkquery, res_send instead of
14740         res_nmkquery, res_nsend.
14741         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
14742         instead of _nss_hesiod_init.
14743         (_nss_hesiod_initgroups_dyn): Likewise.
14744         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
14745         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
14746         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
14748 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14750         * hesiod/hesiod_p.h (DEF_RHS): Remove.
14751         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
14753 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14755         * hesiod/hesiod.h: Remove RCS keyword.
14756         * hesiod/hesiod_p.h: Likewise.
14758         * hesiod/hesiod.c: Likewise.
14760 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
14762         [BZ #12450]
14763         * locale/iso-639.def: Add Samogitian/sgs.
14765 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
14767         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
14769         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
14771 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
14772             Carlos O'Donell  <carlos@redhat.com>
14774         [BZ #19072]
14775         * grp/Makefile (headers): Add grp-merge.h
14776         (routines): Add grp-merge.
14777         * grp/getgrgid_r.c: Include grp-merge.h.
14778         (DEEPCOPY_FN): Define.
14779         (MERGE_FN): Define.
14780         * grp/getgrname_r.c: Include grp-merge.h.
14781         (DEEPCOPY_FN): Define.
14782         (MERGE_FN): Define.
14783         * grp/grp-merge.c: New file.
14784         * grp/grp-merge.h: New file.
14785         * include/grp-merge.h: New file.
14786         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
14787         __copy_grp@GLIBC_PRIVATE.
14788         * manual/nss.texi (Actions in the NSS configuration): Describe
14789         return, continue, and merge.
14790         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
14791         (DEEPCOPY_FN): Define.
14792         (MERGE_FN): Define.
14793         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
14794         (DEEPCOPY_FN): Define.
14795         (MERGE_FN): Define.
14796         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
14797         [!MERGE_FN]: Define __merge_einval.
14798         (CHECK_MERGE): Define.
14799         (REENTRANT_NAME): Process merge if do_merge is true.
14800         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
14801         (__nss_getent_r): Likewise.
14802         * nss/nsswitch.c (nss_parse_service_list): Likewise.
14803         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
14805 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14807         [BZ #20012]
14808         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
14809         length to calculate the buffer to read.
14810         (fmemopen_write): Set the buffer position based on bytes written.
14811         (fmemopen_seek): Return EINVAL for invalid whence modes.
14813         [BZ #19957]
14814         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
14815         tst-getpid2.
14816         (test): Add tst-clone2.
14817         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
14818         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
14819         pid/tid fields for CLONE_VM.
14820         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
14821         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
14822         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
14823         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
14824         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
14825         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
14826         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
14827         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
14828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
14829         Likewise.
14830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14831         Likewise.
14832         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
14833         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
14834         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
14835         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
14836         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
14837         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
14838         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
14839         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
14841 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14843         [BZ #19642]
14844         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
14845         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
14846         (gni_serv_local, gni_serv): New functions extracted from
14847         getnameinfo.
14848         (getnameinfo): Call gni_host and gni_serv to perform the
14849         processing.  Always free scratch buffer.
14851 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14853         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
14854         remaining bytes in the dest string, with zeros.
14856 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14858         [BZ #20010]
14859         CVE-2016-3706
14860         * sysdeps/posix/getaddrinfo.c
14861         (convert_hostent_to_gaih_addrtuple): New function.
14862         (gethosts): Call convert_hostent_to_gaih_addrtuple.
14863         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
14864         AF_INET data.
14866 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14868         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
14869         callback function gl_readdir.
14870         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
14871         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
14872         (glob_in_dir): Remove len.  Use strdup instead of malloc and
14873         memcpy to copy the name.
14874         * manual/pattern.texi (Calling Glob): Document requirements for
14875         implementations of the gl_readdir callback function.
14876         * manual/examples/mkdirent.c: New example.
14877         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
14878         per the manual guidance.
14879         * posix/tst-gnuglob.c (my_readdir): Likewise.
14881 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
14883         [BZ #20014]
14884         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
14885         not [__USE_POSIX].
14886         (getchar_unlocked): Likewise.
14887         (putc_unlocked): Likewise.
14888         (putchar_unlocked): Likewise.
14889         (flockfile): Likewise.
14890         (ftrylockfile): Likewise.
14891         (funlockfile): Likewise.
14892         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
14893         variable.
14894         (test-xfail-XPG4/stdio.h/conform): Likewise.
14896         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
14897         Expect constant.
14898         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
14899         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
14900         variable.
14901         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14902         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14904         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
14905         [__USE_LARGEFILE64] (off64_t): Likewise.
14906         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
14907         variable.
14909 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14911         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
14913 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14915         * resolv/inet_addr.c: Reindent preprocessor conditionals.
14916         * resolv/res_init.c: Likewise.
14917         * resolv/res_mkquery.c: Likewise.
14919 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14921         * resolv/res_init.c (isascii): Do not define.  Use definition in
14922         <ctype.h>.
14923         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
14924         (LOG_AUTH): Remove.
14925         (SPRINTF): Remove, adjust caller.
14926         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
14928 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14930         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
14931         SUNSECURITY conditional.
14932         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
14934 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14936         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
14937         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
14938         Remove BSD-related preprocessor conditionals.
14939         * conf/portability.h: Remove.
14941 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14943         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
14944         * resolv/res_data.c: Likewise.
14946 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14948         * resolv/res_comp.c: Remove code conditional on __ultrix__.
14949         * resolv/res_data.c: Remove code conditional on ultrix.
14951 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14953         * resolv/res_init.c (RFC1535): Do not define.  Remove
14954         RFC1535 preprocessor conditionals.
14955         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
14956         because there configuration options which make the resolver
14957         behavior different.
14959 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14961         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
14962         RESOLVSORT preprocessor conditionals.
14963         * resolv/nss_dns/dns-host.c: Likewise.
14964         * resolv/res_init.c: Likewise.
14966 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14968         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
14969         is never defined.
14971 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14973         * inet/inet_lnaof.c: Remove SCSS keyword.
14974         * inet/inet_mkadr.c: Likewise.
14975         * inet/inet_net.c: Likewise.
14976         * inet/inet_netof.c: Likewise.
14977         * inet/rcmd.c: Likewise.
14978         * inet/rexec.c: Likewise.
14979         * inet/ruserpass.c: Likewise.
14981 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14983         * resolv/inet_addr.c: Remove _LIBC conditionals.
14984         * resolv/res_data.c: Likewise.
14985         * resolv/res_init.c: Likewise.
14986         * resolv/res_mkquery.c: Likewise.
14987         * resolv/res_libc.c: Update comment.
14988         * resolv/README: Update.
14990 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14992         * resolv/gethnamaddr.c: Remove SCSS keyword.
14993         * resolv/herror.c: Likewise.
14994         * resolv/inet_addr.c: Likewise.
14995         * resolv/inet_net_ntop.c: Likewise.
14996         * resolv/inet_net_pton.c: Likewise.
14997         * resolv/inet_neta.c: Likewise.
14998         * resolv/inet_ntop.c: Likewise.
14999         * resolv/inet_pton.c: Likewise.
15000         * resolv/ns_date.c: Remove RCS keyword.
15001         * resolv/ns_name.c: Likewise.
15002         * resolv/ns_netint.c: Likewise.
15003         * resolv/ns_parse.c: Likewise.
15004         * resolv/ns_print.c: Likewise.
15005         * resolv/ns_samedomain.c: Likewise.
15006         * resolv/ns_ttl.c: Likewise.
15007         * resolv/nsap_addr.c: Likewise.
15008         * resolv/res_comp.c: Remove SCSS and RCS keyword.
15009         * resolv/res_data.c: Remove RCS keyword.
15010         * resolv/res_debug.c: Remove SCSS and RCS keyword.
15011         * resolv/res_init.c: Likewise.
15012         * resolv/res_mkquery.c: Likewise.
15013         * resolv/res_query.c: Likewise.
15014         * resolv/res_send.c: Likewise.
15016 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15018         * conform/data/stdio.h-data (fdopen): Expect also for
15019         [XPG3 || XPG4].
15021         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
15022         (fseeko): Likewise.
15023         (ftello): Likewise.
15024         (ftrylockfile): Likewise.
15025         (funlockfile): Likewise.
15026         (getc_unlocked): Likewise.
15027         (getchar_unlocked): Likewise.
15028         (putc_unlocked): Likewise.
15029         (putchar_unlocked): Likewise.
15031 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15033         [BZ #19868]
15034         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
15035         DNS packet syntax checks (which were not needed before).  Skip
15036         over non-PTR records.
15038 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15040         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
15041         definition.  Include <stddef.h> instead.
15043 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15045         [BZ #19831]
15046         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
15047         function.
15048         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
15049         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
15051 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15053         [BZ #19862]
15054         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
15055         (getanswer_r): Do not call syslog.
15056         (gaih_getanswer_slice): Likewise.
15057         * resolv/gethnamaddr.c (AskedForGot): Remove.
15058         (getanswer): Do not call syslog.
15059         (gethostbyaddr): Likewise.
15061 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15063         * conform/data/signal.h-data (union sigval): Expect also if
15064         [XOPEN2K].
15065         (struct sigevent): Likewise.
15066         (SIGEV_NONE): Likewise.
15067         (SIGEV_SIGNAL): Likewise.
15068         (SIGEV_THREAD): Likewise.
15069         (SIGRTMIN): Likewise.
15070         (SIGRTMAX): Likewise.
15071         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
15072         variable.
15073         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15075 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15077         [BZ #19830]
15078         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
15079         (gaih_getanswer_slice): Likewise.
15080         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
15081         Also check for availability of RR metadata.
15083 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15085         [BZ #19825]
15086         * resolv/res_send.c (send_vc): Remove early *resplen2
15087         initialization.  Set *resplen2 on socket error.  Call
15088         close_and_return_error for other errors.
15090 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15092         * sysdeps/unix/sysv/linux/netiucv/iucv.h
15093         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
15094         (SCM_IUCV_TRGCLS): New define.
15096 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15098         [BZ #20005]
15099         * libio/fmemopen.c (fmemopen_write): Update internal position after
15100         write.
15101         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
15102         * stdio-common/tst-fmemopen4.c: New file..
15104 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
15106         [BZ #19996]
15107         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
15108         not [__USE_XOPEN2K].
15109         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
15110         variable.
15112         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
15113         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
15114         variable.
15116         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
15117         [__USE_XOPEN2K8].
15118         [__USE_LARGEFILE64] (off64_t): Likewise.
15119         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
15120         variable.
15122 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
15124         [BZ #19989]
15125         * libio/stdio.h (cuserid): Do not declare if
15126         [__USE_XOPEN2K && !__USE_GNU].
15127         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
15128         variable.
15130 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15132         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15133         (sysdep_routines): Add P8 and PPC64 strcspn targets.
15134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15135         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15136         ifunc'ed strcspn.
15137         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15138         [EALIGN]: Removed.
15139         [END]: Likewise
15140         [STRSPN]: Define instead of the above to control symbol name.
15141         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
15142         New file.
15143         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
15144         Likewise.
15145         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
15146         Likewise.
15147         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
15148         Likewise.
15149         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15150         [INITIAL_MASK]: New macro.
15151         [STRCSPN]: Likewise.
15152         [UPDATE_MASK]: Likewise.
15153         [USE_AS_STRCSPN]: Likewise.
15155 2016-04-25  Florian Weimer  <fweimer@redhat.com>
15157         [BZ #19931]
15158         * stdio-common/tst-vfprintf-width-prec.c: New file.
15159         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
15160         (tests-special): Add tst-vfprintf-width-prec-mem.out.
15161         (generated): Add mtrace-related files.
15162         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
15163         (tst-%-mem.out): New pattern rule, replaces
15164         tst-printf-bz18872-mem.out.
15165         * stdio-common/vfprintf.c (vfprintf): When handling a precision
15166         specifier, deallocate any previously allocated work buffer.
15168 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15170         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
15171         Add nop before __startcontext, add explaining comments.
15173 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
15175         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
15176         any more. Notably since IPV6_PKTINFO has been reintroduced with a
15177         completely different API.
15179         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
15180         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
15181         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
15182         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
15183         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
15184         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
15185         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
15186         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
15187         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
15188         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
15190 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
15192         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
15194 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
15196         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
15197         when it is the default of 0.
15199 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15201         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
15202         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15203         (sysdep_routines): Add new strcasestr targets.
15204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15205         (__libc_ifunc_impl_list): Likewise.
15206         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
15207         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
15208         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
15209         * sysdeps/powerpc/powerpc64/power8/Makefile:
15210         New file to add strcasestr-ppc64 to sysdep_routines.
15211         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
15212         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
15214 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
15216         * benchtests/Makefile (wcsmbs-benchset): Include only for
15217         native builds and runs.
15218         (LOCALES): Likewise.
15219         (bench-build): Build timing-type here instead of the bench
15220         target.  Generate locale only for native builds.
15221         * benchtests/README: Add note for cross-building.
15223         * benchtests/Makefile (bench-clean): Clean up extra-objs.
15225         * benchtests/README: Update README to include instructions on
15226         using bench-build.
15228         * Makefile.in (bench-build): New target.
15229         * Rules (PHONY): Add bench-build target.
15230         * benchtests/Makefile (bench): Depend on bench-build.
15231         (bench-build): New target.
15233 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15235         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
15236         profil_reply_port.
15237         (profile_waiter): Do not initialize profil_reply_port.
15238         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
15239         frequency instead of tick length in us.
15241 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
15243         [BZ #18712]
15244         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
15245         (__old_mempcpy_small): Likewise.
15246         (__old_strcpy_small): Likewise.
15247         (__old_stpcpy_small): Likewise.
15248         (__old_strpbrk_c2): Fix compat symbol name.
15249         (__old_strpbrk_c3): Likewise.
15250         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
15251         (__mempcpy_small): Remove.
15252         (__strcpy_small): Remove.
15253         (__stpcpy_small): Remove.
15255 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
15257         [BZ #19400]
15258         * locale/iso-639.def: Add the Talossan/tzl language.
15260 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15262         [BZ #16983]
15263         * locale/programs/ld-address.c (address_finish): Update postal_fmt
15264         comment.  Add "ln" to strchr check on postal_fmt.
15266 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15268         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
15269         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
15270         tel_dom_fmt.
15272 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15274         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15275         (sysdep_routines): Added __strlen_power8.
15276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
15277         __strlen_power8 entry.
15278         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
15279         Implementation for POWER8.
15280         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
15281         for __strlen_power8.
15282         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
15283         Implementation for POWER8.
15285 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
15287         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
15289 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
15291         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
15292         Goldmont and Airmont processors.
15294 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
15296         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
15297         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
15298         (__STRING2_SMALL_GET32): Remove.
15299         (memset): Remove.
15300         (__memset_1): Remove.
15301         (__memset_gc): Remove.
15302         (__mempcpy): Remove.
15303         (mempcpy): Remove.
15304         (__mempcpy_args): Remove.
15305         (strchr): Remove.
15306         (strcpy): Remove.
15307         (strcpy_args): Remove.
15308         (__stpcpy_args): Remove.
15309         (__strcmp_cc): Remove.
15310         (__strcmp_gc): Remove.
15311         (strstr): Remove.
15313 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
15315         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
15316         * nis/nis_call.c (nis_server_cache_add): Likewise.
15318 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15320         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
15322 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15324         * malloc/arena.c (__malloc_fork_lock_parent)
15325         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
15326         internal_function attribute.
15328 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
15330         * stdio-common/printf_fp.c (__printf_fp_l):
15331         Rename ___printf_fp_l to __printf_fp_l and
15332         remove strong alias. Use libc_hidden_def instead
15333         of ldbl_hidden_def macro.
15335 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15337         Remove malloc hooks from fork handler.  They are no longer needed
15338         because malloc runs right before fork, and no malloc calls from
15339         other fork handlers are not possible anymore.
15340         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
15341         declarations.
15342         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
15343         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
15344         (atfork_recursive_cntr): Remove.
15345         (__malloc_fork_lock_parent): Do not override malloc hooks and
15346         thread_arena.
15347         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
15348         thread_arena.
15349         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
15350         thread_arena instead of save_arena.
15352 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15354         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
15355         (thread_atfork, thread_atfork_static): Remove.
15356         * sysdeps/mach/hurd/malloc-machine.h:
15357         (thread_atfork, thread_atfork_static): Remove.
15359 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15361         [BZ #19431]
15362         Run the malloc fork handler as late as possible to avoid deadlocks.
15363         * malloc/malloc-internal.h: New file.
15364         * malloc/malloc.c: Include it.
15365         * malloc/arena.c (ATFORK_MEM): Remove.
15366         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
15367         Update comment.
15368         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
15369         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
15370         Remove outdated comment.
15371         (ptmalloc_init): Do not call thread_atfork.  Remove
15372         thread_atfork_static.
15373         * malloc/tst-malloc-fork-deadlock.c: New file.
15374         * Makefile (tests): Add tst-malloc-fork-deadlock.
15375         (tst-malloc-fork-deadlock): Link against libpthread.
15376         * manual/memory.texi (Aligned Memory Blocks): Update safety
15377         annotation comments.
15378         * sysdeps/nptl/fork.c (__libc_fork): Call
15379         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15380         __malloc_fork_unlock_child.
15381         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
15383 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15385         [BZ #19613]
15386         Remove union wait.
15387         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
15388         (w_stopsig, w_stopval): Remove.
15389         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
15390         stat_loc argument.
15391         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
15392         (__WAIT_STATUS_DEFN): Remove.
15393         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15394         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
15395         (wait, wait3, wait4): Use int * for the stat_loc argument.
15396         * posix/wait.c (__wait): Likewise.
15397         * posix/wait3.c (__wait3): Likewise.
15398         * posix/wait4.c (__wait4): Likewise.
15399         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
15400         (__WAIT_STATUS_DEFN): Remove.
15401         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15402         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
15403         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
15404         argument.
15405         * sysdeps/posix/wait.c (__libc_wait): Likewise.
15406         * sysdeps/posix/wait3.c (__wait3): Likewise.
15407         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
15408         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15409         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
15410         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
15411         stat_loc argument.
15412         * manual/process.texi (BSD Wait Functions): Remove union wait.
15414 2016-04-13  Andreas Schwab  <schwab@suse.de>
15416         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
15417         (test-extras): Add tst-tlsalign-vars.
15418         * math/Makefile: Wrap long lines.
15419         (libm-vec-test-wrappers): Define.
15420         (test-extras): Add $(libm-vec-test-wrappers).
15421         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
15422         * nss/Makefile (extra-test-objs): Add nss_test1.os.
15423         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
15424         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
15425         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
15426         (extra-test-objs): Add corresponding objects.
15428 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
15430         [BZ #19928]
15431         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
15432         New.
15433         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
15434         times of shared cache size.
15435         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
15436         (VMOVNT): New.
15437         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
15438         (VMOVNT): Likewise.
15439         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
15440         (VMOVNT): Likewise.
15441         (VMOVU): Changed to movups for smaller code sizes.
15442         (VMOVA): Changed to movaps for smaller code sizes.
15443         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
15444         comments.
15445         (PREFETCH): New.
15446         (PREFETCH_SIZE): Likewise.
15447         (PREFETCHED_LOAD_SIZE): Likewise.
15448         (PREFETCH_ONE_SET): Likewise.
15449         Rewrite to use forward and backward loops, which move 4 vector
15450         registers at a time, to support overlapping addresses and use
15451         non temporal store if size is above the threshold and there is
15452         no overlap between destination and source.
15454 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
15456         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
15457         Include dl-vdso.
15458         * sysdeps/unix/sysv/linux/mips/Versions: Add
15459         __vdso_clock_gettime.
15460         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
15461         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
15462         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
15463         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
15464         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
15465         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
15466         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15467         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15468         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15470 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15472         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
15473         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
15474         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15475         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15476         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15477         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15480         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
15481         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
15482         syscalls generation.
15483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15484         [__NR_pwrite64] (__NR_write): Remove define.
15485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15486         [__NR_pwrite64] (__NR_write): Remove define.
15487         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
15488         Remove define.
15489         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
15490         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
15491         Remove define.
15492         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
15493         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
15494         Linux implementation as base.
15495         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15497         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
15498         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
15499         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15500         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
15502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15503         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
15504         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
15505         syscall generation.
15506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15507         [__NR_pread64] (__NR_pread): Remove define.
15508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15509         [__NR_pread64] (__NR_pread): Likewise.
15510         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
15511         define.
15512         (__libc_pread): Use SYSCALL_LL macro on offset argument.
15513         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
15514         Remove define.
15515         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
15516         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
15517         Linux implementation as base.
15518         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15519         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15520         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15522         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
15523         definition.
15524         (__ALIGNMENT_COUNT): Likewise.
15525         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
15526         (__ALIGNMENT_COUNT): Likewise.
15527         (SYSCALL_LL): New define.
15528         (SYSCALL_LL64): Likewise.
15529         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
15530         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
15531         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
15532         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
15534         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15535         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
15536         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15537         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15538         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15539         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15541 2016-04-11  Florian Weimer  <fweimer@redhat.com>
15543         [BZ #19865]
15544         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
15545         original buffer before retry.
15547 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15549         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
15550         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
15551         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
15552         GLRO(dl_auxv) list.
15553         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
15554         including <ldsodefs.h>.
15555         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
15557 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
15559         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
15560         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
15561         $(CPPFLAGS).
15563 2016-04-09  Khem Raj  <raj.khem@gmail.com>
15565         [BZ #17950]
15566         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
15567         Add -mfpmath=387.
15569 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
15571         * sysdeps/i386/configure.ac: Change == to = when calling test.
15572         * sysdeps/x86_64/configure.ac: Likewise.
15573         * sysdeps/i386/configure: Regenerated.
15574         * sysdeps/x86_64/configure: Likewise.
15576 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
15578         [BZ #16137]
15579         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
15580         * benchtests/bench-strcoll.c (input_files): Likewise.
15581         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15582         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
15583         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
15585 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
15587         [BZ #19929]
15588         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
15589         [__USE_XOPEN2K8 && !__USE_GNU].
15590         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
15591         variable.
15593         [BZ #19925]
15594         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
15595         define if [!__USE_MISC && __USE_XOPEN2K].
15596         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
15597         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
15598         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
15599         Likewise.
15600         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
15601         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
15602         variable.
15603         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15605 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15607         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15608         (sysdep_routines): Add new strspn targets.
15609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15610         (__libc_ifunc_impl_list): Add strspn.
15611         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15612         New file.
15613         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
15614         Likewise.
15615         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
15616         Likewise.
15617         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15618         Likewise.
15620 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15622         * misc/hsearch_r.c: Include <limits.h>.
15624 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15626         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
15628 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15630         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15631         (MEMCPY_SYMBOL): New.
15632         (MEMPCPY_SYMBOL): Likewise.
15633         (MEMMOVE_CHK_SYMBOL): Likewise.
15634         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
15635         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
15636         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
15637         Provide alias for memcpy in libc.a and ld.so.
15639 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15641         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15642         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
15643         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
15644         Disabled fro now.
15645         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
15646         symbols.  Properly check USE_MULTIARCH on __memset symbols.
15648 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15650         * benchtests/Makefile (string-benchset): Add memcpy-large,
15651         memmove-large and memset-large.
15652         * benchtests/bench-memcpy-large.c: New file.
15653         * benchtests/bench-memmove-large.c: Likewise.
15654         * benchtests/bench-memmove-large.c: Likewise.
15655         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
15657 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15659         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
15660         32-bit displacement to avoid long nop between instructions.
15662 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15664         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
15665         a comment on VMOVU and VMOVA.
15667 2016-04-04  Florian Weimer  <fweimer@redhat.com>
15669         [BZ #19633]
15670         Use specified locale for number formatting in strfmon_l.
15671         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
15672         (__nl_lookup_word): New inline functions.
15673         * include/printf.h (__print_fp_l): Declare.
15674         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
15675         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
15676         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
15677         (___printf_fp): New function.
15678         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
15679         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
15680         * stdlib/tst-strfmon_l.c (do_test): New test.
15681         * stdlib/Makefile (tests): Add kt.
15682         (LOCALES): Build additional locales.
15683         (tst-strfmon_l.out): Require locales.
15685 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15687         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
15688         if not in libc.
15689         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15690         Likewise.
15691         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
15692         Likewise.
15693         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15694         Likewise.
15696 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15698         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15699         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
15700         with unaligned_erms.
15701         (__memmove_erms): Skip if source == destination.
15702         (__memmove_unaligned_erms): Don't check source == destination
15703         first.
15705 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15707         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
15708         bit_arch_Fast_Copy_Backward for Intel Core proessors.
15710 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15712         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
15713         * string/strspn.c (strspn): Likewise.
15715 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15717         * benchtests/bench-memset.c (do_test): Support 64-byte
15718         alignment.
15719         (test_main): Test 64-byte alignment.
15721 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15723         * benchtests/bench-memmove.c (test_main): Test 64-byte
15724         alignment.
15726 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15728         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
15730 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15732         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
15733         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
15734         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
15736         * string/strpbrk.c (strpbrk): Rewrite function.
15737         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
15738         (__strpbrk_c2): Likewise.
15739         (__strpbrk_c3): Likewise.
15740         * string/string-inlines.c
15741         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
15742         Likewise.
15743         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
15744         Likewise.
15746         * string/strspn.c (strcspn): Rewrite function.
15747         * string/bits/string2.h (strspn): Use __builtin_strcspn.
15748         (__strspn_c1): Remove inline function.
15749         (__strspn_c2): Likewise.
15750         (__strspn_c3): Likewise.
15751         * string/string-inlines.c
15752         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
15753         compatibility symbol.
15754         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
15755         Likewise.
15756         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
15757         Likewise.
15758         * string/string-inlines.c: Include generic version.
15760 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
15761             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15763         * string/Version (libc): Add GLIBC_2.24.
15764         * string/strcspn.c (strcspn): Rewrite function.
15765         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
15766         (__strcspn_c1): Remove inline function.
15767         (__strcspn_c2): Likewise.
15768         (__strcspn_c3): Likewise.
15769         * string/string-inline.c
15770         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
15771         compatibility symbol.
15772         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
15773         Likewise.
15774         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
15775         Likewise.
15776         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
15778 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15780         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
15781         Use ahi instead of aghi to adjust stack pointer.
15783 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15785         [BZ #19853]
15786         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
15787         TEST to take significant digits as second parameter.
15788         [TEST]: Redefine in terms of TEST_N taking 30
15789         significant digits.
15790         (do_test): Add test case to demonstrate precision
15791         failure in the ldbl-128ibm printf.
15792         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
15793         (__mpn_extract_long_double): Carry 7 extra intermediate
15794         bits of precision to aide computing difference when
15795         signs differ.
15797 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15799         [BZ #19881]
15800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15801         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
15802         memset-avx512-unaligned-erms.
15803         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15804         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
15805         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
15806         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
15807         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
15808         __memset_sse2_unaligned_erms, __memset_erms,
15809         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
15810         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15811         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
15812         file.
15813         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15814         Likewise.
15815         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
15816         Likewise.
15817         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
15818         Likewise.
15820 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15822         [BZ #19776]
15823         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15824         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
15825         memmove-avx512-unaligned-erms.
15826         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15827         (__libc_ifunc_impl_list): Test
15828         __memmove_chk_avx512_unaligned_2,
15829         __memmove_chk_avx512_unaligned_erms,
15830         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
15831         __memmove_chk_sse2_unaligned_2,
15832         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
15833         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
15834         __memmove_avx512_unaligned_erms, __memmove_erms,
15835         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
15836         __memcpy_chk_avx512_unaligned_2,
15837         __memcpy_chk_avx512_unaligned_erms,
15838         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
15839         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
15840         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
15841         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
15842         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
15843         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
15844         __mempcpy_chk_avx512_unaligned_erms,
15845         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
15846         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
15847         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
15848         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
15849         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
15850         __mempcpy_erms.
15851         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
15852         file.
15853         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15854         Likewise.
15855         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
15856         Likewise.
15857         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15858         Likewise.
15860 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15862         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
15863         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
15864         (La_s390_64_regs): Likewise.
15865         (La_s390_32_retval): Append vector register lrv_v24.
15866         (La_s390_64_retval): Likeweise.
15867         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
15868         Handle extended structs La_s390_32_regs and La_s390_32_retval.
15869         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
15870         Handle extended structs La_s390_64_regs and La_s390_64_retval.
15872 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15874         [BZ #19916]
15875         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
15876         to create a non-vector/vector version for _dl_runtime_resolve and
15877         _dl_runtime_profile. Move implementation to ...
15878         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
15879         (_dl_runtime_resolve) Save and restore fpr/vrs.
15880         (_dl_runtime_profile) Save and restore vrs and fix some issues
15881         if _dl_call_pltexit is called.
15882         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
15883         Choose the correct resolver function if running on a machine with vx.
15884         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
15885         to create a non-vector/vector version for _dl_runtime_resolve and
15886         _dl_runtime_profile. Move implementation to ...
15887         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
15888         (_dl_runtime_resolve) Save and restore fpr/vrs.
15889         (_dl_runtime_profile) Save and restore vrs and fix some issues
15890         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
15891         Choose the correct resolver function if running on a machine with vx.
15893 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15895         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
15897 2016-03-31  Florian Weimer  <fweimer@redhat.com>
15899         [BZ #19509]
15900         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
15901         skip_map != NULL.
15902         * elf/tst-dlsym-error.c: New file.
15903         * elf/Makefile (tests): Add tst-dlsym-error.
15904         (tst-dlsym-error): Link against libdl.
15906 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
15908         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15909         (__ASSUME_FUTIMESAT): Remove macro.
15910         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
15912 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15914         [BZ #19879]
15915         CVE-2016-3075
15916         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
15917         copy name.
15919 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15921         [BZ #19837]
15922         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
15923         error if parse_line fails.
15925 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15927         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
15928         (index_cpu_ERMS): Likewise.
15929         (reg_ERMS): Likewise.
15931 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
15933         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
15934         PER_LINUX_FDPIC): Add.
15936 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15939         memcpy-avx512-no-vzeroupper.
15940         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
15941         to ...
15942         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
15943         (MEMCPY): Don't define.
15944         (MEMCPY_CHK): Likewise.
15945         (MEMPCPY): Likewise.
15946         (MEMPCPY_CHK): Likewise.
15947         (MEMPCPY_CHK): Renamed to ...
15948         (__mempcpy_chk_avx512_no_vzeroupper): This.
15949         (MEMPCPY_CHK): Renamed to ...
15950         (__mempcpy_chk_avx512_no_vzeroupper): This.
15951         (MEMCPY_CHK): Renamed to ...
15952         (__memmove_chk_avx512_no_vzeroupper): This.
15953         (MEMCPY): Renamed to ...
15954         (__memmove_avx512_no_vzeroupper): This.
15955         (__memcpy_avx512_no_vzeroupper): New alias.
15956         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
15958 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15960         [BZ #18858]
15961         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15962         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
15963         and mempcpy-avx512-no-vzeroupper.
15964         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
15965         New.
15966         (MEMPCPY): Likewise.
15967         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
15968         (MEMPCPY_CHK): New.
15969         (MEMPCPY): Likewise.
15970         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
15971         (MEMPCPY): Likewise.
15972         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
15973         (MEMPCPY): Likewise.
15974         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
15975         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
15976         Likewise.
15977         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
15978         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
15980 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15981              Amit Pawar  <Amit.Pawar@amd.com>
15983         [BZ #19583]
15984         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15985         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
15986         processors.  Set Fast_Copy_Backward for AMD Excavator
15987         processors.
15988         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
15989         New.
15990         (index_arch_Fast_Unaligned_Copy): Likewise.
15991         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
15992         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
15994 2016-03-25  Florian Weimer  <fweimer@redhat.com>
15996         [BZ #19791]
15997         * resolv/res_send.c (close_and_return_error): New function.
15998         (send_dg): Initialize *resplen2 after reopen failure.  Call
15999         close_and_return_error for error returns.  On error paths without
16000         __res_iclose, initialze *resplen2 explicitly.  Update comment for
16001         successful return.
16003 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16005         [BZ# 19860]
16006         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
16007         zero if the compiler does not provide the AVX512F bit.
16009 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
16011         [BZ #19848]
16012         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
16013         from 8 to 4.
16014         (__ieee754_powl): Compare integer exponent against 4 not 8.
16015         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
16016         from 8 to 4.
16017         (__ieee754_powl): Compare integer exponent against 4 not 8.
16018         * math/auto-libm-test-in: Add more tests of pow.
16019         * math/auto-libm-test-out: Regenerated.
16020         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16023 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16025         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
16026         Make code unconditional.
16027         [!__NR_utimensat]: Remove conditional code.
16028         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
16029         Make code unconditional.
16030         [!__NR_utimensat]: Remove conditional code.
16031         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
16032         Make code unconditional.
16033         [!__NR_utimensat]: Remove conditional code.
16035 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16037         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
16038         Make code unconditional.
16040 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
16042         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
16043         call-clobbered %eax on retry path.
16044         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16046 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16048         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
16049         Don't set %rcx twice before "rep movsb".
16051 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16053         [BZ #19583]
16054         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
16055         inline.  Check family before setting family, model and
16056         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
16057         bits here.
16058         (init_cpu_features): Replace HAS_CPU_FEATURE and
16059         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
16060         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
16061         for Intel processors with usable AVX2.  Call get_common_indeces
16062         for other processors with family == NULL.
16063         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
16064         (CPU_FEATURES_ARCH_P): Likewise.
16065         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
16066         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
16068 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16070         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
16071         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
16072         $(shared-thread-library) instead of hardcoding the path to libpthread.
16074 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
16076         * sysdeps/unix/sysv/linux/kernel-features.h
16077         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
16078         * sysdeps/unix/sysv/linux/getdents.c
16079         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
16080         [!have_no_getdents64_defined]: Likewise.
16081         (__GETDENTS): Remove __have_no_getdents64 conditional.
16083 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
16085         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
16086         Remove macro.
16087         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
16088         <kernel-features.h>.
16089         (signalfd) [__NR_signalfd4]: Make code unconditional.
16090         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
16092 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16094         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
16095         style.
16097 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16099         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
16100         (__pthread_enable_asynccancel): Use JUMPTARGET to call
16101         __pthread_unwind.
16102         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16103         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
16104         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16105         (__condvar_cleanup1): Likewise.
16107 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
16109         [BZ #19822]
16110         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
16111         move it to the final $@ location.
16113 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16115         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
16116         access where posix_spawn success and pid argument is null.
16117         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
16118         success case.
16120 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
16122         * sysdeps/mach/hurd/i386/c++-types.data: New file.
16124         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
16126         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
16127         and __fcntl.
16128         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
16129         __fcntl only.
16130         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
16131         adding attribute_hidden to __open and __fcntl.
16133         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
16134         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
16135         depend on libc-modules.h,
16136         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
16138 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
16140         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
16141         Remove macro.
16142         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
16143         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
16144         entry.
16146         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
16147         Remove macro.
16148         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
16149         include <kernel-features.h>.
16150         [!__ASSUME_FALLOCATE]: Remove conditional code.
16151         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
16153 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16155         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
16156         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
16157         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
16158         (_ZGVdN4v_cos_avx2): Likewise.
16159         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
16160         (_ZGVdN4v_cos): Likewise.
16161         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
16162         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
16163         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
16164         (_ZGVdN4v_exp_avx2): Likewise.
16165         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
16166         (_ZGVdN4v_exp): Likewise.
16167         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
16168         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
16169         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
16170         (_ZGVdN4v_log_avx2): Likewise.
16171         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
16172         (_ZGVdN4v_log): Likewise.
16173         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
16174         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
16175         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
16176         (_ZGVdN4vv_pow_avx2): Likewise.
16177         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
16178         (_ZGVdN4vv_pow): Likewise.
16179         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
16180         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
16181         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
16182         (_ZGVdN4v_sin_avx2): Likewise.
16183         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
16184         (_ZGVdN4v_sin): Likewise.
16185         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
16186         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
16187         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
16188         (_ZGVdN4vvv_sincos_avx2): Likewise.
16189         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
16190         (_ZGVdN4vvv_sincos): Likewise.
16191         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
16192         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
16193         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
16194         (_ZGVbN4v_cosf_sse4): Likewise.
16195         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
16196         (_ZGVdN8v_cosf_avx2): Likewise.
16197         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
16198         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
16199         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
16200         (_ZGVbN4v_expf_sse4): Likewise.
16201         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
16202         (_ZGVdN8v_expf_avx2): Likewise.
16203         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
16204         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
16205         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
16206         (_ZGVbN4v_logf_sse4): Likewise.
16207         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
16208         (_ZGVdN8v_logf_avx2): Likewise.
16209         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
16210         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
16211         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
16212         (_ZGVbN4vv_powf_sse4): Likewise.
16213         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
16214         (_ZGVdN8vv_powf_avx2): Likewise.
16215         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16216         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
16217         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16218         (_ZGVbN4vvv_sincosf_sse4): Likewise.
16219         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16220         (_ZGVdN8vvv_sincosf_avx2): Likewise.
16221         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
16222         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
16223         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
16224         (_ZGVbN4v_sinf_sse4): Likewise.
16225         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
16226         (_ZGVdN8v_sinf_avx2): Likewise.
16227         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16228         Use JUMPTARGET to call callee.
16229         (WRAPPER_IMPL_SSE2_ff): Likewise.
16230         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16231         (WRAPPER_IMPL_AVX): Likewise.
16232         (WRAPPER_IMPL_AVX_ff): Likewise.
16233         (WRAPPER_IMPL_AVX_fFF): Likewise.
16234         (WRAPPER_IMPL_AVX512): Likewise.
16235         (WRAPPER_IMPL_AVX512_ff): Likewise.
16236         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16237         Likewise.
16238         (WRAPPER_IMPL_SSE2_ff): Likewise.
16239         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16240         (WRAPPER_IMPL_AVX): Likewise.
16241         (WRAPPER_IMPL_AVX_ff): Likewise.
16242         (WRAPPER_IMPL_AVX_fFF): Likewise.
16243         (WRAPPER_IMPL_AVX512): Likewise.
16244         (WRAPPER_IMPL_AVX512_ff): Likewise.
16245         (WRAPPER_IMPL_AVX512_fFF): Likewise.
16247 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16249         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
16250         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
16251         qualifier.
16252         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
16253         internal_function qualifiers.
16255 2016-03-15  Carlos O'Donell <carlos@redhat.com>
16257         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
16258         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
16259         * math/atest-exp.c (exp_mpn): Mark chk unused.
16260         * math/atest-exp2.c (exp_mpn): Likewise.
16261         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
16262         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
16264 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
16266         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
16267         Remove macro.
16268         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
16269         <kernel-features.h>.
16270         [__NR_ppoll]: Make code unconditional.
16271         [!__ASSUME_PPOLL]: Remove conditional code.
16273         * sysdeps/unix/sysv/linux/kernel-features.h
16274         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
16275         (__ASSUME_ACCEPT4): Likewise.
16276         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16277         Define.
16278         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
16279         Likewise.
16280         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16281         Likewise.
16282         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
16283         Likewise.
16284         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
16285         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
16286         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16287         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16288         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16289         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16290         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16291         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16292         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16293         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16294         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16295         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16296         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16297         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16298         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16299         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16300         Likewise.
16301         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16302         Likewise.
16303         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16304         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16305         0x040300].
16306         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16307         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16308         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16309         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16310         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16311         0x030300].
16312         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
16313         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16314         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16315         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16316         0x040300].
16317         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16318         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16319         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16320         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16321         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16322         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16323         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16324         0x030300].
16325         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16326         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16327         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16328         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16329         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16330         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16331         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16332         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16333         * sysdeps/unix/sysv/linux/s390/kernel-features.h
16334         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16335         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16336         0x040300].
16337         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16338         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16339         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16340         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16341         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16342         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16343         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16344         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16345         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16346         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16347         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16348         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16349         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16350         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16351         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
16352         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16353         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16354         Likewise.
16355         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16356         Likewise.
16358 2016-03-15  Andreas Schwab  <schwab@suse.de>
16360         [BZ #19257]
16361         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
16362         statp->_u._ext.nscount as loop count.
16364 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16366         * math/test-signgam-finite-c99.c: Also #undef
16367         __LIBC_INTERNAL_MATH_INLINES.
16368         * math/test-signgam-main.c: Likewise.
16370 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
16372         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
16373         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16374         (MADV_FREE): Likewise.
16375         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
16376         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
16377         EPOLLEXCLUSIVE.
16379 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
16381         * timezone/README: Remove mention of checktab.awk. Mention wiki
16382         SharedSourceFiles.
16384 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
16386         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
16387         WUNTRACED.
16389 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16391         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
16392         order to match the type of p when calling atomic_exchange_acq().
16394 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16396         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
16397         cfi_offset calls.
16398         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
16399         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
16400         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
16401         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
16402         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
16404 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
16406         * timezone/checktab.awk: Removed.
16408 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
16410         * manual/math.texi (Errors in Math Functions): Document relaxed
16411         accuracy goals for IBM long double.
16412         * math/libm-test.inc (test_exceptions): Always allow spurious
16413         "underflow" and "inexact" exceptions for IBM long double.
16415 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
16417         [BZ #19762]
16418         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16419         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
16420         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
16421         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
16422         (bit_arch_*): This for feature array.
16423         (bit_*): Renamed to ...
16424         (bit_cpu_*): This for cpu array.
16425         (index_*): Renamed to ...
16426         (index_arch_*): This for feature array.
16427         (index_*): Renamed to ...
16428         (index_cpu_*): This for cpu array.
16429         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
16430         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
16431         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
16432         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
16433         bit_##name with index_cpu_##name and bit_cpu_##name.
16434         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
16435         bit_##name with index_arch_##name and bit_arch_##name.
16437 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
16439         [BZ #19792]
16440         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
16441         Terminate FDE before return label.
16443 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
16445         [BZ #19790]
16446         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
16447         (rintl): Define as macro.
16448         [USE_AS_NEARBYINTL] (__rintl): Likewise.
16449         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
16450         of fesetround.  Ensure results are evaluated before end of scope.
16451         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
16452         USE_AS_NEARBYINTL and include s_rintl.c.
16453         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
16454         Disable exception traps in new environment.
16455         (libc_feholdsetround_ppc_ctx): Likewise.
16457 2016-03-08  Roland McGrath  <roland@hack.frob.com>
16459         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
16460         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
16461         (tst_audit10_aux) [__AVX512F__]: ... here.
16463 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
16465         * include/sys/auxv.h: New file.
16467 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16469         [BZ #19759]
16470         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
16472 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16474         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
16475         operand modifier.
16476         (feclearexcept): Likewise.
16478 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16480         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
16481         to reflect the entire 32-bit HWCAP.
16482         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
16483         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
16485 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16487         [BZ #19783]
16488         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
16489         $(test-via-rtld-prefix).
16490         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
16492 2016-03-08  Florian Weimer  <fweimer@redhat.com>
16494         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
16495         union wait.  Report any non-zero exit status as error.
16497 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16499         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
16500         configured with --enable-hardcoded-path-in-tests.
16502 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
16504         [BZ #19677]
16505         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16506         (__ieee754_remainderl): Put zero low parts in canonical form.
16507         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
16508         file.  Based on
16509         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
16510         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
16511         with wrapper round test-fmodrem-ldbl-128ibm.c.
16512         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
16513         file.
16514         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
16515         Likewise.
16516         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16517         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
16519 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16521         [BZ #19610]
16522         * elf/ldconfig.c (opt_link): Update comment.
16523         (options): Update help string for option -X.
16524         (search_dir): Unlink stale symbolic link only if updating symbolic
16525         links.
16526         * elf/tst-ldconfig-X.sh: New file.
16527         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
16528         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
16530 2016-03-07  Andreas Schwab  <schwab@suse.de>
16532         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
16533         needed arguments.
16535 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
16537         [BZ #15333]
16538         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
16539         to lstat64.
16541 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16543         * libio/filedoalloc.c (isatty): Remove.
16544         (local_isatty): Add comment.  Call __isatty directly.
16545         (_IO_file_doallocate): Update comment.  Assume _LIBC.
16546         * libio/wfiledoalloc.c (isatty): Remove.
16547         (_IO_wfile_doallocate): Update comment.
16549 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16551         [BZ #19269]
16552         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
16553         tst-audit4-aux.o.
16554         (tst-audit10): Depend on tst-audit10-aux.o.
16555         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
16556         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
16557         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
16558         instead of inline AVX code.
16559         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
16560         instead of inline AVX512 code.
16561         * sysdeps/x86_64/tst-audit4-aux.c: New file
16562         * sysdeps/x86_64/tst-audit10-aux.c: New file
16564         [BZ #19648]
16565         * test-skeleton.c (main): Do not set RLIMIT_DATA.
16567 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16569         [BZ #14750]
16570         [BZ #10354]
16571         [BZ #18433]
16572         * include/sched.h (__clone): Add hidden prototype.
16573         (__clone2): Likewise.
16574         * include/unistd.h (__dup): Likewise.
16575         * posix/Makefile (tests): Add tst-spawn2.
16576         * posix/tst-spawn2.c: New file.
16577         * sysdeps/posix/dup.c (__dup): Add hidden definition.
16578         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
16579         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16580         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16581         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16582         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16583         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
16584         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16585         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
16586         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16587         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16589         Likewise.
16590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16591         Likewise.
16592         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16593         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16594         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16595         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16596         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16597         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16598         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16599         * sysdeps/unix/sysv/linux/nptl-signals.h
16600         (____nptl_is_internal_signal): New function.
16601         * sysdeps/unix/sysv/linux/spawni.c: New file.
16603         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
16604         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
16605         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
16606         * posix/tst-execvp2.c (do_test): Likewise.
16607         * posix/tst-execvp3.c (do_test): Likewise.
16608         * posix/tst-execvp4.c (do_test): Likewise.
16609         * posix/tst-execvpe1.c: New file.
16610         * posix/tst-execvpe2.c: Likewise.
16611         * posix/tst-execvpe3.c: Likewise.
16612         * posix/tst-execvpe4.c: Likewise.
16613         * posix/tst-execvpe5.c: Likewise.
16614         * posix/tst-execvpe6.c: Likewise.
16616         [BZ #19534]
16617         * posix/execl.c (execl): Remove dynamic memory allocation.
16618         * posix/execle.c (execle): Likewise.
16619         * posix/execlp.c (execlp): Likewise.
16621 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16623         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
16624         Replace .text with .text.avx512.
16625         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16626         Likewise.
16628 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
16630         * sysdeps/generic/libnsl.abilist: New file.
16631         * sysdeps/generic/libutil.abilist: New file.
16633 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16635         [BZ #19762]
16636         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
16637         HAS_ARCH_FEATURE with Fast_Rep_String.
16638         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
16639         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
16640         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
16641         Likewise.
16642         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
16643         Likewise.
16644         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
16645         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
16646         Likewise.
16647         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
16648         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
16649         Likewise.
16651 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16653         [BZ #19745]
16654         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16655         with *%rax in call.
16657 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16659         [BZ #19745]
16660         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
16661         with *__libc_start_main@GOTPCREL(%rip) in call.
16663 2016-03-04  Roland McGrath  <roland@hack.frob.com>
16665         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
16666         inside conditional for nonempty $(CXX).
16668         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
16669         nonempty.
16671         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
16672         to test for empty $(CXX) rather than $(CXX) of "no".
16674 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16676         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
16678 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
16679             H.J. Lu  <hongjiu.lu@intel.com>
16681         [BZ #18880]
16682         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
16683         instead of Slow_BSF, and also check for Fast_Copy_Backward to
16684         enable __memcpy_ssse3_back.
16686 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16688         [BZ #19758]
16689         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16690         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
16692 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16694         [BZ #19490]
16695         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
16696         (__fentry__): Likewise.
16698 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16700         * gmon/Makefile (noprof): Add $(sysdep_noprof).
16701         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
16703 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16705         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
16706         __mcount_internal directly.
16707         (C_LABEL(__fentry__)): Likewise.
16708         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
16709         directly.
16711 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16713         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16714         (__start_context): Call __setcontext directly.
16716 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
16718         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16719         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16720         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
16721         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16722         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16723         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16724         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
16725         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16726         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16727         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
16728         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16729         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16730         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16731         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16732         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16733         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16734         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
16735         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16736         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16737         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16738         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
16739         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16740         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16741         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16742         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
16743         Remove conditional code.
16744         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16745         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
16746         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16747         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16748         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
16749         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16750         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16751         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16752         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16753         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16754         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16755         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16757 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
16759         * NEWS (2.23): Fix typo in bug 19048 text.
16761 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
16763         [BZ #14259]
16764         * Makeconfig: Rename msgcatdir to localedir.
16765         Rename inst_msgcatdir to inst_localedir.
16766         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
16767         * config.make.in: Add localedir.
16768         * elf/Makefile ($(objpfx)sotruss): Use localedir.
16769         (ldd-rewrite): Likewise.
16770         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
16771         (install-others): Use inst_localedir.
16772         (CPPFLAGS): Use localedir.
16773         * locale/Makefile (locale-CPPFLAGS): Likewise.
16774         * po/Makefile (mo-installed): Use inst_localedir.
16776         [BZ #19575]
16777         * localedata/charmaps/GB18030: Update comments regarding PAU to
16778         non-PUA mappings.
16780 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
16782         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
16783         test for header.
16784         * sysdeps/unix/sysv/linux/configure: Regenerated.
16785         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
16786         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
16787         Remove conditional code.
16788         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
16790         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16791         Define to 3.2.0.
16792         (arch_minimum_kernel): Likewise.
16793         * sysdeps/unix/sysv/linux/configure: Regenerated.
16794         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
16795         Define to 2.6.32.
16796         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
16797         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
16798         (arch_minimum_kernel): Define to 2.6.32.
16799         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
16800         * README: Document Linux 3.2 requirement.
16801         * manual/install.texi (Linux): Document Linux 3.2 headers
16802         requirement.
16803         * INSTALL: Regenerated.
16805 2016-02-24  Andreas Schwab  <schwab@suse.de>
16807         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
16808         if !NO_LONG_DOUBLE.
16810 2016-02-22  Roland McGrath  <roland@hack.frob.com>
16812         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
16813         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
16815 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
16817         [BZ #19512]
16818         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
16820 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16822         * posix/tst-dir.c: Include libc-internal.h.
16824 2016-02-20  Florian Weimer  <fweimer@redhat.com>
16826         [BZ #19056]
16827         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
16828         * manual/filesys.texi (Reading/Closing Directory): Mention
16829         deprecaion.
16830         * posix/tst-dir.c (main): Disable deprecation warning in test.
16832 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
16834         [BZ #19679]
16835         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
16836         Renamed to ...
16837         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
16838         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16839         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
16840         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16841         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16842         * sysdeps/x86_64/dl-trampoline.h
16843         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16844         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16846 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16848         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
16850 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16852         * elf/elf.h (R_386_GOT32X): New.
16853         (R_386_NUM): Update.
16854         (R_X86_64_GOTPCRELX: New.
16855         (R_X86_64_REX_GOTPCRELX): New.
16856         (R_X86_64_NUM): Update.
16858 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
16860         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
16862 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
16864         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
16865         assign attr->stackaddr to it, and adjust it down when
16866         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
16867         [_STACK_GROWS_UP]: Delete assert.
16868         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
16869         Implement stack grows up logic.
16870         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
16871         stack grows up logic.
16873 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16875         * NEWS: Update with 2.24 template.
16877 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16879         [BZ #19678]
16880         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16881         Ensure +0.0 is returned when taking the next value below the least
16882         positive value.
16884 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16886         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
16887         available.  Do not define NO_THREADS.
16888         * malloc/malloc.c: Do not check NO_THREADS.
16889         * malloc/arena.c: Likewise.
16891 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16893         * malloc/malloc.c (__libc_mallinfo): Update comment.
16894         (struct malloc_par): Remove max_total_mem member, it was always 0.
16895         (int_mallinfo): Store 0 into usmblks (no functional change).
16896         * malloc/hooks.c (struct malloc_state): Document that
16897         max_total_mem is always 0.
16898         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
16899         always 0.
16900         * manual/memory.texi (Statistics of Malloc): Likewise.
16902 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16904         * malloc/malloc.c (sysmalloc): Do not update arena_max.
16905         * malloc/arena.c (arena_max): Remove.
16906         (heap_trim, _int_new_arena): Do not update arena_max.
16908 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16910         * resolv/res_init.c (res_ninit): Update comment.
16912 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16914         [BZ #19505]
16915         * posix/spawn_int.h: Add headers and include guard.
16916         (__spawn_valid_fd): New function.
16917         * posix/spawn_faction_addopen.c
16918         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
16919         * posix/spawn_faction_addclose.c
16920         (posix_spawn_file_actions_addclose): Likewise.
16921         * posix/spawn_faction_adddup2.c
16922         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
16923         second file descriptor.
16924         * posix/spawn_valid_fd.c: New file.
16925         * posix/tst-posix_spawn-fd.c: New file.
16926         * posix/Makefile (routines): Add spawn_valid_fd.
16927         (tests): Add tst-posix_spawn-fd.
16929 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16931         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
16932         (do_test): Limit the number of arenas, so that we can use fewer
16933         outer threads.  Limit timeout to 3 seconds, in preparation for a
16934         larger TIMEOUT value.
16936 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16938         [BZ #19674]
16939         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
16940         sign in overflowing and underflowing results when overflow or
16941         underflow is detected early.  Include sign in result before rather
16942         than after scaling.
16944         [BZ #19603]
16945         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16946         (__ieee754_remainderl): Adjust sign of integer version of low part
16947         when taking absolute value of high part.
16948         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16949         * math/libm-test.inc (remainder_test_data): Add another test.
16950         (remquo_test_data): Likewise.
16952 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
16954         [BZ #19602]
16955         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
16956         equal high parts and both low parts zero specially.
16957         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
16958         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
16959         Add test-fmodl-ldbl-128ibm.
16961         [BZ #19595]
16962         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
16963         common logic for all cases of shifting subnormal results.  Do not
16964         insert sign bit in shifted mantissa.  Always pass -1023 as biased
16965         exponent to ldbl_insert_mantissa in subnormal case.
16967         [BZ #19594]
16968         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
16969         on high and low parts then adjust result and use
16970         ldbl_canonicalize_int if needed.
16972         [BZ #19593]
16973         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
16974         on high part and __floor or __ceil on low part then use
16975         ldbl_canonicalize_int if needed.
16977         [BZ #19592]
16978         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
16979         high and low parts then use ldbl_canonicalize_int if needed.
16981         [BZ #17899]
16982         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
16983         New function.
16984         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
16985         on high and low parts then use ldbl_canonicalize_int if needed.
16987 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16989         * configure: Regenerated.
16991         * po/libc.pot: Regenerated.
16993         * po/be.po: Updated translation.
16994         * po/bg.po: Likewise.
16995         * po/ca.po: Likewise.
16996         * po/cs.po: Likewise.
16997         * po/da.po: Likewise.
16998         * po/el.po: Likewise.
16999         * po/eo.po: Likewise.
17000         * po/es.po: Likewise.
17001         * po/fi.po: Likewise.
17002         * po/fr.po: Likewise.
17003         * po/gl.po: Likewise.
17004         * po/hr.po: Likewise.
17005         * po/hu.po: Likewise.
17006         * po/ia.po: Likewise.
17007         * po/id.po: Likewise.
17008         * po/it.po: Likewise.
17009         * po/ja.po: Likewise.
17010         * po/lt.po: Likewise.
17011         * po/nb.po: Likewise.
17012         * po/nl.po: Likewise.
17013         * po/pt_BR.po: Likewise.
17014         * po/rw.po: Likewise.
17015         * po/sk.po: Likewise.
17016         * po/sl.po: Likewise.
17017         * po/sv.po: Likewise.
17018         * po/tr.po: Likewise.
17019         * po/zh_CN.po: Likewise.
17020         * po/zh_TW.po: Likewise.
17022         * version.h (RELEAES): Set to "development".
17023         (VERSION): Set to 2.23.90.
17025         * version.h (RELEASE): Set to "stable".
17026         (VERSION): Set to 2.23.
17027         * include/feature.h (__GLIBC_MINOR__): Set to 23.
17029         * NEWS: Updated fixed bugs.
17031 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
17032             Wilco Dijkstra  <wdijkstr@arm.com>
17034         [BZ #19462]
17035         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
17036         (_STRING_INLINE_unaligned): This.
17037         * include/string.h: Include <string_private.h>.
17038         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
17039         _STRING_INLINE_unaligned.
17040         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
17041         (_STRING_INLINE_unaligned): New.
17042         * sysdeps/aarch64/string_private.h: New file.
17043         * sysdeps/generic/string_private.h: Likewise.
17044         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
17045         * sysdeps/s390/string_private.h: Likewise.
17046         * sysdeps/x86/string_private.h: Likewise.
17047         * sysdeps/m68k/m680x0/m68020/bits/string.h
17048         (_STRING_ARCH_unaligned): Renamed to ...
17049         (_STRING_INLINE_unaligned): This.
17050         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
17051         to ...
17052         (_STRING_INLINE_unaligned): This.
17053         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
17054         to ...
17055         (_STRING_INLINE_unaligned): This.
17056         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
17057         to ...
17058         (_STRING_INLINE_unaligned): This.
17060 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17061             H.J. Lu  <hongjiu.lu@intel.com>
17063         [BZ #19590]
17064         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
17065         relocation.
17067 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
17069         [BZ #18665]
17070         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
17071         *herrno_p.
17072         (gaih_getanswer): Document functional behviour. Return tryagain
17073         if any result is tryagain.
17074         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
17075         when freed.
17076         * resolv/res_send.c: Add copyright text.
17077         (__libc_res_nsend): Document that MAXPACKET is expected.
17078         (send_vc): Document. Remove buffer reuse.
17079         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
17080         size of the buffer. Add Dprint for truncated UDP buffer.
17082 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
17084         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
17085         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
17086         * INSTALL: Regenerate.
17088 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
17089             Jonathan Wakely  <jwakely@redhat.com>
17090             Carlos O'Donell  <carlos@redhat.com>
17092         [BZ 19439]
17093         * math/Makefile (tests): Add test-math-isinff.
17094         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
17095         * math/bits/mathcalls.h [__USE_MISC]: Use
17096         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
17097         functions not in C++11 and which don't conflict e.g. isinff,
17098         isinfl etc.
17099         * math/test-math-isinff.cc: New file.
17101 2016-02-12  Florian Weimer  <fweimer@redhat.com>
17103         * misc/bug18240.c (do_test): Set RLIMIT_AS.
17105 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17107         [BZ #19529]
17108         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
17110 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17112         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17114 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
17116         [BZ #19550]
17117         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
17118         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
17119         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
17120         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
17121         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
17122         New syscall entry.
17123         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
17124         New syscall entry.
17125         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
17126         syscall entry.
17128 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
17130         [BZ #18240]
17131         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
17132         unsigned int wraparound.
17134 2016-01-27  Florian Weimer  <fweimer@redhat.com>
17136         [BZ #18240]
17137         * misc/bug18240.c: New test.
17138         * misc/Makefile (tests): Add it.
17140 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
17141             Joseph Myers  <joseph@codesourcery.com>
17143         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
17144         load in branch delay slot when less than a word of input left.
17146 2016-01-27  Andreas Schwab  <schwab@suse.de>
17148         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
17149         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
17150         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
17151         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
17153 2016-01-26  David S. Miller  <davem@davemloft.net>
17155         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
17157 2016-01-25  David S. Miller  <davem@davemloft.net>
17159         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
17160         __sqrtl_finite.
17161         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
17162         instead using versioned_symbol.
17163         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
17164         of entries.
17166         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
17167         __sqrtl_finite to GLIBC_2.23
17169 2016-01-25  Ricchard Henderson  <rth@redhat.com>
17171         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17173 2016-01-25  Andreas Schwab  <schwab@suse.de>
17175         [BZ #17514]
17176         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
17177         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
17178         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
17179         * nptl/tst-mutex-errorcheck.c: New file.
17181 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17183         [BZ #18560]
17184         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
17185         (IPCOP_semop): Likewise.
17186         (IPCOP_semget): Likewise.
17187         (IPCOP_semctl): Likewise.
17188         (IPCOP_msgsnd): Likewise.
17189         (IPCOP_msgrcv): Likewise.
17190         (IPCOP_msgget): Likewise.
17191         (IPCOP_msgctl): Likewise.
17192         (IPCOP_shmat): Likewise.
17193         (IPCOP_shmdt): Likewise.
17194         (IPCOP_shmget): Likewise.
17195         (IPCOP_shmctl): Likewise.
17197 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17199         * string/tst-endian.c: Include <libc-internal.h>.
17200         (do_test): Ignore tautological-compare warnings around
17201         "htobeXX (beXXtoh (i)) != i" and
17202         "htoleXX (leXXtoh (i)) != i" if-statements.
17204 2016-01-24  David S. Miller  <davem@davemloft.net>
17206         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
17207         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
17208         alias.
17209         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
17210         __sqrtl_finite.
17212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17214 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
17216         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
17217         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
17218         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17220 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17222         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
17223         (thread_func): Use new function to simplify barrier check.
17224         (do_test): Use new function to simplify checking barrier exit
17225         code, and actually join the child thread.
17227 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17229         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
17230         semicolon.
17231         (__libc_tend): Likewise.
17232         (__libc_tabort): Likewise.
17234 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
17236         * sysdeps/nios2/libm-test-ulps: Update.
17237         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
17238         (__gtsf2): Likewise.
17239         (__unorddf2): Likewise.
17240         (__unordsf2): Likewise.
17241         (__ledf2): Likewise.
17243 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
17245         * nis/nis_table.c (__follow_path): Disable diagnostic for
17246         uninitialized variable that is a false positive for gcc 4.7.
17247         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
17249 2016-01-20  Roland McGrath  <roland@hack.frob.com>
17251         * sysdeps/nacl/lowlevellock-futex.h
17252         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
17253         Always evaluate PRIVATE argument.
17255 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
17257         [BZ #19490]
17258         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
17259         (pthread_cond_broadcast): Use ENTRY/END
17260         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
17261         (pthread_cond_signal): Likewise.
17262         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
17263         Likewise.
17264         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
17265         Likewise.
17266         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
17267         Likewise.
17269 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
17271         * sysdeps/ieee754/dbl-64/s_finite.c
17272         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
17273         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
17274         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
17275         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
17276         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
17278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
17279         (__gtsf2): Add as optional for libc.so.
17280         (__unordsf2): Likewise.
17281         (__signbit): Remove for libc.so.
17282         (__signbitl): Likewise.
17284 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17286         * iconvdata/bug-iconv11.c (test_ibm93x):
17287         Use %zu printf format specifier for size_t argument.
17289 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
17291         * math/gen-libm-test.pl (parse_ulps): Do not reduce
17292         already-recorded ulps.
17293         * sysdeps/arm/libm-test-ulps: Regenerated.
17294         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17295         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17296         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17298 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17299             Paul Pluzhnikov  <ppluzhnikov@google.com>
17301         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
17302         assembler not supporting AVX-512.
17304 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
17306         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17308 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
17310         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17311         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17313         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17315         * sysdeps/arm/libm-test-ulps: Regenerated.
17317 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17319         [BZ #19451]
17320         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
17322 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17324         [BZ #19486]
17325         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
17326         * sysdeps/generic/fix-fp-int-convert-overflow.h
17327         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
17328         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
17329         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
17330         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
17331         Likewise.
17332         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
17333         Avoid conversions to long int where inexact exceptions
17334         could be raised.
17335         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
17336         Likewise.
17337         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
17338         Avoid conversions to long long int where inexact exceptions
17339         could be raised.
17340         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
17341         Likewise.
17343 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
17345         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
17346         * configure: Regenerated.
17348 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17350         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
17352 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
17354         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
17355         outside of comment.
17357 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17359         * nptl/tst-barrier1.c: Add description on first line.
17360         * nptl/tst-barrier2.c: Likewise.
17361         * nptl/tst-barrier3.c: Likewise.
17362         * nptl/tst-barrier4.c: Likewise.
17363         * nptl/tst-barrier5.c: Likewise.
17365 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17367         [BZ #18868]
17368         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
17370 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17372         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
17373         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17374         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
17375         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
17376         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
17377         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
17378         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17379         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17380         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17381         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17382         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17384 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17386         [BZ #13065]
17387         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
17388         new implementation.
17389         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
17390         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
17391         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
17392         (BARRIER_IN_THRESHOLD): New macro.
17393         * nptl/pthread_barrierattr_setpshared.c
17394         (pthread_barrierattr_setpshared): Clean up.
17395         * nptl/tst-barrier4.c: Correct comment.
17396         * nptl/tst-barrier5.c: New file.
17397         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
17398         (gen-as-const-headers): Remove lowlevelbarrier.sym.
17399         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
17400         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
17401         * nptl/lowlevelbarrier.sym: Remove.
17402         * nptl/DESIGN-barrier.txt: Remove.
17403         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
17404         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
17405         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
17406         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
17407         error.
17408         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
17409         implementation.
17411 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17413         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
17414         (do_child): Mask SIGRTMIN while thr is running.
17416 2016-01-15  Martin Sebor  <msebor@redhat.com>
17418         [BZ #19432]
17419         * iconvdata/Makefile: Add bug-iconv11.
17420         * iconvdata/bug-iconv11.c: New test.
17421         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
17422         * iconvdata/ibm933.c: Same.
17423         * iconvdata/ibm935.c: Same.
17424         * iconvdata/ibm937.c: Same.
17425         * iconvdata/ibm939.c: Same.
17427 2016-01-15  Martin Sebor  <msebor@redhat.com>
17429         [BZ #19443]
17430         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
17431         [DEBUG] (_ufc_set_bits): Declare used.
17432         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
17433         [DEBUG] (print_all): Declare used.
17434         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
17435         operands of the ternary ?: expression to target type.
17436         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
17437         calling the undeclared abort.
17438         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
17440 2016-01-15  Martin Sebor  <msebor@redhat.com>
17442         [BZ #18755]
17443         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
17444         warnings.
17445         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
17446         (__gai_create_helper_thread): Same.
17447         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
17448         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
17449         to suppress -Wmaybe-uninitialized warnings.
17451 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
17453         [BZ #19465]
17454         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
17455         inside if.
17456         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17457         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17458         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17460 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
17462         [BZ #19466]
17463         * time/tst-mktime2.c (time_t_max): Removed.
17464         (time_t_min): Likewise.
17465         (TYPE_SIGNED): New.
17466         (TYPE_MINIMUM): Likewise.
17467         (TYPE_MAXIMUM): Likewise.
17468         (TIME_T_MIN): Likewise.
17469         (TIME_T_MAX): Likewise.
17470         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
17471         and TIME_T_MIN.
17472         (do_test): Likewise.
17474 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
17476         [BZ #19467]
17477         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17478         index_Fast_Unaligned_Load flag for Excavator family CPUs.
17480 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
17482         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
17484 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
17486         * benchtests/Makefile (PYTHON): Define.
17487         (bench-func): Use $(PYTHON) to run python scripts.
17488         ($(objpfx)bench-%.c): Likewise.
17490 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
17492         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
17493         leading slash when `file_name' is "/".
17495 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
17497         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
17498         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
17499         Likewise.
17500         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
17501         Likewise.
17502         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
17503         Likewise.
17504         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
17505         enum constant and macro.
17506         (PTRACE_SETSIGMASK): Likewise.
17507         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17508         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17509         (PTRACE_GETSIGMASK): Likewise.
17510         (PTRACE_SETSIGMASK): Likewise.
17511         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17512         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
17513         Likewise.
17514         (PTRACE_SETSIGMASK): Likewise.
17515         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17516         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17517         (PTRACE_GETSIGMASK): Likewise.
17518         (PTRACE_SETSIGMASK): Likewise.
17519         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17520         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
17521         Likewise.
17522         (PTRACE_SETSIGMASK): Likewise.
17523         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17524         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
17525         Likewise.
17526         (PTRACE_SETSIGMASK): Likewise.
17527         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17528         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
17529         Likewise.
17530         (PTRACE_SETSIGMASK): Likewise.
17531         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17533 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
17534             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17536         [BZ #19439]
17537         * math/bits/mathcalls.h
17538         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
17539         prototype.
17540         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
17542 2016-01-11  Andreas Schwab  <schwab@suse.de>
17544         [BZ #19253]
17545         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
17546         cache when TZDEFRULES was used.
17547         * time/tst-tzname.c: New file.
17548         * time/Makefile (test): Add tst-tzname.
17549         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
17550         * timezone/Makefile (test-zones): Add $(posixrules-file).
17551         ($(testdata)/$(posixrules-file)): New rule.
17553 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
17555         Fix doc quoting problems with Texinfo 5
17556         Without this change, in the info file output, Texinfo 5 quotes code
17557         in text with undirected single quotes 'like this' and generates
17558         code examples that with many PDF readers cannot be cut out of PDFs
17559         and pasted into code.
17560         * manual/libc.texinfo: Configure the libc manual like the GNU
17561         Emacs manual, by using @documentencoding and setting
17562         txicodequoteundirected and txicodequotebacktick.  This way,
17563         Texinfo 5 quotes code in text with directed single quotes ‘like
17564         this’ and produces examples that can be cut out of PDFs.  This
17565         change causes Texinfo 5 to generate info files that contain UTF-8
17566         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
17567         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
17569 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17571         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
17572         __libc_tabort, __libc_tend): New wrappers that enforce compiler
17573         barriers to their respective compiler built-ins.
17574         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
17575         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
17576         * sysdeps/powerpc/sysdep.h: Likewise.
17577         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
17578         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
17579         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
17581 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
17583         * scripts/config.guess: Revert previous shebang change.
17584         * scripts/config.sub: Likewise.
17585         * scripts/mkinstalldirs: Likewise.
17587 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17589         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
17590         PPC_FEATURE2_HAS_IEEE128.
17591         * sysdeps/powerpc/dl-procinfo.c:
17592         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
17594 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
17596         [BZ #19415]
17597         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
17598         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
17599         (_dl_lookup_address): Rewrite using function resolver trampoline.
17600         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
17601         two bits in address.
17603 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17605         * longlong.h: Change !__SHMEDIA__ to
17606         (!defined (__SHMEDIA__) || !__SHMEDIA__).
17607         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
17609 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
17610             Joseph Myers  <joseph@codesourcery.com>
17611             Mark Shinwell  <shinwell@codesourcery.com>
17612             Andrew Stubbs  <ams@codesourcery.com>
17613             Rich Felker <dalias@libc.org>
17615         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
17617 2016-01-07  Richard Henderson  <rth@redhat.com>
17619         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
17621 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17623         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
17624         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
17625         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17626         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17627         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
17629 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
17630             Joseph Myers  <joseph@codesourcery.com>
17632         * timezone/private.h: Update from tzcode 2015g.
17633         * timezone/tzfile.h: Likewise.
17634         * timezone/tzselect.ksh: Likewise.
17635         * timezone/zdump.c: Likewise.
17636         * timezone/zic.c: Likewise.
17637         * timezone/ialloc.c: Remove file.
17638         * timezone/scheck.c: Likewise.
17639         * timezone/Makefile (extra-objs): Remove variable.
17640         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
17641         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
17642         -Wno-maybe-uninitialized.
17643         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
17644         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
17645         (CFLAGS-ialloc.c): Remove variable.
17646         (CFLAGS-scheck.c): Likewise.
17647         * timezone/README: Update list of files from tzcode.
17649 2016-01-07  Khem Raj  <raj.khem@gmail.com>
17651         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
17652         instead of __fxprintf when _LIBC is undefined.
17654 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
17656         * catgets/test-gencat.sh: Remove space after shebang.
17657         * conform/GlibcConform.pm: Likewise.
17658         * conform/check-header-lists.sh: Likewise.
17659         * conform/conformtest.pl: Likewise.
17660         * conform/linknamespace.pl: Likewise.
17661         * conform/list-header-symbols.pl: Likewise.
17662         * debug/catchsegv.sh: Likewise.
17663         * elf/genrtldtbl.awk: Likewise.
17664         * elf/tst-pathopt.sh: Likewise.
17665         * elf/tst-rtld-load-self.sh: Likewise.
17666         * grp/tst_fgetgrent.sh: Likewise.
17667         * iconvdata/gen-8bit-gap-1.sh: Likewise.
17668         * iconvdata/gen-8bit-gap.sh: Likewise.
17669         * iconvdata/gen-8bit.sh: Likewise.
17670         * iconvdata/run-iconv-test.sh: Likewise.
17671         * intl/tst-gettext.sh: Likewise.
17672         * intl/tst-gettext2.sh: Likewise.
17673         * intl/tst-gettext4.sh: Likewise.
17674         * intl/tst-gettext6.sh: Likewise.
17675         * intl/tst-translit.sh: Likewise.
17676         * io/ftwtest-sh: Likewise.
17677         * libio/test-freopen.sh: Likewise.
17678         * locale/gen-translit.pl: Likewise.
17679         * malloc/tst-mtrace.sh: Likewise.
17680         * manual/check-safety.sh: Likewise.
17681         * manual/libc-texinfo.sh: Likewise.
17682         * manual/tsort.awk: Likewise.
17683         * manual/xtract-typefun.awk: Likewise.
17684         * nptl/tst-cancel-wrappers.sh: Likewise.
17685         * nptl/tst-tls6.sh: Likewise.
17686         * posix/globtest.sh: Likewise.
17687         * posix/tst-getconf.sh: Likewise.
17688         * posix/wordexp-tst.sh: Likewise.
17689         * scripts/check-c++-types.sh: Likewise.
17690         * scripts/check-local-headers.sh: Likewise.
17691         * scripts/config.guess: Likewise.
17692         * scripts/config.sub: Likewise.
17693         * scripts/cpp: Likewise.
17694         * scripts/cross-test-ssh.sh: Likewise.
17695         * scripts/documented.sh: Likewise.
17696         * scripts/evaluate-test.sh: Likewise.
17697         * scripts/gen-libc-abis: Likewise.
17698         * scripts/gen-sorted.awk: Likewise.
17699         * scripts/list-fixed-bugs.py: Likewise.
17700         * scripts/merge-test-results.sh: Likewise.
17701         * scripts/mkinstalldirs: Likewise.
17702         * scripts/rellns-sh: Likewise.
17703         * scripts/test-installation.pl: Likewise.
17704         * scripts/update-copyrights: Likewise.
17705         * stdio-common/tst-printf.sh: Likewise.
17706         * stdio-common/tst-unbputc.sh: Likewise.
17707         * stdlib/tst-fmtmsg.sh: Likewise.
17708         * stdlib/tst-setcontext3.sh: Likewise.
17709         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
17710         * sysdeps/unix/make-syscalls.sh: Likewise.
17712 2016-01-06  John David Anglin  <dave.anglin@bell.net>
17714         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
17715         asm stw with atomic_exchange_rel.  Add explanatory comment.
17716         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17717         Likewise.
17719 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17721         [BZ #19122]
17722         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
17723         * sysdeps/generic/dl-unistd.h: New file.
17724         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
17726 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17728          [BZ #19122]
17729          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
17730          * sysdeps/generic/dl-mman.h: New file.
17731          * sysdeps/mach/hurd/dl-mman.h: Likewise.
17733 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
17735         * manual/texinfo.tex: Update to version 2016-01-04.21 with
17736         trailing whitespace removed.
17737         * scripts/config.guess: Update to version 2016-01-01.
17738         * scripts/config.sub: Update to version 2016-01-01.
17739         * scripts/move-if-change: Update from gnulib.
17741 2016-01-04  Anton Blanchard  <anton@samba.org>
17743         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
17744         for array indices.
17745         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
17747 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
17749         * NEWS: Update copyright dates.
17750         * catgets/gencat.c (print_version): Likewise.
17751         * csu/version.c (banner): Likewise.
17752         * debug/catchsegv.sh: Likewise.
17753         * debug/pcprofiledump.c (print_version): Likewise.
17754         * debug/xtrace.sh (do_version): Likewise.
17755         * elf/ldconfig.c (print_version): Likewise.
17756         * elf/ldd.bash.in: Likewise.
17757         * elf/pldd.c (print_version): Likewise.
17758         * elf/sotruss.sh: Likewise.
17759         * elf/sprof.c (print_version): Likewise.
17760         * iconv/iconv_prog.c (print_version): Likewise.
17761         * iconv/iconvconfig.c (print_version): Likewise.
17762         * locale/programs/locale.c (print_version): Likewise.
17763         * locale/programs/localedef.c (print_version): Likewise.
17764         * login/programs/pt_chown.c (print_version): Likewise.
17765         * malloc/memusage.sh (do_version): Likewise.
17766         * malloc/memusagestat.c (print_version): Likewise.
17767         * malloc/mtrace.pl: Likewise.
17768         * manual/libc.texinfo: Likewise.
17769         * nptl/version.c (banner): Likewise.
17770         * nscd/nscd.c (print_version): Likewise.
17771         * nss/getent.c (print_version): Likewise.
17772         * nss/makedb.c (print_version): Likewise.
17773         * posix/getconf.c (main): Likewise.
17774         * scripts/test-installation.pl: Likewise.
17775         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17777         * All files with FSF copyright notices: Update copyright dates
17778         using scripts/update-copyrights.
17779         * intl/plural.c: Regenerated.
17780         * locale/programs/charmap-kw.h: Likewise.
17781         * locale/programs/locfile-kw.h: Likewise.
17783 2016-01-02  Helge Deller  <deller@gmx.de>
17785         [BZ #19285]
17786         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
17787         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
17788         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
17789         (MADV_xxK_PAGES): Remove.
17791 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
17793         [BZ #15421]
17794         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
17795         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
17796         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
17797         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
17799 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
17801         [BZ #19408]
17802         * sysdeps/unix/sysv/linux/personality.c: New file.
17803         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
17804         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
17805         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
17806         (sysdep_routines): Add personality.
17807         (tests): Add tst-personality.
17808         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
17809         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
17810         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
17811         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
17812         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
17813         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
17814         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
17815         Likewise.
17816         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
17817         Likewise.
17818         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
17819         Likewise.
17820         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
17821         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
17822         Likewise.
17824 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
17826         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
17827         (PATH_ARM_SYSTYPE): Remove.
17828         (PATH_CPUINFO): Likewise.
17829         (IO_BASE_FOOTBRIDGE): Likewise.
17830         (IO_SHIFT_FOOTBRIDGE): Likewise.
17831         (struct platform): Likewise.
17832         (init_iosys): Remove compatibility code for 2.4 kernels.
17833         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
17835 2015-12-29  Florian Weimer  <fweimer@redhat.com>
17837         * malloc/tst-malloc-thread-fail.c: New file.
17838         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
17839         (tst-malloc-thread-fail): Link against libpthread.
17841 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
17843         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
17844         (get_parser): New function.
17845         (main): New function.
17847 2015-12-29  Rob Wu  <rob@robwu.nl>
17849         [BZ #19369]
17850         * resolv/res_init.c (__res_vinit): Reset defdname before use.
17852 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
17854         [BZ #19270]
17855         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17857 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
17859         [BZ #15421]
17860         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
17862 2015-12-23  Torvald Riegel  <triegel@redhat.com>
17864         [BZ #13690]
17865         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
17866         after releasing it.
17867         (__lll_robust_unlock): Likewise.
17868         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17869         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
17870         (lll_robust_unlock): Likewise.
17871         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
17872         Prevent warnings in callers.
17874 2015-12-23  Florian Weimer  <fweimer@redhat.com>
17876         * malloc/arena.c (list_lock): Update comment.
17878 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17880         * sysdeps/powerpc/hwcapinfo.c: Export symbol
17881         __parse_hwcap_and_convert_at_platform to libc.a.
17883 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17885         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
17886         platform and feature support for POWER9.
17887         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17888         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
17889         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
17890         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
17891         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
17892         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17893         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17894         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17896 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17898         Harmonize generic stdio-lock support with nptl
17900         This fixes build when _IO_funlockfile is a macro, fixes build where
17901         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
17902         stack unwind.
17904         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
17905         _IO_release_lock ): Use cleanup attribute on new
17906         _IO_acquire_lock_file variable instead of assuming that
17907         _IO_release_lock will be called.
17908         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
17909         _IO_acquire_lock_needs_exceptions_enabled.
17910         (_IO_acquire_lock_clear_flags2): New macro.
17912 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17914         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17916 2015-12-21  Florian Weimer  <fweimer@redhat.com>
17918         [BZ #19182]
17919         * malloc/arena.c (list_lock): Document lock ordering requirements.
17920         (free_list_lock): New lock.
17921         (ptmalloc_lock_all): Comment on free_list_lock.
17922         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
17923         (detach_arena): Update comment.  free_list_lock is now needed.
17924         (_int_new_arena): Use free_list_lock around detach_arena call.
17925         Acquire arena lock after list_lock.  Add comment, including FIXME
17926         about incorrect synchronization.
17927         (get_free_list): Switch to free_list_lock.
17928         (reused_arena): Acquire free_list_lock around detach_arena call
17929         and attached threads counter update.  Add two FIXMEs about
17930         incorrect synchronization.
17931         (arena_thread_freeres): Switch to free_list_lock.
17932         * malloc/malloc.c (struct malloc_state): Update comments to
17933         mention free_list_lock.
17935 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17937         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
17938         Remove functions.
17939         (sloww, sloww1): Accept argument to offset quadrant.
17940         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
17941         quadrant.
17942         (__sin, __cos): Consolidate common code into new functions.
17943         (reduce_sincos_1, do_sincos_1): New functions.
17944         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17946         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
17947         code to new functions.
17948         (reduce_sincos_2, do_sincos_2): New functions.
17949         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17951         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
17952         common code for sincos.
17953         (__cos) [!IN_SINCOS]: Likewise.
17954         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
17955         New function.
17956         (__sincos): Use it.
17958 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
17960         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
17961         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
17962         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17964 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17966         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
17967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
17968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17969         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
17970         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17971         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
17972         index_Prefer_No_VZEROUPPER): New feature.
17973         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
17974         Prefer_No_VZEROUPPER for Knights Landing.
17976 015-12-18  Torvald Riegel  <triegel@redhat.com>
17978         * math/atest-exp2.c (mp_exp_m1): Remove.
17980 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17982         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
17983         syscalls.
17984         (__SYSCALL0): New macro.
17985         (__SYSCALL1): Likewise.
17986         (__SYSCALL2): Likewise.
17987         (__SYSCALL3): Likewise.
17988         (__SYSCALL4): Likewise.
17989         (__SYSCALL5): Likewise.
17990         (__SYSCALL6): Likewise.
17991         (__SYSCALL_CONCAT_X): Likewise.
17992         (__SYSCALL_CONCAT): Likewise.
17993         (__SYSCALL_DIST): Likewise.
17994         (__SYSCALL_CALL): Likewise.
17996 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
17998         [BZ #19363]
17999         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
18001 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18003         [BZ #19375]
18004         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
18005         negative subnormals.
18007 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
18009         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18010         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
18011         (INTERNAL_SYSCALL_NCS): Use it.
18012         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18014 2015-12-16  Florian Weimer  <fweimer@redhat.com>
18016         [BZ #19243]
18017         * malloc/arena.c (get_free_list): Remove assert and adjust
18018         reference count handling.  Add comment about reused_arena
18019         interaction.
18020         (reused_arena): Add comments abount get_free_list interaction.
18021         * malloc/tst-malloc-thread-exit.c: New file.
18022         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
18023         (tst-malloc-thread-exit): Link against libpthread.
18025 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18027         [BZ #19367]
18028         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
18029         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
18030         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
18031         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
18032         (index_Prefer_MAP_32BIT_EXEC): Likewise.
18034 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18036         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
18037         Silvermont optimizations for Knights Landing.
18039 2015-12-15  Andreas Schwab  <schwab@suse.de>
18041         [BZ #17197]
18042         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
18043         immediately after emitting SI.
18044         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
18045         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
18046         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
18047         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
18048         * iconvdata/bug-iconv10.c: New file.
18049         * iconvdata/Makefile (tests): Add bug-iconv10.
18050         ($(objpfx)bug-iconv10.out): New rule.
18052 2015-12-15  Florian Weimer  <fweimer@redhat.com>
18054         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
18055         aliasing violation.
18057 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
18059         [BZ #18472]
18060         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
18061         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
18062         conditionals for them.
18063         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
18064         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
18065         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
18066         sys/kdaemon.h.
18067         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
18068         compat-only syscall, obsoleted in glibc 2.23.
18069         (create_module): Likewise.
18070         (get_kernel_syms): Likewise.
18071         (query_module): Likewise.
18072         (uselib): Likewise.
18073         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
18075 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
18077         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
18078         <linux/version.h>.
18079         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
18080         conditional code.
18081         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
18082         and ioshift_name initialization.
18084 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18086         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18087         Fix indentation.
18089 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18091         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
18093 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18095         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
18097 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
18098             Jakub Wilk  <jwilk@debian.org>
18100         [BZ #19347]
18101         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
18102         to change the group of the device to the tty group.
18104 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
18106         Split large string section; add truncation advice
18107         * manual/examples/strncat.c: Remove.
18108         This example was misleading, as the code would have undefined
18109         behavior if "hello" was longer than SIZE.  Anyway, the manual
18110         shouldn't encourage strncpy+strncat for this sort of thing.
18111         * manual/string.texi (Copying Strings and Arrays): Split into
18112         three sections Copying Strings and Arrays, Concatenating Strings,
18113         and Truncating Strings, as this section was way too long.  All
18114         cross-referenced changed.  Add advice about string-truncation
18115         functions.  Remove misleading strncat example.
18117 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
18119         * manual/nss.texi (NSS Modules Interface): Document
18120         NSS_STATUS_NOTFOUND and SUCCESS.
18122 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18124         [BZ 18568]
18125         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18126         201505L, for Unicode 8.
18128 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
18130         * locale/C-translit.h: Regenerate.
18132 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18134         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
18135         and U+0153.
18137 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
18139         [BZ #19351]
18140         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
18141         expanding log(1+z), compare z rather than its square with epsilon
18142         to determine when to avoid evaluating the expansion.
18144         [BZ #19350]
18145         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18146         Increase overflow threshold.
18148         [BZ #19349]
18149         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
18150         when small.
18152         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18153         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18154         New macro.
18155         [__LINUX_KERNEL_VERSION >= 0x040300]
18156         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18157         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18158         Likewise.
18159         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18160         Likewise.
18161         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18162         Likewise.
18163         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18164         Likewise.
18165         [__LINUX_KERNEL_VERSION >= 0x040300]
18166         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18167         [__LINUX_KERNEL_VERSION >= 0x040300]
18168         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18169         [__LINUX_KERNEL_VERSION >= 0x040300]
18170         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18171         [__LINUX_KERNEL_VERSION >= 0x040300]
18172         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18173         [__LINUX_KERNEL_VERSION >= 0x040300]
18174         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18175         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18176         Likewise.
18177         [__LINUX_KERNEL_VERSION >= 0x040300]
18178         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18179         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18180         Likewise.
18181         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18182         Likewise.
18183         [__LINUX_KERNEL_VERSION >= 0x040300]
18184         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18185         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18186         Likewise.
18187         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18188         Likewise.
18189         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18190         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
18191         Likewise.
18192         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
18193         Likewise.
18194         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18195         Likewise.
18196         [__LINUX_KERNEL_VERSION >= 0x040300]
18197         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18198         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18199         Likewise.
18200         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18201         Likewise.
18202         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18203         Likewise.
18204         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18205         Likewise.
18206         [__LINUX_KERNEL_VERSION >= 0x040300]
18207         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18208         [__LINUX_KERNEL_VERSION >= 0x040300]
18209         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18210         [__LINUX_KERNEL_VERSION >= 0x040300]
18211         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18212         [__LINUX_KERNEL_VERSION >= 0x040300]
18213         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18214         [__LINUX_KERNEL_VERSION >= 0x040300]
18215         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18216         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18217         Likewise.
18218         [__LINUX_KERNEL_VERSION >= 0x040300]
18219         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18220         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18221         Likewise.
18222         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18223         Likewise.
18224         [__LINUX_KERNEL_VERSION >= 0x040300]
18225         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18226         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18227         Likewise.
18228         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18229         Likewise.
18230         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18231         (__ASSUME_SOCKET_SYSCALL): Likewise.
18232         (__ASSUME_BIND_SYSCALL): Likewise.
18233         (__ASSUME_CONNECT_SYSCALL): Likewise.
18234         (__ASSUME_LISTEN_SYSCALL): Likewise.
18235         (__ASSUME_ACCEPT_SYSCALL): Likewise.
18236         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18237         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18238         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18239         (__ASSUME_SEND_SYSCALL): Likewise.
18240         (__ASSUME_SENDTO_SYSCALL): Likewise.
18241         (__ASSUME_RECV_SYSCALL): Likewise.
18242         (__ASSUME_RECVFROM_SYSCALL): Likewise.
18243         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
18244         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18245         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18246         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18247         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18248         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18249         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
18250         Likewise.
18251         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
18252         Likewise.
18253         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
18254         Likewise.
18255         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
18256         Likewise.
18257         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
18258         Likewise.
18259         [__LINUX_KERNEL_VERSION >= 0x020625]
18260         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18261         [__LINUX_KERNEL_VERSION >= 0x020625]
18262         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18263         [__LINUX_KERNEL_VERSION >= 0x020625]
18264         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18265         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
18266         Likewise.
18267         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
18268         Likewise.
18269         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
18270         Likewise.
18271         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
18272         Likewise.
18273         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
18274         Likewise.
18275         [__LINUX_KERNEL_VERSION >= 0x020625]
18276         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18277         [__LINUX_KERNEL_VERSION >= 0x020625]
18278         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18279         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
18280         Likewise.
18281         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
18282         Likewise.
18284 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18286         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
18287         record the current if the current ABI and CPU support the FP64
18288         extension.
18289         (has-modd-spreg): Define to record the current if the current ABI and
18290         CPU support 32-bit floating point values in odd FPU registers.
18291         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18292         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
18293         $(has-modd-spreg) equals yes.
18294         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
18295         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
18296         $(has-modd-spreg) equal yes.
18298 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18300         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
18301         basename.
18303 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
18305         * benchtests/Makefile (bench-math): Move ffs and ffsll...
18306         (bench-string): ... here.
18307         (bench): Add bench-string.
18308         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
18309         to *-benchset to reflect what they are.
18310         (benchset): Adjust.
18312         * benchtests/sincos-inputs: Add inputs from sin-inputs and
18313         cos-inputs.
18315 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
18317         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
18318         __attribute__ ((__simd__)) for vector math function declarations.
18320 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18322         Fix typo in strncat, wcsncat manual entries
18323         * manual/string.texi (Copying and Concatenation): Fix typos in
18324         sample implementations of strncat and wcsncat, by having them use
18325         the old value of the destination length, not the new one.
18327 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
18329         [BZ #16961]
18330         [BZ #16962]
18331         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
18332         string on the stack for strtod.
18333         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
18334         a string on the stack for strtof.
18335         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
18336         constructing a string on the stack for strtold.
18337         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
18338         __strtold_nan to GLIBC_PRIVATE.
18339         * math/test-nan-overflow.c: New file.
18340         * math/test-nan-payload.c: Likewise.
18341         * math/Makefile (tests): Add test-nan-overflow and
18342         test-nan-payload.
18344 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18346         Consistency about byte vs character in string.texi
18347         * manual/string.texi (String and Array Utilities):
18348         Distinguish more carefully among bytes, multibyte characters,
18349         and wide characters.  Use "byte" when talking about C 'char',
18350         to distinguish it more clearly from multibyte characters.
18351         Say "wide character" or "multibyte character" instead of
18352         "character", when a wide or multibyte character is intended.
18353         Similarly for "multibyte string" versus "string".
18354         Define these terms more carefully.
18356 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
18358         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
18359         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
18360         Likewise.
18361         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18362         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18363         * sysdeps/sh/math_private.h: New file.
18364         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
18365         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
18366         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
18367         long double function name.
18368         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18369         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18370         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18371         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18372         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18374         Remove __finitel, __isinfl, and __isnanl.
18375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18376         Likewise.
18377         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18379         Remove __finitel.
18380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18381         Likewise.
18382         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18384 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
18386         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
18387         installed libmvec_nonshared.a.
18389 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18391         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
18392         (sysdep_routines): Likewise.
18393         (sysdep-rtld-routines): Likewise.
18394         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
18395         [$(subdir) = nptl](tests-static): test-get_hwcap-static
18396         * sysdeps/powerpc/Versions: Added new
18397         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
18398         * sysdeps/powerpc/hwcapinfo.c: New file.
18399         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
18400         and parse hwcap, hwcap2 and platform number information.
18401         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
18402         to store HWCAP+HWCAP2 and platform number.
18403         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
18404         for HWCAP+HWCAP2 and platform number in the TCB.
18405         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
18406         the HWCAP, HWCAP2 and platform number in the TCB.
18407         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
18408         (TLS_INIT_TP): Included calls to add the hwcap and
18409         at_platform values in the TCB in TP initialization.
18410         (TLS_DEFINE_INIT_TP): Likewise.
18411         (THREAD_GET_HWCAP): New macro.
18412         (THREAD_SET_HWCAP): Likewise.
18413         (THREAD_GET_AT_PLATFORM): Likewise.
18414         (THREAD_SET_AT_PLATFORM): Likewise.
18415         * sysdeps/powerpc/powerpc32/dl-machine.h:
18416         (dl_platform_init): New function that calls
18417         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
18418         powerpc32.
18419         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
18420         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
18421         this functionality, static linking case.
18422         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
18423         linking case.
18424         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
18425         __parse_hwcap_and_convert_at_platform for the static linking case.
18426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
18427         Included the new __parse_hwcap_and_convert_at_platform symbol in the
18428         ABI list for GLIBC 2.23.
18429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
18430         Likewise.
18431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
18432         Likewise.
18434 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
18436         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
18437         * configure: Regenerate.
18438         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
18439         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
18441 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
18443         * iconvdata/ibm930.c: Add comment explaining encoding uses.
18444         * iconvdata/ibm933.c: Likewise.
18445         * iconvdata/ibm935.c: Likewise.
18446         * iconvdata/ibm937.c: Likewise.
18447         * iconvdata/ibm939.c: Likewise.
18449 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18451         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
18452         pthread_join.
18453         * nptl/tst-cancel21.c (tf): Likewise.
18455 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
18457         [BZ #19313]
18458         * bits/typesizes.h (__CPU_MASK_TYPE): New.
18459         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18460         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18461         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
18462         Likewise.
18463         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
18464         Likewise.
18465         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
18466         Likewise.
18467         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
18468         Likewise.
18469         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
18470         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
18471         unsigned long int with __CPU_MASK_TYPE.
18473 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18475         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18477 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
18479         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
18480         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
18481         t512.x.
18482         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
18484 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
18486         [BZ #19214]
18487         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
18488         argument to return extended model.  Update family and model
18489         with extended family and model when family == 0x0f.
18490         (init_cpu_features): Updated.
18492 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18494         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
18495         signed off_t, so 32bit bigger than 2GiB values are fine actually.
18497         * sysdeps/mach/hurd/mmap64.c: New file.
18499 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
18501         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
18502         rights for its main user thread in NEWTASK.
18504 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
18506         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
18507         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
18509 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
18511         [BZ #14259]
18512         * Makeconfig: Rename localedir to complocaledir.
18513         Rename inst_localedir to inst_complocaledir.
18514         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
18515         * config.make.in: Use complocaledir and libc_cv_complocaledir.
18516         * configure.ac: Use libc_cv_complocaledir.
18517         * configure: Regenerate.
18518         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
18519         -DCOMPLOCALEDIR.
18520         * locale/findlocale.c: Use COMPLOCALEDIR.
18521         * locale/loadarchive.c: Likewise.
18522         * locale/programs/locale.c: Likewise.
18523         * locale/programs/localedef.c: Likewise.
18524         * locale/programs/locarchive.c: Likewise.
18525         * localedata/Makefile: Use inst_complocaledir.
18526         * sysdeps/gnu/configure: Regenerate.
18527         * sysdeps/hppa/configure: Regenerate.
18528         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18529         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18531         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18532         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18533         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18534         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18536 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
18538         [BZ #19058]
18539         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
18540         AS_NEEDED.
18541         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
18542         workaround.
18543         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
18544         libmvec-static-only-routines): Added new file.
18545         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
18547 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18549         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
18550         of interrupted RPC instead of restoring it.
18552         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
18553         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
18554         libc_hidden_def.
18555         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
18556         into initialized data instead of common. Define rtld_hidden_data_def.
18557         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
18558         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
18559         libc_hidden_def.
18560         (if_freenameindex): Add libc_hidden_weak.
18561         (if_nameindex): Add libc_hidden_weak.
18562         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
18563         __open64.
18564         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
18565         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
18566         * sysdeps/mach/nanosleep.c: Include <time.h>
18567         (__nanosleep): Rename to __libc_nanosleep.
18568         (__nanosleep): Add weak_alias.
18569         (nanosleep): Update alias.
18571 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
18573         * stdlib/strtod_nan.c: New file.
18574         * stdlib/strtod_nan_double.h: Likewise.
18575         * stdlib/strtod_nan_float.h: Likewise.
18576         * stdlib/strtod_nan_main.c: Likewise.
18577         * stdlib/strtod_nan_narrow.h: Likewise.
18578         * stdlib/strtod_nan_wide.h: Likewise.
18579         * stdlib/strtof_nan.c: Likewise.
18580         * stdlib/strtold_nan.c: Likewise.
18581         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
18582         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
18583         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
18584         * wcsmbs/wcstod_nan.c: Likewise.
18585         * wcsmbs/wcstof_nan.c: Likewise.
18586         * wcsmbs/wcstold_nan.c: Likewise.
18587         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
18588         strtold_nan.
18589         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
18590         wcstof_nan.
18591         * include/stdlib.h (__strtof_nan): Declare and use
18592         libc_hidden_proto.
18593         (__strtod_nan): Likewise.
18594         (__strtold_nan): Likewise.
18595         (__wcstof_nan): Likewise.
18596         (__wcstod_nan): Likewise.
18597         (__wcstold_nan): Likewise.
18598         * include/wchar.h (____wcstoull_l_internal): Declare.
18599         * stdlib/strtod_l.c: Do not include <ieee754.h>.
18600         (____strtoull_l_internal): Remove declaration.
18601         (STRTOF_NAN): Define macro.
18602         (SET_MANTISSA): Remove macro.
18603         (STRTOULL): Likewise.
18604         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
18605         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
18606         (STRTOF_NAN): Define macro.
18607         (SET_MANTISSA): Remove macro.
18608         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
18609         (SET_MANTISSA): Remove macro.
18610         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
18611         macro.
18612         (SET_MANTISSA): Remove macro.
18613         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
18614         macro.
18615         (SET_MANTISSA): Remove macro.
18616         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
18617         (SET_MANTISSA): Remove macro.
18618         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
18619         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
18620         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
18622         [BZ #19266]
18623         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
18624         upper case and lower case letters inside NAN(), not using TOLOWER.
18625         * stdlib/tst-strtod-nan-locale-main.c: New file.
18626         * stdlib/tst-strtod-nan-locale.c: Likewise.
18627         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
18628         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
18629         Depend on $(gen-locales).
18630         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
18631         * wcsmbs/tst-wcstod-nan-locale.c: New file.
18632         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
18633         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
18634         Depend on $(gen-locales).
18635         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
18637 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
18639         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
18641         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
18643         __finitel, __isinfl, and __isnanl.
18644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18645         Likewise.
18646         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
18648         __finitel.
18649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18650         Likewise.
18651         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18653 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18655         * malloc/memusage.c (me): Remove redundant getenv call.
18657 2015-10-24  Florian Weimer  <fweimer@redhat.com>
18659         [BZ #19143]
18660         [BZ #19164]
18661         * nptl/check-cpuset.h: Remove.
18662         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
18663         Remove CPU set size check.
18664         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
18665         Likewise.
18666         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
18667         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18668         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
18669         (__pthread_setaffinity_new): Remove CPU set size check.
18670         * sysdeps/unix/sysv/linux/sched_setaffinity.c
18671         (__kernel_cpumask_size): Remove.
18672         (__sched_setaffinity_new): Remove CPU set size check.
18673         * manual/threads.texi (Default Thread Attributes): Remove stale
18674         reference to check_cpuset_attr, determine_cpumask_size in comment.
18675         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
18676         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
18677         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
18678         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
18679         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
18680         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
18681         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
18682         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
18683         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
18684         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
18685         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
18686         skeleton test file.
18687         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
18688         tst-affinity-pid.
18690 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18692         * scripts/update-abilist.sh: New file.
18693         * Makefile (+subdir_targets): Add subdir_update-all-abi.
18694         * Makerules (update-all-abi-%, update-all-abi)
18695         (subdir_update-all-abi): New targets.
18696         * elf/Makefile (update-all-abi): New target.
18698 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18700         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
18701         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
18702         (__libc_lock_define_initialized): Use it.
18703         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
18704         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
18705         * malloc/malloc.c (main_arena): Likewise.
18706         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18707         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18709 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
18711         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18712         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
18713         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18714         (PTRACE_O_MASK): Update value.
18715         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
18716         New value in enum __ptrace_setoptions.
18717         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18718         (PTRACE_O_MASK): Update value.
18719         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18720         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18721         (PTRACE_O_MASK): Update value.
18722         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18723         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18724         (PTRACE_O_MASK): Update value.
18725         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18726         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18727         (PTRACE_O_MASK): Update value.
18728         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
18729         New value in enum __ptrace_setoptions.
18730         (PTRACE_O_MASK): Update value.
18731         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
18732         New value in enum __ptrace_setoptions.
18733         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18734         (PTRACE_O_MASK): Update value.
18736         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
18737         New macro.
18738         (PACKET_AUXDATA): Likewise.
18739         (PACKET_ORIGDEV): Likewise.
18740         (PACKET_VERSION): Likewise.
18741         (PACKET_HDRLEN): Likewise.
18742         (PACKET_RESERVE): Likewise.
18743         (PACKET_TX_RING): Likewise.
18744         (PACKET_LOSS): Likewise.
18745         (PACKET_VNET_HDR): Likewise.
18746         (PACKET_TX_TIMESTAMP): Likewise.
18747         (PACKET_TIMESTAMP): Likewise.
18748         (PACKET_FANOUT): Likewise.
18749         (PACKET_TX_HAS_OFF): Likewise.
18750         (PACKET_QDISC_BYPASS): Likewise.
18751         (PACKET_ROLLOVER_STATS): Likewise.
18752         (PACKET_FANOUT_DATA): Likewise.
18753         (PACKET_MR_UNICAST): Likewise.
18755         [BZ #19242]
18756         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
18757         (TOUPPER): Likewise.
18758         * stdlib/tst-strtol-locale-main.c: New file.
18759         * stdlib/tst-strtol-locale.c: Likewise.
18760         * stdlib/Makefile (tests): Add tst-strtol-locale.
18761         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
18762         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
18763         Depend on $(gen-locales).
18764         * wcsmbs/tst-wcstol-locale.c: New file.
18765         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
18766         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
18767         tr_TR.ISO-8859-9.
18768         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
18769         Depend on $(gen-locales).
18771 2015-11-20  Roland McGrath  <roland@hack.frob.com>
18773         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
18774         __glibc_likely instead of __builtin_expect.  After falling back to
18775         dyncode_create in a non-ET_DYN case, use the allocate_code_data
18776         system interface to register the code pages as occupied.
18778 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
18780         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18781         [!ARM_MATH_PRIVATE_H].
18782         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
18783         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18784         [!HPPA_MATH_PRIVATE_H].
18785         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
18786         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
18787         to [!I386_MATH_PRIVATE_H].
18788         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
18789         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
18790         Change guard to [!M68K_MATH_PRIVATE_H].
18791         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
18792         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
18793         guard to [!MICROBLAZE_MATH_PRIVATE_H].
18794         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
18795         macro.
18796         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18797         [!MIPS_MATH_PRIVATE_H].
18798         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
18799         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18800         [!NIO2_MATH_PRIVATE_H].
18801         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
18802         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18803         [!TILE_MATH_PRIVATE_H].
18804         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
18806         [BZ #15421]
18807         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
18808         initialize with 0 and define as weak alias of __signgam.
18809         * include/math.h [!_ISOMAC] (__signgam): Declare.
18810         * math/Makefile (libm-calls): Add w_lgamma_compat.
18811         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
18812         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
18813         test-signgam-ullong-init.
18814         (tests-static): Add test-signgam-uchar-static,
18815         test-signgam-uchar-init-static, test-signgam-uint-static,
18816         test-signgam-uint-init-static, test-signgam-ullong-static and
18817         test-signgam-ullong-init-static.
18818         (CFLAGS-test-signgam-uchar.c): New variable.
18819         (CFLAGS-test-signgam-uchar-init.c): Likewise.
18820         (CFLAGS-test-signgam-uchar-static.c): Likewise.
18821         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18822         (CFLAGS-test-signgam-uint.c): Likewise.
18823         (CFLAGS-test-signgam-uint-init.c): Likewise.
18824         (CFLAGS-test-signgam-uint-static.c): Likewise.
18825         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18826         (CFLAGS-test-signgam-ullong.c): Likewise.
18827         (CFLAGS-test-signgam-ullong-init.c): Likewise.
18828         (CFLAGS-test-signgam-ullong-static.c): Likewise.
18829         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18830         * math/Versions (libm): Add GLIBC_2.23.
18831         * math/lgamma-compat.h: New file.
18832         * math/test-signgam-main.c: Likewise.
18833         * math/test-signgam-uchar-init-static.c: Likewise.
18834         * math/test-signgam-uchar-init.c: Likewise.
18835         * math/test-signgam-uchar-static.c: Likewise.
18836         * math/test-signgam-uchar.c: Likewise.
18837         * math/test-signgam-uint-init-static.c: Likewise.
18838         * math/test-signgam-uint-init.c: Likewise.
18839         * math/test-signgam-uint-static.c: Likewise.
18840         * math/test-signgam-uint.c: Likewise.
18841         * math/test-signgam-ullong-init-static.c: Likewise.
18842         * math/test-signgam-ullong-init.c: Likewise.
18843         * math/test-signgam-ullong-static.c: Likewise.
18844         * math/test-signgam-ullong.c: Likewise.
18845         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
18846         wrapper of w_lgamma_main.c.
18847         * math/w_lgamma_compat.c: New file.
18848         * math/w_lgamma_compatf.c: Likewise.
18849         * math/w_lgamma_compatl.c: Likewise.
18850         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
18851         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18852         defining compatibility symbols.
18853         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
18854         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
18855         wrapper of w_lgammaf_main.c.
18856         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
18857         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18858         defining compatibility symbols.
18859         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
18860         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
18861         wrapper of w_lgammal_main.c.
18862         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
18863         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18864         defining compatibility symbols.
18865         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
18866         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
18867         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
18868         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
18869         <lgamma-compat.h>.
18870         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
18871         (__ieee754_gamma): Define as alias.
18872         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
18873         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
18874         <lgamma-compat.h>.
18875         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
18876         (__ieee754_gammaf): Define as alias.
18877         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
18878         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
18879         <lgamma-compat.h>.
18880         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
18881         (__ieee754_gammal): Define as alias.
18882         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
18883         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
18884         <math/w_lgamma_compat.c>.
18885         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
18886         Define as alias of __lgamma_compat and use in defining lgammal.
18887         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
18888         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
18889         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
18890         (USE_AS_COMPAT): New macro.
18891         (LGAMMA_OLD_VER): Undefine and redefine.
18892         (lgammal): Do not define here.
18893         (gammal): Only define here if [GAMMA_ALIAS].
18894         * conform/linknamespace.pl (@whitelist): Remove signgam.
18895         * sysdeps/nacl/libm.abilist: Update.
18896         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18897         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18898         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18899         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18900         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18901         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18902         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18903         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18904         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18905         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18906         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18907         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18909         Likewise.
18910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18911         Likewise.
18912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18913         Likewise.
18914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18915         Likewise.
18916         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18917         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18918         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18919         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18920         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18922         Likewise.
18923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18924         Likewise.
18925         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18926         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18927         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18929 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18931         [BZ #16364]
18932         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
18933         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
18935 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18937         * sysdeps/s390/fpu/bits/mathinline.h:
18938         Use __asm__ [__volatile__] instead of asm [volatile].
18939         * sysdeps/s390/abort-instr.h: Likewise.
18940         * sysdeps/s390/atomic-machine.h: Likewise.
18941         * sysdeps/s390/bits/string.h: Likewise.
18942         * sysdeps/s390/dl-tls.h: Likewise.
18943         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18944         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18945         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18946         * sysdeps/s390/fpu/fesetround.c: Likewise.
18947         * sysdeps/s390/fpu/fpu_control.h: Likewise.
18948         * sysdeps/s390/fpu/s_fma.c: Likewise.
18949         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
18950         * sysdeps/s390/memusage.h: Likewise.
18951         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
18952         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
18953         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
18954         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
18955         * sysdeps/s390/nptl/tls.h: Likewise.
18956         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
18957         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18958         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18959         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
18960         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18961         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18962         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
18963         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18964         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18965         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
18966         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
18967         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18968         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18969         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
18970         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18971         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18972         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
18973         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18974         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
18975         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18976         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
18977         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18978         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
18980 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18981             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18983         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
18984         Add lwarx hint, and use macro for acquire instruction.
18985         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18986         Likewise.
18987         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
18988         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
18989         update to use new atomic macros.
18991 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18993         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18994         (__lll_trylock_elision): Fix setting of adapt_count.
18995         * sysdeps/unix/sysv/linux/powerpc/htm.h
18996         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
18997         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
18998         (_ABORT_SYSCALL): Renumber, and clarify definition.
18999         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
19001 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19003         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
19004         after system headers to prevent MIN/MAX redefinition.  Define
19005         HAVE_ALLOCA to preserve builtin alloca usage.
19007 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19009         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
19010         static and don't set or restore rounding.
19011         (__cos)[IN_SINCOS]: Likewise.
19012         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
19013         (__sincos): Set and restore rounding mode.  Remove check for infinite
19014         or NaN input.
19016         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
19018         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
19019         as used.
19021 2015-11-16  Florian Weimer  <fweimer@redhat.com>
19023         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
19025 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19027         * config.make.in (have-glob-dat-reloc): New.
19028         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
19029         target supports GLOB_DAT relocaton. AC_SUBST.
19030         * configure: Regenerated.
19031         * elf/Makefile (tests): Add tst-prelink.
19032         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19033         (tst-prelink-ENV): New.
19034         ($(objpfx)tst-prelink-conflict.out): Likewise.
19035         ($(objpfx)tst-prelink-cmp.out): Likewise.
19036         * sysdeps/x86/tst-prelink.c: Moved to ...
19037         * elf/tst-prelink.c: Here.
19038         * sysdeps/x86/tst-prelink.exp: Moved to ...
19039         * elf/tst-prelink.exp: Here.
19040         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
19041         (tst-prelink-ENV): Removed.
19042         ($(objpfx)tst-prelink-conflict.out): Likewise.
19043         ($(objpfx)tst-prelink-cmp.out): Likewise.
19044         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
19046 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
19048         [BZ #14551]
19049         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
19050         (__mpn_construct_long_double): If high part overflows to infinity,
19051         set errno and recompute overflowed result of the correct sign.
19052         * sysdeps/ieee754/ldbl-128ibm/Makefile
19053         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
19054         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
19055         $(libm).
19056         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
19058 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
19060         [BZ #15479]
19061         [BZ #19238]
19062         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
19063         floating-point state after first operation on input.  Restore full
19064         state rather than just rounding mode.
19065         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19066         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19067         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19069         [BZ #19235]
19070         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
19071         add 0.5 to integer arguments.
19072         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
19073         Likewise.
19074         (.LC2): New object.
19076 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
19078         * scripts/pylintrc (reports): Set to no.
19080 2015-11-10  Roland McGrath  <roland@hack.frob.com>
19082         * elf/dl-load.c (open_verify): Take new argument FD.
19083         Skip __open call if passed FD is not -1.
19084         (_dl_map_object, open_path): Update callers.
19085         * elf/dl-sysdep-open.h: New file.
19086         * elf/dl-load.c: Include it.
19087         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
19088         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
19089         * sysdeps/nacl/dl-sysdep-open.h: New file.
19090         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
19091         from libc to rtld.
19093 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19095         [BZ #19228]
19096         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
19097         and restore full floating-point state.
19098         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19099         Likewise.
19100         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19101         Likewise.
19102         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19103         Likewise.
19104         * math/test-nearbyint-except-2.c: New file.
19105         * math/Makefile (tests): Add test-nearbyint-except-2.
19107 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
19109         [BZ #19178]
19110         * sysdeps/x86/Makefile (tests): Add tst-prelink.
19111         (tst-prelink-ENV): New.
19112         ($(objpfx)tst-prelink-conflict.out): Likewise.
19113         ($(objpfx)tst-prelink-cmp.out): Likewise.
19114         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19115         * sysdeps/x86/tst-prelink.c: New file.
19116         * sysdeps/x86/tst-prelink.exp: Likewise.
19118 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19120         * math/auto-libm-test-in: Add another test of pow.
19121         * math/auto-libm-test-out: Regenerated.
19122         * math/libm-test.inc (pow_test_data): Add another test.
19124 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19126         [BZ #19219]
19127         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
19128         weak_alias to nearbyintl.
19130 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19132         * sysdeps/aarch64/bits/string.h: New file.
19133         (_STRING_ARCH_unaligned): Define.
19135 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19137         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
19138         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19139         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19140         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
19141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
19143 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
19145         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
19146         for original name of the DSO.  Add it to the name list of the DSO
19147         if it is actually given.
19148         (_dl_map_object): Keep track of whether an audit module rewrote
19149         the file name.  If yes, pass the original name to
19150         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
19151         debugging is enabled, log the change of the file name.
19152         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
19153         _dl_map_object_from_fd.
19154         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
19155         * elf/tst-audit11.c: New file
19156         * elf/tst-auditmod11.c: New file.
19157         * elf/tst-audit11mod1.c: New file.
19158         * elf/tst-audit11mod2.c: New file.
19159         * elf/tst-audit11mod2.map: New file.
19160         * elf/tst-audit12.c: New file
19161         * elf/tst-auditmod12.c: New file.
19162         * elf/tst-audit12mod1.c: New file.
19163         * elf/tst-audit12mod2.c: New file.
19164         * elf/tst-audit12mod2.map: New file.
19165         * elf/tst-audit12mod3.c: New file.
19167 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19169         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
19170         Don't create weak aliases,
19171         because versioned symbols are created later.
19172         * sysdeps/s390/s390-32/setjmp.S
19173         (setjmp, _setjmp): Remove weak and rename to an unique name
19174         in SHARED case due to existing versioned symbols.
19175         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19176         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
19177         (getcontext): Create weak alias only in non SHARED case.
19178         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19180 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19182         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
19183         (__ASSUME_*_SYSCALL) Define new macros.
19184         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
19185         Remove socketcall syscalls.
19186         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
19187         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
19188         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
19189         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
19190         * sysdeps/unix/sysv/linux/send.c (__libc_send):
19191         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
19193 2015-11-09  Florian Weimer  <fweimer@redhat.com>
19195         [BZ #12926]
19196         Terminate process on invalid netlink response.
19197         * sysdeps/unix/sysv/linux/netlinkaccess.h
19198         (__netlink_assert_response): Declare.
19199         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
19200         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
19201         (sysdep_routines): Add netlink_assert_response.
19202         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
19203         __netlink_assert_response.
19204         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19205         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19206         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
19207         __netlink_assert_response.
19209 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19211         [BZ #19178]
19212         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
19213         (RTYPE_CLASS_PLT): Likewise.
19214         (RTYPE_CLASS_COPY): Likewise.
19215         (RTYPE_CLASS_TLS): Likewise.
19216         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
19217         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
19218         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
19219         DL_DEBUG_PRELINK.
19221 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
19223         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
19224         calls with argument -0.5.
19225         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
19227         * configure.ac (libc_cv_z_nodelete): Remove configure test.
19228         (libc_cv_z_nodlopen): Likewise.
19229         (libc_cv_z_initfirst): Likewise.
19230         * configure: Regenerated.
19232 2015-11-06  Florian Weimer  <fweimer@redhat.com>
19234         Simplify abilist format to be line-based.
19235         * scripts/abilist.awk: Collect descriptors in the descs variable.
19236         (emit): Write descs variable and sort it
19237         externally, with sort.
19238         * sysdeps/**/*.abilist: Convert to new format.
19240 2015-11-06  Mark Wielaard  <mjw@redhat.com>
19242         [BZ #11460]
19243         * io/Makefile (routines): Add fts64.
19244         (tests): Add tst-fts and tst-fts-lfs.
19245         (CFLAGS-fts64.c): New.
19246         * io/Versions (GLIBC_2.23): New.
19247         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
19248         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
19249         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
19250         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
19251         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
19252         (FTSENT64): Likewise.
19253         (fts64_children): Likewise.
19254         (fts64_close): Likewise.
19255         (fts64_open): Likewise.
19256         (fts64_read): Likewise.
19257         (fts64_set): Likewise.
19258         * io/fts64.c: New file.
19259         * io/tst-fts.c: New test.
19260         * io/tst-fts-lfs.c: Likewise.
19261         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
19262         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
19263         fts64_set.
19264         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19265         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19266         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19267         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19268         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19269         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19270         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19271         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19272         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19273         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19274         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19275         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19276         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19278         Likewise.
19279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19280         Likewise.
19281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19283         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19284         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19285         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19286         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19287         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19290         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19291         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19292         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19293         * sysdeps/wordsize-64/fts.c: New file.
19294         * sysdeps/wordsize-64/fts64.c: Likewise.
19295         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
19296         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
19297         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
19298         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
19300 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19302         * math/libm-test.inc (NON_FINITE): New macro.
19303         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
19304         * math/gen-libm-test.pl (show_exceptions): Add argument
19305         $non_finite.
19306         (parse_args): Update call to show_exceptions.
19307         * math/test-math-finite.h: New file.
19308         * math/test-math-no-finite.h: Likewise.
19309         * math/test-double-finite.c: Likewise.
19310         * math/test-float-finite.c: Likewise.
19311         * math/test-ldouble-finite.c: Likewise.
19312         * math/test-double.c: Include "test-math-no-finite.h".
19313         * math/test-float.c: Include "test-math-no-finite.h".
19314         * math/test-ldouble.c: Include "test-math-no-finite.h".
19315         * math/test-math-inline.h (TEST_FINITE): New macro.
19316         * math/test-math-vector.h (TEST_FINITE): Likewise.
19317         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
19318         (libm-tests): Add test-float-finite and test-double-finite.
19319         ($(objpfx)test-float-finite.o): New dependency on
19320         $(objpfx)libm-test.stmp.
19321         ($(objpfx)test-double-finite.o): Likewise.
19322         ($(objpfx)test-ldouble-finite.o): Likewise.
19323         (libm-test-no-inline-cflags): New variable.
19324         (libm-test-finite-cflags): Likewise.
19325         (CFLAGS-test-float-finite.c): Likewise.
19326         (CFLAGS-test-double-finite.c): Likewise.
19327         (CFLAGS-test-ldouble-finite.c): Likewise.
19328         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
19329         (CFLAGS-test-double.c): Likewise.
19330         (CFLAGS-test-ldouble.c): Likewise.
19332 2015-11-05  Roland McGrath  <roland@hack.frob.com>
19334         * io/fcntl.c (__fcntl): Add ... to prototype.
19335         * misc/ioctl.c (__ioctl): Likewise.
19336         * misc/syscall.c (syscall): Likewise.
19338 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19340         * scripts/list-fixed-bugs.py: New file.
19342         [BZ #19213]
19343         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
19344         returned for argument 1.
19345         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
19346         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
19347         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
19348         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
19349         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
19350         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
19352         [BZ #19211]
19353         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
19354         __USE_XOPEN], not if [!__USE_ISOC99].
19355         (lgammaf): Likewise.
19356         (lgammal): Likewise.
19357         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
19358         (gammaf): Likewise.
19359         (gammal): Likewise.
19360         * math/test-signgam-finite-c11.c: New file.
19361         * math/test-signgam-finite-c99.c: Likewise.
19362         * math/test-signgam-finite.c: Likewise.
19363         * math/Makefile (tests): Add test-signgam-finite,
19364         test-signgam-finite-c99 and test-signgam-finite-c11.
19365         (CFLAGS-test-signgam-finite.c): New variable.
19366         (CFLAGS-test-signgam-finite-c99.c): Likewise.
19367         (CFLAGS-test-signgam-finite-c11.c): Likewise.
19369         [BZ #19212]
19370         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
19371         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
19372         500].
19373         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
19374         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
19375         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
19376         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
19377         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
19378         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
19379         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
19380         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
19381         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
19382         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
19384         [BZ #19209]
19385         * math/bits/math-finite.h (ldexp): Remove declaration.
19386         (ldexpf): Likewise.
19387         (ldexpl): Likewise.
19389         [BZ #19205]
19390         * math/bits/math-finite.h (acosf): Condition declaration on
19391         [__USE_ISOC99].
19392         (acosl): Likewise.
19393         (acoshf): Likewise.
19394         (acoshl): Likewise.
19395         (asinf): Likewise.
19396         (asinl): Likewise.
19397         (atan2f): Likewise.
19398         (atan2l): Likewise.
19399         (atanhf): Likewise.
19400         (atanhl): Likewise.
19401         (coshf): Likewise.
19402         (coshl): Likewise.
19403         (expf): Likewise.
19404         (expl): Likewise.
19405         (fmodf): Likewise.
19406         (fmodl): Likewise.
19407         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
19408         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
19409         (j0l): Likewise.
19410         (y0f): Likewise.
19411         (y0l): Likewise.
19412         (j1f): Likewise.
19413         (j1l): Likewise.
19414         (y1f): Likewise.
19415         (y1l): Likewise.
19416         (jnf): Likewise.
19417         (jnl): Likewise.
19418         (ynf): Likewise.
19419         (ynl): Likewise.
19420         (lgammaf_r): Condition declaration on [__USE_ISOC99].
19421         (lgammal_r): Likewise.
19422         (__lgamma_r_finite): New declaration.
19423         (__lgammaf_r_finite): Likewise.
19424         (__lgammal_r_finite): Likewise.
19425         (lgamma): Use __lgamma_r_finite.
19426         (lgammaf): Condition definition on [__USE_ISOC99].  Use
19427         __lgammaf_r_finite.
19428         (lgammal): Condition definition on [__USE_ISOC99].  Use
19429         __lgammal_r_finite.
19430         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
19431         __lgamma_r_finite.
19432         (gammaf): Condition definition on [__USE_ISOC99].  Use
19433         __lgammaf_r_finite.
19434         (gammal): Condition definition on [__USE_ISOC99].  Use
19435         __lgammal_r_finite.
19436         (logf): Condition declaration on [__USE_ISOC99].
19437         (logl): Likewise.
19438         (log10f): Likewise.
19439         (log10l): Likewise.
19440         (ldexpf): Likewise.
19441         (ldexpl): Likewise.
19442         (powf): Likewise.
19443         (powl): Likewise.
19444         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
19445         __USE_ISOC99].
19446         (remainderf): Condition declaration on [__USE_ISOC99].
19447         (remainderl): Likewise.
19448         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
19449         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
19450         (scalbl): Likewise.
19451         (sinhf): Condition declaration on [__USE_ISOC99].
19452         (sinhl): Likewise.
19453         (sqrtf): Likewise.
19454         (sqrtl): Likewise.
19456 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19458         * sysdeps/arm/atomic-machine.h
19459         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19460         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19461         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
19462         Remove conditional code.
19463         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19464         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19465         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
19466         Change conditional to [__ASSEMBLER__].
19467         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19468         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
19469         [!__ASSEMBLER__].
19470         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
19471         code.
19472         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
19473         conditional macro definitions.
19474         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
19475         (__arch_compare_and_exchange_val_16_acq): Likewise.
19476         (__arch_compare_and_exchange_val_32_acq): Likewise.
19477         (atomic_exchange_and_add): Likewise.
19478         (atomic_add): Likewise.
19479         (atomic_add_negative): Likewise.
19480         (atomic_add_zero): Likewise.
19481         (atomic_bit_set): Likewise.
19482         (atomic_bit_test_set): Likewise.
19483         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
19484         code unconditional.
19485         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19487         * math/test-math-errno.h: New file.
19488         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
19489         empty.
19490         (TEST_ERRNO): New macro.
19491         (TEST_EXCEPTIONS): Likewise.
19492         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
19493         (TEST_EXCEPTIONS): Likewise.
19494         * math/test-math-vector.h (TEST_ERRNO): Likewise.
19495         * math/test-double.c: Include "test-math-errno.h".
19496         * math/test-float.c: Likewise.
19497         * math/test-ldouble.c: Likewise.
19498         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
19499         code unconditional.
19500         (test_exceptions): Only run code if TEST_EXCEPTIONS.
19501         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
19502         unconditional.
19503         (test_errno): Only run code if TEST_ERRNO.
19504         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
19506 2015-11-04  Florian Weimer  <fweimer@redhat.com>
19508         * nptl/tst-once5.cc: Remove attribution.
19510 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19512         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
19513         sqrt, tan, tanh, y0, y1 and yn.
19514         * math/auto-libm-test-out: Regenerated.
19515         * math/libm-test.inc (scalb_test_data): Add more tests.
19516         (scalbn_test_data): Likewise.
19517         (scalbln_test_data): Likewise.
19518         (signbit_test_data): Likewise.
19519         (sin_test_data): Likewise.
19520         (sincos_test_data): Likewise.
19521         (sinh_test_data): Likewise.
19522         (sqrt_test_data): Likewise.
19523         (tan_test_data): Likewise.
19524         (tanh_test_data): Likewise.
19525         (tgamma_test_data): Likewise.
19526         (y0_test_data): Likewise.
19527         (y1_test_data): Likewise.
19528         (yn_test_data): Likewise.
19529         (significand_test_data): Likewise.
19530         * sysdeps/i386/fpu/libm-test-ulps: Update.
19532 2015-11-03  David Kastrup  <dak@gnu.org>
19534         [BZ #18604]
19535         * assert/assert.h (assert): Don't macro-expand failed assertion
19536         expression in error message.
19537         * malloc/malloc.c (assert): Likewise.
19539 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
19541         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
19542         test.
19543         * configure: Regenerated.
19545 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
19547         * math/libm-test.inc (modf_test_data): Add more tests.
19548         (nearbyint_test_data): Likewise.
19549         (nextafter_test_data): Likewise.
19550         (nexttoward_test_data): Likewise.
19551         (pow_test_data): Likewise.
19552         (remainder_test_data): Likewise.
19553         (remquo_test_data): Likewise.
19554         (rint_test_data): Likewise.
19556         [BZ #19201]
19557         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19558         Check for zero remainder in case of large exponents and ensure
19559         correct sign of result in that case.
19560         * math/libm-test.inc (remainder_test_data): Add more tests.
19562         [BZ #6799]
19563         * math/s_nextafter.c: Include <errno.h>.
19564         (__nextafter): Set errno on overflow and underflow.
19565         * math/s_nexttowardf.c: Include <errno.h>.
19566         (__nexttowardf): Set errno on overflow and underflow.
19567         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
19568         (__nextafterl): Set errno on overflow and underflow.
19569         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
19570         (__nexttoward): Set errno on overflow and underflow.
19571         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
19572         (__nexttowardf): Set errno on overflow and underflow.
19573         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
19574         (__nextafterf): Set errno on overflow and underflow.
19575         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
19576         (__nextafterl): Set errno on overflow and underflow.
19577         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
19578         (__nexttoward): Set errno on overflow and underflow.
19579         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
19580         (__nexttowardf): Set errno on overflow and underflow.
19581         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
19582         (__nextafterl): Set errno on overflow and underflow.
19583         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
19584         (__nexttoward): Set errno on overflow and underflow.
19585         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
19586         (__nexttowardf): Set errno on overflow and underflow.
19587         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
19588         (__nexttoward): Set errno on overflow and underflow.
19589         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
19590         (__nexttowardf): Set errno on overflow and underflow.
19591         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
19592         (__nldbl_nexttowardf): Set errno on overflow and underflow.
19593         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
19594         (__nextafterl): Set errno on overflow and underflow.
19595         * math/libm-test.inc (nextafter_test_data): Do not allow errno
19596         setting to be missing on overflow.  Add more tests.
19597         (nexttoward_test_data): Likewise.
19599         * configure.ac (libc_cv_initfini_array): Remove configure test.
19600         * configure: Regenerated.
19602 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
19604         [BZ #19189]
19605         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
19606         non-finite argument handle arguments with negative sign.
19608         * math/libm-test.inc (j0_test_data): Do not test sign of zero
19609         result from infinite argument.
19610         (j1_test_data): Likewise.
19611         (jn_test_data): Likewise.
19612         (y0_test_data): Likewise.
19613         (y1_test_data): Likewise.
19614         (yn_test_data): Likewise.
19616         [BZ #16171]
19617         * math/w_remainder.c (drem): Define as weak alias of __remainder.
19618         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
19619         * math/w_remainderf.c (dremf): Define as weak alias of
19620         __remainderf.
19621         * math/w_remainderl.c (dreml): Define as weak alias of
19622         __remainderl.
19623         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
19624         __remainder.
19625         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
19626         __remainderf.
19627         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
19628         __remainderl.
19629         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
19630         weak alias of remainderl.
19631         * sysdeps/ieee754/ldbl-opt/w_remainder.c
19632         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
19633         alias of __remainder.
19634         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
19635         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
19636         strong alias of __remainderl.
19637         (dreml): Use long_double_symbol.
19638         * math/Makefile (libm-calls): Remove w_drem.
19639         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
19640         (CFLAGS-nldbl-drem.c): Remove variable.
19641         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
19642         * math/w_drem.c: Remove file.
19643         * math/w_dremf.c: Likewise.
19644         * math/w_dreml.c: Likewise.
19645         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
19646         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
19647         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
19649         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
19650         * sysdeps/i386/configure: Regenerated.
19651         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
19652         * sysdeps/x86_64/configure: Regenerated.
19654         * configure.ac (libc_cv_asm_protected_directive): Remove configure
19655         test.
19656         (libc_cv_visibility_attribute): Likewise.
19657         (libc_cv_protected_data): Test unconditionally.
19658         (libc_cv_broken_visibility_attribute): Remove configure test.
19659         (libc_cv_have_sdata_section): Test unconditionally.
19660         * configure: Regenerated.
19662         * include/libc-internal.h (libc_max_align_t): Remove typedef.
19663         * include/scratch_buffer.h: Include <stddef.h> instead of
19664         <libc-internal.h>.
19665         (struct scratch_buffer): Use max_align_t instead of
19666         libc_max_align_t.
19668 2015-10-29  Florian Weimer  <fweimer@redhat.com>
19670         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
19671         instead of extend_alloca.  Change control flow to avoid a goto.
19672         Remove assert which is trivially always true.
19674 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19676         [BZ #16068]
19677         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
19678         (FE_ALL_EXCEPT_X86): New macro.
19679         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19680         FE_ALL_EXCEPT.  Ensure precision control is included in
19681         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19682         handle "denormal operand exception" and clear FZ and DAZ bits.
19683         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
19684         (FE_ALL_EXCEPT_X86): New macro.
19685         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19686         FE_ALL_EXCEPT.  Ensure precision control is included in
19687         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19688         handle "denormal operand exception" and clear FZ and DAZ bits.
19689         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
19690         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
19691         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19692         test-fenv-x87 and test-fenv-sse-2.
19693         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
19695         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
19696         * math/test-double.h (BUILD_COMPLEX): New macro.
19697         * math/test-float.h (BUILD_COMPLEX): Likewise.
19698         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
19700         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
19701         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
19702         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
19703         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
19704         instead of DBL_DENORM_MIN in comment.
19705         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
19706         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19707         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
19708         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
19709         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
19710         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19712 2015-10-28  Florian Weimer  <fweimer@redhat.com>
19714         [BZ# 19048]
19715         * malloc/malloc.c (struct malloc_state): Update comment.  Add
19716         attached_threads member.
19717         (main_arena): Initialize attached_threads.
19718         * malloc/arena.c (list_lock): Update comment.
19719         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
19720         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
19721         (deattach_arena): New function.
19722         (_int_new_arena): Initialize arena reference count and deattach
19723         replaced arena.
19724         (get_free_list, reused_arena): Update reference count and deattach
19725         replaced arena.
19726         (arena_thread_freeres): Update arena reference count and only put
19727         unreferenced arenas on the free list.
19729 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19731         [BZ #19181]
19732         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
19733         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
19734         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
19735         * math/test-fenv-clear-main.c: New file.
19736         * math/test-fenv-clear.c: Likewise.
19737         * math/Makefile (tests): Add test-fenv-clear.
19738         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
19739         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19740         test-fenv-clear-sse.
19741         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
19743         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
19744         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
19745         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
19747 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19749         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
19750         static libc.
19752 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19754         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
19755         test.
19756         * sysdeps/i386/configure: Regenerated.
19757         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
19758         test.
19759         * sysdeps/x86_64/configure: Regenerated.
19760         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
19761         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19762         memset-avx2 unconditionally instead of conditionally on
19763         [$(config-cflags-avx2) = yes].
19764         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19765         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
19766         unconditional.
19767         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
19768         * sysdeps/x86_64/multiarch/memset_chk.S
19769         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
19770         to [IS_IN (libc) && SHARED].
19772 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19774         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
19775         configure test.
19776         * sysdeps/arm/configure: Regenerated.
19777         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
19778         Define variable if not already defined.
19780         [BZ #17404]
19781         * sysdeps/mips/atomic-machine.h
19782         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
19783         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
19784         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19786         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
19787         unconditional.
19788         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
19789         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19790         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
19791         unconditional.
19792         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19793         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
19794         unconditional.
19795         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19796         * stdlib/setenv.c
19797         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
19798         code unconditional.
19799         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
19800         Remove conditional code.
19801         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
19802         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
19803         unconditional.
19804         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19805         code.
19806         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
19807         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
19808         unconditional.
19809         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19810         code.
19811         * sysdeps/ieee754/ldbl-128/k_tanl.c
19812         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19813         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19814         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
19815         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19816         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19817         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
19818         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
19819         unconditional.
19820         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19821         code.
19822         * sysdeps/ieee754/ldbl-96/k_tanl.c
19823         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19824         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19826         * nptl/tst-initializers1-c11.c: New file.
19827         * nptl/tst-initializers1-gnu11.c: Likewise.
19828         * nptl/Makefile (tests): Add these new tests.
19829         (CFLAGS-tst-initializers1-c11.c): New variable.
19830         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19832         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
19833         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
19834         instead of -std=gnu99.
19835         * configure.ac (systemtap): Test with -std=gnu11 instead of
19836         -std=gnu99.
19837         * configure: Regenerated.
19838         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
19839         in compilation command in comment.
19841         * sysdeps/nptl/configure.ac: Remove file.
19842         * sysdeps/nptl/configure: Remove generated file.
19843         * configure.ac (libc_cv_forced_unwind): Do not substitute.
19844         * configure: Regenerated.
19845         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
19846         * config.make.in (have-forced-unwind): Remove variable.
19847         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19848         unconditional.
19849         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
19850         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
19851         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
19852         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
19853         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19854         unconditional.
19856 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19858         [BZ #19174]
19859         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
19860         .skip_lock_out_of_tbegin_retries.
19861         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19862         (__lll_lock_elision): Likewise, and respect a value of
19863         try_tbegin <= 0.
19865 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19867         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
19868         statement.
19870 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19872         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
19873         variable.
19874         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19875         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19877         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
19878         of -std=c1x -D_ISOC11_SOURCE.
19880         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
19881         * configure: Regenerated.
19882         * manual/install.texi (Tools for Compilation): Document
19883         requirement for GCC 4.7 or later.
19884         * INSTALL: Regenerated.
19886 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
19888         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
19889         on CNT to a conditional jump to 'puntdata'.
19891 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19893         * configure.ac (libc_cv_gcc___thread): Remove configure test.
19894         (libc_cv_gcc_tls_model_attr): Likewise.
19895         * configure: Regenerated.
19897         * configure.ac (libc_cv_need_minus_P): Remove configure test.
19898         * configure: Regenerated.
19899         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
19901 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
19903         * configure.ac (old_glibc_headers): Remove configure test.
19904         * configure: Regenerated.
19905         * config.make.in (old-glibc-headers): Remove variable.
19906         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
19907         (install): Remove dependency on remove-old-headers.
19908         (headers2_0): Remove variable.
19909         (remove-old-headers): Remove rule.
19911         * configure.ac (libc_cv_dot_text): Remove configure test.
19912         (libc_cv_asm_set_directive): Use .text instead of
19913         ${libc_cv_dot_text} in configure test.
19914         * configure: Regenerated.
19916 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19918         [BZ #19168]
19919         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19921 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19923         * configure.ac (CXX): Clear the variable if the C++ toolchain does
19924         not support static linking.
19925         * configure: Regenerate.
19927 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
19929         * math/libm-test.inc (check_float_internal): Do not special-case
19930         errors up to 0.5 ulp.
19932         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19933         log2.
19934         * math/auto-libm-test-out: Regenerated.
19935         * math/libm-test.inc (MAX_EXP): New macro.
19936         (ilogb_test_data): Add more tests.
19937         (isfinite_test_data): Likewise.
19938         (isgreater_test_data): Likewise.
19939         (isgreaterequal_test_data): Likewise.
19940         (isinf_test_data): Likewise.
19941         (isless_test_data): Likewise.
19942         (islessequal_test_data): Likewise.
19943         (islessgreater_test_data): Likewise.
19944         (isnan_test_data): Likewise.
19945         (isnormal_test_data): Likewise.
19946         (issignaling_test_data): Likewise.
19947         (isunordered_test_data): Likewise.
19948         (j0_test_data): Likewise.
19949         (j1_test_data): Likewise.
19950         (jn_test_data): Likewise.
19951         (lgamma_test_data): Likewise.
19952         (log_test_data): Likewise.
19953         (log10_test_data): Likewise.
19954         (log1p_test_data): Likewise.
19955         (log2_test_data): Likewise.
19956         (logb_test_data): Likewise.
19957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19959         [BZ #18611]
19960         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
19961         avoid excess range and precision on underflow.
19962         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19963         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19964         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19965         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
19966         underflow.
19967         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19968         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19969         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19970         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19971         * math/auto-libm-test-in: Do not allow missing errno setting for
19972         tests of j1 and jn.
19973         * math/auto-libm-test-out: Regenerated.
19975 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
19977         [BZ #15491]
19978         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
19979         floating-point environment instead of clearing all exceptions.
19980         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19981         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
19982         merging in "invalid" exceptions from frndint.
19983         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19984         * math/test-nearbyint-except.c: New file.
19985         * math/Makefile (tests): Add test-nearbyint-except.
19987 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
19989         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
19991         * sysdeps/tile/libm-test-ulps: Regenerated.
19993 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
19996         (__NR_sync_file_range2): Assume it is always defined.
19997         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19998         (__NR_sync_file_range): Assume it is always defined.
20000 2015-10-22  Andreas Schwab  <schwab@suse.de>
20002         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20003         INTERNAL_SYSCALL_ERRNO.
20004         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20005         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20006         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20007         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20008         Likewise.
20009         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20011 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20013         * io/tst-fcntl.c (fd): New static variable.
20014         (do_prepare): Open temporary file here....
20015         (do_test): ...not here.
20017         * io/ftwtest-sh: Also trap on exit to remove temporary files.
20019 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20021         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
20022         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20023         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20024         Moved before "#ifdef __ASSEMBLER__".
20026 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20028         [BZ #19156]
20029         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
20030         arguments very close to 0.
20032 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
20034         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
20035         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
20037 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20039         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20040         New.  Defined for GCC 5 and above when not compiling for
20041         profiling.
20042         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20044         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20045         Renamed to ...
20046         (CFLAGS-epoll_pwait.o): This.
20047         (CFLAGS-mmap.c): Renamed to ...
20048         (CFLAGS-mmap.o): This.
20049         (CFLAGS-mmap64.c): Renamed to ...
20050         (CFLAGS-mmap64.o): This.
20051         (CFLAGS-epoll_pwait.os): New.
20052         (CFLAGS-mmap.os): Likewise.
20053         (CFLAGS-mmap64.os): Likewise.
20054         (CFLAGS-semtimedop.os): Likewise.
20055         (CFLAGS-semtimedop.c): Renamed to ...
20056         (CFLAGS-semtimedop.o): This.
20058 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20060         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
20061         warning message.
20063 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20065         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
20066         * Makefile ($(objpfx)c++-types-check.out): Filter out
20067         $(+gccwarn-c) instead of -Wstrict-prototypes.
20069         * io/fts.c (fts_open): Convert to prototype-style function
20070         definition.
20071         * malloc/mcheck.c (mcheck): Likewise.
20072         (mcheck_pedantic): Likewise.
20073         * posix/regexec.c (re_search_2_stub): Likewise.  Use
20074         internal_function.
20075         (re_search_internal): Likewise.
20076         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
20077         prototype-style function definition.
20078         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20079         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
20080         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
20081         (xdr_utmpptr): Likewise.
20082         (xdr_utmparr): Likewise.
20083         (xdr_utmpidle): Likewise.
20084         (xdr_utmpidleptr): Likewise.
20085         (xdr_utmpidlearr): Likewise.
20087         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
20088         log, log10 and log2.
20089         * math/auto-libm-test-out: Regenerated.
20090         * math/libm-test.inc (fmod_test_data): Add more tests.
20091         (fpclassify_test_data): Likewise.
20092         (frexp_test_data): Likewise.
20093         (hypot_test_data): Likewise.
20094         (ilogb_test_data): Likewise.
20096 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
20098         * debug/fortify_fail.c (__fortify_fail): Convert to
20099         prototype-style function definition.  Use internal_function.
20100         * libio/genops.c (save_for_backup): Convert to prototype-style
20101         function definition.
20102         * libio/wgenops.c (save_for_wbackup): Likewise.
20103         * login/grantpt.c (grantpt): Likewise.
20104         * login/ptsname.c (ptsname): Likewise.
20105         (__ptsname_r): Likewise.
20106         * login/unlockpt.c (unlockpt): Likewise.
20107         * mach/msgserver.c (__mach_msg_server): Likewise.
20108         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
20109         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
20110         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
20111         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
20112         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
20113         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
20114         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
20115         Likewise.
20116         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
20117         internal_function.
20118         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
20119         prototype-style function definition.
20120         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
20121         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
20122         (__pthread_create_2_0): Likewise.
20123         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
20124         * nptl/register-atfork.c (__register_atfork): Likewise.
20125         * posix/glob.c (glob): Likewise.
20126         * posix/regcomp.c (re_comp): Likewise.
20127         * posix/regexec.c (re_exec): Likewise.
20128         * stdlib/add_n.c [__STDC__]: Make code unconditional.
20129         [!__STDC__]: Remove conditional code.
20130         * stdlib/cmp.c [__STDC__]: Make code unconditional.
20131         [!__STDC__]: Remove conditional code.
20132         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
20133         [!__STDC__]: Remove conditional code.
20134         * stdlib/divrem.c [__STDC__]: Make code unconditional.
20135         [!__STDC__]: Remove conditional code.
20136         * stdlib/lshift.c [__STDC__]: Make code unconditional.
20137         [!__STDC__]: Remove conditional code.
20138         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
20139         [!__STDC__]: Remove conditional code.
20140         * stdlib/mul.c [__STDC__]: Make code unconditional.
20141         [!__STDC__]: Remove conditional code.
20142         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
20143         [!__STDC__]: Remove conditional code.
20144         * stdlib/rshift.c [__STDC__]: Make code unconditional.
20145         [!__STDC__]: Remove conditional code.
20146         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
20147         function definition.
20148         (STRTOF): Likewise.
20149         * stdlib/strtod_l.c (__STRTOF): Likewise.
20150         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
20151         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
20152         (__strtol_l): Likewise.
20153         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
20154         [!__STDC__]: Remove conditional code.
20155         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
20156         definition.
20157         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20158         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20159         type.
20160         (__strcasecmp): Convert to prototype-style function definition.
20161         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
20162         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20163         type.
20164         (__strncasecmp): Convert to prototype-style function definition.
20165         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
20166         * sunrpc/xdr.c (xdr_union): Likewise.
20167         * sunrpc/xdr_array.c (xdr_array): Likewise.
20168         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
20169         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
20170         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
20171         Likewise.
20172         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
20173         Likewise.
20174         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
20175         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20176         Likewise.
20177         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
20178         (LOCALE_PARAM_PROTO): Likewise.
20179         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
20180         argument type.
20181         (ut_argument_spec): Remove macro.
20182         (ut_argument_spec_iso): Rename to ut_argument_spec.
20183         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
20184         prototype-style function definition.
20185         (memcpy_uppcase): Likewise.
20186         (__strftime_internal): Likewise.
20187         (my_strftime): Likewise.
20188         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
20189         (LOCALE_PARAM_DECL): Likewise.
20190         [_LIBC] (LOCALE_PARAM): Include argument type.
20191         (__strptime_internal): Convert to prototype-style function
20192         definition.
20193         (strptime): Likewise.
20194         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20195         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20196         type.
20197         (__wcscasecmp): Convert to prototype-style function definition.
20198         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
20199         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20200         type.
20201         (__wcsncasecmp): Convert to prototype-style function definition.
20203         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
20204         function definition.
20205         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20206         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20207         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
20208         * elf/dl-minimal.c (_itoa): Likewise.
20209         * hurd/hurdmalloc.c (malloc): Likewise.
20210         (free): Likewise.
20211         (realloc): Likewise.
20212         * inet/inet6_option.c (inet6_option_space): Likewise.
20213         (inet6_option_init): Likewise.
20214         (inet6_option_append): Likewise.
20215         (inet6_option_alloc): Likewise.
20216         (inet6_option_next): Likewise.
20217         (inet6_option_find): Likewise.
20218         * io/ftw.c (FTW_NAME): Likewise.
20219         (NFTW_NAME): Likewise.
20220         (NFTW_NEW_NAME): Likewise.
20221         (NFTW_OLD_NAME): Likewise.
20222         * libio/iofwide.c (_IO_fwide): Likewise.
20223         * libio/strops.c (_IO_str_init_static_internal): Likewise.
20224         (_IO_str_init_static): Likewise.
20225         (_IO_str_init_readonly): Likewise.
20226         (_IO_str_overflow): Likewise.
20227         (_IO_str_underflow): Likewise.
20228         (_IO_str_count): Likewise.
20229         (_IO_str_seekoff): Likewise.
20230         (_IO_str_pbackfail): Likewise.
20231         (_IO_str_finish): Likewise.
20232         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
20233         (_IO_wstr_overflow): Likewise.
20234         (_IO_wstr_underflow): Likewise.
20235         (_IO_wstr_count): Likewise.
20236         (_IO_wstr_seekoff): Likewise.
20237         (_IO_wstr_pbackfail): Likewise.
20238         (_IO_wstr_finish): Likewise.
20239         * locale/programs/localedef.c (normalize_codeset): Likewise.
20240         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20241         (add_locales_to_archive): Likewise.
20242         (delete_locales_from_archive): Likewise.
20243         * malloc/malloc.c (__libc_mallinfo): Likewise.
20244         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
20245         * misc/tsearch.c (__tfind): Likewise.
20246         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
20247         * nptl/pthread_attr_getdetachstate.c
20248         (__pthread_attr_getdetachstate): Likewise.
20249         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
20250         Likewise.
20251         * nptl/pthread_attr_getinheritsched.c
20252         (__pthread_attr_getinheritsched): Likewise.
20253         * nptl/pthread_attr_getschedparam.c
20254         (__pthread_attr_getschedparam): Likewise.
20255         * nptl/pthread_attr_getschedpolicy.c
20256         (__pthread_attr_getschedpolicy): Likewise.
20257         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
20258         Likewise.
20259         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
20260         Likewise.
20261         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
20262         Likewise.
20263         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
20264         Likewise.
20265         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
20266         (__pthread_attr_init_2_0): Likewise.
20267         * nptl/pthread_attr_setdetachstate.c
20268         (__pthread_attr_setdetachstate): Likewise.
20269         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
20270         Likewise.
20271         * nptl/pthread_attr_setinheritsched.c
20272         (__pthread_attr_setinheritsched): Likewise.
20273         * nptl/pthread_attr_setschedparam.c
20274         (__pthread_attr_setschedparam): Likewise.
20275         * nptl/pthread_attr_setschedpolicy.c
20276         (__pthread_attr_setschedpolicy): Likewise.
20277         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
20278         Likewise.
20279         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
20280         Likewise.
20281         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
20282         Likewise.
20283         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
20284         Likewise.
20285         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
20286         Likewise.
20287         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
20288         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20289         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
20290         use internal_function.
20291         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
20292         prototype-style function definition.
20293         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
20294         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
20295         internal_function.
20296         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
20297         Convert to prototype-style function definition.
20298         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20299         Likewise.
20300         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
20301         Likewise.
20302         (__pthread_mutex_unlock): Likewise.
20303         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
20304         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
20305         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
20306         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
20307         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
20308         * nss/makedb.c (process_input): Likewise.
20309         * posix/fnmatch.c (__strchrnul): Likewise.
20310         (__wcschrnul): Likewise.
20311         (fnmatch): Likewise.
20312         * posix/fnmatch_loop.c (FCT): Likewise.
20313         * posix/glob.c (globfree): Likewise.
20314         (__glob_pattern_type): Likewise.
20315         (__glob_pattern_p): Likewise.
20316         * posix/regcomp.c (re_compile_pattern): Likewise.
20317         (re_set_syntax): Likewise.
20318         (re_compile_fastmap): Likewise.
20319         (regcomp): Likewise.
20320         (regerror): Likewise.
20321         (regfree): Likewise.
20322         * posix/regexec.c (regexec): Likewise.
20323         (re_match): Likewise.
20324         (re_search): Likewise.
20325         (re_match_2): Likewise.
20326         (re_search_2): Likewise.
20327         (re_search_stub): Likewise.  Use internal_function
20328         (re_copy_regs): Likewise.
20329         (re_set_registers): Convert to prototype-style function
20330         definition.
20331         (prune_impossible_nodes): Likewise.  Use internal_function.
20332         * resolv/inet_net_pton.c (inet_net_pton): Convert to
20333         prototype-style function definition.
20334         (inet_net_pton_ipv4): Likewise.
20335         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20336         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
20337         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
20338         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
20339         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20340         Make variadic.
20341         * time/strptime_l.c (localtime_r): Convert to prototype-style
20342         function definition.
20343         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20344         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20345         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20346         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20348         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
20349         definition.
20350         (_ufc_doit_r): Likewise.
20351         * crypt/crypt_util.c (_ufc_copymem): Likewise.
20352         (_ufc_output_conversion_r): Likewise.
20353         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
20354         * inet/rcmd.c (rcmd_af): Likewise.
20355         (rcmd): Likewise.
20356         (ruserok_af): Likewise.
20357         (ruserok): Likewise.
20358         (ruserok2_sa): Likewise.
20359         (ruserok_sa): Likewise.
20360         (iruserok_af): Likewise.
20361         (iruserok): Likewise.
20362         (__ivaliduser): Likewise.
20363         (__validuser2_sa): Likewise.
20364         * inet/rexec.c (rexec_af): Likewise.
20365         (rexec): Likewise.
20366         * inet/ruserpass.c (ruserpass): Likewise.
20367         * locale/programs/xmalloc.c (xcalloc): Likewise.
20368         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
20369         * math/w_drem.c (__drem): Likewise.
20370         * math/w_dremf.c (__dremf): Likewise.
20371         * math/w_dreml.c (__dreml): Likewise.
20372         * misc/daemon.c (daemon): Likewise.
20373         * resolv/res_debug.c (p_fqnname): Likewise.
20374         * stdlib/div.c (div): Likewise.
20375         * string/memcmp.c (memcmp_bytes): Likewise.
20376         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
20377         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
20379         * crypt/cert.c (main): Convert to prototype-style function
20380         definition.
20381         * io/pipe.c (__pipe): Likewise.
20382         * io/pipe2.c (__pipe2): Likewise.
20383         * misc/futimesat.c (futimesat): Likewise.
20384         * misc/utimes.c (__utimes): Likewise.
20385         * posix/execve.c (__execve): Likewise.
20386         * posix/execvp.c (execvp): Likewise.
20387         * posix/execvpe.c (__execvpe): Likewise.
20388         * posix/fexecve.c (fexecve): Likewise.
20389         * socket/socketpair.c (socketpair): Likewise.
20390         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20391         * stdlib/erand48.c (erand48): Likewise.
20392         * stdlib/erand48_r.c (__erand48_r): Likewise.
20393         * stdlib/jrand48.c (jrand48): Likewise.
20394         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
20395         * stdlib/lcong48.c (lcong48): Likewise.
20396         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
20397         * stdlib/nrand48.c (nrand48): Likewise.
20398         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
20399         * stdlib/seed48.c (seed48): Likewise.
20400         * stdlib/seed48_r.c (__seed48_r): Likewise.
20401         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
20402         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
20403         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
20405 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20407         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
20408         * configure: Regenerated.
20409         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
20410         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
20411         unconditional.
20412         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20413         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20414         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20415         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
20416         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
20417         unconditional.
20418         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20420         * posix/Makefile (CFLAGS-regex.c): Remove variable.
20421         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
20423         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
20424         function definition.
20425         * crypt/crypt_util.c (__encrypt_r): Likewise.
20426         * libio/genops.c (_IO_no_init): Likewise.
20427         * libio/iofopncook.c (_IO_fopencookie): Likewise.
20428         (_IO_old_fopencookie): Likewise.
20429         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20430         * libio/iogetline.c (_IO_getline): Likewise.
20431         (_IO_getline_info): Likewise.
20432         * libio/iogetwline.c (_IO_getwline): Likewise.
20433         (_IO_getwline_info): Likewise.
20434         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
20435         * libio/vswprintf.c (_IO_vswprintf): Likewise.
20436         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
20437         (find_entry): Likewise.
20438         (iterate_table): Likewise.
20439         (lookup): Likewise.
20440         * login/forkpty.c (forkpty): Likewise.
20441         * misc/hsearch_r.c (__hsearch_r): Likewise.
20442         * misc/select.c (__select): Likewise.
20443         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
20444         Likewise.
20445         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
20446         Likewise.
20447         * nptl/old_pthread_cond_timedwait.c
20448         (__pthread_cond_timedwait_2_0): Likewise.
20449         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
20450         * nptl/pthread_barrierattr_getpshared.c
20451         (pthread_barrierattr_getpshared): Likewise.
20452         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
20453         Likewise.
20454         * nptl/pthread_mutex_setprioceiling.c
20455         (pthread_mutex_setprioceiling): Likewise.
20456         * nptl/pthread_mutexattr_getprioceiling.c
20457         (pthread_mutexattr_getprioceiling): Likewise.
20458         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
20459         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20460         Likewise.
20461         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20462         Likewise.
20463         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
20464         Likewise.
20465         * socket/recvfrom.c (__recvfrom): Likewise.
20466         * socket/sendto.c (__sendto): Likewise.
20467         * socket/setsockopt.c (__setsockopt): Likewise.
20468         * stdio-common/_itoa.c (_itoa): Likewise.
20469         * stdio-common/_itowa.c (_itowa): Likewise.
20470         * stdio-common/reg-printf.c (__register_printf_specifier):
20471         Likewise.
20472         (__register_printf_function): Likewise.
20473         * stdio-common/tempname.c (__path_search): Likewise.
20474         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
20475         * stdlib/mul_1.c (mpn_mul_1): Likewise.
20476         * stdlib/random_r.c (__initstate_r): Likewise.
20477         * stdlib/setenv.c (__add_to_environ): Likewise.
20478         * stdlib/submul_1.c (mpn_submul_1): Likewise.
20479         * streams/getpmsg.c (getpmsg): Likewise.
20480         * streams/putmsg.c (putmsg): Likewise.
20481         * streams/putpmsg.c (putpmsg): Likewise.
20482         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
20483         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
20484         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
20485         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
20486         * sunrpc/pm_getport.c (pmap_getport): Likewise.
20487         * sunrpc/svc_udp.c (cache_get): Likewise.
20488         * sunrpc/xdr_array.c (xdr_vector): Likewise.
20489         * sysdeps/mach/hurd/getcwd.c
20490         (__canonicalize_directory_name_internal): Likewise.
20491         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
20492         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
20493         * sysdeps/mach/hurd/select.c (__select): Likewise.
20494         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
20495         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
20496         * sysdeps/sparc/nptl/pthread_barrier_init.c
20497         (__pthread_barrier_init): Likewise.
20498         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
20499         (__pthread_cond_timedwait): Likewise.
20500         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
20501         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
20502         Likewise.
20503         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
20504         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
20505         Likewise.
20506         * sysvipc/semtimedop.c (semtimedop): Likewise.
20507         * time/setitimer.c (__setitimer): Likewise.
20508         * time/strftime_l.c (emacs_strftime): Likewise.
20510 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20512         * config.make.in (have-ssp): Delete.
20513         (stack-protector): New variable.
20514         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
20515         cache test for -fstack-protector-strong.  Export stack_protector to
20516         the best ssp flag.
20517         * configure: Regenerated.
20518         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
20519         * nscd/Makefile (CFLAGS-nscd): Likewise.
20520         * resolv/Makefile (CFLAGS-libresolv): Likewise.
20522 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
20524         [BZ #19122]
20525         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
20526         attribute_hidden.
20528 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20530         [BZ #18743]
20531         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
20532         code to...
20533         (ELIDE_LOCK): ...here.
20534         (__get_new_count): New function with part of the code from
20535         __elide_lock that updates the value of adapt_count after a
20536         transaction abort.
20537         (__elided_trylock): Moved this code to...
20538         (ELIDE_TRYLOCK): ...here.
20540 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20542         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
20543         * configure: Regenerate.
20544         * INSTALL: Regenerate.
20545         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
20546         and tweak grammar.
20548 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
20550         * login/programs/pt_chown.c: Include signal.h
20551         (main): Clear any signal mask from the parent process.
20553 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20555         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
20556         * configure: Regenerated.
20557         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
20558         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
20559         $(gnu89-inline-CFLAGS).
20561         * configure.ac (libc_cv_asm_weak_directive): Remove configure
20562         test.
20563         (libc_cv_asm_weakext_directive): Likewise.
20564         * configure: Regenerated.
20565         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
20566         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
20567         * include/libc-symbols.h
20568         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
20569         #error.
20570         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
20571         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
20573         * sysdeps/arm/backtrace.c (__backtrace): Convert to
20574         prototype-style function definition.
20575         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20576         * sysdeps/i386/ffs.c (__ffs): Likewise.
20577         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20578         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
20579         Likewise.
20580         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20581         Likewise.
20582         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
20583         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20584         Likewise.
20585         * sysdeps/m68k/ffs.c (__ffs): Likewise.
20586         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
20587         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
20588         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
20589         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
20590         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
20591         * sysdeps/mach/hurd/access.c (__access): Likewise.
20592         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
20593         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
20594         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
20595         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
20596         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
20597         (cthread_getspecific): Likewise.
20598         (cthread_setspecific): Likewise.
20599         (__libc_getspecific): Likewise.
20600         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
20601         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
20602         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
20603         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
20604         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
20605         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
20606         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
20607         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
20608         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
20609         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
20610         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
20611         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
20612         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
20613         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
20614         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
20615         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
20616         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
20617         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
20618         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
20619         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
20620         * sysdeps/mach/hurd/link.c (__link): Likewise.
20621         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
20622         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
20623         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
20624         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
20625         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20626         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
20627         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
20628         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
20629         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20630         * sysdeps/mach/hurd/rename.c (rename): Likewise.
20631         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
20632         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
20633         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
20634         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
20635         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
20636         * sysdeps/mach/hurd/send.c (__send): Likewise.
20637         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
20638         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
20639         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
20640         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
20641         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
20642         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
20643         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
20644         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
20645         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
20646         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
20647         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
20648         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
20649         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
20650         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
20651         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
20652         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
20653         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
20654         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
20655         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
20656         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20657         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
20658         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
20659         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
20660         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
20661         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
20662         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
20663         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
20664         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
20665         * sysdeps/posix/alarm.c (alarm): Likewise.
20666         * sysdeps/posix/cuserid.c (cuserid): Likewise.
20667         * sysdeps/posix/dirfd.c (dirfd): Likewise.
20668         * sysdeps/posix/dup.c (__dup): Likewise.
20669         * sysdeps/posix/dup2.c (__dup2): Likewise.
20670         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
20671         (main): Likewise.
20672         * sysdeps/posix/flock.c (__flock): Likewise.
20673         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
20674         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
20675         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
20676         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
20677         * sysdeps/posix/isatty.c (__isatty): Likewise.
20678         * sysdeps/posix/killpg.c (killpg): Likewise.
20679         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20680         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
20681         * sysdeps/posix/raise.c (raise): Likewise.
20682         * sysdeps/posix/remove.c (remove): Likewise.
20683         * sysdeps/posix/rename.c (rename): Likewise.
20684         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
20685         * sysdeps/posix/seekdir.c (seekdir): Likewise.
20686         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
20687         * sysdeps/posix/sigignore.c (sigignore): Likewise.
20688         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
20689         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
20690         * sysdeps/posix/sigset.c (sigset): Likewise.
20691         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
20692         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
20693         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
20694         * sysdeps/posix/time.c (time): Likewise.
20695         * sysdeps/posix/ttyname.c (getttyname): Likewise.
20696         (ttyname): Likewise.
20697         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
20698         * sysdeps/posix/utime.c (utime): Likewise.
20699         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
20700         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20701         Likewise.
20702         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
20703         (pthread_spin_trylock): Likewise.
20704         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
20705         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
20706         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
20707         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
20708         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
20709         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
20710         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
20711         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
20712         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
20713         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
20714         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
20715         * sysdeps/s390/ffs.c (__ffs): Likewise.
20716         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
20717         Likewise.
20718         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20719         Likewise.
20720         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
20721         Likewise.
20722         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
20723         (pthread_barrier_destroy): Likewise.
20724         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20725         (__pthread_barrier_wait): Likewise.
20726         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
20727         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20728         (__pthread_barrier_wait): Likewise.
20729         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
20730         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
20731         (memcmp_not_common_alignment): Likewise.
20732         (MEMCMP): Likewise.
20733         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
20734         (_wordcopy_fwd_dest_aligned): Likewise.
20735         (_wordcopy_bwd_aligned): Likewise.
20736         (_wordcopy_bwd_dest_aligned): Likewise.
20737         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
20738         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
20739         * sysdeps/unix/bsd/stty.c (stty): Likewise.
20740         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
20741         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
20742         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
20743         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
20744         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
20745         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
20746         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
20747         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
20748         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20749         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
20750         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
20751         * sysdeps/unix/stime.c (stime): Likewise.
20752         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
20753         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
20754         Likewise.  Use internal_function.
20755         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
20756         Convert to prototype-style function definition.
20757         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20758         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20759         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
20760         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20761         Likewise.  Use internal_function.
20762         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
20763         prototype-style function definition
20764         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20765         Likewise.
20766         (__getlogin_r): Likewise.
20767         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
20768         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
20769         (__pthread_cond_broadcast): Likewise.
20770         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
20771         (__pthread_cond_destroy): Likewise.
20772         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
20773         (__pthread_cond_init): Likewise.
20774         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
20775         (__pthread_cond_signal): Likewise.
20776         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
20777         (__pthread_cond_wait): Likewise.
20778         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
20779         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20780         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
20781         Likewise.
20782         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
20783         Likewise.
20784         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
20785         Likewise.
20786         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
20787         Likewise.
20788         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
20789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
20790         (__ftruncate64): Likewise.
20791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
20792         (truncate64): Likewise.
20793         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
20794         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
20795         (pthread_getcpuclockid): Likewise.
20796         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
20797         Likewise.
20798         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
20799         Likewise.
20800         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
20801         Likewise.
20802         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
20803         Likewise.
20804         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
20805         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
20806         (__libc_sigaction): Likewise.
20807         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
20808         Likewise.
20809         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
20810         (__sigprocmask): Likewise.
20811         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
20812         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
20813         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
20814         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20815         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20816         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
20817         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20818         Likewise.
20819         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
20820         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
20821         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20822         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
20823         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
20824         Likewise.
20825         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
20826         (__sigprocmask): Likewise.
20827         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
20828         (cfgetispeed): Likewise.
20829         (cfsetospeed): Likewise.
20830         (cfsetispeed): Likewise.
20831         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
20832         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
20833         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20834         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20835         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
20836         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
20837         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
20838         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
20839         Likewise.
20840         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
20841         Likewise.
20842         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
20843         Likewise.
20844         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
20845         Likewise.
20846         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20848 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20850         sunrpc: Rewrite with explicit TLS access using __thread.
20851         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
20852         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
20853         directly.
20854         (__rpc_thread_variables): Access thread_rpc_vars directly.
20855         Eliminate redundant assignment of the tvp variable.
20857 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20859         malloc: Rewrite with explicit TLS access using __thread.
20860         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
20861         (tsd_setspecific, tsd_getspecific): Remove.
20862         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
20863         (tsd_setspecific, tsd_getspecific): Likewise.
20864         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
20865         (tsd_setspecific, tsd_getspecific): Likewise.
20866         * malloc/arena.c (thread_arena): New TLS variable.
20867         (arena_key): Remove variable.
20868         (arena_get): Use thread_arena.
20869         (arena_lookup): Remove macro.
20870         (malloc_atfork, free_atfork, ptmalloc_lock_all)
20871         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
20872         (_int_new_arena, get_free_list, reused_arena)
20873         (arena_thread_freeres): Use thread_arena.
20874         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
20875         tsd_getspecific, tsd_setspecific from safety annotations.
20876         (Allocating Cleared Space): Remove arena_lookup from safety
20877         annotations.
20879 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20881         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
20882         struct scratch_buffer instead of extend_alloca.
20884 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20886         * sysdeps/unix/sysv/linux/kernel-features.h
20887         (__ASSUME_SOCK_CLOEXEC): Remove.
20888         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
20889         (__have_paccept): Remove unused macro.
20890         * include/unistd.h (__have_sock_cloexec): Remove declaration.
20891         * misc/syslog.c (openlog_internal): Remove fallback code for
20892         !__ASSUME_SOCK_CLOEXEC.
20893         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
20894         missing SOCK_CLOEXEC.
20895         * nscd/connections.c (have_sock_cloexec): Remove definition.
20896         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20897         * nscd/nscd_helper.c (open_socket): Remove fallback code for
20898         !__ASSUME_SOCK_CLOEXEC.
20899         * resolv/res_send.c (__have_o_nonblock): Remove definition.
20900         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20901         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
20902         definition.
20903         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
20904         code for !__ASSUME_SOCK_CLOEXEC.
20906 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20908         [BZ #18982]
20909         * manual/stdio.texi (Variable Arguments Output): Add portability
20910         note, explaining that vfprintf clobbers the va_list pointer.
20912 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20914         * math/libm-test.inc (fabs_test_data): Add more tests.
20915         (fdim_test_data): Likewise.
20916         (fma_test_data): Likewise.
20917         (fmax_test_data): Likewise.
20918         (fmin_test_data): Likewise.
20919         (fmod_test_data): Likewise.
20921 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
20923         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
20924         data.
20926 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20928         * math/libm-test.inc (ceil_test_data): Add more tests and more
20929         expectations for "inexact".
20930         (floor_test_data): Add more tests.
20931         (round_test_data): Likewise.
20932         (trunc_test_data): Likewise.
20934         * crypt/cert.c (good_bye): Convert to prototype-style function
20935         definition.
20936         (get8): Likewise.
20937         (put8): Likewise.
20938         * crypt/crypt-entry.c (crypt): Likewise.
20939         (__fcrypt): Likewise.
20940         * crypt/crypt_util.c (_ufc_prbits): Likewise.
20941         (_ufc_set_bits): Likewise.
20942         (_ufc_clearmem): Likewise.
20943         (__init_des_r): Likewise.
20944         (shuffle_sb): Likewise.
20945         (shuffle_sb): Likewise.
20946         (_ufc_setup_salt_r): Likewise.
20947         (_ufc_mk_keytab_r): Likewise.
20948         (_ufc_dofinalperm_r): Likewise.
20949         (encrypt): Likewise.
20950         (__setkey_r): Likewise.
20951         (setkey): Likewise.
20952         * crypt/md5.c (md5_init_ctx): Likewise.
20953         (md5_read_ctx): Likewise.
20954         (md5_finish_ctx): Likewise.
20955         (md5_stream): Likewise.
20956         (md5_buffer): Likewise.
20957         (md5_process_bytes): Likewise.
20958         * crypt/sha256.c (__sha256_init_ctx): Likewise.
20959         (__sha256_finish_ctx): Likewise.
20960         (__sha256_process_bytes): Likewise.
20961         * crypt/sha512.c (__sha512_init_ctx): Likewise.
20962         (__sha512_finish_ctx): Likewise.
20963         (__sha512_process_bytes): Likewise.
20964         * ctype/isctype.c (__isctype): Likewise.
20965         * debug/backtrace.c (__backtrace): Likewise.
20966         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
20967         * debug/fgets_chk.c (__fgets_chk): Likewise.
20968         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
20969         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
20970         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20971         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20972         * debug/memset_chk.c (__memset_chk): Likewise.
20973         * debug/strcat_chk.c (__strcat_chk): Likewise.
20974         * debug/strncat_chk.c (__strncat_chk): Likewise.
20975         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
20976         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
20977         * dirent/dirfd.c (dirfd): Likewise.
20978         * dirent/getdents.c (__getdirentries): Likewise.
20979         * dirent/getdents64.c (getdirentries64): Likewise.
20980         * dirent/rewinddir.c (__rewinddir): Likewise.
20981         * dirent/seekdir.c (seekdir): Likewise.
20982         * dirent/telldir.c (telldir): Likewise.
20983         * elf/sln.c (makesymlinks): Likewise.
20984         (makesymlink): Likewise.
20985         * gmon/gmon.c (__moncontrol): Likewise.
20986         (__monstartup): Likewise.
20987         (write_hist): Likewise.
20988         (write_call_graph): Likewise.
20989         (write_bb_counts): Likewise.
20990         * grp/setgroups.c (setgroups): Likewise.
20991         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20992         * inet/inet_net.c (inet_network): Likewise.
20993         * inet/inet_netof.c (inet_netof): Likewise.
20994         * inet/rcmd.c (rresvport_af): Likewise.
20995         (rresvport): Likewise.
20996         * io/access.c (__access): Likewise.
20997         * io/chdir.c (__chdir): Likewise.
20998         * io/chmod.c (__chmod): Likewise.
20999         * io/chown.c (__chown): Likewise.
21000         * io/close.c (__close): Likewise.
21001         * io/creat.c (creat): Likewise.
21002         * io/creat64.c (creat64): Likewise.
21003         * io/dup.c (__dup): Likewise.
21004         * io/dup2.c (__dup2): Likewise.
21005         * io/dup3.c (__dup3): Likewise.
21006         * io/euidaccess.c (__euidaccess): Likewise.
21007         * io/faccessat.c (faccessat): Likewise.
21008         * io/fchmod.c (__fchmod): Likewise.
21009         * io/fchmodat.c (fchmodat): Likewise.
21010         * io/fchown.c (__fchown): Likewise.
21011         * io/fchownat.c (fchownat): Likewise.
21012         * io/fcntl.c (__fcntl): Likewise.
21013         * io/flock.c (__flock): Likewise.
21014         * io/fts.c (fts_load): Likewise.
21015         (fts_close): Likewise.
21016         (fts_read): Likewise.
21017         (fts_set): Likewise.
21018         (fts_children): Likewise.
21019         (fts_build): Likewise.
21020         (fts_stat): Likewise.
21021         (fts_sort): Likewise.
21022         (fts_alloc): Likewise.
21023         (fts_lfree): Likewise.
21024         (fts_palloc): Likewise.
21025         (fts_padjust): Likewise.
21026         (fts_maxarglen): Likewise.
21027         (fts_safe_changedir): Likewise.
21028         * io/getwd.c (getwd): Likewise.
21029         * io/isatty.c (__isatty): Likewise.
21030         * io/lchown.c (__lchown): Likewise.
21031         * io/link.c (__link): Likewise.
21032         * io/linkat.c (linkat): Likewise.
21033         * io/lseek.c (__libc_lseek): Likewise.
21034         * io/mkdir.c (__mkdir): Likewise.
21035         * io/mkdirat.c (mkdirat): Likewise.
21036         * io/mkfifo.c (mkfifo): Likewise.
21037         * io/mkfifoat.c (mkfifoat): Likewise.
21038         * io/open.c (__libc_open): Likewise.
21039         * io/open64.c (__libc_open64): Likewise.
21040         * io/readlink.c (__readlink): Likewise.
21041         * io/readlinkat.c (readlinkat): Likewise.
21042         * io/rmdir.c (__rmdir): Likewise.
21043         * io/symlink.c (__symlink): Likewise.
21044         * io/symlinkat.c (symlinkat): Likewise.
21045         * io/ttyname.c (ttyname): Likewise.
21046         * io/ttyname_r.c (__ttyname_r): Likewise.
21047         * io/umask.c (__umask): Likewise.
21048         * io/unlink.c (__unlink): Likewise.
21049         * io/unlinkat.c (unlinkat): Likewise.
21050         * io/utime.c (utime): Likewise.
21051         * libio/clearerr.c (clearerr): Likewise.
21052         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
21053         * libio/feof.c (_IO_feof): Likewise.
21054         * libio/feof_u.c (feof_unlocked): Likewise.
21055         * libio/ferror.c (_IO_ferror): Likewise.
21056         * libio/ferror_u.c (ferror_unlocked): Likewise.
21057         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21058         * libio/fileno.c (__fileno): Likewise.
21059         * libio/fputc.c (fputc): Likewise.
21060         * libio/fputc_u.c (fputc_unlocked): Likewise.
21061         * libio/fputwc.c (fputwc): Likewise.
21062         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
21063         * libio/freopen.c (freopen): Likewise.
21064         * libio/freopen64.c (freopen64): Likewise.
21065         * libio/fseek.c (fseek): Likewise.
21066         * libio/fseeko.c (fseeko): Likewise.
21067         * libio/fseeko64.c (fseeko64): Likewise.
21068         * libio/ftello.c (__ftello): Likewise.
21069         * libio/ftello64.c (ftello64): Likewise.
21070         * libio/fwide.c (fwide): Likewise.
21071         * libio/genops.c (_IO_un_link): Likewise.
21072         (_IO_link_in): Likewise.
21073         (_IO_least_marker): Likewise.
21074         (_IO_switch_to_main_get_area): Likewise.
21075         (_IO_switch_to_backup_area): Likewise.
21076         (_IO_switch_to_get_mode): Likewise.
21077         (_IO_free_backup_area): Likewise.
21078         (_IO_switch_to_put_mode): Likewise.
21079         (__overflow): Likewise.
21080         (__underflow): Likewise.
21081         (__uflow): Likewise.
21082         (_IO_setb): Likewise.
21083         (_IO_doallocbuf): Likewise.
21084         (_IO_default_underflow): Likewise.
21085         (_IO_default_uflow): Likewise.
21086         (_IO_default_xsputn): Likewise.
21087         (_IO_sgetn): Likewise.
21088         (_IO_default_xsgetn): Likewise.
21089         (_IO_sync): Likewise.
21090         (_IO_default_setbuf): Likewise.
21091         (_IO_default_seekpos): Likewise.
21092         (_IO_default_doallocate): Likewise.
21093         (_IO_init): Likewise.
21094         (_IO_old_init): Likewise.
21095         (_IO_default_sync): Likewise.
21096         (_IO_default_finish): Likewise.
21097         (_IO_default_seekoff): Likewise.
21098         (_IO_sputbackc): Likewise.
21099         (_IO_sungetc): Likewise.
21100         (_IO_set_column): Likewise.
21101         (_IO_set_column): Likewise.
21102         (_IO_adjust_column): Likewise.
21103         (_IO_get_column): Likewise.
21104         (_IO_init_marker): Likewise.
21105         (_IO_remove_marker): Likewise.
21106         (_IO_marker_difference): Likewise.
21107         (_IO_marker_delta): Likewise.
21108         (_IO_seekmark): Likewise.
21109         (_IO_unsave_markers): Likewise.
21110         (_IO_nobackup_pbackfail): Likewise.
21111         (_IO_default_pbackfail): Likewise.
21112         (_IO_default_seek): Likewise.
21113         (_IO_default_stat): Likewise.
21114         (_IO_default_read): Likewise.
21115         (_IO_default_write): Likewise.
21116         (_IO_default_showmanyc): Likewise.
21117         (_IO_default_imbue): Likewise.
21118         (_IO_iter_next): Likewise.
21119         (_IO_iter_file): Likewise.
21120         * libio/getc.c (_IO_getc): Likewise.
21121         * libio/getwc.c (_IO_getwc): Likewise.
21122         * libio/iofclose.c (_IO_new_fclose): Likewise.
21123         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21124         * libio/iofflush.c (_IO_fflush): Likewise.
21125         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
21126         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
21127         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
21128         * libio/iofgets.c (_IO_fgets): Likewise.
21129         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
21130         * libio/iofgetws.c (fgetws): Likewise.
21131         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21132         * libio/iofopen64.c (_IO_fopen64): Likewise.
21133         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21134         (_IO_cookie_write): Likewise.
21135         (_IO_cookie_seek): Likewise.
21136         (_IO_cookie_close): Likewise.
21137         (_IO_cookie_seekoff): Likewise.
21138         (_IO_old_cookie_seek): Likewise.
21139         * libio/iofputs.c (_IO_fputs): Likewise.
21140         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
21141         * libio/iofputws.c (fputws): Likewise.
21142         * libio/iofputws_u.c (fputws_unlocked): Likewise.
21143         * libio/iofread.c (_IO_fread): Likewise.
21144         * libio/iofread_u.c (__fread_unlocked): Likewise.
21145         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
21146         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
21147         * libio/ioftell.c (_IO_ftell): Likewise.
21148         * libio/iofwrite.c (_IO_fwrite): Likewise.
21149         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21150         * libio/iogets.c (_IO_gets): Likewise.
21151         * libio/iopadn.c (_IO_padn): Likewise.
21152         * libio/iopopen.c (_IO_new_proc_open): Likewise.
21153         (_IO_new_popen): Likewise.
21154         (_IO_new_proc_close): Likewise.
21155         * libio/ioputs.c (_IO_puts): Likewise.
21156         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
21157         (_IO_seekoff): Likewise.
21158         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
21159         (_IO_seekpos): Likewise.
21160         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
21161         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
21162         * libio/ioungetc.c (_IO_ungetc): Likewise.
21163         * libio/ioungetwc.c (ungetwc): Likewise.
21164         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21165         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
21166         * libio/iowpadn.c (_IO_wpadn): Likewise.
21167         * libio/libc_fatal.c (__libc_fatal): Likewise.
21168         * libio/memstream.c (__open_memstream): Likewise.
21169         (_IO_mem_sync): Likewise.
21170         (_IO_mem_finish): Likewise.
21171         * libio/oldfileops.c (_IO_old_file_init): Likewise.
21172         (_IO_old_file_close_it): Likewise.
21173         (_IO_old_file_finish): Likewise.
21174         (_IO_old_file_fopen): Likewise.
21175         (_IO_old_file_attach): Likewise.
21176         (_IO_old_file_setbuf): Likewise.
21177         (_IO_old_do_write): Likewise.
21178         (old_do_write): Likewise.
21179         (_IO_old_file_underflow): Likewise.
21180         (_IO_old_file_overflow): Likewise.
21181         (_IO_old_file_sync): Likewise.
21182         (_IO_old_file_seekoff): Likewise.
21183         (_IO_old_file_write): Likewise.
21184         (_IO_old_file_xsputn): Likewise.
21185         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
21186         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21187         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
21188         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
21189         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21190         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
21191         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
21192         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
21193         (_IO_old_popen): Likewise.
21194         (_IO_old_proc_close): Likewise.
21195         * libio/oldpclose.c (__old_pclose): Likewise.
21196         * libio/pclose.c (__new_pclose): Likewise.
21197         * libio/peekc.c (_IO_peekc_locked): Likewise.
21198         * libio/putc.c (_IO_putc): Likewise.
21199         * libio/putc_u.c (putc_unlocked): Likewise.
21200         * libio/putchar.c (putchar): Likewise.
21201         * libio/putchar_u.c (putchar_unlocked): Likewise.
21202         * libio/putwc.c (putwc): Likewise.
21203         * libio/putwc_u.c (putwc_unlocked): Likewise.
21204         * libio/putwchar.c (putwchar): Likewise.
21205         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
21206         * libio/rewind.c (rewind): Likewise.
21207         * libio/setbuf.c (setbuf): Likewise.
21208         * libio/setlinebuf.c (setlinebuf): Likewise.
21209         * libio/vasprintf.c (_IO_vasprintf): Likewise.
21210         * libio/vscanf.c (_IO_vscanf): Likewise.
21211         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
21212         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
21213         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21214         * libio/wgenops.c (_IO_least_wmarker): Likewise.
21215         (_IO_switch_to_main_wget_area): Likewise.
21216         (_IO_switch_to_wbackup_area): Likewise.
21217         (_IO_wsetb): Likewise.
21218         (_IO_wdefault_pbackfail): Likewise.
21219         (_IO_wdefault_finish): Likewise.
21220         (_IO_wdefault_uflow): Likewise.
21221         (__woverflow): Likewise.
21222         (__wuflow): Likewise.
21223         (__wunderflow): Likewise.
21224         (_IO_wdefault_xsputn): Likewise.
21225         (_IO_wdefault_xsgetn): Likewise.
21226         (_IO_wdoallocbuf): Likewise.
21227         (_IO_wdefault_doallocate): Likewise.
21228         (_IO_switch_to_wget_mode): Likewise.
21229         (_IO_free_wbackup_area): Likewise.
21230         (_IO_switch_to_wput_mode): Likewise.
21231         (_IO_sputbackwc): Likewise.
21232         (_IO_sungetwc): Likewise.
21233         (_IO_adjust_wcolumn): Likewise.
21234         (_IO_init_wmarker): Likewise.
21235         (_IO_wmarker_delta): Likewise.
21236         (_IO_seekwmark): Likewise.
21237         (_IO_unsave_wmarkers): Likewise.
21238         * libio/wmemstream.c (open_wmemstream): Likewise.
21239         (_IO_wmem_sync): Likewise.
21240         (_IO_wmem_finish): Likewise.
21241         * locale/nl_langinfo.c (nl_langinfo): Likewise.
21242         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
21243         * locale/programs/simple-hash.c (init_hash): Likewise.
21244         (delete_hash): Likewise.
21245         (insert_entry): Likewise.
21246         (set_entry): Likewise.
21247         (next_prime): Likewise.
21248         (is_prime): Likewise.
21249         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
21250         (xmalloc): Likewise.
21251         (xrealloc): Likewise.
21252         * locale/programs/xstrdup.c (xstrdup): Likewise.
21253         * localedata/collate-test.c (xstrcoll): Likewise.
21254         * localedata/xfrm-test.c (xstrcmp): Likewise.
21255         * login/getlogin_r.c (__getlogin_r): Likewise.
21256         * login/getpt.c (__posix_openpt): Likewise.
21257         * login/login_tty.c (login_tty): Likewise.
21258         * login/setlogin.c (setlogin): Likewise.
21259         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
21260         (mach_msg_destroy_port): Likewise.
21261         (mach_msg_destroy_memory): Likewise.
21262         * malloc/mcheck.c (flood): Likewise.
21263         * misc/acct.c (acct): Likewise.
21264         * misc/brk.c (__brk): Likewise.
21265         * misc/chflags.c (chflags): Likewise.
21266         * misc/chroot.c (chroot): Likewise.
21267         * misc/fchflags.c (fchflags): Likewise.
21268         * misc/fstab.c (getfsspec): Likewise.
21269         (getfsfile): Likewise.
21270         * misc/fsync.c (fsync): Likewise.
21271         * misc/ftruncate.c (__ftruncate): Likewise.
21272         * misc/ftruncate64.c (__ftruncate64): Likewise.
21273         * misc/getdomain.c (getdomainname): Likewise.
21274         (getdomainname): Likewise.
21275         * misc/gethostname.c (__gethostname): Likewise.
21276         * misc/getpass.c (getpass): Likewise.
21277         * misc/getttyent.c (skip): Likewise.
21278         (value): Likewise.
21279         * misc/gtty.c (gtty): Likewise.
21280         * misc/hsearch.c (hsearch): Likewise.
21281         (hcreate): Likewise.
21282         * misc/hsearch_r.c (__hcreate_r): Likewise.
21283         (__hdestroy_r): Likewise.
21284         * misc/ioctl.c (__ioctl): Likewise.
21285         * misc/mkdtemp.c (mkdtemp): Likewise.
21286         * misc/mkostemp.c (mkostemp): Likewise.
21287         * misc/mkostemp64.c (mkostemp64): Likewise.
21288         * misc/mkostemps.c (mkostemps): Likewise.
21289         * misc/mkostemps64.c (mkostemps64): Likewise.
21290         * misc/mkstemp.c (mkstemp): Likewise.
21291         * misc/mkstemp64.c (mkstemp64): Likewise.
21292         * misc/mkstemps.c (mkstemps): Likewise.
21293         * misc/mkstemps64.c (mkstemps64): Likewise.
21294         * misc/mktemp.c (__mktemp): Likewise.
21295         * misc/preadv.c (preadv): Likewise.
21296         * misc/preadv64.c (preadv64): Likewise.
21297         * misc/pwritev.c (pwritev): Likewise.
21298         * misc/pwritev64.c (pwritev64): Likewise.
21299         * misc/readv.c (__readv): Likewise.
21300         * misc/revoke.c (revoke): Likewise.
21301         * misc/setdomain.c (setdomainname): Likewise.
21302         * misc/setegid.c (setegid): Likewise.
21303         * misc/seteuid.c (seteuid): Likewise.
21304         * misc/sethostid.c (sethostid): Likewise.
21305         * misc/sethostname.c (sethostname): Likewise.
21306         * misc/setregid.c (__setregid): Likewise.
21307         * misc/setreuid.c (__setreuid): Likewise.
21308         * misc/sstk.c (sstk): Likewise.
21309         * misc/stty.c (stty): Likewise.
21310         * misc/syscall.c (syscall): Likewise.
21311         * misc/syslog.c (setlogmask): Likewise.
21312         * misc/truncate.c (__truncate): Likewise.
21313         * misc/truncate64.c (truncate64): Likewise.
21314         * misc/ualarm.c (ualarm): Likewise.
21315         * misc/usleep.c (usleep): Likewise.
21316         * misc/ustat.c (ustat): Likewise.
21317         * misc/writev.c (__writev): Likewise.
21318         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
21319         * nptl/old_pthread_cond_broadcast.c
21320         (__pthread_cond_broadcast_2_0): Likewise.
21321         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
21322         Likewise.
21323         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
21324         Likewise.
21325         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
21326         Likewise.
21327         * nptl/pt-raise.c (raise): Likewise.
21328         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
21329         Likewise.
21330         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
21331         * nptl/pthread_barrierattr_destroy.c
21332         (pthread_barrierattr_destroy): Likewise.
21333         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21334         Likewise.
21335         * nptl/pthread_barrierattr_setpshared.c
21336         (pthread_barrierattr_setpshared): Likewise.
21337         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21338         Likewise.
21339         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
21340         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21341         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
21342         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
21343         Likewise.
21344         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
21345         Likewise.
21346         * nptl/pthread_condattr_getpshared.c
21347         (pthread_condattr_getpshared): Likewise.
21348         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
21349         Likewise.
21350         * nptl/pthread_condattr_setpshared.c
21351         (pthread_condattr_setpshared): Likewise.
21352         * nptl/pthread_detach.c (pthread_detach): Likewise.
21353         * nptl/pthread_equal.c (__pthread_equal): Likewise.
21354         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
21355         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
21356         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
21357         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
21358         Likewise.
21359         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
21360         Likewise.
21361         * nptl/pthread_mutex_getprioceiling.c
21362         (pthread_mutex_getprioceiling): Likewise.
21363         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
21364         Likewise.
21365         * nptl/pthread_mutexattr_getprotocol.c
21366         (pthread_mutexattr_getprotocol): Likewise.
21367         * nptl/pthread_mutexattr_getpshared.c
21368         (pthread_mutexattr_getpshared): Likewise.
21369         * nptl/pthread_mutexattr_getrobust.c
21370         (pthread_mutexattr_getrobust): Likewise.
21371         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21372         Likewise.
21373         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
21374         Likewise.
21375         * nptl/pthread_mutexattr_setprioceiling.c
21376         (pthread_mutexattr_setprioceiling): Likewise.
21377         * nptl/pthread_mutexattr_setprotocol.c
21378         (pthread_mutexattr_setprotocol): Likewise.
21379         * nptl/pthread_mutexattr_setpshared.c
21380         (pthread_mutexattr_setpshared): Likewise.
21381         * nptl/pthread_mutexattr_setrobust.c
21382         (pthread_mutexattr_setrobust): Likewise.
21383         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
21384         Likewise.
21385         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
21386         Likewise.
21387         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
21388         Likewise.
21389         * nptl/pthread_rwlockattr_getkind_np.c
21390         (pthread_rwlockattr_getkind_np): Likewise.
21391         * nptl/pthread_rwlockattr_getpshared.c
21392         (pthread_rwlockattr_getpshared): Likewise.
21393         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
21394         Likewise.
21395         * nptl/pthread_rwlockattr_setkind_np.c
21396         (pthread_rwlockattr_setkind_np): Likewise.
21397         * nptl/pthread_rwlockattr_setpshared.c
21398         (pthread_rwlockattr_setpshared): Likewise.
21399         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
21400         Likewise.
21401         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
21402         Likewise.
21403         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
21404         Likewise.
21405         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
21406         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
21407         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
21408         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
21409         * nptl/sem_close.c (sem_close): Likewise.
21410         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
21411         * nptl/sem_init.c (__old_sem_init): Likewise.
21412         * nptl/sigaction.c (__sigaction): Likewise.
21413         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21414         * posix/_exit.c (_exit): Likewise.
21415         * posix/alarm.c (alarm): Likewise.
21416         * posix/confstr.c (confstr): Likewise.
21417         * posix/fpathconf.c (__fpathconf): Likewise.
21418         * posix/getgroups.c (__getgroups): Likewise.
21419         * posix/getpgid.c (__getpgid): Likewise.
21420         * posix/group_member.c (__group_member): Likewise.
21421         * posix/pathconf.c (__pathconf): Likewise.
21422         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
21423         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
21424         * posix/setgid.c (__setgid): Likewise.
21425         * posix/setpgid.c (__setpgid): Likewise.
21426         * posix/setuid.c (__setuid): Likewise.
21427         * posix/sleep.c (__sleep): Likewise.
21428         * posix/sysconf.c (__sysconf): Likewise.
21429         * posix/times.c (__times): Likewise.
21430         * posix/uname.c (__uname): Likewise.
21431         * posix/waitid.c (__waitid): Likewise.
21432         * pwd/getpw.c (__getpw): Likewise.
21433         * resolv/base64.c (b64_pton): Likewise.
21434         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
21435         * resolv/gethnamaddr.c (Dprintf): Likewise.
21436         (gethostbyname): Likewise.
21437         (gethostbyname2): Likewise.
21438         (gethostbyaddr): Likewise.
21439         (_sethtent): Likewise.
21440         (_gethtbyname): Likewise.
21441         (_gethtbyname2): Likewise.
21442         (_gethtbyaddr): Likewise.
21443         (map_v4v6_address): Likewise.
21444         (map_v4v6_hostent): Likewise.
21445         (addrsort): Likewise.
21446         (ht_sethostent): Likewise.
21447         (ht_gethostbyname): Likewise.
21448         (ht_gethostbyaddr): Likewise.
21449         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
21450         (inet_net_ntop_ipv4): Likewise.
21451         * resolv/inet_neta.c (inet_neta): Likewise.
21452         * resolv/inet_ntop.c (inet_ntop): Likewise.
21453         (inet_ntop4): Likewise.
21454         (inet_ntop6): Likewise.
21455         * resolv/inet_pton.c (__inet_pton): Likewise.
21456         (inet_pton4): Likewise.
21457         (inet_pton6): Likewise.
21458         * resolv/res_debug.c (loc_aton): Likewise.
21459         (loc_ntoa): Likewise.
21460         * resource/getpriority.c (__getpriority): Likewise.
21461         * resource/getrusage.c (__getrusage): Likewise.
21462         * resource/nice.c (nice): Likewise.
21463         * resource/setpriority.c (__setpriority): Likewise.
21464         * resource/setrlimit64.c (setrlimit64): Likewise.
21465         * resource/vlimit.c (vlimit): Likewise.
21466         * resource/vtimes.c (vtimes): Likewise.
21467         * rt/aio_error.c (aio_error): Likewise.
21468         * rt/aio_return.c (aio_return): Likewise.
21469         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
21470         * signal/kill.c (__kill): Likewise.
21471         * signal/killpg.c (killpg): Likewise.
21472         * signal/raise.c (raise): Likewise.
21473         * signal/sigaction.c (__sigaction): Likewise.
21474         * signal/sigaddset.c (sigaddset): Likewise.
21475         * signal/sigaltstack.c (sigaltstack): Likewise.
21476         * signal/sigandset.c (sigandset): Likewise.
21477         * signal/sigblock.c (__sigblock): Likewise.
21478         * signal/sigdelset.c (sigdelset): Likewise.
21479         * signal/sigempty.c (sigemptyset): Likewise.
21480         * signal/sigfillset.c (sigfillset): Likewise.
21481         * signal/sighold.c (sighold): Likewise.
21482         * signal/sigignore.c (sigignore): Likewise.
21483         * signal/sigintr.c (siginterrupt): Likewise.
21484         * signal/sigisempty.c (sigisemptyset): Likewise.
21485         * signal/sigismem.c (sigismember): Likewise.
21486         * signal/signal.c (signal): Likewise.
21487         * signal/sigorset.c (sigorset): Likewise.
21488         * signal/sigpause.c (__sigpause): Likewise.
21489         * signal/sigpending.c (sigpending): Likewise.
21490         * signal/sigprocmask.c (__sigprocmask): Likewise.
21491         * signal/sigrelse.c (sigrelse): Likewise.
21492         * signal/sigreturn.c (__sigreturn): Likewise.
21493         * signal/sigset.c (sigset): Likewise.
21494         * signal/sigsetmask.c (__sigsetmask): Likewise.
21495         * signal/sigstack.c (sigstack): Likewise.
21496         * signal/sigsuspend.c (__sigsuspend): Likewise.
21497         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
21498         * signal/sysv_signal.c (__sysv_signal): Likewise.
21499         * socket/accept.c (accept): Likewise.
21500         * socket/accept4.c (__libc_accept4): Likewise.
21501         * socket/bind.c (__bind): Likewise.
21502         * socket/connect.c (__connect): Likewise.
21503         * socket/getpeername.c (getpeername): Likewise.
21504         * socket/getsockname.c (__getsockname): Likewise.
21505         * socket/getsockopt.c (getsockopt): Likewise.
21506         * socket/listen.c (__listen): Likewise.
21507         * socket/recv.c (__recv): Likewise.
21508         * socket/recvmsg.c (__recvmsg): Likewise.
21509         * socket/send.c (__send): Likewise.
21510         * socket/sendmsg.c (__sendmsg): Likewise.
21511         * socket/shutdown.c (shutdown): Likewise.
21512         * socket/sockatmark.c (sockatmark): Likewise.
21513         * socket/socket.c (__socket): Likewise.
21514         * stdio-common/ctermid.c (ctermid): Likewise.
21515         * stdio-common/cuserid.c (cuserid): Likewise.
21516         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
21517         * stdio-common/remove.c (remove): Likewise.
21518         * stdio-common/rename.c (rename): Likewise.
21519         * stdio-common/renameat.c (renameat): Likewise.
21520         * stdio-common/tempname.c (__gen_tempname): Likewise.
21521         * stdio-common/xbug.c (InitBuffer): Likewise.
21522         (AppendToBuffer): Likewise.
21523         (ReadFile): Likewise.
21524         * stdlib/a64l.c (a64l): Likewise.
21525         * stdlib/drand48_r.c (drand48_r): Likewise.
21526         * stdlib/getcontext.c (getcontext): Likewise.
21527         * stdlib/getenv.c (getenv): Likewise.
21528         * stdlib/l64a.c (l64a): Likewise.
21529         * stdlib/llabs.c (llabs): Likewise.
21530         * stdlib/lldiv.c (lldiv): Likewise.
21531         * stdlib/lrand48_r.c (lrand48_r): Likewise.
21532         * stdlib/mrand48_r.c (mrand48_r): Likewise.
21533         * stdlib/putenv.c (putenv): Likewise.
21534         * stdlib/random.c (__srandom): Likewise.
21535         (__initstate): Likewise.
21536         (__setstate): Likewise.
21537         * stdlib/random_r.c (__srandom_r): Likewise.
21538         (__setstate_r): Likewise.
21539         (__random_r): Likewise.
21540         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
21541         * stdlib/setcontext.c (setcontext): Likewise.
21542         * stdlib/setenv.c (setenv): Likewise.
21543         (unsetenv): Likewise.
21544         * stdlib/srand48.c (srand48): Likewise.
21545         * stdlib/srand48_r.c (__srand48_r): Likewise.
21546         * stdlib/swapcontext.c (swapcontext): Likewise.
21547         * stdlib/system.c (__libc_system): Likewise.
21548         * stdlib/tst-strtod.c (expand): Likewise.
21549         * stdlib/tst-strtol.c (expand): Likewise.
21550         * stdlib/tst-strtoll.c (expand): Likewise.
21551         * streams/fattach.c (fattach): Likewise.
21552         * streams/fdetach.c (fdetach): Likewise.
21553         * streams/getmsg.c (getmsg): Likewise.
21554         * streams/isastream.c (isastream): Likewise.
21555         * string/ffs.c (__ffs): Likewise.
21556         * string/ffsll.c (ffsll): Likewise.
21557         * string/memcmp.c (memcmp_common_alignment): Likewise.
21558         (memcmp_not_common_alignment): Likewise.
21559         (MEMCMP): Likewise.
21560         * string/memcpy.c (memcpy): Likewise.
21561         * string/memmove.c (MEMMOVE): Likewise.
21562         * string/memset.c (memset): Likewise.
21563         * string/rawmemchr.c (RAWMEMCHR): Likewise.
21564         * string/strchrnul.c (STRCHRNUL): Likewise.
21565         * string/strerror.c (strerror): Likewise.
21566         * string/strndup.c (__strndup): Likewise.
21567         * string/strverscmp.c (__strverscmp): Likewise.
21568         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
21569         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
21570         (clnttcp_freeres): Likewise.
21571         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
21572         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
21573         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
21574         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
21575         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
21576         (xdr_callhdr): Likewise.
21577         * sunrpc/rpcinfo.c (udpping): Likewise.
21578         (tcpping): Likewise.
21579         (pstatus): Likewise.
21580         (pmapdump): Likewise.
21581         (brdcst): Likewise.
21582         (deletereg): Likewise.
21583         (getprognum): Likewise.
21584         (getvers): Likewise.
21585         (get_inet_address): Likewise.
21586         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
21587         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21588         (svcudp_stat): Likewise.
21589         (svcudp_recv): Likewise.
21590         (svcudp_reply): Likewise.
21591         (svcudp_getargs): Likewise.
21592         (svcudp_freeargs): Likewise.
21593         (svcudp_destroy): Likewise.
21594         * sunrpc/xdr.c (xdr_bytes): Likewise.
21595         (xdr_netobj): Likewise.
21596         (xdr_string): Likewise.
21597         (xdr_wrapstring): Likewise.
21598         * sunrpc/xdr_float.c (xdr_float): Likewise.
21599         (xdr_double): Likewise.
21600         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
21601         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
21602         * sysvipc/ftok.c (ftok): Likewise.
21603         * sysvipc/msgctl.c (msgctl): Likewise.
21604         * sysvipc/msgget.c (msgget): Likewise.
21605         * sysvipc/msgrcv.c (msgrcv): Likewise.
21606         * sysvipc/msgsnd.c (msgsnd): Likewise.
21607         * sysvipc/semget.c (semget): Likewise.
21608         * sysvipc/semop.c (semop): Likewise.
21609         * sysvipc/shmat.c (shmat): Likewise.
21610         * sysvipc/shmctl.c (shmctl): Likewise.
21611         * sysvipc/shmdt.c (shmdt): Likewise.
21612         * sysvipc/shmget.c (shmget): Likewise.
21613         * termios/cfmakeraw.c (cfmakeraw): Likewise.
21614         * termios/speed.c (cfgetospeed): Likewise.
21615         (cfgetispeed): Likewise.
21616         (cfsetospeed): Likewise.
21617         (cfsetispeed): Likewise.
21618         * termios/tcflow.c (tcflow): Likewise.
21619         * termios/tcflush.c (tcflush): Likewise.
21620         * termios/tcgetattr.c (__tcgetattr): Likewise.
21621         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
21622         * termios/tcgetsid.c (tcgetsid): Likewise.
21623         * termios/tcsendbrk.c (tcsendbreak): Likewise.
21624         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
21625         * time/adjtime.c (__adjtime): Likewise.
21626         * time/dysize.c (dysize): Likewise.
21627         * time/ftime.c (ftime): Likewise.
21628         * time/getitimer.c (__getitimer): Likewise.
21629         * time/gettimeofday.c (__gettimeofday): Likewise.
21630         * time/gmtime.c (__gmtime_r): Likewise.
21631         (gmtime): Likewise.
21632         * time/localtime.c (__localtime_r): Likewise.
21633         (localtime): Likewise.
21634         * time/offtime.c (__offtime): Likewise.
21635         * time/settimeofday.c (__settimeofday): Likewise.
21636         * time/stime.c (stime): Likewise.
21637         * time/strftime_l.c (tm_diff): Likewise.
21638         (iso_week_days): Likewise.
21639         * time/strptime.c (strptime): Likewise.
21640         * time/time.c (time): Likewise.
21641         * time/timespec_get.c (timespec_get): Likewise.
21642         * time/tzset.c (tzset_internal): Likewise.
21643         (compute_change): Likewise.
21644         (__tz_compute): Likewise.
21645         * wcsmbs/btowc.c (__btowc): Likewise.
21646         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
21647         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
21648         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
21649         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
21650         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
21651         * wcsmbs/wcscat.c (__wcscat): Likewise.
21652         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21653         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
21654         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
21655         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21656         * wcsmbs/wcsdup.c (wcsdup): Likewise.
21657         * wcsmbs/wcslen.c (__wcslen): Likewise.
21658         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
21659         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
21660         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
21661         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
21662         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21663         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
21664         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21665         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21666         * wcsmbs/wcstok.c (wcstok): Likewise.
21667         * wcsmbs/wctob.c (wctob): Likewise.
21668         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
21669         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21670         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
21671         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
21672         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
21673         * wcsmbs/wmemset.c (__wmemset): Likewise.
21674         * wctype/wcfuncs.c (__towlower): Likewise.
21675         (__towupper): Likewise.
21677         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
21678         (lll_unlock_elision): Add adapt_count parameter.
21680 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21682         * sysdeps/nptl/configure.ac: Do not give errors based on the
21683         results of top-level configure tests.
21684         * sysdeps/nptl/configure: Regenerated.
21686         * configure.ac (libc_cv_Bgroup): Remove configure test.
21687         * configure: Regenerated.
21688         * config.make.in (have-Bgroup): Remove variable.
21690         * configure.ac (sizeof_long_double): Remove configure test.
21691         * configure: Regenerated.
21692         * config.make.in (sizeof-long-double): Remove variable.
21694         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
21695         * configure: Regenerated.
21696         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
21697         variable.
21698         (exceptions): Likewise.
21699         * sysdeps/arm/configure: Regenerated.
21700         * config.make.in (exceptions): Remove variable.
21701         * Makeconfig (uses-callbacks): Use -fexceptions instead of
21702         $(exceptions).
21703         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
21704         (CFLAGS-vdprintf_chk.c): Likewise.
21705         (CFLAGS-printf_chk.c): Likewise.
21706         (CFLAGS-fprintf_chk.c): Likewise.
21707         (CFLAGS-vprintf_chk.c): Likewise.
21708         (CFLAGS-vfprintf_chk.c): Likewise.
21709         (CFLAGS-gets_chk.c): Likewise.
21710         (CFLAGS-fgets_chk.c): Likewise.
21711         (CFLAGS-fgets_u_chk.c): Likewise.
21712         (CFLAGS-fread_chk.c): Likewise.
21713         (CFLAGS-fread_u_chk.c): Likewise.
21714         (CFLAGS-wprintf_chk.c): Likewise.
21715         (CFLAGS-fwprintf_chk.c): Likewise.
21716         (CFLAGS-vwprintf_chk.c): Likewise.
21717         (CFLAGS-vfwprintf_chk.c): Likewise.
21718         (CFLAGS-fgetws_chk.c): Likewise.
21719         (CFLAGS-fgetws_u_chk.c): Likewise.
21720         * libio/Makefile (CFLAGS-fileops.c): Likewise.
21721         (CFLAGS-fputc.c): Likewise.
21722         (CFLAGS-fputwc.c): Likewise.
21723         (CFLAGS-freopen64.c): Likewise.
21724         (CFLAGS-freopen.c): Likewise.
21725         (CFLAGS-fseek.c): Likewise.
21726         (CFLAGS-fseeko64.c): Likewise.
21727         (CFLAGS-fseeko.c): Likewise.
21728         (CFLAGS-ftello64.c): Likewise.
21729         (CFLAGS-ftello.c): Likewise.
21730         (CFLAGS-fwide.c): Likewise.
21731         (CFLAGS-genops.c): Likewise.
21732         (CFLAGS-getc.c): Likewise.
21733         (CFLAGS-getchar.c): Likewise.
21734         (CFLAGS-getwc.c): Likewise.
21735         (CFLAGS-getwchar.c): Likewise.
21736         (CFLAGS-iofclose.c): Likewise.
21737         (CFLAGS-iofflush.c): Likewise.
21738         (CFLAGS-iofgetpos64.c): Likewise.
21739         (CFLAGS-iofgetpos.c): Likewise.
21740         (CFLAGS-iofgets.c): Likewise.
21741         (CFLAGS-iofgetws.c): Likewise.
21742         (CFLAGS-iofputs.c): Likewise.
21743         (CFLAGS-iofputws.c): Likewise.
21744         (CFLAGS-iofread.c): Likewise.
21745         (CFLAGS-iofsetpos64.c): Likewise.
21746         (CFLAGS-iofsetpos.c): Likewise.
21747         (CFLAGS-ioftell.c): Likewise.
21748         (CFLAGS-iofwrite.c): Likewise.
21749         (CFLAGS-iogetdelim.c): Likewise.
21750         (CFLAGS-iogetline.c): Likewise.
21751         (CFLAGS-iogets.c): Likewise.
21752         (CFLAGS-iogetwline.c): Likewise.
21753         (CFLAGS-ioputs.c): Likewise.
21754         (CFLAGS-ioseekoff.c): Likewise.
21755         (CFLAGS-ioseekpos.c): Likewise.
21756         (CFLAGS-iosetbuffer.c): Likewise.
21757         (CFLAGS-iosetvbuf.c): Likewise.
21758         (CFLAGS-ioungetc.c): Likewise.
21759         (CFLAGS-ioungetwc.c): Likewise.
21760         (CFLAGS-oldfileops.c): Likewise.
21761         (CFLAGS-oldiofclose.c): Likewise.
21762         (CFLAGS-oldiofgetpos64.c): Likewise.
21763         (CFLAGS-oldiofgetpos.c): Likewise.
21764         (CFLAGS-oldiofsetpos64.c): Likewise.
21765         (CFLAGS-oldiofsetpos.c): Likewise.
21766         (CFLAGS-peekc.c): Likewise.
21767         (CFLAGS-putc.c): Likewise.
21768         (CFLAGS-putchar.c): Likewise.
21769         (CFLAGS-putwc.c): Likewise.
21770         (CFLAGS-putwchar.c): Likewise.
21771         (CFLAGS-rewind.c): Likewise.
21772         (CFLAGS-wfileops.c): Likewise.
21773         (CFLAGS-wgenops.c): Likewise.
21774         (CFLAGS-oldiofopen.c): Likewise.
21775         (CFLAGS-iofopen.c): Likewise.
21776         (CFLAGS-iofopen64.c): Likewise.
21777         (CFLAGS-oldtmpfile.c): Likewise.
21778         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21779         (CFLAGS-fprintf.c): Likewise.
21780         (CFLAGS-printf.c): Likewise.
21781         (CFLAGS-vfwprintf.c): Likewise.
21782         (CFLAGS-vfscanf.c): Likewise.
21783         (CFLAGS-vfwscanf.c): Likewise.
21784         (CFLAGS-fscanf.c): Likewise.
21785         (CFLAGS-scanf.c): Likewise.
21786         (CFLAGS-isoc99_vfscanf.c): Likewise.
21787         (CFLAGS-isoc99_vscanf.c): Likewise.
21788         (CFLAGS-isoc99_fscanf.c): Likewise.
21789         (CFLAGS-isoc99_scanf.c): Likewise.
21790         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
21791         (CFLAGS-isoc99_fwscanf.c): Likewise.
21792         (CFLAGS-isoc99_vwscanf.c): Likewise.
21793         (CFLAGS-isoc99_vfwscanf.c): Likewise.
21795         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
21796         after mkstemp64.
21797         * login/tst-utmp.c (do_prepare): Likewise.
21798         * rt/tst-aio.c (do_prepare): Likewise.
21799         * rt/tst-aio64.c (do_prepare): Likewise.
21801 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21803         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21804         (__lll_lock_elision): Remove adapt_count decrement...
21805         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
21806         (__lll_trylock_elision): Likewise.
21807         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
21808         (__lll_unlock_elision): ... to here. And utilize
21809         new adapt_count parameter.
21810         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21811         (__lll_unlock_elision): Update to include adapt_count
21812         parameter.
21813         (lll_unlock_elision): Pass pointer to adapt_count
21814         variable.
21816 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21818         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
21819         Add elision adapt_count parameter to list of arguments.
21820         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21821         (lll_unlock_elision): Update with new parameter list
21822         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
21823         (lll_unlock_elision): Likewise.
21824         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
21825         (lll_unlock_elision): Likewise.
21827 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21829         [BZ #19122]
21830         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
21831         attribute_hidden.
21833         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
21834         attribute_hidden.
21835         [IS_IN (rtld)] (__strdup): Likewise.
21836         [IS_IN (rtld)] (__strerror_r): Likewise.
21837         [IS_IN (rtld)] (__strsep_g): Likewise.
21838         [IS_IN (rtld)] (memchr): Likewise.
21839         [IS_IN (rtld)] (memcmp): Likewise.
21840         [IS_IN (rtld)] (memcpy): Likewise.
21841         [IS_IN (rtld)] (memmove): Likewise.
21842         [IS_IN (rtld)] (memset): Likewise.
21843         [IS_IN (rtld)] (rawmemchr): Likewise.
21844         [IS_IN (rtld)] (stpcpy): Likewise.
21845         [IS_IN (rtld)] (strchr): Likewise.
21846         [IS_IN (rtld)] (strcmp): Likewise.
21847         [IS_IN (rtld)] (strlen): Likewise.
21848         [IS_IN (rtld)] (strnlen): Likewise.
21849         [IS_IN (rtld)] (strsep): Likewise.
21851         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
21852         attribute_hidden.
21853         [IS_IN (rtld)] (__strtoul_internal): Likewise.
21855         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
21856         attribute_hidden.
21857         [IS_IN (rtld)] (__libc_sigaction): Likewise.
21859         * include/setjmp.h (__longjmp): Add attribute_hidden.
21860         [IS_IN (rtld)] (__sigsetjmp): Likewise.
21862         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
21863         Add attribute_hidden.
21865         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
21866         [IS_IN (rtld)] (__open): Likewise.
21867         [IS_IN (rtld)] (__fcntl): Likewise.
21869         * include/dirent.h (__opendirat): Add attribute_hidden.
21870         (__getdents): Likewise.
21871         (__getdents64): Likewise.
21872         (__alloc_dir): Likewise.
21873         [IS_IN (rtld)] (__closedir): Likewise.
21874         [IS_IN (rtld)] (__fdopendir): Likewise.
21875         [IS_IN (rtld)] (__readdir): Likewise.
21876         [IS_IN (rtld)] (__readdir64): Likewise.
21877         [IS_IN (rtld)] (__rewinddir): Likewise.
21879         * include/dlfcn.h (_dl_catch_error): Moved to ...
21880         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
21881         attribute_hidden.
21883         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
21884         (_itoa_word): Likewise.
21886         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
21887         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
21888         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
21889         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
21890         (_dl_higher_prime_number): Likewise.
21891         (_dl_debug_printf_c): Likewise.
21892         (_dl_signal_cerror): Likewise.
21893         (_dl_receive_error): Likewise.
21894         (_dl_reloc_bad_type): Likewise.
21895         (_dl_resolve_conflicts): Likewise.
21896         (_dl_check_all_versions): Likewise.
21897         (_dl_check_map_versions): Likewise.
21898         (_dl_sort_fini): Likewise.
21899         (_dl_debug_initialize): Likewise.
21900         (_dl_init_paths): Likewise.
21901         (_dl_show_auxv): Likewise.
21902         (_dl_next_ld_env_entry): Likewise.
21903         (_dl_important_hwcaps): Likewise.
21904         (_dl_load_cache_lookup): Likewise.
21905         (_dl_update_slotinfo): Likewise.
21906         (_dl_show_scope): Likewise.
21908         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
21909         attribute_hidden.
21910         (_wordcopy_fwd_dest_aligned): Likewise.
21911         (_wordcopy_bwd_aligned): Likewise.
21912         (_wordcopy_bwd_dest_aligned): Likewise.
21914         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21915         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21916         Likewise.
21917         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21918         Likewise.
21919         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
21921 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21923         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
21924         GCC 5 requirement.
21926 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21928         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
21929         test.
21930         * sysdeps/i386/configure: Regenerated.
21931         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
21932         code unconditional.
21934         * configure.ac (libc_cv_asm_previous_directive): Remove configure
21935         test.
21936         (libc_cv_asm_popsection_directive): Likewise.
21937         * configure: Regenerated.
21938         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
21939         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
21940         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
21941         (__make_section_unallocated): Make definition unconditional.
21942         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
21943         Remove conditional definition.
21944         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
21945         (__make_section_unallocated): Likewise.
21947         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
21948         * configure: Regenerated.
21949         * config.make.in (static-libgcc): Remove variable.
21950         * Makerules (build-shlib-helper): Use -static-libgcc instead of
21951         $(static-libgcc).
21952         (build-module-helper): Likewise.
21954         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
21955         * configure: Regenerated.
21957 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21959         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
21960         (struct char_buffer): New type.
21961         (char_buffer_start, char_buffer_size, char_buffer_error)
21962         (char_buffer_rewind, char_buffer_add): New functions.
21963         (ADDW): Remove macro, replaced by the char_buffer_add function.
21964         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
21965         of extend_alloca.  Make control flow more explicit.
21967 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21969         [BZ #19137]
21970         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21971         Add -fomit-frame-pointer.
21972         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
21974 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21976         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
21977         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
21978         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
21979         only if !__GNUC_PREREQ (5,0).
21980         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
21981         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
21982         (INTERNAL_SYSCALL_NCS): Likewise.
21983         (LOADREGS_0): New macro for GCC 5.
21984         (ASMARGS_0): Likewise.
21985         (LOADREGS_1): Likewise.
21986         (ASMARGS_1): Likewise.
21987         (LOADREGS_2): Likewise.
21988         (ASMARGS_2): Likewise.
21989         (LOADREGS_3): Likewise.
21990         (ASMARGS_3): Likewise.
21991         (LOADREGS_4): Likewise.
21992         (ASMARGS_4): Likewise.
21993         (LOADREGS_5): Likewise.
21994         (ASMARGS_5): Likewise.
21995         (LOADREGS_6): Likewise.
21996         (ASMARGS_6): Likewise.
21998 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22000         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
22001         -fomit-frame-pointer.
22002         (CFLAGS-mmap64.c): Likewise.
22003         (CFLAGS-semtimedop.c): Likewise.
22004         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
22005         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
22006         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22007         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22009 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22011         [BZ #18928]
22012         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
22013         _dl_pointer_guard member.
22014         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
22015         initializer.
22016         (security_init): Always set up pointer guard.
22017         (process_envvars): Do not process LD_POINTER_GUARD.
22019 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
22021         [BZ #19134]
22022         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
22023         (.LC2): Likewise.
22024         (.LC3): Likewise.
22025         (__lround): Do not add 0.5 to integer or out-of-range arguments.
22027 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22029         [BZ #19129]
22030         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
22031         r0 and r1.
22033 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
22035         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
22037 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
22039         * include/stap-probe.h: Fix macro definition formatting.
22041 2015-10-14  Florian Weimer  <fweimer@redhat.com>
22043         [BZ #19074]
22044         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
22045         load and store num_ifs.
22047 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22049         [BZ #18822]
22050         * sysdeps/unix/sysv/linux/sched_getaffinity.c
22051         (__sched_getaffinity_new): Add libc_hidden_proto and
22052         libc_hidden_def.
22054 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22056         [BZ #19007]
22057         * scripts/localplt.awk: Also allow GOT references.
22058         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
22059         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
22060         with "+ REL R_386_GLOB_DAT".
22061         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
22062         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
22064 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22066         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
22067         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22068         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
22069         Likewise.
22070         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22071         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
22072         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22073         INTERNAL_SYSCALLINTERNAL_SYSCALL and
22074         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22075         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22076         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22077         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22078         Likewise.
22079         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22081 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22083         [BZ #19125]
22084         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
22085         <math_private.h> and <stdint.h>.
22086         (__llround): Avoid conversions to and from long long int, and
22087         subtractions, where those might raise spurious exceptions.
22088         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22089         <math_private.h> and <stdint.h>.
22090         (__llroundf): Avoid conversions to and from long long int, and
22091         subtractions, where those might raise spurious exceptions.
22093 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22095         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
22096         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22097         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22098         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
22099         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22100         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22101         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
22102         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
22103         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
22104         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22105         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22106         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22107         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
22108         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22109         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22110         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
22111         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
22112         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22113         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
22114         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
22115         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22116         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
22117         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
22118         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22119         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
22120         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22121         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
22122         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22123         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22124         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
22125         (__xstat64_conv): Likewise.
22126         (__xstat32_conv): Likewise.
22128 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22130         * sysdeps/unix/sysv/linux/sysdep.h: New file.
22131         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
22132         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
22133         <sysdeps/unix/sysv/linux/sysdep.h>.
22134         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22135         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
22136         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
22137         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22138         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22139         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
22140         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
22141         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22142         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22145         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22146         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22147         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22148         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22149         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22150         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
22151         (sysdep-dl-routines): Add sysdep.
22152         [$(subdir) == nptl] (libpthread-routines): Likewise.
22153         [$(subdir) == rt] (librt-routines): Likewise.
22154         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
22155         PIC when branching to SYSCALL_ERROR_LABEL.
22156         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
22157         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
22158         <sysdeps/unix/sysv/linux/sysdep.h>.
22159         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
22160         (SYSCALL_ERROR_ERRNO): Removed.
22161         (SYSCALL_ERROR_HANDLER): Changed to empty.
22162         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
22163         (__syscall_error): New prototype.
22164         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
22165         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
22167 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22169         [BZ #19124]
22170         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
22171         (_dl_runtime_resolve_avx512): Make it a hidden alias of
22172         _dl_runtime_resolve_avx.
22173         (_dl_runtime_profile_avx512): Make it a hidden alias of
22174         _dl_runtime_profile_avx.
22176 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22178         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
22179         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
22180         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
22181         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
22183         [BZ #16422]
22184         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
22185         New configure test.
22186         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
22187         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
22188         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
22189         <math_private.h> and <stdint.h>.
22190         (__llrint): Avoid conversions to long long int where those might
22191         raise spurious exceptions.
22192         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22193         <math_private.h> and <stdint.h>.
22194         (__llrintf): Avoid conversions to long long int where those might
22195         raise spurious exceptions.
22197 2015-10-12  Andreas Schwab  <schwab@suse.de>
22199         [BZ #18969]
22200         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
22201         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
22202         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
22203         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
22204         $(gen-locales).
22205         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
22206         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
22207         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
22208         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
22209         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
22210         $(gen-locales).
22211         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
22212         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
22213         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
22214         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
22215         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
22216         ($(objpfx)tst-ftell-active-handler.out)
22217         ($(objpfx)tst-ftell-append.out)
22218         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
22219         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
22220         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
22221         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
22222         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
22223         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
22224         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
22225         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
22226         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
22227         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
22228         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
22229         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
22230         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
22231         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
22232         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
22233         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
22234         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
22235         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
22236         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
22237         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
22238         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
22239         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
22240         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
22241         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
22242         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
22243         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
22244         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
22245         $(gen-locales).
22246         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
22247         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
22248         $(gen-locales).
22249         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
22250         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
22251         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
22252         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
22253         $(gen-locales).
22254         * libio/tst_wprintf2.c (main): Use explicit locale.
22255         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
22257 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22259         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
22260         __msg_sig_post.
22261         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
22263 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22265         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22266         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22268         * sysdeps/arm/libm-test-ulps: Regenerated.
22270         [BZ #15470]
22271         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
22273         [BZ #16399]
22274         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
22275         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
22276         and <fix-fp-int-convert-overflow.h>.
22277         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22278         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22279         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
22280         and <fix-fp-int-convert-overflow.h>.
22281         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
22282         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22283         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
22284         <fix-fp-int-convert-overflow.h>.
22285         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22286         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22287         * sysdeps/ieee754/dbl-64/s_lround.c: Include
22288         <fix-fp-int-convert-overflow.h>.
22289         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
22290         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22291         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
22292         and <fix-fp-int-convert-overflow.h>.
22293         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22294         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22295         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
22296         <limits.h> and <fix-fp-int-convert-overflow.h>.
22297         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22298         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22299         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
22300         and <fix-fp-int-convert-overflow.h>.
22301         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22302         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22303         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
22304         and <fix-fp-int-convert-overflow.h>.
22305         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22306         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22307         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
22309 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
22311         [BZ #18589]
22312         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
22313         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
22314         $(gen-locales).
22316 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22317             Phil Blundell <pb@pbcl.net>
22319         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
22320         * nptl/tst-cancel26.c: New file.
22321         * nptl/tst-cancel27.c: Likewise.
22323 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
22325         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
22326         __ILP32__ isn't defined.
22327         (lrint): Likewise.
22328         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
22329         (lrintf): Likewise.
22330         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
22331         (lrintl): Likewise.
22332         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
22333         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
22334         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
22336 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22338         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22339         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22341         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
22342         file.
22343         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
22344         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22346 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22348         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
22349         configure test.
22350         * sysdeps/i386/configure: Regenerated.
22351         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
22352         configure test.
22353         * sysdeps/x86_64/configure: Regenerated.
22354         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
22355         Make code unconditional.
22357         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
22358         test.
22359         * sysdeps/i386/configure: Regenerated.
22360         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
22361         test.
22362         * sysdeps/x86_64/configure: Regenerated.
22363         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
22364         Make code unconditional.
22365         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22366         Likewise.
22367         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
22368         Likewise.
22369         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22370         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
22371         code unconditional.
22372         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22373         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
22374         code unconditional.
22375         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22376         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
22377         code unconditional.
22378         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
22379         code unconditional.
22380         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22381         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
22382         code unconditional.
22383         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22384         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
22385         code unconditional.
22386         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22387         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
22388         code unconditional.
22389         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22390         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
22391         code unconditional.
22392         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22393         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
22395         [BZ #19095]
22396         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
22397         mantissa to long int before shifting left.
22399 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22401         [BZ #19094]
22402         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
22403         <limits.h>.
22404         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22405         when result overflows but exception would not result from cast.
22406         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
22407         <limits.h>.
22408         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22409         when result overflows but exception would not result from cast.
22410         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
22411         <limits.h>.
22412         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22413         when result overflows but exception would not result from cast.
22414         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
22415         <limits.h>.
22416         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22417         when result overflows but exception would not result from cast.
22418         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
22419         <limits.h>.
22420         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22421         when result overflows but exception would not result from cast.
22422         * math/libm-test.inc (lrint_test_data): Add more tests.
22423         (llrint_test_data): Likewise.
22425 2015-10-08  Roland McGrath  <roland@hack.frob.com>
22427         [BZ #18872]
22428         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
22429         Move out from under [$(run-built-tests) = yes] conditional.
22430         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
22431         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
22433 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
22435         [BZ #18589]
22436         * string/Makefile (tests): Add bug-strcoll2.
22437         (LOCALES): Add cs_CZ.UTF-8.
22438         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
22440         [BZ #18589]
22441         * string/bug-strcoll2.c: New file.
22442         * locale/categories.def: Revert commit
22443         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
22444         * locale/langinfo.h: Likewise.
22445         * locale/localeinfo.h: Likewise.
22446         * locale/C-collate.c: Likewise.
22447         * locale/programs/ld-collate.c (collate_output): Likewise.
22448         * string/strcoll_l.c (STRDIFF): Likewise.
22449         (STRCOLL): Likewise.
22450         * wcsmbs/wcscoll_l.c: Likewise.
22452 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22454         * math/libm-test.inc (lround_test_data): Do not expect the absence
22455         of "inexact" for some tests with non-integer arguments.
22456         (llround_test_data): Likewise.
22458         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
22459         test.
22460         (libc_cv_cc_sse2avx): Likewise.
22461         * sysdeps/i386/configure: Regenerated.
22462         * sysdeps/i386/i686/multiarch/Makefile
22463         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
22464         [$(subdir) = math].
22465         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
22466         code unconditional.
22467         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22468         Likewise.
22469         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
22470         Likewise.
22471         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22472         Likewise.
22473         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
22474         test.
22475         (libc_cv_cc_sse2avx): Likewise.
22476         * sysdeps/x86_64/configure: Regenerated.
22477         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
22478         unconditional.
22479         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
22480         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
22481         unconditional.
22482         (_dl_runtime_profile)
22483         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
22484         conditional code.
22485         * sysdeps/x86_64/fpu/multiarch/Makefile
22486         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
22487         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22488         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22489         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22490         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22491         * sysdeps/x86_64/fpu/multiarch/e_log.c
22492         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22493         * sysdeps/x86_64/fpu/multiarch/s_atan.c
22494         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22495         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22496         Likewise.
22497         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22498         Likewise.
22499         * sysdeps/x86_64/fpu/multiarch/s_sin.c
22500         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22501         * sysdeps/x86_64/fpu/multiarch/s_tan.c
22502         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22503         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
22504         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
22505         (HAVE_SSE2AVX_SUPPORT): Likewise.
22507 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
22509         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
22510         instead of #pragma optimize.
22512 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22514         [BZ #17195]
22515         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
22516         as is similarly done in systrim and _int_free already.
22518 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22520         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
22522 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22524         [BZ #19088]
22525         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
22526         <limits.h>.
22527         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22528         overflows but exception would not result from cast.
22529         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
22530         and <limits.h>.
22531         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22532         overflows but exception would not result from cast.
22533         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
22534         <limits.h>.
22535         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22536         overflows but exception would not result from cast.
22537         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
22538         <limits.h>.
22539         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22540         overflows but exception would not result from cast.
22541         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
22542         <limits.h>.
22543         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22544         overflows but exception would not result from cast.
22545         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
22546         <limits.h>.
22547         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22548         overflows but exception would not result from cast.
22549         * math/libm-test.inc (lround_test_data): Add more tests.
22550         (llround_test_data): Likewise.
22552 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
22554         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
22555         (CFLAGS-ialloc.c): Ditto.
22556         (CFLAGS-scheck.c): Ditto.
22558 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22560         [BZ #19086]
22561         * manual/filesys.texi (Storage Allocation): Fix argument order for
22562         posix_fallocate64.
22564 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22566         [BZ #19085]
22567         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
22568         exponent below 48 inside case for non-overflowing exponent.
22569         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
22571 2015-10-07  Florian Weimer  <fweimer@redhat.com>
22573         * iconvdata/cp737.h (from_idx): Add const.
22574         * iconvdata/cp775.h (from_idx): Likewise.
22576 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22578         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
22579         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
22580         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
22582         [BZ #19079]
22583         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
22584         file, conditioned on [!_LP64].
22585         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
22586         [!_LP64] (__lround): Do not define as function or alias.
22587         [!_LP64] (lround): Likewise.
22588         [!_LP64] (__lroundl): Likewise.
22589         [!_LP64] (lroundl): Likewise.
22590         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
22591         macro.
22592         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22593         Likewise.
22595 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22597         * math/libm-test.inc (lrint_test_data): Add more tests.
22598         (llrint_test_data): Likewise.
22599         (lround_test_data): Likewise.
22600         (llround_test_data): Likewise.
22602         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
22603         (llrint_test_data): Add tests used for lrint.
22605         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
22606         test.
22607         * sysdeps/i386/configure: Regenerated.
22608         * sysdeps/i386/i686/multiarch/Makefile
22609         [$(config-cflags-sse4) = yes]: Make code unconditional.
22610         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22611         Likewise.
22612         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
22613         Likewise.
22614         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
22615         test.
22616         * sysdeps/x86_64/configure: Regenerated.
22617         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
22618         Make code unconditional.
22619         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22620         Likewise.
22621         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
22622         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
22624         * scripts/rpm2dynsym.sh: Remove file.
22626 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22628         * configure.ac (libc_cv_cxx_thread_local): Define.
22629         * configure: Regenerate.
22630         * config.make.in (have-cxx-thread_local): Define.
22631         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
22632         (LDLIBS-tst-thread_local1): Define.
22633         (tests): Add tst-thread_local1.
22634         [have-cxx-thread_local != yes] (tests-unsupported): Add
22635         tst-thread_local1.
22636         * nptl/tst-thread_local1.cc: New file.
22638 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22640         [BZ #19078]
22641         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
22642         (u_thres): Likewise.
22643         (__expl): Determine whether to call __kernel_standard_l based on
22644         value of result, not argument.
22646         * math/libm-test.inc (scalb_test_data): Add more expectations for
22647         the "inexact" exception.
22649         [BZ #19077]
22650         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
22651         0.0L for argument 1.0L.
22653         [BZ #19076]
22654         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
22655         constant 0.0L when computing infinite result.
22657 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22659         [BZ #10432]
22660         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
22661         malloc_usable_size.
22663 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22665         [BZ #19018]
22666         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22667         Mangle function pointer before storing it.
22668         (__call_tls_dtors): Demangle function pointer before calling it.
22670 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22672         [BZ #19012]
22673         * iconv/gconv_db.c (gen_steps): Check for additional errors.
22674         Clean up on failure.
22676 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
22678         [BZ #19071]
22679         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
22680         long int variable to store possibly incremented high part of
22681         mantissa.
22682         * math/libm-test.inc (lround_test_data): Add tests used for
22683         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
22684         for tests requiring 64-bit long.  Do not condition tests on
22685         [TEST_FLOAT] unnecessarily.
22686         (llround_test_data): Add tests used for lround.  Add another
22687         expectation for the "inexact" exception.  Do not condition tests
22688         on [TEST_FLOAT] unnecessarily.
22690         [BZ #887]
22691         [BZ #19049]
22692         [BZ #19050]
22693         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
22694         * sysdeps/ieee754/dbl-64/e_log10.c: Include
22695         <fix-int-fp-convert-zero.h>.
22696         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22697         * sysdeps/ieee754/dbl-64/e_log2.c: Include
22698         <fix-int-fp-convert-zero.h>.
22699         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22700         * sysdeps/ieee754/dbl-64/s_erf.c: Include
22701         <fix-int-fp-convert-zero.h>.
22702         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22703         * sysdeps/ieee754/dbl-64/s_logb.c: Include
22704         <fix-int-fp-convert-zero.h>.
22705         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22706         * sysdeps/ieee754/flt-32/e_log10f.c: Include
22707         <fix-int-fp-convert-zero.h>.
22708         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22709         * sysdeps/ieee754/flt-32/e_log2f.c: Include
22710         <fix-int-fp-convert-zero.h>.
22711         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22712         * sysdeps/ieee754/flt-32/s_erff.c: Include
22713         <fix-int-fp-convert-zero.h>.
22714         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22715         * sysdeps/ieee754/flt-32/s_logbf.c: Include
22716         <fix-int-fp-convert-zero.h>.
22717         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22718         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
22719         <fix-int-fp-convert-zero.h>.
22720         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22721         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
22722         <fix-int-fp-convert-zero.h>.
22723         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22724         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
22725         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
22726         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
22727         file.
22728         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
22730 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22732         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22734 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
22736         [BZ #19059]
22737         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
22738         overflowing computation.
22739         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22740         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22741         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22742         Likewise.
22743         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22744         Likewise.
22745         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22746         Likewise.
22747         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22748         Likewise.
22749         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22750         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22751         Likewise.
22752         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22753         Likewise.
22754         * math/libm-test.inc (nexttoward_test_data): Add more tests.
22756         * nss/rewrite_field.c (__nss_rewrite_field): Use
22757         internal_function.
22758         * nss/valid_field.c (__nss_valid_field): Likewise.
22759         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
22761 2015-10-02  Florian Weimer  <fweimer@redhat.com>
22763         [BZ #18724]
22764         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
22765         (__nss_invalid_field_characters, __nss_valid_field)
22766         (__nss_valid_list_field, __nss_rewrite_field): Declare.
22767         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
22768         tst-field.c: New file.
22769         * nss/Makefile (routines): Add valid_field, rewrite_field.
22770         (tests-static): Define unconditionally.
22771         (tests): Include tests-static.
22772         [build-static-nss] (tests-static): Use append.
22773         [build-static-nss] (tests): Remove modification.
22774         * nss/getent.c (print_group): Call putgrent.  Report error.
22775         (print_gshadow): Call putsgent.  Report error.
22776         (print_passwd): Call putpwent.  Report error.
22777         (print_shadow): Call putspent.  Report error.
22778         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
22779         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
22780         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
22781         name, password, directory, shell fields for valid syntax.  Rewrite
22782         GECOS field to match syntax.
22783         * pwd/Makefile (tests): Add tst-putpwent.
22784         * pwd/tst-putpwent.c: New file.
22785         * grp/putgrent.c (putgrent): Convert to ISO function definition.
22786         Check grName, grpasswd, gr_mem fields for valid syntax.
22787         Change loop variable i to size_t.
22788         * grp/Makefile (tests): Add tst-putgrent.
22789         * grp/tst-putgrent.c: New file.
22790         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
22791         valid syntax.
22792         * shadow/Makefile (tests): Add tst-putspent.
22793         * shadow/tst-putspent.c: New file.
22794         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
22795         sg_mem fields for valid syntax.
22796         * gshadow/Makefile (tests): Add tst-putsgent.
22797         * gshadow/tst-putsgent.c: New file.
22799 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22801         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
22802         assembly instructions.
22804 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22806         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
22807         prefix from operands.
22809 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
22811         [BZ #16347]
22812         [BZ #19046]
22813         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
22814         <libc-internal.h>.
22815         (MAXLGM): Do not use diagnostic control macros.
22816         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
22817         threshold for ldbl-128ibm.
22818         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
22819         instead of multiplying by log then subtracting.
22820         * math/auto-libm-test-in: Add more tests of lgamma.
22821         * math/auto-libm-test-out: Regenerated.
22823         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
22824         (TYPE_HEX_DIG): Likewise.
22825         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
22826         precisions when printing floating-point numbers.
22827         (check_float_internal): Likewise.
22829 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22831         [BZ #16620]
22832         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
22833         of log (10) rounded downward to 48 bits.
22834         (log10_low): Use corresponding low part of log (10).
22836         [BZ #19032]
22837         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
22838         compute result as (x - x) / (x - x) not as 0 / 0.
22839         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22840         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
22842         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22843         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
22844         and expm1.
22845         * math/auto-libm-test-out: Regenerated.
22846         * math/libm-test.inc (acos_test_data): Add more tests.
22847         (asin_test_data): Likewise.
22848         (asinh_test_data): Likewise.
22849         (atan_test_data): Likewise.
22850         (atanh_test_data): Likewise.
22851         (atan2_test_data): Likewise.
22852         (cbrt_test_data): Likewise.
22853         (ceil_test_data): Likewise.
22854         (copysign_test_data): Likewise.
22855         (cos_test_data): Likewise.
22856         (cosh_test_data): Likewise.
22857         (erf_test_data): Likewise.
22858         (erfc_test_data): Likewise.
22859         (exp_test_data): Likewise.
22860         (exp10_test_data): Likewise.
22861         (exp2_test_data): Likewise.
22862         (expm1_test_data): Likewise.
22863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22865 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
22867         [BZ #19006]
22868         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
22869         to ...
22870         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
22871         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
22872         to ...
22873         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
22874         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
22875         to ...
22876         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
22877         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
22878         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
22879         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
22880         to ...
22881         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
22882         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22883         Moved to ...
22884         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
22885         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22886         Moved to ...
22887         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
22888         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
22889         to ...
22890         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
22891         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22892         Moved to ...
22893         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
22894         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
22895         to ...
22896         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
22897         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
22898         Removed.
22899         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
22900         Likewise.
22901         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
22902         Likewise.
22903         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
22904         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
22905         Likewise.
22906         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22907         Likewise.
22908         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22909         Likewise.
22910         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22911         Likewise.
22912         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22913         Likewise.
22914         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
22915         Likewise.
22916         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
22917         Likewise.
22918         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
22919         Likewise.
22920         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
22921         Likewise.
22922         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
22923         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
22924         Likewise.
22925         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22926         Likewise.
22927         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22928         Likewise.
22929         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22930         Likewise.
22931         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
22932         Likewise.
22933         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22934         Replace ../i486/pthread_cond_timedwait.S with
22935         ../pthread_cond_timedwait.S.
22937 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22939         * math/libm-test.inc (acos_test_data): Refine expectations for
22940         errno and "inexact" exceptions.
22941         (acosh_test_data): Likewise.
22942         (asin_test_data): Likewise.
22943         (asinh_test_data): Likewise.
22944         (atan_test_data): Likewise.
22945         (atanh_test_data): Likewise.
22946         (atan2_test_data): Likewise.
22947         (cbrt_test_data): Likewise.
22948         (ceil_test_data): Likewise.
22949         (copysign_test_data): Likewise.
22950         (cosh_test_data): Likewise.
22951         (erf_test_data): Likewise.
22952         (erfc_test_data): Likewise.
22953         (exp_test_data): Likewise.
22954         (exp10_test_data): Likewise.
22955         (exp2_test_data): Likewise.
22956         (expm1_test_data): Likewise.
22957         (fabs_test_data): Likewise.
22958         (floor_test_data): Likewise.
22959         (fma_test_data): Likewise.
22960         (fmax_test_data): Likewise.
22961         (fmin_test_data): Likewise.
22962         (fmod_test_data): Likewise.
22963         (fpclassify_test_data): Likewise.
22964         (frexp_test_data): Likewise.
22965         (hypot_test_data): Likewise.
22966         (ilogb_test_data): Likewise.
22967         (isgreater_test_data): Likewise.
22968         (isgreaterequal_test_data): Likewise.
22969         (isinf_test_data): Likewise.
22970         (isless_test_data): Likewise.
22971         (islessequal_test_data): Likewise.
22972         (islessgreater_test_data): Likewise.
22973         (isnan_test_data): Likewise.
22974         (isnormal_test_data): Likewise.
22975         (issignaling_test_data): Likewise.
22976         (isunordered_test_data): Likewise.
22977         (j0_test_data): Likewise.
22978         (j1_test_data): Likewise.
22979         (jn_test_data): Likewise.
22980         (lgamma_test_data): Likewise.
22981         (lrint_test_data): Likewise.
22982         (llrint_test_data): Likewise.
22983         (log_test_data): Likewise.
22984         (log10_test_data): Likewise.
22985         (log1p_test_data): Likewise.
22986         (log2_test_data): Likewise.
22987         (logb_test_data): Likewise.
22988         (lround_test_data): Likewise.
22989         (llround_test_data): Likewise.
22990         (modf_test_data): Likewise.
22991         (nearbyint_test_data): Likewise.
22992         (nextafter_test_data): Likewise.
22993         (nexttoward_test_data): Likewise.
22994         (pow_test_data): Likewise.
22995         (remainder_test_data): Likewise.
22996         (remquo_test_data): Likewise.
22997         (rint_test_data): Likewise.
22998         (round_test_data): Likewise.
22999         (signbit_test_data): Likewise.
23000         (sinh_test_data): Likewise.
23001         (sqrt_test_data): Likewise.
23002         (tanh_test_data): Likewise.
23003         (tgamma_test_data): Likewise.
23004         (trunc_test_data): Likewise.
23005         (y0_test_data): Likewise.
23006         (y1_test_data): Likewise.
23007         (yn_test_data): Likewise.
23008         (significand_test_data): Likewise.
23010 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
23012         * manual/filesys.texi (Storage Allocation): Document that
23013         posix_fallocate emulation fails when fd is open with O_WRONLY.
23015 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
23017         [BZ #19016]
23018         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
23019         allow more cases with X^2 + Y^2 >= 0.5.
23020         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
23021         normal element in sum instead of special-casing based on values of
23022         arguments.
23023         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
23024         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
23025         -1 as normal element in sum instead of special-casing based on
23026         values of arguments.
23027         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
23028         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
23029         (__x2y2m1): Update comment.
23030         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
23031         as normal element in sum instead of special-casing based on values
23032         of arguments.
23033         * math/s_clog.c (__clog): Handle more cases using log1p without
23034         hypot.
23035         * math/s_clog10.c (__clog10): Likewise.
23036         * math/s_clog10f.c (__clog10f): Likewise.
23037         * math/s_clog10l.c (__clog10l): Likewise.
23038         * math/s_clogf.c (__clogf): Likewise.
23039         * math/s_clogl.c (__clogl): Likewise.
23040         * math/auto-libm-test-in: Add more tests of clog and clog10.
23041         * math/auto-libm-test-out: Regenerated.
23042         * sysdeps/i386/fpu/libm-test-ulps: Update.
23043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23045 2015-09-28  Martin Sebor  <msebor@redhat.com>
23047         [BZ #18969]
23048         * string/Makefile (LOCALES): Define.
23049         (gen-locales.mk): Include.
23050         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
23051         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
23052         * string/tst-strxfrm2.c (do_test): Print the name of the locale
23053         on setlocale failure.
23055 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
23057         [BZ #18985]
23058         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
23059         (__strftime_internal): Likewise.
23060         * time/tst-strftime.c (do_bz18985): New test.
23061         (do_test): Call it.
23063 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
23065         [BZ #18956]
23066         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
23067         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
23068         extracting high part.
23069         * math/auto-libm-test-in: Add another test of pow.
23070         * math/auto-libm-test-out: Regenerated.
23071         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23073 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23075         [BZ #18825]
23076         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
23077         New macro.
23078         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
23079         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23080         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
23081         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
23082         DBL_NARROW_EVAL, reloading the PIC register as needed.
23083         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
23084         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
23085         FLT_NARROW_EVAL.  Use separate return path for case when first
23086         argument is NaN.
23087         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
23088         DEFINE_LDBL_MIN.
23089         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
23090         PIC register.
23091         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
23092         math_check_force_underflow_nonneg.
23093         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
23094         underflow for subnormal result.
23095         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
23096         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
23097         math_check_force_underflow_nonneg.
23098         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
23099         math_check_force_underflow.
23100         * sysdeps/x86_64/fpu/x86_64-math-asm.h
23101         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
23102         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
23103         DEFINE_LDBL_MIN.
23104         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
23105         * math/auto-libm-test-in: Add more tests of pow.
23106         * math/auto-libm-test-out: Regenerated.
23108 2015-09-25  Florian Weimer  <fweimer@redhat.com>
23110         * nss/bug17079.c (init_test_items): Add diagnostic for
23111         inconsistent entries.
23112         (test_buffer_size): Skip inconsistent entries.
23114 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23116         [BZ #13304]
23117         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
23118         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23119         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
23121         [BZ #13304]
23122         * sysdeps/microblaze/s_fma.c: New file.
23123         * sysdeps/microblaze/s_fmaf.c: Likewise.
23124         * sysdeps/microblaze/sfp-machine.h: Likewise.
23126 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
23128         [BZ #17250]
23129         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
23130         member.
23132 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23134         [BZ #18803]
23135         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
23136         (MO): New macro.
23137         (__ieee754_hypot) [PIC]: Load PIC register.
23138         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
23139         DBL_NARROW_EVAL.
23140         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
23141         math_check_force_underflow_nonneg in case where result might be
23142         tiny.
23143         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23144         Likewise.
23145         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23146         Likewise.
23147         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
23148         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
23149         * math/auto-libm-test-in: Add more tests of hypot.
23150         * math/auto-libm-test-out: Regenerated.
23152 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
23154         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
23156 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23158         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
23159         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
23160         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23161         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23162         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
23163         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23164         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23166         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
23167         LOAD_PIC_REG.
23169         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
23170         (FLT_CHECK_FORCE_UFLOW): Likewise.
23171         (DBL_CHECK_FORCE_UFLOW): Likewise.
23172         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
23173         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
23174         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
23175         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23176         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23177         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23178         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23179         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23180         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
23181         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23182         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
23183         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
23184         (flt_min): Replace with use of DEFINE_FLT_MIN.
23185         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
23186         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
23187         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23188         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
23189         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
23190         (flt_min): Replace with use of DEFINE_FLT_MIN.
23191         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
23192         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
23193         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23194         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
23195         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
23196         (flt_min): Replace with use of DEFINE_FLT_MIN.
23197         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
23198         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
23199         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23200         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23201         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
23202         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23203         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23204         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
23205         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23206         (__atan): Use DBL_CHECK_FORCE_UFLOW.
23207         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
23208         (flt_min): Replace with use of DEFINE_FLT_MIN.
23209         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
23210         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
23211         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23212         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
23213         main computation.
23214         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
23215         (flt_min): Replace with use of DEFINE_FLT_MIN.
23216         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
23217         main computation.
23218         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
23219         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23220         (MO): New macro.
23221         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
23222         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
23223         (flt_min): Replace with use of DEFINE_FLT_MIN.
23224         (MO): New macro.
23225         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
23226         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
23227         (__log1pl): Use MO.
23229         [BZ #19003]
23230         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
23231         $(config-cflags-nofma).
23233 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23235         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23237 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
23239         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
23240         (TWO127): Likewise.
23242         * sysdeps/generic/math_private.h (fabs_tg): New macro.
23243         (min_of_type): Likewise.
23244         (math_check_force_underflow): Likewise.
23245         (math_check_force_underflow_nonneg): Likewise.
23246         (math_check_force_underflow_complex): Likewise.
23247         * math/e_exp2l.c (__ieee754_exp2l): Use
23248         math_check_force_underflow_nonneg.
23249         * math/k_casinh.c (__kernel_casinh): Likewise.
23250         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23251         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23252         * math/s_catan.c (__catan): Use
23253         math_check_force_underflow_complex.
23254         * math/s_catanf.c (__catanf): Likewise.
23255         * math/s_catanh.c (__catanh): Likewise.
23256         * math/s_catanhf.c (__catanhf): Likewise.
23257         * math/s_catanhl.c (__catanhl): Likewise.
23258         * math/s_catanl.c (__catanl): Likewise.
23259         * math/s_ccosh.c (__ccosh): Likewise.
23260         * math/s_ccoshf.c (__ccoshf): Likewise.
23261         * math/s_ccoshl.c (__ccoshl): Likewise.
23262         * math/s_cexp.c (__cexp): Likewise.
23263         * math/s_cexpf.c (__cexpf): Likewise.
23264         * math/s_cexpl.c (__cexpl): Likewise.
23265         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
23266         * math/s_clog10.c (__clog10): Likewise.
23267         * math/s_clog10f.c (__clog10f): Likewise.
23268         * math/s_clog10l.c (__clog10l): Likewise.
23269         * math/s_clogf.c (__clogf): Likewise.
23270         * math/s_clogl.c (__clogl): Likewise.
23271         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
23272         * math/s_csinf.c (__csinf): Likewise.
23273         * math/s_csinh.c (__csinh): Likewise.
23274         * math/s_csinhf.c (__csinhf): Likewise.
23275         * math/s_csinhl.c (__csinhl): Likewise.
23276         * math/s_csinl.c (__csinl): Likewise.
23277         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
23278         * math/s_csqrtf.c (__csqrtf): Likewise.
23279         * math/s_csqrtl.c (__csqrtl): Likewise.
23280         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
23281         * math/s_ctanf.c (__ctanf): Likewise.
23282         * math/s_ctanh.c (__ctanh): Likewise.
23283         * math/s_ctanhf.c (__ctanhf): Likewise.
23284         * math/s_ctanhl.c (__ctanhl): Likewise.
23285         * math/s_ctanl.c (__ctanl): Likewise.
23286         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
23287         instead of volatile.
23288         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
23289         math_check_force_underflow.
23290         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23291         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
23292         volatile when forcing underflow.
23293         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23294         math_check_force_underflow_nonneg.
23295         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
23296         Likewise.
23297         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
23298         math_check_force_underflow.
23299         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23300         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23301         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23302         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
23303         math_check_force_underflow_nonneg.
23304         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
23305         math_check_force_underflow.
23306         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
23307         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
23308         instead of volatile.
23309         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
23310         math_check_force_underflow.
23311         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23312         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23313         math_check_force_underflow_nonneg.
23314         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
23315         math_check_force_underflow.
23316         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
23317         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23318         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
23319         math_check_force_underflow_nonneg.
23320         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23321         Likewise.
23322         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
23323         math_check_force_underflow.
23324         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23325         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23326         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
23327         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
23328         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
23329         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
23330         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
23331         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
23332         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23333         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
23334         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
23335         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
23336         Likewise.
23337         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
23338         math_check_force_underflow_nonneg.
23339         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23340         Likewise.
23341         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
23342         math_check_force_underflow.
23343         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23344         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
23345         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23346         Likewise.
23347         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
23348         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
23349         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
23350         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
23351         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
23352         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
23353         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
23354         instead of volatile.
23355         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
23356         math_check_force_underflow.
23357         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
23358         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
23359         math_check_force_underflow.
23360         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
23361         Likewise.
23362         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23363         Use math_check_force_underflow_nonneg.
23364         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
23365         math_check_force_underflow.
23366         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23367         Likewise.
23368         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23369         Likewise.
23370         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23371         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23372         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23373         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23374         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
23375         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23376         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
23377         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
23378         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
23379         math_check_force_underflow_nonneg.
23380         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
23381         math_check_force_underflow.
23382         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23383         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
23384         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
23385         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
23386         math_check_force_underflow_nonneg.
23387         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
23388         math_check_force_underflow.
23389         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
23390         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
23391         instead of volatile.
23392         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
23393         math_check_force_underflow.
23395         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
23396         * stdlib/strtod_l.c: Include <math_private.h>.
23397         (overflow_value): Use math_narrow_eval.
23398         (underflow_value): Likewise.
23399         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23400         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23401         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
23402         (__ieee754_gamma_r): Likewise.
23403         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
23404         Likewise.
23405         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
23406         Likewise.
23407         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
23408         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
23409         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
23410         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
23411         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
23412         (__ieee754_gammaf_r): Likewise.
23413         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23414         Likewise.
23415         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
23416         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
23417         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
23418         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
23419         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
23420         volatile.
23421         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
23422         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
23423         math_narrow_eval.
23424         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23425         Likewise.
23426         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23427         Likewise.
23428         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
23429         Likewise.
23430         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
23431         volatile.
23432         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
23433         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
23434         math_narrow_eval.
23435         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23436         Likewise.
23437         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23438         Likewise.
23440 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
23442         * nptl/Versions: Remove ignored symbols.
23444 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23446         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
23447         * nss/Makefile (tests): Update.
23449 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23451         * nss/bug18287.c: New file.
23452         * nss/Makefile (tests): Add bug18287.
23454 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23456         * mach/Versions (__mach_host_self_): Add symbol.
23458 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23460         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
23461         vm_page_size.
23463 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23465         Really fix sysdeps/i386/fpu/s_scalbn.S build
23467         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
23468         (libc: GLIBC_2_22): Remove unused version set.
23470 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23472         * config.make.in (enable-timezone-tools): New variable.
23473         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
23474         (enable_timezone_tools): Export to generated files.
23475         * configure: Regenerate.
23476         * INSTALL: Regenerate.
23477         * manual/install.texi (--disable-timezone-tools): Document new flag.
23478         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
23479         ifeq ($(enable-timezone-tools),yes) check.
23481 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23483         * timezone/Makefile: Revert previous change.
23485         [BZ #18980]
23486         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
23487         (DEFINE_DBL_MIN): Likewise.
23488         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23489         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23490         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23491         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23492         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
23493         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23494         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23495         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
23496         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
23497         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23498         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23499         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
23500         (flt_min): Replace with use of DEFINE_FLT_MIN.
23501         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23502         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
23503         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23504         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23505         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
23506         (flt_min): Replace with use of DEFINE_FLT_MIN.
23507         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23508         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
23509         (flt_min): Replace with use of DEFINE_FLT_MIN.
23510         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23511         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
23512         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
23513         (__ieee754_hypot): Use DBL_NARROW_EVAL.
23514         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
23515         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
23516         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
23517         (__ieee754_pow): Use DBL_NARROW_EVAL.
23518         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
23519         (__ieee754_powf): Use FLT_NARROW_EVAL.
23520         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
23521         (__ieee754_expf_sse2): Convert double-precision result to single
23522         precision.
23523         * sysdeps/i386/fpu/libm-test-ulps: Update.
23525 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23527         * timezone/Makefile: Ignore unused variable errors due to private.h
23528         (time_t_min) and (time_t_max).
23529         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
23530         Likewise.
23532 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23534         [BZ #18981]
23535         * sysdeps/i386/fpu/i386-math-asm.h: New file.
23536         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
23537         (__ieee754_scalb): Use DBL_NARROW_EVAL.
23538         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
23539         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
23540         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
23541         (__scalbn): Use DBL_NARROW_EVAL.
23542         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
23543         (__scalbnf): Use FLT_NARROW_EVAL.
23545 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23547         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
23548         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
23549         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
23550         * stdio-common/printf_fp.c (___printf_fp):
23551         Use signbit to get the sign. Use isinf macro to allow inlining.
23552         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
23553         * stdio-common/printf_size.c (__printf_size): Likewise.
23555 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23557         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
23559 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23561         [BZ #18980]
23562         * sysdeps/generic/math_private.h: Include <float.h>.
23563         (math_narrow_eval): New macro.
23564         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
23565         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
23566         math_narrow_eval on overflowing return value.
23567         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
23568         Likewise.
23569         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23570         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
23571         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
23572         Likewise.
23573         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23575 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23577         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
23578         * math/Makefile: Remove isinf_ns.c.
23579         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
23580         * math/multc3.c (__multc3): Likewise.
23581         * math/s_casin.c (__casin): Likewise.
23582         * math/s_casinf.c (__casinf): Likewise.
23583         * math/s_casinl.c (__casinl): Likewise.
23584         * math/s_cproj.c (__cproj): Likewise.
23585         * math/s_cprojf.c (__cprojf): Likewise.
23586         * math/s_cprojl.c (__cprofl): Likewise.
23587         * math/s_ctan.c (__ctan): Likewise.
23588         * math/s_ctanf.c (__ctanf): Likewise.
23589         * math/s_ctanh.c (__ctanh): Likewise.
23590         * math/s_ctanhf.c (__ctanhf): Likewise.
23591         * math/s_ctanhl.c (__ctanhl): Likewise.
23592         * math/s_ctanl.c (__ctanl): Likewise.
23593         * math/w_fmod.c (__fmod): Likewise.
23594         * math/w_fmodf.c (__fmodf): Likewise.
23595         * math/w_fmodl.c (_fmodl): Likewise.
23596         * math/w_remainder.c (__remainder): Likewise.
23597         * math/w_remainderf.c (__remainderf): Likewise.
23598         * math/w_remainderl.c (__remainderl): Likewise.
23599         * math/w_scalb.c (__scalb): Likewise.
23600         * math/w_scalbf.c (__scalbf): Likewise.
23601         * math/w_scalbl.c (__scalbl): Likewise.
23602         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
23603         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
23604         with isinf.
23605         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
23606         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
23607         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
23608         __isinf_nsf with isinf.
23609         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
23610         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
23611         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
23612         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
23613         with isinf.
23614         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
23615         __isinf_nsl with isinf.
23616         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
23617         with isinf.
23618         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
23619         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
23620         __isinf_nsl with isinf.
23621         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
23622         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
23623         with isinf.
23625 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23627         * resolv/base64.c (rcsid): Remove unused static.
23628         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
23629         static.  (tqpi1): Likewise.
23630         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
23631         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
23632         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
23633         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
23634         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
23635         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
23636         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
23637         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
23638         Likewise.
23640 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
23642         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
23643         <nptl/pthreadP.h>.
23644         (_longjmp_unwind): Use __libc_ptf_call.
23645         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
23647 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
23649         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
23650         * sysdeps/arm/__longjmp.S: Likewise.
23652 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23654         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
23655         Use __builtin_signbit.
23656         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
23657         Use __builtin_signbitf.
23658         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
23659         Use __builtin_signbitl.
23660         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23661         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
23663 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23665         [BZ #15367]
23666         [BZ #17441]
23668         * math/Makefile: Build test-snan.c with -fsignaling-nans.
23669         * math/math.h (fpclassify): Use __builtin_fpclassify when
23670         available.  (signbit): Use __builtin_signbit(f/l).
23671         (isfinite): Use__builtin_isfinite.  (isnormal): Use
23672         __builtin_isnormal.  (isnan): Use __builtin_isnan.
23673         (isinf): Use __builtin_isinf_sign.
23675 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23677         * benchtests/Makefile: Add bench-math-inlines, link with libm.
23678         * benchtests/bench-math-inlines.c: New benchmark.
23679         * benchtests/bench-util.h: New file.
23680         * benchtests/bench-util.c: New file.
23681         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
23683 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
23685         * elf/tst-dlmopen1.c: Define TEST_SO.
23686         (do_test): Use TEST_SO.
23688         * elf/dl-load.c: Include libc-internal.h.
23689         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
23691 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23693         [BZ #17887]
23694         * time/strptime_l.c (__strptime_internal): Make %z accept
23695         [+-]HH:MM time zones.
23697 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23699         [BZ #17886]
23700         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
23701         valid time zone.
23703 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
23705         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
23706         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
23707         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23708         (__ASSUME_FDATASYNC): Delete.
23710 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23712         * conform/linknamespace.pl: Require weak undefined symbols to be
23713         in the standard namespace.
23714         (%strong_syms): Rename to %seen_syms.
23715         (%strong_seen): Rename to %seen_where.
23717 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
23719         [BZ #18970]
23720         * misc/error.c (error): Replace pthread_setcancelstate with
23721         __pthread_setcancelstate.
23722         (error_at_line): Likewise.
23723         * posix/wordexp.c (parse_comm): Likewise.
23724         * stdlib/fmtmsg.c (fmtmsg): Likewise.
23725         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
23726         (__pthread_setcancelstate): This.
23727         (pthread_setcancelstate): Add an alias.
23728         * nptl/nptl-init.c (pthread_functions): Replace
23729         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
23730         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
23731         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
23732         hidden_proto.
23733         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
23734         it with hidden_def.
23735         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
23736         (pthread_setcancelstate): Renamed to ...
23737         (__pthread_setcancelstate): This.
23738         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
23739         __libc_ptf_call with __pthread_setcancelstate.
23741 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23742             Andreas Schwab  <schwab@suse.de>
23744         [BZ #17118]
23745         * math/s_ctan.c (__ctan): Determine sign of zero real part of
23746         result when imaginary part of argument is infinite using sine and
23747         cosine.
23748         * math/s_ctanf.c (__ctanf): Likewise.
23749         * math/s_ctanl.c (__ctanl): Likewise.
23750         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
23751         of result when real part of argument is infinite using sine and
23752         cosine.
23753         * math/s_ctanhf.c (__ctanhf): Likewise.
23754         * math/s_ctanhl.c (__ctanhl): Likewise.
23755         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
23756         (ctanh_test_data): Add more tests of ctanh.
23758 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23760         [BZ #15384]
23761         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
23762         bit-mask as in subtraction.
23763         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
23764         Likewise.
23765         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
23766         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
23767         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
23769         [BZ #18951]
23770         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
23771         underflow exception for small results.
23772         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23773         Likewise.
23774         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23775         Likewise.
23776         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23777         Likewise.
23778         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23779         Likewise.
23780         * math/auto-libm-test-in: Add more tests of tgamma.
23781         * math/auto-libm-test-out: Regenerated.
23783 2015-09-17  Andreas Schwab  <schwab@suse.de>
23785         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
23787 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23789         [BZ #18977]
23790         * math/bits/mathcalls.h
23791         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
23792         not declare.
23793         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
23794         Likewise.
23795         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
23796         Likewise.
23797         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
23798         Likewise.
23799         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
23800         Likewise.
23801         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
23802         Likewise.
23803         * conform/data/math.h-data
23804         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
23805         function.
23806         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
23807         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
23808         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
23809         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
23810         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
23811         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
23812         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
23813         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
23814         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
23815         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
23816         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
23818         [BZ #6803]
23819         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
23820         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
23821         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
23822         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
23823         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
23824         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
23825         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
23826         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
23827         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23828         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
23829         Likewise.
23830         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23831         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
23832         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
23833         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
23834         long_double_symbol calls.
23835         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
23836         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
23837         strong alias of __ldexpl.
23838         (scalbnl): Define using long_double_symbol.
23839         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
23840         Remove alias.
23841         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
23842         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
23843         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
23844         (scalbln_test_data): Add more errno expectations.
23846 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
23848         Cache the host port like we cache the task port.  This way we do not
23849         need to call the kernel just to get the port.  Furthermore, we no
23850         longer increase the reference count on every invocation of
23851         `mach_host_self'.
23853         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
23854         Protect declarations against the macro expansion.
23855         * mach/mach_init.c (__mach_host_self_): New variable.
23856         (mach_init): Initialize `__mach_host_self_'.
23857         * mach/mach_init.h (__mach_host_self_): New declaration.
23858         (__mach_host_self, mach_host_self): New macros.
23859         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
23860         Release reference.
23862 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23864         [BZ #4404]
23865         * po/de.po: Update from Translation Project.
23867         [BZ #16415]
23868         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
23869         (__expm1l): Remove code to handle positive infinity and overflow.
23870         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
23871         variable.
23872         (__expm1l): Remove code to handle positive infinity and overflow.
23874 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
23875             Paul Pluzhnikov  <ppluzhnikov@google.com>
23877         [BZ #18872]
23878         * stdio-common/Makefile (tst-printf-bz18872): New test.
23879         (tst-printf-bz18872-mem.out): Likewise.
23880         * stdio-common/tst-printf-bz18872.sh: Generate new test.
23881         * stdio-common/vfprintf.c: Fix memory leaks.
23883 2015-09-16  Andreas Schwab  <schwab@suse.de>
23885         [BZ #17244]
23886         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
23887         Remove extra va_start/va_end calls.
23889         [BZ #17243]
23890         * posix/execl.c (execl): Add missing va_end.
23891         * posix/execle.c (execle): Likewise.
23892         * posix/execlp.c (execlp): Likewise.
23894 2015-09-15  Roland McGrath  <roland@hack.frob.com>
23896         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
23897         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
23899 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
23901         [BZ #18967]
23902         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
23903         undefine around includes of <bits/mathcalls.h>.
23904         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
23905         not declare function.
23906         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
23907         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
23908         (scalb): Likewise.
23909         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
23910         not define macro.
23911         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
23912         variable.
23913         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23914         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23915         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23917         [BZ #18857]
23918         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
23919         return non-finite argument without doing ordered comparisons on
23920         it.
23922         [BZ #16296]
23923         * math/fenv.h (fegetround): Use __attribute_pure__.
23924         * include/fenv.h (__fegetround): Likewise.
23926         [BZ #18595]
23927         * math/s_ctan.c (__ctan): Force underflow exception for results
23928         whose real or imaginary part has small absolute value.
23929         * math/s_ctanf.c (__ctanf): Likewise.
23930         * math/s_ctanh.c (__ctanh): Likewise.
23931         * math/s_ctanhf.c (__ctanhf): Likewise.
23932         * math/s_ctanhl.c (__ctanhl): Likewise.
23933         * math/s_ctanl.c (__ctanl): Likewise.
23934         * math/auto-libm-test-in: Do not allow missing underflow for ctan
23935         and ctanh.  Add more tests of ctan and ctanh.
23937         [BZ #15918]
23938         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
23939         handling of cases where one argument is an infinity.
23941         [BZ #18875]
23942         [BZ #18966]
23943         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
23944         (MO): New macro.
23945         (__ieee754_exp10): For small results, force underflow exception
23946         and remove excess range and precision from return value.
23947         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
23948         (MO): New macro.
23949         (__ieee754_exp10f): For small results, force underflow exception
23950         and remove excess range and precision from return value.
23951         * math/auto-libm-test-in: Add more tests of exp10.
23952         * math/auto-libm-test-out: Regenerated.
23954 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
23956         [BZ #18875]
23957         [BZ #18961]
23958         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
23959         (MO): New macro.
23960         (__ieee754_exp): For small results, force underflow exception and
23961         remove excess range and precision from return value.
23962         (__exp_finite): Likewise.
23963         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
23964         (MO): New macro.
23965         (__ieee754_expf): For small results, force underflow exception and
23966         remove excess range and precision from return value.
23967         (__expf_finite): Likewise.
23968         * math/auto-libm-test-in: Add more tests of exp.
23969         * math/auto-libm-test-out: Regenerated.
23971         [BZ #16521]
23972         [BZ #18875]
23973         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
23974         small results.
23975         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
23976         (MO): New macro.
23977         (__ieee754_exp2): For small results, force underflow exception and
23978         remove excess range and precision from return value.
23979         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
23980         (MO): New macro.
23981         (__ieee754_exp2f): For small results, force underflow exception
23982         and remove excess range and precision from return value.
23983         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
23984         (MO): New macro.
23985         (__ieee754_exp2l): Force underflow exception for small results.
23986         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23987         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23988         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
23989         (MO): New macro.
23990         (__ieee754_exp2l): Force underflow exception for small results.
23991         * math/auto-libm-test-in: Add more tests or exp2.
23992         * math/auto-libm-test-out: Regenerated.
23994 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
23996         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
23998         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
23999         /dev/null.
24001 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24003         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24004         io fs process)): Drop spurious backslash.
24006 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24008         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
24009         Use sysinfo system call instead of parsing /proc/meminfo.
24010         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
24011         Likewise.
24013 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
24015         [BZ #16985]
24016         * programs/localedef.c (main): Display argv[remaining] when
24017         output_path is NULL.
24019 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24021         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24022         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
24023         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
24024         tanh.
24025         * math/auto-libm-test-out: Regenerated.
24026         * sysdeps/i386/fpu/libm-test-ulps: Update.
24027         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24028         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24031 2015-09-11  Roland McGrath  <roland@hack.frob.com>
24033         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
24034         Use 'override' keyword to freeze the value here, preventing
24035         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
24037 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24039         [BZ #14912]
24040         * sysdeps/aarch64/bits/atomic.h: Move to ...
24041         * sysdeps/aarch64/atomic-machine.h: ...here.
24042         (_AARCH64_BITS_ATOMIC_H): Rename macro to
24043         _AARCH64_ATOMIC_MACHINE_H.
24044         * sysdeps/alpha/bits/atomic.h: Move to ...
24045         * sysdeps/alpha/atomic-machine.h: ...here.
24046         * sysdeps/arm/bits/atomic.h: Move to ...
24047         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
24048         * bits/atomic.h: Move to ...
24049         * sysdeps/generic/atomic-machine.h: ...here.
24050         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24051         * sysdeps/i386/bits/atomic.h: Move to ...
24052         * sysdeps/i386/atomic-machine.h: ...here.
24053         * sysdeps/ia64/bits/atomic.h: Move to ...
24054         * sysdeps/ia64/atomic-machine.h: ...here.
24055         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
24056         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
24057         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24058         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
24059         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
24060         * sysdeps/microblaze/bits/atomic.h: Move to ...
24061         * sysdeps/microblaze/atomic-machine.h: ...here.
24062         * sysdeps/mips/bits/atomic.h: Move to ...
24063         * sysdeps/mips/atomic-machine.h: ...here.
24064         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
24065         * sysdeps/powerpc/bits/atomic.h: Move to ...
24066         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
24067         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
24068         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
24069         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
24070         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
24071         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
24072         <atomic-machine.h> instead of <bits/atomic.h>.
24073         * sysdeps/s390/bits/atomic.h: Move to ...
24074         * sysdeps/s390/atomic-machine.h: ...here.
24075         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
24076         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
24077         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24078         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
24079         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
24080         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
24081         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
24082         * sysdeps/tile/bits/atomic.h: Move to ...
24083         * sysdeps/tile/atomic-machine.h: ...here.
24084         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
24085         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
24086         <sysdeps/tile/atomic-machine.h> instead of
24087         <sysdeps/tile/bits/atomic.h>.
24088         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24089         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
24090         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
24091         <sysdeps/tile/atomic-machine.h> instead of
24092         <sysdeps/tile/bits/atomic.h>.
24093         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24094         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
24095         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
24096         <sysdeps/arm/atomic-machine.h> instead of
24097         <sysdeps/arm/bits/atomic.h>.
24098         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
24099         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
24100         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24101         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
24102         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
24103         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24104         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
24105         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
24106         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
24107         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
24108         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
24109         * sysdeps/x86_64/bits/atomic.h: Move to ...
24110         * sysdeps/x86_64/atomic-machine.h: ...here.
24111         * include/atomic.h: Include <atomic-machine.h> instead of
24112         <bits/atomic.h>.
24114         * sysdeps/mips/mips32/libm-test-ulps: Update.
24115         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24117         [BZ #18952]
24118         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
24119         not convert non-integer negative arguments to int to determine the
24120         value of signgam.
24121         * math/auto-libm-test-in: Add more tests of lgamma.
24122         * math/auto-libm-test-out: Regenerated.
24124         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
24125         cosh, csqrt, erfc, expm1 and lgamma.
24126         * math/auto-libm-test-out: Regenerated.
24127         * sysdeps/i386/fpu/libm-test-ulps: Update.
24128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24130 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
24132         [BZ #2542]
24133         [BZ #2543]
24134         [BZ #2558]
24135         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
24136         __lgamma_neg for arguments from -28.0 to -2.0.
24137         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
24138         __lgamma_negf for arguments from -15.0 to -2.0.
24139         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24140         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
24141         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
24142         Call __lgamma_negl for arguments from -33.0 to -2.0.
24143         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
24144         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
24145         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
24146         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
24147         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
24148         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
24149         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
24150         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
24151         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
24152         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
24153         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
24154         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
24155         (__lgamma_neg): Likewise.
24156         (__lgamma_negl): Likewise.
24157         (__lgamma_product): Likewise.
24158         (__lgamma_productl): Likewise.
24159         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
24160         * math/auto-libm-test-in: Add more tests of lgamma.
24161         * math/auto-libm-test-out: Regenerated.
24162         * sysdeps/i386/fpu/libm-test-ulps: Update.
24163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24165 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
24167         [BZ #18675]
24168         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
24170 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
24172         [BZ #14912]
24173         * bits/libc-lock.h: Move to ...
24174         * sysdeps/generic/libc-lock.h: ...here.
24175         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24176         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
24177         * sysdeps/mach/hurd/libc-lock.h: ...here.
24178         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24179         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
24180         * sysdeps/mach/bits/libc-lock.h: Move to ...
24181         * sysdeps/mach/libc-lock.h: ...here.
24182         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24183         * sysdeps/nptl/bits/libc-lock.h: Move to ...
24184         * sysdeps/nptl/libc-lock.h: ...here.
24185         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24186         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
24187         * sysdeps/nptl/libc-lockP.h: ...here.
24188         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
24189         * crypt/crypt_util.c: Include <libc-lock.h> instead of
24190         <bits/libc-lock.h>.
24191         * dirent/scandir-tail.c: Likewise.
24192         * dlfcn/dlerror.c: Likewise.
24193         * elf/dl-close.c: Likewise.
24194         * elf/dl-iteratephdr.c: Likewise.
24195         * elf/dl-lookup.c: Likewise.
24196         * elf/dl-open.c: Likewise.
24197         * elf/dl-support.c: Likewise.
24198         * elf/dl-writev.h: Likewise.
24199         * elf/rtld.c: Likewise.
24200         * grp/fgetgrent.c: Likewise.
24201         * gshadow/fgetsgent.c: Likewise.
24202         * gshadow/sgetsgent.c: Likewise.
24203         * iconv/gconv_conf.c: Likewise.
24204         * iconv/gconv_db.c: Likewise.
24205         * iconv/gconv_dl.c: Likewise.
24206         * iconv/gconv_int.h: Likewise.
24207         * iconv/gconv_trans.c: Likewise.
24208         * include/link.h: Likewise.
24209         * inet/getnameinfo.c: Likewise.
24210         * inet/getnetgrent.c: Likewise.
24211         * inet/getnetgrent_r.c: Likewise.
24212         * intl/bindtextdom.c: Likewise.
24213         * intl/dcigettext.c: Likewise.
24214         * intl/finddomain.c: Likewise.
24215         * intl/gettextP.h: Likewise.
24216         * intl/loadmsgcat.c: Likewise.
24217         * intl/localealias.c: Likewise.
24218         * intl/textdomain.c: Likewise.
24219         * libidn/idn-stub.c: Likewise.
24220         * libio/libioP.h: Likewise.
24221         * locale/duplocale.c: Likewise.
24222         * locale/freelocale.c: Likewise.
24223         * locale/newlocale.c: Likewise.
24224         * locale/setlocale.c: Likewise.
24225         * login/getutent_r.c: Likewise.
24226         * login/getutid_r.c: Likewise.
24227         * login/getutline_r.c: Likewise.
24228         * login/utmp-private.h: Likewise.
24229         * login/utmpname.c: Likewise.
24230         * malloc/mtrace.c: Likewise.
24231         * misc/efgcvt.c: Likewise.
24232         * misc/error.c: Likewise.
24233         * misc/fstab.c: Likewise.
24234         * misc/getpass.c: Likewise.
24235         * misc/mntent.c: Likewise.
24236         * misc/syslog.c: Likewise.
24237         * nis/nis_call.c: Likewise.
24238         * nis/nis_callback.c: Likewise.
24239         * nis/nss-default.c: Likewise.
24240         * nis/nss_compat/compat-grp.c: Likewise.
24241         * nis/nss_compat/compat-initgroups.c: Likewise.
24242         * nis/nss_compat/compat-pwd.c: Likewise.
24243         * nis/nss_compat/compat-spwd.c: Likewise.
24244         * nis/nss_nis/nis-alias.c: Likewise.
24245         * nis/nss_nis/nis-ethers.c: Likewise.
24246         * nis/nss_nis/nis-grp.c: Likewise.
24247         * nis/nss_nis/nis-hosts.c: Likewise.
24248         * nis/nss_nis/nis-network.c: Likewise.
24249         * nis/nss_nis/nis-proto.c: Likewise.
24250         * nis/nss_nis/nis-pwd.c: Likewise.
24251         * nis/nss_nis/nis-rpc.c: Likewise.
24252         * nis/nss_nis/nis-service.c: Likewise.
24253         * nis/nss_nis/nis-spwd.c: Likewise.
24254         * nis/nss_nisplus/nisplus-alias.c: Likewise.
24255         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
24256         * nis/nss_nisplus/nisplus-grp.c: Likewise.
24257         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
24258         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
24259         * nis/nss_nisplus/nisplus-network.c: Likewise.
24260         * nis/nss_nisplus/nisplus-proto.c: Likewise.
24261         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
24262         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
24263         * nis/nss_nisplus/nisplus-service.c: Likewise.
24264         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
24265         * nis/ypclnt.c: Likewise.
24266         * nptl/libc_pthread_init.c: Likewise.
24267         * nss/getXXbyYY.c: Likewise.
24268         * nss/getXXent.c: Likewise.
24269         * nss/getXXent_r.c: Likewise.
24270         * nss/nss_db/db-XXX.c: Likewise.
24271         * nss/nss_db/db-netgrp.c: Likewise.
24272         * nss/nss_db/nss_db.h: Likewise.
24273         * nss/nss_files/files-XXX.c: Likewise.
24274         * nss/nss_files/files-alias.c: Likewise.
24275         * nss/nsswitch.c: Likewise.
24276         * posix/regex_internal.h: Likewise.
24277         * posix/wordexp.c: Likewise.
24278         * pwd/fgetpwent.c: Likewise.
24279         * resolv/res_hconf.c: Likewise.
24280         * resolv/res_libc.c: Likewise.
24281         * shadow/fgetspent.c: Likewise.
24282         * shadow/lckpwdf.c: Likewise.
24283         * shadow/sgetspent.c: Likewise.
24284         * socket/opensock.c: Likewise.
24285         * stdio-common/reg-modifier.c: Likewise.
24286         * stdio-common/reg-printf.c: Likewise.
24287         * stdio-common/reg-type.c: Likewise.
24288         * stdio-common/vfprintf.c: Likewise.
24289         * stdio-common/vfscanf.c: Likewise.
24290         * stdlib/abort.c: Likewise.
24291         * stdlib/cxa_atexit.c: Likewise.
24292         * stdlib/fmtmsg.c: Likewise.
24293         * stdlib/random.c: Likewise.
24294         * stdlib/setenv.c: Likewise.
24295         * string/strsignal.c: Likewise.
24296         * sunrpc/auth_none.c: Likewise.
24297         * sunrpc/bindrsvprt.c: Likewise.
24298         * sunrpc/create_xid.c: Likewise.
24299         * sunrpc/key_call.c: Likewise.
24300         * sunrpc/rpc_thread.c: Likewise.
24301         * sysdeps/arm/backtrace.c: Likewise.
24302         * sysdeps/generic/ldsodefs.h: Likewise.
24303         * sysdeps/generic/stdio-lock.h: Likewise.
24304         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
24305         * sysdeps/i386/backtrace.c: Likewise.
24306         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24307         * sysdeps/m68k/backtrace.c: Likewise.
24308         * sysdeps/mach/hurd/cthreads.c: Likewise.
24309         * sysdeps/mach/hurd/dirstream.h: Likewise.
24310         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24311         * sysdeps/nptl/malloc-machine.h: Likewise.
24312         * sysdeps/nptl/stdio-lock.h: Likewise.
24313         * sysdeps/posix/dirstream.h: Likewise.
24314         * sysdeps/posix/getaddrinfo.c: Likewise.
24315         * sysdeps/posix/system.c: Likewise.
24316         * sysdeps/pthread/aio_suspend.c: Likewise.
24317         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24318         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24319         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24320         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24321         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
24322         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
24323         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
24324         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24325         * sysdeps/unix/sysv/linux/system.c: Likewise.
24326         * sysdeps/x86_64/backtrace.c: Likewise.
24327         * time/alt_digit.c: Likewise.
24328         * time/era.c: Likewise.
24329         * time/tzset.c: Likewise.
24330         * wcsmbs/wcsmbsload.c: Likewise.
24331         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
24332         instead of <bits/libc-lock.h> in comment.
24334 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
24336         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
24337         Only use .set mips2 if the current ISA is below mips2.
24338         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
24339         Likewise.
24340         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
24341         mips32r2 if the current ISA is below mips32r2.
24342         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
24343         (TLS_IE): Updated to use the TLD_RDHWR macro.
24344         (TLS_LE): Likewise.
24345         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
24346         __ASSEMBLER__ condition.
24348 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24350         Fix parallel build of before-compile targets.
24352         * sysdeps/mach/Makefile ($(patsubst
24353         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
24354         mach-before-compile target.
24355         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24356         io fs process)): Move rule to dedicated hurd-before-compile target.
24358 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24360         Fix rules generating headers in hurd/ and mach/ when initial make call
24361         has subdir= explicitly set.
24363         * sysdeps/mach/Makefile ($(patsubst
24364         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
24365         calling $(MAKE).
24366         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24367         io fs process)): Force subdir to hurd when calling $(MAKE).
24368         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
24369         subdir to mach when calling $(MAKE).
24371 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
24373         Check sysheaders when looking for Mach and Hurd headers
24375         * sysdeps/mach/configure.ac: Add sysheaders check.
24376         * sysdeps/mach/configure: Regenerate.
24377         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
24378         * sysdeps/mach/hurd/configure: Regenerate.
24380 2015-09-04  Roland McGrath  <roland@hack.frob.com>
24382         [BZ #18921]
24383         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
24384         Fix inverted sense of test of 'o_directory_works' value.
24385         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
24386         Bernhard Voelker <mail@bernhard-voelker.de>.
24388 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24390         [BZ #14912]
24391         * bits/linkmap.h: Move to ...
24392         * sysdeps/generic/linkmap.h: ...here.
24393         * sysdeps/aarch64/bits/linkmap.h: Move to ...
24394         * sysdeps/aarch64/linkmap.h: ...here.
24395         * sysdeps/arm/bits/linkmap.h: Move to ...
24396         * sysdeps/arm/linkmap.h: ...here.
24397         * sysdeps/hppa/bits/linkmap.h: Move to ...
24398         * sysdeps/hppa/linkmap.h: ...here.
24399         * sysdeps/ia64/bits/linkmap.h: Move to ...
24400         * sysdeps/ia64/linkmap.h: ...here.
24401         * sysdeps/mips/bits/linkmap.h: Move to ...
24402         * sysdeps/mips/linkmap.h: ...here.
24403         * sysdeps/s390/bits/linkmap.h: Move to ...
24404         * sysdeps/s390/linkmap.h: ...here.
24405         * sysdeps/sh/bits/linkmap.h: Move to ...
24406         * sysdeps/sh/linkmap.h: ...here.
24407         * sysdeps/x86/bits/linkmap.h: Move to ...
24408         * sysdeps/x86/linkmap.h: ...here.
24409         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
24411 2015-09-04  Andreas Schwab  <schwab@suse.de>
24413         [BZ #18635]
24414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
24415         (__makecontext): Terminate FDE before return label.
24416         (__novec_makecontext): Likewise.
24418 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24420         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
24421         first member of struct sv in syscall macro.
24423 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24425         [BZ #14912]
24426         * bits/stdio-lock.h: Move to ...
24427         * sysdeps/generic/stdio-lock.h: ...here.
24428         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24429         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
24430         * sysdeps/nptl/stdio-lock.h: ...here.
24431         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24432         * include/libio.h: Include <stdio-lock.h> instead of
24433         <bits/stdio-lock.h>.
24434         * sysdeps/nptl/fork.c: Likewise.
24435         * sysdeps/pthread/flockfile.c: Likewise.
24436         * sysdeps/pthread/ftrylockfile.c: Likewise.
24437         * sysdeps/pthread/funlockfile.c: Likewise.
24439         [BZ #14912]
24440         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
24441         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
24442         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
24443         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
24444         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
24445         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24446         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
24448 2015-09-03  Roland McGrath  <roland@hack.frob.com>
24450         * elf/Makefile (test-xfail-tst-protected1a): New variable.
24451         (test-xfail-tst-protected1b): New variable.
24453 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
24455         [BZ #14912]
24456         * bits/libc-tsd.h: Move to ...
24457         * sysdeps/generic/libc-tsd.h: ...here.
24458         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
24459         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
24460         * sysdeps/mach/hurd/libc-tsd.h: ...here.
24461         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
24462         * include/ctype.h: Include <libc-tsd.h> instead of
24463         <bits/libc-tsd.h>.
24464         * include/rpc/rpc.h: Likewise.
24465         * locale/localeinfo.h: Likewise.
24466         * sunrpc/rpc_thread.c: Likewise.
24467         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24468         * sysdeps/nptl/malloc-machine.h: Likewise.
24470         * Makefile (headers): Remove bits/libc-lock.h.
24471         * libio/Makefile (headers): Remove bits/stdio-lock.h.
24473         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
24474         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
24475         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
24476         <bits/stdio-lock.h>.
24477         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
24478         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
24480 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24482         [BZ #18757]
24483         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
24484         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
24485         BZ #18757.
24487 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24489         * malloc/mtrace.pl: Filter out NULL entries.
24491 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
24493         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
24494         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
24495         macro.
24497         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
24498         (TCP_CC_INFO): Likewise.
24499         (TCP_SAVE_SYN): Likewise.
24500         (TCP_SAVED_SYN): Likewise.
24502 2015-08-31  Brett Neumeier <brett@neumeier.us>
24504         [BZ #18870]
24505         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
24507 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
24509         [BZ #18873]
24510         Fix broken overflow check in posix_fallocate
24511         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
24512         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
24513         Fix parenthesization typo.
24515 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
24517         [BZ #18887]
24518         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
24519         tst-mntent-blank-passno.
24520         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
24521         * misc/tst-mntent-blank-corrupt.c: New test.
24522         * misc/tst-mntent-blank-passno.c: New test ripped from ...
24523         * misc/tst-mntent.c (do_test): ... here.
24525 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
24527         [BZ #4404]
24528         * po/de.po: Fix SIGALRM typo.
24530 2015-08-28  James Perkins  <james@loowit.net>
24532         * time/tst-strptime2.c (tests): Replace short list of test
24533         strings for strptime %z specifier with code which exhaustively
24534         tests every combination of sign and 0 to 5 digits. Tests for
24535         rejection of invalid strings.
24537 2015-08-28  James Perkins  <james@loowit.net>
24539         [BZ #16141]
24540         * time/strptime_l.c (__strptime_internal): Fix %z minutes
24541         calculation, removing incorrect decimal time rounding, so that
24542         all minute values result in a valid seconds value.
24543         * time/strptime_l.c (__strptime_internal): Extend %z time zone
24544         offset range limits to UTC-99:59 through UTC+99:59 to parse
24545         current and historical use cases.
24546         * time/tst-strptime2.c (tests): Modify and add tests for the
24547         strptime %z input field descriptor, specifically conversion of
24548         minutes to seconds and validating an offset range of -9959 to
24549         +9959.
24551 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24552             Dmitry V. Levin  <ldv@altlinux.org>
24554         [BZ #18877]
24555         * posix/Makefile (tests): Add tst-mmap-offset.
24556         * posix/tst-mmap.c: New file.
24557         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
24558         offset calculation for negative values.
24560 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24562         * sysdeps/i386/init-arch.h: New file.
24563         * sysdeps/i386/i586/init-arch.h: Likewise.
24564         * sysdeps/i386/i686/init-arch.h: Likewise.
24565         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
24566         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
24567         * sysdeps/x86/cpu-features.h (bit_I586): New.
24568         (bit_I686): Likewise.
24569         (bit_CX8): Likewise.
24570         (bit_CMOV): Likewise.
24571         (index_CX8): Likewise.
24572         (index_CMOV): Likewise.
24573         (index_I586): Likewise.
24574         (index_I686): Likewise.
24575         (reg_CX8): Likewise.
24576         (reg_CMOV): Likewise.
24577         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
24578         available at compile-time.
24579         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
24580         available at compile-time.
24581         * sysdeps/x86/init-arch.h (USE_I586): New macro.
24582         (USE_I686): Likewise.
24584 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24586         * sysdeps/i386/bcopy.S: New file.
24587         * sysdeps/i386/bzero.S: Likewise.
24588         * sysdeps/i386/memcpy.S: Likewise.
24589         * sysdeps/i386/memmove.S: Likewise.
24590         * sysdeps/i386/mempcpy.S: Likewise.
24591         * sysdeps/i386/memset.S: Likewise.
24592         * sysdeps/i386/bzero.c: Removed.
24593         * sysdeps/i386/memset.c: Likewise.
24594         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
24595         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
24596         * sysdeps/i386/i586/memset_chk.S: Likewise.
24597         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
24598         * sysdeps/i386/memcpy_chk.S: Here.
24599         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
24600         * sysdeps/i386/memmove_chk.S: Here.
24601         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
24602         * sysdeps/i386/mempcpy_chk.S: Likewise.
24603         * sysdeps/i386/i686/memset_chk.S: Moved to ...
24604         * sysdeps/i386/memset_chk.S: Likewise.
24606 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
24608         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
24609         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
24610         file, move DIAG_POP_NEEDS_COMMENT to end of file.
24611         * soft-fp/fmadf4.c: Ditto.
24612         * soft-fp/fmatf4.c: Ditto.
24614 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24616         * sysdeps/i386/i586/Implies: Removed.
24617         * sysdeps/i386/i686/Implies: Likewise.
24619 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24621         * sysdeps/i386/i486/strlen.S: Moved to ...
24622         * sysdeps/i386/strlen.S: Here.
24624 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24626         * sysdeps/i386/i486/strcat.S: Moved to ...
24627         * sysdeps/i386/strcat.S: Here.
24629 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24631         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
24632         * sysdeps/i386/pthread_spin_trylock.S: Here.
24633         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
24634         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
24636 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24638         * sysdeps/i386/i486/string-inlines.c: Moved to ...
24639         * sysdeps/i386/string-inlines.c: Here.
24641 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24643         * sysdeps/i386/i486/htonl.S: Moved ...
24644         * sysdeps/i386/htonl.S: here.
24646 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24648         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
24649         * sysdeps/i386/bits/atomic.h: Here.
24651 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24653         * sysdeps/i386/i486/Versions: Removed.
24655 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24657         [BZ #2898]
24658         * misc/mktemp.c: Add mkdtemp to the link_warning message.
24659         Based on patch by Aurelien Jarno.
24661 2015-08-26  Stan Shebs  <stanshebs@google.com>
24663         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
24664         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24666 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24668         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
24669         * sysdeps/powerpc/dl-procinfo.c:
24670         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
24671         feature so it shows when LD_SHOW_AUXV=1.
24673 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24675         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24676         (__arch_compare_and_exchange_val_32_acq): Remove and use common
24677         definition.  ISA 2.07B no longer requires full sync.
24679 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
24681         [BZ #18863]
24682         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
24683         (si_call_addr): Define.
24684         (si_syscall): Define.
24685         (si_arch): Define.
24687 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
24689         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
24690         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
24691         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
24692         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24693         (__memset_zero_constant_len_parameter): New.
24694         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
24695         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24696         (__memset_zero_constant_len_parameter): Don't define if
24697         __memset_chk or USE_AS_BZERO are defined.
24699         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
24700         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
24701         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
24703         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
24704         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
24705         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
24706         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
24707         comments.
24708         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
24709         -mno-mmx for $(all-rtld-routines).
24710         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
24711         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
24712         i386.
24714 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24716         * sysdeps/generic/unwind.h
24717         (_Unwind_Word): Use __mode__(__unwind_word__)
24718         instead of __mode__(__word__).
24719         (_Unwind_Sword): Likewise.
24721         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24722         (MAX_NEEDED_INPUT): New define.
24723         (MAX_NEEDED_OUTPUT): New define.
24725         * NEWS: New item for IBM z13 string optimizations.
24727         * sysdeps/s390/multiarch/memrchr-c.c: New File.
24728         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
24729         * sysdeps/s390/multiarch/memrchr.c: Likewise.
24730         * sysdeps/s390/multiarch/Makefile
24731         (sysdep_routines): Add memrchr functions.
24732         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24733         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
24735         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
24736         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
24737         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
24738         * sysdeps/s390/multiarch/Makefile
24739         (sysdep_routines): Add wmemcmp functions.
24740         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24741         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
24742         * benchtests/bench-wmemcmp.c: New File.
24743         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
24745         * sysdeps/s390/multiarch/wmemset-c.c: New File.
24746         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
24747         * sysdeps/s390/multiarch/wmemset.c: Likewise.
24748         * sysdeps/s390/multiarch/Makefile
24749         (sysdep_routines): Add wmemset functions.
24750         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24751         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
24752         * wcsmbs/wmemset.c: Use WMEMSET if defined.
24753         * string/test-memset.c: Add wmemset support.
24754         * wcsmbs/test-wmemset.c: New File.
24755         * wcsmbs/Makefile (strop-tests): Add wmemset.
24756         * benchtests/bench-memset.c: Add wmemset support.
24757         * benchtests/bench-wmemset.c: New File.
24758         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
24760         * sysdeps/s390/multiarch/memccpy-c.c: New File.
24761         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
24762         * sysdeps/s390/multiarch/memccpy.c: Likewise.
24763         * sysdeps/s390/multiarch/Makefile
24764         (sysdep_routines): Add memccpy functions.
24765         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24766         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
24767         * string/memccpy.c: Use MEMCCPY if defined.
24769         * sysdeps/s390/multiarch/memchr-vx.S: New File.
24770         * sysdeps/s390/multiarch/memchr.c: Likewise.
24771         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
24772         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
24773         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
24774         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
24775         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
24776         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
24777         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
24778         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
24779         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
24780         and rawmemchr functions.
24781         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24782         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
24783         and wmemchr.
24784         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
24785         * string/test-memchr.c: Add wmemchr support.
24786         * wcsmbs/test-wmemchr.c: New File.
24787         * wcsmbs/Makefile (strop-tests): Add wmemchr.
24788         * benchtests/bench-memchr.c: Add wmemchr support.
24789         * benchtests/bench-wmemchr.c: New File.
24790         * benchtests/Makefile (wcsmbs-bench): wmemchr.
24792         * sysdeps/s390/multiarch/strcspn-c.c: New File.
24793         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
24794         * sysdeps/s390/multiarch/strcspn.c: Likewise.
24795         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
24796         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
24797         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
24798         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
24799         wcscspn functions.
24800         * sysdeps/s390/multiarch/ifunc-impl-list.c
24801         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
24802         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
24803         * string/test-strcspn.c: Add wcscspn support.
24804         * wcsmbs/test-wcscspn.c: New File.
24805         * wcsmbs/Makefile (strop-tests): Add wcscspn.
24806         * benchtests/bench-strcspn.c: Add wcscspn support.
24807         * benchtests/bench-wcscspn.c: New File.
24808         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
24810         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
24811         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
24812         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
24813         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
24814         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
24815         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
24816         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
24817         wcspbrk functions.
24818         * sysdeps/s390/multiarch/ifunc-impl-list.c
24819         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
24820         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
24821         * string/test-strpbrk.c: Add wcspbrk support.
24822         * wcsmbs/test-wcspbrk.c: New File.
24823         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
24824         * benchtests/bench-strpbrk.c: Add wcspbrk support.
24825         * benchtests/bench-wcspbrk.c: New File.
24826         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
24828         * sysdeps/s390/multiarch/strspn-c.c: New File.
24829         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
24830         * sysdeps/s390/multiarch/strspn.c: Likewise.
24831         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
24832         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
24833         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
24834         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
24835         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
24836         wcsspn functions.
24837         * sysdeps/s390/multiarch/ifunc-impl-list.c
24838         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
24839         * string/test-strspn.c: Add wcsspn support.
24840         * wcsmbs/test-wcsspn.c: New File.
24841         * wcsmbs/Makefile (strop-tests): Add wcsspn.
24842         * benchtests/bench-strspn.c: Add wcsspn support.
24843         * benchtests/bench-wcsspn.c: New File.
24844         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
24846         * sysdeps/s390/multiarch/strrchr-c.c: New File.
24847         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
24848         * sysdeps/s390/multiarch/strrchr.c: Likewise.
24849         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
24850         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
24851         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
24852         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
24853         wcsrchr functions.
24854         * sysdeps/s390/multiarch/ifunc-impl-list.c
24855         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
24856         * benchtests/bench-wcsrchr.c: New File.
24857         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
24859         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
24860         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
24861         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
24862         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
24863         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
24864         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
24865         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
24866         wcschrnul functions.
24867         * sysdeps/s390/multiarch/ifunc-impl-list.c
24868         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
24869         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
24870         * string/test-strchr.c: Add wcschrnul support.
24871         * wcsmbs/test-wcschrnul.c: New File.
24872         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
24873         * benchtests/bench-strchr.c: Add wcschrnul support.
24874         * benchtests/bench-wcschrnul.c: New File.
24875         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
24877         * sysdeps/s390/multiarch/strchr-c.c: New File.
24878         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
24879         * sysdeps/s390/multiarch/strchr.c: Likewise.
24880         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
24881         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
24882         * sysdeps/s390/multiarch/wcschr.c: Likewise.
24883         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
24884         wcschr functions.
24885         * sysdeps/s390/multiarch/ifunc-impl-list.c
24886         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
24887         * string/strchr.c (STRCHR): Define and use macro.
24888         * benchtests/bench-wcschr.c: New File.
24889         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
24891         * sysdeps/s390/multiarch/strncmp-c.c: New File.
24892         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
24893         * sysdeps/s390/multiarch/strncmp.c: Likewise.
24894         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
24895         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
24896         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
24897         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
24898         wcsncmp functions.
24899         * sysdeps/s390/multiarch/ifunc-impl-list.c
24900         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
24901         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
24902         * benchtests/bench-strncmp.c: Add wcsncmp support.
24903         * benchtests/bench-wcsncmp.c: New File.
24904         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
24906         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
24907         * sysdeps/s390/multiarch/strcmp.c: Likewise.
24908         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
24909         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
24910         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
24911         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
24912         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
24913         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
24914         wcscmp functions.
24915         * sysdeps/s390/multiarch/ifunc-impl-list.c
24916         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
24917         * string/strcmp.c (STRCMP): Define and use macro.
24918         * benchtests/bench-wcscmp.c: New File.
24919         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
24920         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
24921         instead of _HAVE_STRING_ARCH_memchr.
24923         * sysdeps/s390/multiarch/strncat-c.c: New File.
24924         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
24925         * sysdeps/s390/multiarch/strncat.c: Likewise.
24926         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
24927         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
24928         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
24929         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
24930         wcsncat functions.
24931         * sysdeps/s390/multiarch/ifunc-impl-list.c
24932         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
24933         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
24934         * string/test-strncat.c: Add wcsncat support.
24935         * wcsmbs/test-wcsncat.c: New File.
24936         * wcsmbs/Makefile (strop-tests): Add wcsncat.
24937         * benchtests/bench-strncat.c: Add wcsncat support.
24938         * benchtests/bench-wcsncat.c: New File.
24939         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
24941         * sysdeps/s390/multiarch/strcat-c.c: New File.
24942         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
24943         * sysdeps/s390/multiarch/strcat.c: Likewise.
24944         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
24945         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
24946         * sysdeps/s390/multiarch/wcscat.c: Likewise.
24947         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
24948         wcscat functions.
24949         * sysdeps/s390/multiarch/ifunc-impl-list.c
24950         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
24951         * string/strcat.c (STRCAT): Define and use macro.
24952         * wcsmbs/wcscat.c: Use WCSCAT if defined.
24953         * string/test-strcat.c: Add wcscat support.
24954         * wcsmbs/test-wcscat.c: New File.
24955         * wcsmbs/Makefile (strop-tests): Add wcscat.
24956         * benchtests/bench-strcat.c: Add wcscat support.
24957         * benchtests/bench-wcscat.c: New File.
24958         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
24960         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
24961         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
24962         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
24963         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
24964         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
24965         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
24966         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
24967         wcpncpy functions.
24968         * sysdeps/s390/multiarch/ifunc-impl-list.c
24969         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
24970         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
24971         * string/test-stpncpy.c: Add wcpncpy support.
24972         * wcsmbs/test-wcpncpy.c: New File.
24973         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
24974         * benchtests/bench-stpncpy.c: Add wcpncpy support.
24975         * benchtests/bench-wcpncpy.c: New File.
24976         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
24978         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
24979         * sysdeps/s390/multiarch/strncpy.c: Likewise.
24980         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
24981         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
24982         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
24983         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
24984         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
24985         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
24986         wcsncpy functions.
24987         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
24988         * sysdeps/s390/multiarch/ifunc-impl-list.c
24989         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
24990         * string/test-strncpy.c: Add wcsncpy support.
24991         * wcsmbs/test-wcsncpy.c: New File.
24992         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
24993         * benchtests/bench-strncpy.c: Add wcsncpy support.
24994         * benchtests/bench-wcsncpy.c: New File.
24995         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
24997         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
24998         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
24999         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
25000         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
25001         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
25002         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
25003         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
25004         wcpcpy functions.
25005         * string/stpcpy.c: Use STPCPY if defined.
25006         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
25007         * sysdeps/s390/multiarch/ifunc-impl-list.c
25008         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
25009         * string/test-stpcpy.c: Add wcpcpy support.
25010         * wcsmbs/test-wcpcpy.c: New File.
25011         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
25012         * benchtests/bench-stpcpy.c: Add wcpcpy support.
25013         * benchtests/bench-wcpcpy.c: New File.
25014         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
25016         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
25017         * sysdeps/s390/multiarch/strcpy.c: Likewise.
25018         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
25019         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
25020         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
25021         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
25022         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
25023         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
25024         wcscpy functions.
25025         * sysdeps/s390/multiarch/ifunc-impl-list.c
25026         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
25027         * benchtests/bench-wcscpy.c: New File.
25028         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
25030         * sysdeps/s390/multiarch/strnlen-c.c: New File.
25031         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
25032         * sysdeps/s390/multiarch/strnlen.c: Likewise.
25033         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
25034         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
25035         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
25036         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
25037         wcsnlen functions.
25038         * sysdeps/s390/multiarch/ifunc-impl-list.c
25039         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
25040         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
25041         * string/test-strnlen.c: Add wcsnlen support.
25042         * wcsmbs/test-wcsnlen.c: New File.
25043         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
25044         * benchtests/bench-strnlen.c: Add wcsnlen support.
25045         * benchtests/bench-wcsnlen.c: New File.
25046         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
25048         * sysdeps/s390/multiarch/Makefile: New File.
25049         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
25050         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
25051         * sysdeps/s390/multiarch/strlen.c: Likewise.
25052         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
25053         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
25054         * sysdeps/s390/multiarch/wcslen.c: Likewise.
25055         * string/strlen.c (STRLEN): Define and use macro.
25056         * sysdeps/s390/multiarch/ifunc-impl-list.c
25057         (IFUNC_VX_IMPL): New macro function.
25058         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
25059         * benchtests/Makefile (wcsmbs-bench): New variable.
25060         (string-bench-all): Added wcsmbs-bench.
25061         * benchtests/bench-wcslen.c: New File.
25063         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
25064         s390_vx_libc_ifunc2): New macro function.
25066         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
25067         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
25068         assembler support.
25069         * sysdeps/s390/configure: Regenerated.
25071         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
25072         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
25074         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
25075         * sysdeps/s390/dl-procinfo.h: Add vector capability.
25076         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
25078         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
25079         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
25080         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
25081         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
25082         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
25083         (memcmp, bcmp): Use __memcmp_default as alias source.
25084         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
25085         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
25086         Rename to __memcmp_default.
25087         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
25088         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
25089         (memcpy): Use __memcpy_default as alias source.
25090         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
25091         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
25092         Rename to __memcpy_default.
25093         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
25094         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
25095         (memset): Use __memset_default as alias source.
25096         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
25097         * sysdeps/s390/s390-32/memset.S (__memset_g5):
25098         Rename to __memset_default.
25099         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
25100         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
25101         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
25102         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
25103         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
25104         (memcmp, bcmp): Use __memcmp_default as alias source.
25105         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
25106         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
25107         Rename to __memcmp_default.
25108         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
25109         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
25110         (memcpy): Use __memcpy_default as alias source.
25111         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
25112         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
25113         Rename to __memcpy_default.
25114         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
25115         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
25116         (memset): Use __memset_default as alias source.
25117         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
25118         * sysdeps/s390/s390-64/memset.S (__memset_z900):
25119         Rename to __memset_default.
25120         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
25121         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
25123         [BZ #18610]
25124         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
25125         __ieee_instruction_pointer to __unused.
25126         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
25127         __ieee_instruction_pointer.
25128         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
25129         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
25130         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25131         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25132         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
25133         Mark dxc-field as reserved.
25135 2015-08-25  Roland McGrath  <roland@hack.frob.com>
25137         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
25138         if the weak reference is not null.
25140 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25142         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
25144         [BZ #11214]
25145         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
25147 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25149         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
25150         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
25151         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
25152         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
25153         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
25154         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
25155         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
25156         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
25157         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
25158         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
25159         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
25160         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
25161         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
25162         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
25163         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
25164         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
25165         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
25166         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
25168 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25170         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
25171         register other than r0 for tabort, it has special meaning.
25172         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
25173         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
25174         transaction before starting syscall.
25176 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25178         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
25180 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25182         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
25184         * sysdeps/x86_64/rtld-memcmp.c: Removed.
25185         * sysdeps/x86_64/rtld-memset.S: Likewise.
25186         * sysdeps/x86_64/rtld-strchr.S: Likewise.
25187         * sysdeps/x86_64/rtld-strlen.S: Likewise.
25188         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
25189         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25191         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
25193 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
25195         * debug/strcpy_chk.c: Improve performance.
25196         * debug/stpcpy_chk.c: Likewise.
25197         * sysdeps/x86_64/strcpy_chk.S: Remove.
25198         * sysdeps/x86_64/stpcpy_chk.S: Remove.
25200         [BZ #18240]
25201         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
25203 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25205         [BZ #15128]
25206         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
25207         ifuncmain8.
25208         (modules-names): Add ifuncmod8.
25209         ($(objpfx)ifuncmain8): New rule.
25210         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
25211         <cpuid.h>.
25212         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
25213         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
25214         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
25215         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
25216         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
25217         * sysdeps/x86_64/dl-trampoline.h: Likewise.
25218         * sysdeps/x86_64/ifuncmain8.c: New file.
25219         * sysdeps/x86_64/ifuncmod8.c: Likewise.
25220         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
25221         Removed.
25222         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
25223         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
25224         Change rtld_savespace_sse to __glibc_unused2.
25225         (RTLD_CHECK_FOREIGN_CALL): Removed.
25226         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
25227         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
25228         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
25230 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25232         * sysdeps/aarch64/bzero.S (__bzero): Remove.
25234 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25236         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
25237         Unconditionally set __fpcr to avoid uninialized warning.
25238         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
25240 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25242         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
25243         is corrupt.
25245         * malloc/arena.c (arena_get2): Drop unused argument.
25246         (arena_lock): Adjust.
25247         (arena_get_retry): Likewise.
25249 2015-08-24  Andreas Schwab  <schwab@suse.de>
25251         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
25252         Don't define.
25253         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
25254         (__ASSUME_IPC64): Don't undef.
25255         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
25256         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25257         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25258         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
25259         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
25260         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
25261         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
25262         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
25263         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
25264         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
25265         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
25266         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
25267         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
25268         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
25269         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
25270         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
25271         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
25272         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
25273         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
25274         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
25275         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
25277 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
25279         * manual/Makefile (install): Only build manual when perl is available.
25281 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25283         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
25284         '#undef memcpy' by '#undef memchr'.
25286 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25288         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
25289         memchr not point to the internal __GI_memchr implementation.
25291 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25293         * timezone/Makefile (CFLAGS-zdump.c): Remove
25294         -Wno-strict-prototypes.
25295         (CFLAGS-zic.c): Likewise.
25296         (CFLAGS-ialloc.c): Likewise.
25297         (CFLAGS-scheck.c): Likewise.
25299         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
25300         -Wno-error=undef.
25302 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25304         * i386/i686/multiarch/strcasestr-c.c: Removed.
25305         * x86_64/multiarch/strcasestr.c: Likewise.
25306         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25307         Remove strcasestr.
25309 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25311         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
25313         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
25314         variables for high and low parts before possibly modifying them.
25316 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25318         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
25319         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
25320         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
25321         of "multiarch/init-arch.h".
25322         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
25323         * sysdeps/x86/init-arch.h: This.
25325 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25327         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
25328         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
25330 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
25332         [BZ #17787]
25333         * manual/macros.texi: Add twoexp macro.
25334         * manual/filesys.texi: Fix exponents.
25335         * manual/llio.texi: Likewise.
25336         * manual/stdio.texi: Likewise.
25338 2015-08-20  Florian Weimer  <fweimer@redhat.com>
25340         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
25341         incorrect use.
25343 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25345         [BZ #18370]
25346         * math/s_csqrt.c (__csqrt): Force underflow exception for results
25347         whose real or imaginary part has small absolute value.
25348         * math/s_csqrtf.c (__csqrtf): Likewise.
25349         * math/s_csqrtl.c (__csqrtl): Likewise.
25350         * math/auto-libm-test-in: Add more tests of csqrt.
25351         * math/auto-libm-test-out: Regenerated.
25352         * sysdeps/i386/fpu/libm-test-ulps: Update.
25354 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25356         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
25357         __ppc_set_ppr_very_low): New functions.
25358         * manual/platform.texi: Add documentation about
25359         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
25361 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
25363         * string/stpncpy.c (stpncpy): Improve performance using
25364         __strnlen/memcpy/memset.
25366 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25368         [BZ #18796]
25369         * scripts/test-installation.pl: Don't add -lmvec to build options if
25370         libmvec wasn't built.
25372 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25374         [BZ #14341]
25375         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
25376         case when there is a gap between DT_REL and DT_JMPREL sections.
25377         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
25378         (LDFLAGS-tst-split-dynreloc): New.
25379         (tst-split-dynreloc-ENV): Likewise.
25380         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
25381         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
25383 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25385         [BZ #18822]
25386         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
25387         attribute_hidden.
25388         (__xstat64_conv): Likewise.
25389         (__xstat32_conv): Likewise.
25391 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25393         [BZ #18822]
25394         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
25395         Don't load %ebx when calling __setcontext.  Call __setcontext
25396         with HIDDEN_JUMPTARGET.
25397         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
25398         libc_hidden_def.
25400 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25402         * sysdeps/i386/i686/Makefile
25403         [$(subdir) == string] (sysdep_routines): Moved to ...
25404         * sysdeps/i386/Makefile: Here.
25405         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
25406         * sysdeps/i386/cacheinfo.c: Here.
25407         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
25408         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
25409         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
25410         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
25412 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25414         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
25415         __i586__ is defined.
25416         (HAS_I686): Defined to 1 if __i686__ is defined.
25418 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25420         * elf/Makefile [$(have-z-execstack) = yes]
25421         (CPPFLAGS-tst-execstack.c): New variable.
25423         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
25424         conditional to [defined UTMPX || _HAVE_UT_TYPE].
25425         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
25426         UTMPX || _HAVE_UT_TV].
25427         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
25428         UTMPX || _HAVE_UT_TV - 0].
25430 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
25432         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
25433         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
25434         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
25436 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25438         * sysdeps/powerpc/dl-procinfo.c:
25439         (_dl_powerpc_cap_flags): Added missing strings for some
25440         hwcap features.
25441         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
25443 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
25445         Port the 0x7efe...feff pattern to GCC 6.
25446         See Steve Ellcey's bug report in:
25447         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
25448         * string/memrchr.c (MEMRCHR):
25449         * string/rawmemchr.c (RAWMEMCHR):
25450         * string/strchr.c (strchr):
25451         * string/strchrnul.c (STRCHRNUL):
25452         Rewrite code to avoid issues with signed shift overflow.
25454 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
25456         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
25457         whether cpuid is available only if HAS_CPUID is 0.
25458         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
25459         (HAS_I586): Likewise.
25460         (HAS_I686): Likewise.
25462 2015-08-18  Zack Weinberg  <zackw@panix.com>
25464         * misc/Versions (libc): Add GLIBC_2.23.
25466 2015-08-18  Alan Modra  <amodra@gmail.com>
25468         [BZ #18421]
25469         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
25470         .Lp__global.
25471         (_start): Load %dp via .Lp__global.
25472         [!SHARED]: Use .section .rodata.
25474 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25476         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
25477         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
25479 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25481         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
25482         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
25484 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25486         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
25487         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
25489 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25491         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
25492         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
25494 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25496         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
25497         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
25499 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25501         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
25502         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
25504 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25506         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
25508 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25510         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
25511         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
25512         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25513         (__ASSUME_LWS_CAS): Delete.
25515 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25517         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
25518         * sysdeps/hppa/configure: Regenerated.
25519         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
25520         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
25521         * sysdeps/hppa/nptl/tls.h: Likewise.
25523 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
25525         [BZ #18823]
25526         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
25527         for scaling up small arguments.
25528         * math/s_csqrtf.c (__csqrtf): Likewise.
25529         * math/s_csqrtl.c (__csqrtl): Likewise.
25530         * math/auto-libm-test-in: Add more tests of csqrt.
25531         * math/auto-libm-test-out: Regenerated.
25533 2015-08-17  Andreas Schwab  <schwab@suse.de>
25535         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
25536         version set GLIBC_2.19.
25538 2015-08-16  Zack Weinberg  <zackw@panix.com>
25540         [BZ #18681]
25541         * misc/regexp.h: This interface is no longer supported.
25542         Remove all contents, leaving only an #error directive.
25543         * misc/regexp.c (loc1, loc2, locs, step, advance):
25544         Demote to compatibility symbols.
25546 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
25548         [BZ #18084]
25549         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
25550         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
25551         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25552         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
25553         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
25554         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
25555         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
25556         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
25557         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25559 2015-08-15  Zack Weinberg  <zackw@panix.com>
25561         [BZ #18795]
25562         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
25563         buffer length is known to be too large, not if it's known to be
25564         small enough.
25565         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
25566         overflow at runtime, involving a length parameter, twice: once
25567         with a compile-time constant length parameter, once without.
25569 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
25571         [BZ #18824]
25572         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
25573         scaling x * y up instead of down.
25574         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25575         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25576         * math/auto-libm-test-in: Add more tests of fma.
25577         * math/auto-libm-test-out: Regenerated.
25579 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25581         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25583 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25585         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
25586         unnecessary movq.
25587         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
25588         Likewise.
25590 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
25592         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25593         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
25594         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
25595         and tgamma.
25596         * math/auto-libm-test-out: Regenerated.
25597         * sysdeps/i386/fpu/libm-test-ulps: Update.
25598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25600         [BZ #16520]
25601         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
25602         (__tanh): Force underflow exception for arguments with small
25603         absolute value.
25604         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
25605         (__tanhf): Force underflow exception for arguments with small
25606         absolute value.
25607         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
25608         (__tanhl): Force underflow exception for arguments with small
25609         absolute value.
25610         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
25611         (__tanhl): Force underflow exception for arguments with small
25612         absolute value.
25613         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
25614         (__tanhl): Force underflow exception for arguments with small
25615         absolute value.
25616         * math/auto-libm-test-in: Add more tests of tanh.
25617         * math/auto-libm-test-out: Regenerated.
25618         * sysdeps/i386/fpu/libm-test-ulps: Update.
25620 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25622         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
25623         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
25625 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25627         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
25628         <cpuid.h>.
25630 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25632         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
25633         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
25635 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25637         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
25638         Remove $(objpfx)init-arch.o.
25639         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
25640         init-arch.
25641         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
25642         (INIT_ARCH_EXT): Defined as empty.
25643         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
25644         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
25645         __init_cpu_features call.  Replace HAS_XXX with
25646         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25647         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
25648         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
25649         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
25650         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
25651         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25652         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
25653         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
25654         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25655         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
25656         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
25657         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25658         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
25659         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
25660         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25661         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
25662         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
25663         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25664         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25665         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
25666         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
25667         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25668         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
25669         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
25670         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25671         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
25672         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
25673         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25674         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
25675         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
25676         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25677         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
25678         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
25679         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25680         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
25681         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
25683 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25685         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
25686         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25687         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25688         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25689         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
25690         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
25691         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
25692         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
25693         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
25694         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
25695         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
25696         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
25697         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25698         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25699         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25700         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25701         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25702         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25703         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25704         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25705         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25706         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25707         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25708         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25709         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25710         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25711         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25712         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25713         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25714         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25715         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25716         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25717         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25718         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25719         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25720         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25721         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25722         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25723         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25724         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25725         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25726         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25727         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25729 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25731         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
25732         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25733         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25734         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25735         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25736         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
25737         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25738         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
25739         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25740         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25741         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25742         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
25743         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
25744         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
25745         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
25746         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
25747         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
25748         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
25749         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
25750         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
25751         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
25752         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
25753         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
25754         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25755         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25756         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
25757         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
25758         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
25759         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25760         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25761         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25762         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25763         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25764         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25765         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25766         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25767         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25768         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25769         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25770         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25771         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25772         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25773         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25775 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25777         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
25778         (dl_platform_init): Call init_cpu_features.
25779         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
25780         * sysdeps/i386/i686/cacheinfo.c
25781         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
25782         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
25783         * sysdeps/i386/i686/multiarch/Versions: Removed.
25784         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
25785         Removed.
25786         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
25787         * sysdeps/unix/sysv/linux/x86/Makefile
25788         (libpthread-sysdep_routines): Remove init-arch.
25789         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
25790         <sysdeps/x86_64/dl-procinfo.c> instead of
25791         sysdeps/generic/dl-procinfo.c>.
25792         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
25793         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
25794         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
25795         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
25796         [$(subdir) == elf] (tests-static): Add
25797         tst-get-cpu-features-static.
25798         * sysdeps/x86/Versions: New file.
25799         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
25800         * sysdeps/x86/cpu-features.c: Likewise.
25801         * sysdeps/x86/cpu-features.h: Likewise.
25802         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
25803         * sysdeps/x86/libc-start.c: Likewise.
25804         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
25805         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
25806         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
25807         * sysdeps/x86_64/dl-procinfo.c: Likewise.
25808         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
25809         Assume USE_MULTIARCH is defined and don't check it.
25810         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
25811         (is_amd): Likewise.
25812         (max_cpuid): Likewise.
25813         (intel_check_word): Likewise.
25814         (__cache_sysconf): Don't call __init_cpu_features.
25815         (__x86_preferred_memory_instruction): Removed.
25816         (init_cacheinfo): Don't call __init_cpu_features. Replace
25817         __cpu_features with GLRO(dl_x86_cpu_features).
25818         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
25819         (dl_platform_init): Call init_cpu_features.
25820         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
25821         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
25822         * sysdeps/x86_64/multiarch/Versions: Removed.
25823         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
25824         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
25825         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
25826         Removed.
25827         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
25829 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25831         [BZ #18820]
25832         * libio/Makefile (test-fmemopen-mem): New test.
25833         * libio/test-fmemopen.c (do_bz18820): New test.
25834         * libio/fmemopen.c (__fmemopen): Fix memory leak.
25835         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
25837 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25839         [BZ #16734]
25840         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
25841         (FREE_BUF): Delete.
25842         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
25843         * libio/genops.c (_IO_setb): Use malloc and free directly.
25844         (_IO_default_doallocate, _IO_default_finish): Likewise.
25845         ( _IO_unbuffer_all): Likewise.
25846         ( libc_freeres_fn): Likewise.
25847         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25848         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25849         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
25850         (_IO_wdefault_doallocate): Likewise.
25852 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25854         [BZ #18086]
25855         * sysdeps/posix/nice.c (nice): Restore old errno.
25856         * posix/tst-nice.c (do_test): Add test for BZ #18086.
25858 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
25860         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
25862 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25864         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
25865         __bcopy and add a weak_alias to bcopy.
25866         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
25867         for static build.
25869         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
25870         cleanup macro usage.
25871         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
25872         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
25873         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25874         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
25875         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25876         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
25877         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
25878         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25879         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25880         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
25881         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25882         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
25883         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25884         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
25885         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25886         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
25887         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
25888         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
25889         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25891         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
25892         libc_hidden_def.
25893         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
25895         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
25896         (sysdep_routines): Add strstr-ppc64.
25897         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
25899 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
25901         [BZ #18778]
25902         * elf/Makefile (tests): Add Add tst-nodelete2.
25903         (modules-names): Add tst-nodelete2mod.
25904         (tst-nodelete2mod.so-no-z-defs): New.
25905         ($(objpfx)tst-nodelete2): Likewise.
25906         ($(objpfx)tst-nodelete2.out): Likewise.
25907         (LDFLAGS-tst-nodelete2): Likewise.
25908         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
25909         out of loop through all loaded libraries.
25910         * elf/tst-nodelete2.c: New file.
25911         * elf/tst-nodelete2mod.c: Likewise.
25912         * elf/tst-znodelete-zlib.cc: Delete.
25914 2015-08-11  Andreas Schwab  <schwab@suse.de>
25916         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
25917         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
25918         (__openat64_nocancel): Likewise.
25920 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
25922         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
25923         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
25924         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
25925         * math/auto-libm-test-out: Regenerated.
25926         * sysdeps/i386/fpu/libm-test-ulps: Update.
25927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25929 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25931         [BZ #18790]
25932         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
25933         threshold for returning +/- 1.
25934         * math/auto-libm-test-in: Add more tests of tanh.
25935         * math/auto-libm-test-out: Regenerated.
25936         * sysdeps/i386/fpu/libm-test-ulps: Update.
25938 2015-08-10  Andreas Schwab  <schwab@suse.de>
25940         [BZ #18781]
25941         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
25942         MORE_OFLAGS to oflag.
25943         * io/test-lfs.c (do_test): Test openat64.
25945 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25947         [BZ #18789]
25948         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
25949         smaller threshold for returning the argument.
25950         * math/auto-libm-test-in: Add more tests of sinh.
25951         * math/auto-libm-test-out: Regenerated.
25952         * sysdeps/i386/fpu/libm-test-ulps: Update.
25954 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25956         [BZ #18674]
25957         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
25958         break.
25960 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
25962         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
25963         (generated): Don't add $(addprefix z.,$(tzfiles)).
25965 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25967         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
25968         * scripts/sysd-rules.awk: Likewise.
25970 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25972         * iconvdata/tst-tables.sh: Change echo -n to printf.
25973         * nss/db-Makefile: Likewise.
25974         * posix/tst-getconf.sh: Likewise.
25975         * stdio-common/tst-unbputc.sh: Likewise.
25977 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25979         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
25980         MADV_*_PAGES defines behind this feature check.
25982 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
25984         [BZ #18480]
25985         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
25986         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
25987         Define.
25988         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
25989         LOAD_REGS_5, LOAD_REGS_6): Update.
25990         (INTERNAL_SYSCALL): Update using new LOAD defines.
25991         (INTERNAL_SYSCALL_NCS): Likewise.
25992         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
25994 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25996         [BZ #16734]
25997         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
25999 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26001         [BZ #17905]
26002         * catgets/Makefile (tst-catgets-mem): New test.
26003         * catgets/catgets.c (catopen): Don't use unbounded alloca.
26004         * catgets/open_catalog.c (__open_catalog): Likewise.
26005         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
26007 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
26009         [BZ #18787]
26010         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
26011         clobber registers.
26012         (atomic_compare_and_exchange_val_acq): Use register asms to assign
26013         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
26014         Cast return to __typeof (oldval).
26016 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
26018         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
26019         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
26020         and delete sys/syscall.h include.
26022 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
26024         [BZ #16517]
26025         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
26026         (tan): Force underflow exception for arguments with small absolute
26027         value.
26028         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
26029         (__kernel_tanf): Force underflow exception for arguments with
26030         small absolute value.
26031         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
26032         (__kernel_tanl): Force underflow exception for arguments with
26033         small absolute value.
26034         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
26035         (__kernel_tanl): Force underflow exception for arguments with
26036         small absolute value.
26037         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
26038         (__kernel_tanl): Force underflow exception for arguments with
26039         small absolute value.
26040         * math/auto-libm-test-in: Add more tests of tan.
26041         * math/auto-libm-test-out: Regenerated.
26043 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26045         Fix sysdeps/i386/fpu/s_scalbn.S build
26047         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
26049 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
26051         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26053 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26055         Fix gcrt0.o compilation
26057         When static-start-installed-name is different from
26058         start-installed-name, we must not use the shared objects.
26060         * csu/Makefile
26061         (extra-objs): Add gmon-start.o when building shared library and
26062         $(static-start-installed-name) is different from
26063         $(start-installed-name).
26064         $(objpfx)g$(static-start-installed-name): When building shared
26065         library and $(static-start-installed-name) is different from
26066         $(static-start-installed-name), revert to non-shared rule,
26067         i.e. using $(objpfx)% and gmon-start.o.
26069 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
26071         [BZ #16519]
26072         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
26073         (__ieee754_sinh): Force underflow exception for arguments with
26074         small absolute value.
26075         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
26076         (__ieee754_sinhf): Force underflow exception for arguments with
26077         small absolute value.
26078         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
26079         (__ieee754_sinhl): Force underflow exception for arguments with
26080         small absolute value.
26081         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
26082         (__ieee754_sinhl): Force underflow exception for arguments with
26083         small absolute value.
26084         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
26085         (__ieee754_sinhl): Force underflow exception for arguments with
26086         small absolute value.
26087         * math/auto-libm-test-in: Add more tests of sinh.
26088         * math/auto-libm-test-out: Regenerated.
26089         * sysdeps/i386/fpu/libm-test-ulps: Update.
26091 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26093         * libio/oldfileops.c: Include unistd.h.
26095 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
26097         * stdlib/isomac.c: Include ctype.h.
26099 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
26101         * dirent/tst-seekdir.c (main): Converted to ...
26102         (do_test): ... this.
26103         (TEST_FUNCTION): New macro.
26104         Include test-skeleton.c.
26105         * elf/tst-dlmodcount.c (main): Converted to ...
26106         (do_test): ... this.
26107         (TEST_FUNCTION): New macro.
26108         Include test-skeleton.c.
26109         * elf/tst-order-main.c (main): Converted to ...
26110         (do_test): ... this.
26111         (TEST_FUNCTION): New macro.
26112         Include test-skeleton.c.
26113         * elf/tst-pie2.c (main): Converted to ...
26114         (do_test): ... this.
26115         (TEST_FUNCTION): New macro.
26116         Include test-skeleton.c.
26117         * inet/tst-ether_aton.c (main): Converted to ...
26118         (do_test): ... this.
26119         (TEST_FUNCTION): New macro.
26120         Include test-skeleton.c.
26121         * misc/tst-mntent.c (main): Converted to ...
26122         (do_test): ... this.
26123         (TEST_FUNCTION): New macro.
26124         Include test-skeleton.c.
26125         * misc/tst-tsearch.c (main): Converted to ...
26126         (do_test): ... this.
26127         (TEST_FUNCTION): New macro.
26128         Include test-skeleton.c.
26129         * posix/tst-regexloc.c (main): Converted to ...
26130         (do_test): ... this.
26131         (TEST_FUNCTION): New macro.
26132         Include test-skeleton.c.
26133         * resolv/tst-aton.c (main): Converted to ...
26134         (do_test): ... this.
26135         (TEST_FUNCTION): New macro.
26136         Include test-skeleton.c.
26137         * stdio-common/test-fwrite.c (main): Converted to ...
26138         (do_test): ... this.
26139         (TEST_FUNCTION): New macro.
26140         Include test-skeleton.c.
26141         * stdio-common/tst-ferror.c (main): Converted to ...
26142         (do_test): ... this.
26143         (TEST_FUNCTION): New macro.
26144         Include test-skeleton.c.
26145         * stdio-common/tst-printf.c (main): Converted to ...
26146         (do_test): ... this.
26147         (TEST_FUNCTION): New macro.
26148         Include test-skeleton.c.
26149         * stdio-common/tst-printfsz.c (main): Converted to ...
26150         (do_test): ... this.
26151         (TEST_FUNCTION): New macro.
26152         Include test-skeleton.c.
26153         * stdlib/tst-strtod.c (main): Converted to ...
26154         (do_test): ... this.
26155         (TEST_FUNCTION): New macro.
26156         Include test-skeleton.c.
26157         * string/tst-strlen.c (main): Converted to ...
26158         (do_test): ... this.
26159         (TEST_FUNCTION): New macro.
26160         Include test-skeleton.c.
26161         * string/tst-svc.c (main): Converted to ...
26162         (do_test): ... this.
26163         (TEST_FUNCTION): New macro.
26164         Include test-skeleton.c.
26165         * time/tst-strptime.c (main): Converted to ...
26166         (do_test): ... this.
26167         (TEST_FUNCTION): New macro.
26168         Include test-skeleton.c.
26169         * timezone/tst-timezone.c (main): Converted to ...
26170         (do_test): ... this.
26171         (TEST_FUNCTION): New macro.
26172         Include test-skeleton.c.
26174 2015-08-05  Zack Weinberg  <zackw@panix.com>
26176         * misc/regexp.h: Update comments.
26178 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
26180         [BZ #18635]
26181         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
26182         before return label.
26184 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26186         [BZ #18661]
26187         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
26188         when calling __errno_location.
26189         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
26190         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
26192 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26194         [BZ #18661]
26195         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
26196         (__lll_timedwait_tid): Align stack to 16 bytes when calling
26197         __gettimeofday.
26199 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26201         [BZ #18661]
26202         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26203         (__start_context): Don't use pop to restore %rdi so that stack
26204         is aligned to 16 bytes when calling __setcontext.
26206 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26208         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
26209         only for libc.
26210         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26212 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26214         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
26215         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
26216         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
26218 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26220         * string/memccpy.c (memccpy):
26221         Improve performance by using memchr/memcpy/__mempcpy.
26223 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26225         * string/strncpy.c (strncpy):
26226         Improve performance by using __strnlen/memcpy.
26228 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26230         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26231         Optimize to avoid an unnecessary FPCR read.
26233 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26235         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26236         Optimize to reduce FPCR/FPSR accesses.
26238 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26240         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
26241         dead->data[category] != NULL.
26243 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
26245         [BZ #18647]
26246         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
26247         and |x| close to 1, use absolute value of x when computing log.
26248         * math/auto-libm-test-in: Add more tests of pow.
26249         * math/auto-libm-test-out: Regenerated.
26251 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26253         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
26254         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
26255         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
26257 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
26259         [BZ #18525]
26260         * locales/km_KH: Remove timezone definition.
26261         * locales/lo_LA: Likewise.
26262         * locales/my_MM: Likewise.
26263         * locales/nan_TW@latin: Likewise.
26264         * locales/th_TH: Likewise.
26265         * locales/uk_UA: Likewise.
26267 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
26269         [BZ #18265]
26270         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
26271         (wcsncat): Likewise.
26272         (wcscmp): Likewise.
26273         (wcsncmp): Likewise.
26275 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26277         * test-skeleton.c (usage): New function.
26278         (main): Call usage when opt is '?'.
26280 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26282         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
26283         before first use.
26285 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26287         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
26288         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
26289         in there too.
26291 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
26293         * version.h (RELEASE): Set to "development".
26294         (VERSION): Set to "2.22.90"
26296         * version.h (RELEASE): Set to "stable".
26297         (VERSION): Set to "2.22"
26298         * include/features.h (__GLIBC_MINOR__): Set to 22.
26300 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
26302         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
26303         Restructure macro to avoid "value computed is not used" warning.
26304         (atomic_compare_and_exchange_val_acq): Likewise.
26306 2015-08-04  Andreas Schwab  <schwab@suse.de>
26308         [BZ #18635]
26309         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
26310         ret.
26311         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
26313 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
26315         * po/pl.po: Updated translation.
26316         * po/uk.po: Likewise.
26317         * po/fi.po: Likewise.
26318         * po/ko.po: Likewise.
26319         * po/ru.po: Likewise.
26320         * po/vi.po: Likewise.
26322 2015-07-31  Zack Weinberg  <zackw@panix.com>
26324         [BZ #18681]
26325         * regexp.h: Add unconditional #warning stating that this header
26326         will be removed soon.  Revise banner comment to match.
26327         (compile): Consistently use ERROR instead of RETURN to report
26328         errors (partial fix for bz#18681).
26329         * regexp.c: Don't include regexp.h. Remove some unnecessary
26330         declarations.
26332 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
26334         * po/libc.pot: Regenerated.
26336 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26338         [BZ #18740]
26339         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
26340         float-vlen4-arch-ext-cflags): Removed.
26341         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
26342         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
26344 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26346         [BZ #14113]
26347         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
26348         aligned to __aligned__.
26349         (pthread_cond_t, pthread_rwlock_t): Likewise.
26351 2015-07-30  Torvald Riegel  <triegel@redhat.com>
26353         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
26355 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26357         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
26358         (struct sigaction): Change sa_flags from a long to an int, and add
26359         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
26361 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26363         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
26364         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
26365         sysdeps/generic/sysdep.h include.
26366         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
26367         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
26368         sysdeps/hppa/sysdep.h.
26369         (ENTRY, PSEUDO): Undefine before defining.
26371 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26373         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
26374         from scratch to use INTERNAL_SYSCALL.
26376 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
26378         [BZ #18078]
26379         * scripts/check-localplt.awk: Support alternate relocations.
26380         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
26381         sections.
26382         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
26383         malloc entries with + REL R_386_GLOB_DAT.
26384         * sysdeps/x86_64/localplt.data: New file.
26386 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
26388         [BZ #18731]
26389         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
26390         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26391         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26393 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26395         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
26397 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26399         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
26400         directly in terms of __sync_fetch_and_add and delete (int) cast.
26402 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26404         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
26405         the -D_ASM_IA64_CURRENT_H flag.
26407 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26409         [BZ #18641]
26410         * pwd/pwd.h (putpwent): Delete __nonnull markings.
26412 2015-07-27  Andreas Schwab  <schwab@suse.de>
26414         * conform/conformtest.pl (checknamespace): Filter out string
26415         literals while tokenizing.
26417 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26419         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26420         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
26421         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26423 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26425         * nptl/tst-join7mod.c: Add #include <string.h>.
26427 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26429         * sysdeps/nios2/libm-test-ulps: Update.
26431 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26433         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
26434         Fix order of arguments to the rt_sigprocmask syscall.
26435         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
26436         Likewise.
26438 2015-07-24  Roland McGrath  <roland@hack.frob.com>
26440         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
26442 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26444         [BZ #18457]
26445         * nptl/Makefile (tests): New test case tst-join7.
26446         (modules-names): New test case module tst-join7mod.
26447         * nptl/tst-join7.c: New file.
26448         * nptl/tst-join7mod.c: New file.
26449         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
26450         all translation units in libc.so, libpthread.so and rtld.
26452 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26456 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26458         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
26459         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26460         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26461         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26462         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26463         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26464         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26465         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26466         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26467         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26468         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26469         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26470         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
26471         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
26472         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
26473         implementation.
26475 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26477         [BZ #17711]
26478         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26479         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
26480         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26481         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26482         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
26483         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26485 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26487         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
26488         instead of just saying load lock in the comments.
26490 2015-07-23  Roland McGrath  <roland@hack.frob.com>
26492         * sysdeps/unix/Subdirs: Moved ...
26493         * sysdeps/posix/Subdirs: ... here.
26494         * login/pty.h (struct termios, struct winsize): Add forward decls.
26495         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
26496         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
26497         * sysdeps/arm/nacl/libc.abilist: Updated.
26498         * sysdeps/nacl/libutil.abilist: New file.
26500         * bits/signum.h: Update comments to mention 1003.1-2013 too.
26501         (SIGWINCH): New macro.
26503         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
26504         * sysdeps/arm/nacl/libc.abilist: Add it.
26506 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26508         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
26510 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26512         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26513         Swap __glibc_reserved0 and sa_flags order.
26515 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26517         [BZ #18657]
26518         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
26519         are pending TLS destructor calls.
26520         * include/link.h (struct link_map): Add concurrency note for
26521         L_TLS_DTOR_COUNT.
26522         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26523         Don't touch the link map flag.  Atomically increment
26524         l_tls_dtor_count.
26525         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
26526         Avoid taking the load lock and don't touch the link map flag.
26527         * stdlib/tst-tls-atexit-nodelete.c: New test case.
26528         * stdlib/Makefile (tests): Use it.
26529         * stdlib/tst-tls-atexit.c (do_test): dlopen
26530         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
26531         to allow tst-tls-atexit-nodelete test case to use it.
26533 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26535         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
26536         to bits/types.h.
26537         (msgqnum_t): New typedef.
26538         (msglen_t): Likewise.
26539         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
26540         and msg_qbytes type to msglen_t.
26542 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26544         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
26545         pad0 to __glibc_reserved0.
26546         (struct stat64): Likewise.
26548 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26550         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26551         Change sa_flags from a long to an int and add __glibc_reserved0 before
26552         it for padding.
26554 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26556         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
26557         anonymous by deleting "siginfo" name.
26559 2015-07-21  Roland McGrath  <roland@hack.frob.com>
26561         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
26562         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
26563         rather than __nacl_irt_filename.
26564         * sysdeps/nacl/xstat.c (__xstat): Likewise.
26566         * NEWS: New item for arm-nacl port.
26567         * sysdeps/arm/nacl/libc.abilist: New file.
26568         * sysdeps/nacl/ld.abilist: New file.
26569         * sysdeps/nacl/libBrokenLocale.abilist: New file.
26570         * sysdeps/nacl/libanl.abilist: New file.
26571         * sysdeps/nacl/libcrypt.abilist: New file.
26572         * sysdeps/nacl/libdl.abilist: New file.
26573         * sysdeps/nacl/libm.abilist: New file.
26574         * sysdeps/nacl/libpthread.abilist: New file.
26575         * sysdeps/nacl/libresolv.abilist: New file.
26576         * sysdeps/nacl/librt.abilist: New file.
26578 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
26580         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
26581         __startcontext to initialize the new context.
26582         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
26583         up CFI directive to forbid further backtracing.
26585 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
26587         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
26588         reference.
26589         * charmaps/ANSI_X3.4-1968: Likewise.
26590         * charmaps/BS_4730: Likewise.
26591         * charmaps/BS_VIEWDATA: Likewise.
26592         * charmaps/CP1250: Likewise.
26593         * charmaps/CP1251: Likewise.
26594         * charmaps/CP1252: Likewise.
26595         * charmaps/CP1253: Likewise.
26596         * charmaps/CP1254: Likewise.
26597         * charmaps/CP1255: Likewise.
26598         * charmaps/CP1256: Likewise.
26599         * charmaps/CSN_369103: Likewise.
26600         * charmaps/EBCDIC-DK-NO: Likewise.
26601         * charmaps/GB_1988-80: Likewise.
26602         * charmaps/GREEK-CCITT: Likewise.
26603         * charmaps/GREEK7: Likewise.
26604         * charmaps/INIS-8: Likewise.
26605         * charmaps/ISIRI-3342: Likewise.
26606         * charmaps/ISO_2033-1983: Likewise.
26607         * charmaps/ISO_5427-EXT: Likewise.
26608         * locales/POSIX: Likewise.
26609         * locales/ar_SA: Likewise.
26610         * locales/be_BY: Likewise.
26611         * locales/be_BY@latin: Likewise.
26612         * locales/ca_ES: Likewise.
26613         * locales/cs_CZ: Likewise.
26614         * locales/da_DK: Likewise.
26615         * locales/de_BE: Likewise.
26616         * locales/de_CH: Likewise.
26617         * locales/de_LU: Likewise.
26618         * locales/en_AU: Likewise.
26619         * locales/en_BW: Likewise.
26620         * locales/en_CA: Likewise.
26621         * locales/en_DK: Likewise.
26622         * locales/en_GB: Likewise.
26623         * locales/en_IE: Likewise.
26624         * locales/en_NZ: Likewise.
26625         * locales/en_ZA: Likewise.
26626         * locales/en_ZW: Likewise.
26627         * locales/es_AR: Likewise.
26628         * locales/es_BO: Likewise.
26629         * locales/es_CL: Likewise.
26630         * locales/es_CO: Likewise.
26631         * locales/es_DO: Likewise.
26632         * locales/es_EC: Likewise.
26633         * locales/es_ES: Likewise.
26634         * locales/es_HN: Likewise.
26635         * locales/es_MX: Likewise.
26636         * locales/es_PA: Likewise.
26637         * locales/es_PE: Likewise.
26638         * locales/es_PY: Likewise.
26639         * locales/es_SV: Likewise.
26640         * locales/es_US: Likewise.
26641         * locales/es_UY: Likewise.
26642         * locales/es_VE: Likewise.
26643         * locales/et_EE: Likewise.
26644         * locales/fa_IR: Likewise.
26645         * locales/fo_FO: Likewise.
26646         * locales/fr_CA: Likewise.
26647         * locales/fr_CH: Likewise.
26648         * locales/gv_GB: Likewise.
26649         * locales/he_IL: Likewise.
26650         * locales/hr_HR: Likewise.
26651         * locales/id_ID: Likewise.
26652         * locales/is_IS: Likewise.
26653         * locales/it_CH: Likewise.
26654         * locales/iw_IL: Likewise.
26655         * locales/kl_GL: Likewise.
26656         * locales/ko_KR: Likewise.
26657         * locales/kw_GB: Likewise.
26658         * locales/lg_UG: Likewise.
26659         * locales/lt_LT: Likewise.
26660         * locales/lv_LV: Likewise.
26661         * locales/mi_NZ: Likewise.
26662         * locales/nhn_MX: Likewise.
26663         * locales/nl_BE: Likewise.
26664         * locales/pl_PL: Likewise.
26665         * locales/sk_SK: Likewise.
26666         * locales/sl_SI: Likewise.
26667         * locales/sv_FI: Likewise.
26668         * locales/tl_PH: Likewise.
26669         * locales/tr_TR: Likewise.
26670         * locales/vi_VN: Likewise.
26672 2015-07-21  Khem Raj  <raj.khem@gmail.com>
26674         [BZ #17475]
26675         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
26676         of tu_IN and bh_IN.
26678 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
26680         [BZ #18694]
26681         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
26682         bits/wordsize.h.
26683         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
26685 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26687         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
26688         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
26689         (spawn_thread): New function.
26690         (load): Rename to reg_dtor_and_close.  Move dlopen to...
26691         (do_test): ... here.  Use IS_LOADED to test for its
26692         availability.
26694 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
26696         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26698 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
26700         [BZ #18696]
26701         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
26702         si_addr_bnd.
26703         (si_lower): New.
26704         (si_upper): Likewise.
26706 2015-07-16  David S. Miller  <davem@davemloft.net>
26708         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
26710 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26712         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
26713         buffer.
26714         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
26715         fail output information.
26717 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
26720         and strstr-ppc64..
26721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26722         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
26723         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
26724         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
26725         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
26727 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26729         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26730         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26731         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26732         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26734 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26736         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26737         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
26738         rtld_hidden_proto.
26739         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
26741 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26743         * tst-nodelete-opened.c (do_test): Add comment to clarify how
26744         the test can fail.
26746         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
26748         [BZ #18676]
26749         * elf/tst-nodelete-opened.c: New test case.
26750         * elf/tst-nodelete-opened-lib.c: New test case module.
26751         * elf/Makefile (tests, modules-names): Use them.
26752         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
26753         early.
26755 2015-07-15  David S. Miller  <davem@davemloft.net>
26757         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
26758         futex-intenal.h
26759         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
26760         * sysdeps/sparc/sparc64/Makefile: Likewise.
26761         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26762         Remove space from macro define.
26763         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
26765 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
26767         [BZ #17475]
26768         * locale/iso-639.def: Update Bhili and Tulu language codes as
26769         per iso639-3.
26771 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
26773         * elf/tst-leaks1.c (main): Converted to ...
26774         (do_test): ... this.
26775         (TEST_FUNCTION): New macro.
26776         Include test-skeleton.c.
26777         * localedata/tst-langinfo.c (main): Converted to ...
26778         (do_test): ... this.
26779         (TEST_FUNCTION): New macro.
26780         Include test-skeleton.c.
26781         * math/test-fpucw.c (main): Converted to ...
26782         (do_test): ... this.
26783         (TEST_FUNCTION): New macro.
26784         Include test-skeleton.c.
26785         * math/test-tgmath.c (main): Converted to ...
26786         (do_test): ... this.
26787         (TEST_FUNCTION): New macro.
26788         Include test-skeleton.c.
26789         * math/test-tgmath2.c (main): Converted to ...
26790         (do_test): ... this.
26791         (TEST_FUNCTION): New macro.
26792         Include test-skeleton.c.
26793         * setjmp/tst-setjmp.c (main): Converted to ...
26794         (do_test): ... this.
26795         (TEST_FUNCTION): New macro.
26796         Include test-skeleton.c.
26797         * stdio-common/tst-sscanf.c (main): Converted to ...
26798         (do_test): ... this.
26799         (TEST_FUNCTION): New macro.
26800         Include test-skeleton.c.
26801         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
26802         (do_test): ... this.
26803         (TEST_FUNCTION): New macro.
26804         Include test-skeleton.c.
26806         * elf/tst-audit9.c (main): Converted to ...
26807         (do_test): ... this.
26808         (TEST_FUNCTION): New macro.
26809         Include test-skeleton.c.
26811 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
26813         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
26815 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26817         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
26818         New variable.
26820 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26822         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26824 2015-07-14  Roland McGrath  <roland@hack.frob.com>
26826         * sysdeps/generic/dl-fileid.h: New file.
26827         * sysdeps/posix/dl-fileid.h: New file.
26828         * sysdeps/nacl/dl-fileid.h: New file.
26829         * include/link.h: Include <dl-fileid.h>.
26830         (struct link_map): Replace l_dev and l_ino with l_file_id.
26831         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
26832         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
26833         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
26835 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26837         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
26839 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26841         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
26842         Add iff $CXX is set.
26843         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
26844         Likewise.
26845         (tst-nodelete-zmodiff): Likewise.
26846         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
26848 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26850         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
26852 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26854         * sysdeps/aarch64/fpu/math_private.h
26855         (define math_opt_barrier): Add AArch64 version.
26856         (math_force_eval): Likewise.
26858 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26860         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
26862 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
26864         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
26865         %ld with %jd and cast to intmax_t.
26866         (do_test_length_zero): Likewise.
26868 2015-07-10  Roland McGrath  <roland@hack.frob.com>
26870         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
26872 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
26874         * sysdeps/tile/libm-test-ulps: Regenerated.
26876         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
26877         Comment out the whole function, not just its body.
26879 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26881         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
26882         locks.
26884         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
26886 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26888         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
26889         (sem_assume_only_signals_cause_futex_EINTR): Remove.
26891 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26893         * sysdeps/nptl/futex-internal.h: New file.
26894         * sysdeps/nacl/futex-internal.h: New file.
26895         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
26896         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
26897         error checking.
26898         (setxid_unmark_thread): Likewise.
26899         (__nptl_setxid): Likewise.
26900         (__wait_lookup_done): Likewise.
26901         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
26902         * nptl/nptl-init.c (sighandler_setxid): Likewise.
26903         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26904         * nptl/pthread_once.c (clear_once_control): Likewise.
26905         (__pthread_once_slow): Likewise.
26906         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
26907         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
26908         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
26909         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26910         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
26911         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
26912         Likewise.
26913         (__pthread_rwlock_rdlock): Likewise.
26914         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26915         Likewise.
26916         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26917         Likewise.
26918         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26919         Likewise.
26920         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
26921         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
26922         Likewise.
26923         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
26924         __ASSUME_PRIVATE_FUTEX check.
26925         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
26926         Check that shared futexes are supported.
26927         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
26928         wrappers with error checking.
26929         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
26930         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
26931         * nptl/pthread_barrierattr_setpshared.c
26932         (pthread_barrierattr_setpshared): Check that shared futexes are
26933         supported.
26934         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
26935         Likewise.
26936         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
26937         Likewise.
26938         * nptl/sem_init.c (futex_private_if_supported): Remove.
26939         (__new_sem_init): Adapt and check that shared futexes are supported.
26940         * nptl/sem_open.c (sem_open): Likewise.
26941         * nptl/sem_post.c (futex_wake): Remove.
26942         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
26943         (do_futex_wait): Use futex wrappers with error checking.
26944         * nptl/sem_wait.c: Include lowlevellock.h.
26945         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
26946         Use futex_supports_pshared.
26947         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
26948         Use futex wrappers with error checking.
26949         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
26950         Likewise.
26951         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
26952         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
26953         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
26954         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
26955         (futex_wake): Likewise.
26956         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
26957         (do_futex_wait): Use futex wrappers with error checking.
26958         (__new_sem_wait_slow): Update EINTR handling.
26959         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
26961 2015-07-09  Martin Sebor  <msebor@redhat.com>
26963         [BZ #18435]
26964         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26965         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
26966         * nptl/Makefile (test-xfail-tst-once5): Define.
26968 2015-07-09  Roland McGrath  <roland@hack.frob.com>
26970         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
26971         * elf/dl-minimal.c: For readability, reorder some definitions and
26972         introduce more page breaks.  Include <stdio.h>.
26973         (__libc_fatal): New function.
26975         * include/unistd.h: Add rtld_hidden_proto for _exit.
26976         * posix/_exit.c: Add rtld_hidden_def.
26977         * sysdeps/mach/hurd/_exit.c: Likewise.
26978         * sysdeps/nacl/_exit.c: Likewise.
26979         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
26980         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
26982 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
26984         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
26985         bndmov encoding with zero displacement.
26987 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
26988             H.J. Lu  <hongjiu.lu@intel.com>
26990         [BZ #18134]
26991         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
26992         * sysdeps/i386/configure: Regenerated.
26993         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
26994         (_dl_runtime_profile): Save and restore Intel MPX return bound
26995         registers when calling _dl_call_pltexit.  Add
26996         PRESERVE_BND_REGS_PREFIX before return.
26997         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
26998         (LRV_BND1_OFFSET): Likewise.
26999         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
27000         lrv_bnd1.
27001         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
27002         typo in bndmov encoding.
27003         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
27004         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
27005         branch instructions to preserve bounds.
27007 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
27010         [GLIBC_2.22]: Add fmemopen.
27012 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27014         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
27015         returns an error, also try to use host port from __mach_host_self for
27016         the __vm_wire call.
27017         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
27019 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27021         [BZ #18400]
27022         [BZ #18648]
27023         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
27024         Fix pr_uid and pr_gid members.
27025         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
27026         definition to elf_greg_t.
27028 2015-07-08  Roland McGrath  <roland@hack.frob.com>
27030         [BZ #18383]
27031         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
27032         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
27033         * sysdeps/arm/configure: Regenerated.
27034         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
27035         (test-xfail-tst-tlsalign-static): Variable removed.
27037         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
27038         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
27039         rather than explicit 'ln -s'.
27041         * resolv/rpc/netdb.h: New file.
27042         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
27044 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27046         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
27047         length buffers.
27048         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27049         test-skeleton.c.
27051         [BZ #6544]
27052         [BZ #11216]
27053         [BZ #12836]
27054         [BZ #13151]
27055         [BZ #13152]
27056         [BZ #14292]
27057         * include/stdio.h (fmemopen): Remove hidden prototype.
27058         (__fmemopen): Add new hidden prototype.
27059         * libio/Makefile: Add oldfmemopen object.
27060         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
27061         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
27062         compliance.
27063         * libio/oldfmemopen.c: New file: old fmemopen implementation for
27064         symbol compatibility.
27065         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
27066         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
27067         fmemopen.
27068         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
27069         on append and read mode.
27070         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
27071         fmemopen.
27072         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
27073         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
27074         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
27075         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
27076         Likewise.
27077         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
27078         [GLIBC_2.22]: Likewise.
27079         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
27080         Likewise.
27081         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
27082         Likewise.
27083         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
27084         [GLIBC_2.22]: Likewise.
27085         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
27086         [GLIBC_2.22]: Likewise.
27087         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
27088         [GLIBC_2.22]: Likewise.
27089         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
27090         [GLIBC_2.22]: Likewise.
27091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
27092         [GLIBC_2.22]: Likewise.
27093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
27094         [GLIBC_2.22]: Likewise.
27095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
27096         [GLIBC_2.22]: Likewise.
27097         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
27098         Likewise.
27099         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
27100         Likewise.
27101         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
27102         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
27103         [GLIBC_2.22]: Likewise.
27104         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
27105         [GLIBC_2.22]: Likewise.
27106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
27107         [GLIBC_2.22]: Likewise.
27108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
27109         [GLIBC_2.22]: Likewise.
27110         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
27111         Likewise.
27112         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
27113         Likewise.
27114         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
27115         Likewise.
27116         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
27117         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
27119 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27121         [BZ #18643]
27122         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
27123         IPV6_PATHMTU, and IPV6_DONTFRAG.
27125 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
27127         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
27128         and _IO_UNBUFFERED.
27129         * libio/oldfileops.c: Likewise.
27130         * libio/wfileops.c: Likewise.
27132 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27134         * nscd/selinux.c: Delete selinux/flask.h include.
27136 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27138         [BZ #18641]
27139         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
27140         (putpwent): Likewise.
27141         (getpwnam): Likewise.
27142         (getpwent_r): Likewise.
27143         (getpwuid_r): Likewise.
27144         (getpwnam_r): Likewise.
27145         (fgetpwent_r): Likewise.
27147 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27149         [BZ #18557]
27150         * inet/rcmd.c (__validuser2_sa): Check user first to
27151         short-circuit host check.
27153 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
27154             Mikhail Ilin  <m.ilin@samsung.com>
27156         [BZ #17833]
27157         * elf/Makefile (tests): Add tst-nodelete.
27158         (modules-names): Add tst-nodelete-uniquemod.
27159         (tst-nodelete-uniquemod.so-no-z-defs): New.
27160         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
27161         (tst-nodelete-zmod.so-no-z-defs): Likewise.
27162         ($(objpfx)tst-nodelete): Likewise.
27163         ($(objpfx)tst-nodelete.out): Likewise.
27164         (LDFLAGS-tst-nodelete): Likewise.
27165         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
27166         * elf/dl-close.c (_dl_close_worker): Add a parameter to
27167         implement forced object deletion.
27168         (_dl_close): Pass false to _dl_close_worker.
27169         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
27170         * elf/tst-nodelete.cc: New file.
27171         * elf/tst-nodeletelib.cc: Likewise.
27172         * elf/tst-znodeletelib.cc: Likewise.
27173         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
27175 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27177         [BZ #18508]
27178         * stdlib/Makefile ($(objpfx)tst-makecontext3):
27179         Depend on $(libdl).
27180         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
27181         is not called infinitely times.
27182         (backtrace_helper): New function.
27183         (trace_arg): New struct.
27184         (st1): Enlarge stack size.
27185         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27186         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
27187         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27188         Likewise.
27190 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27192         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27194 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27196         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
27197         Include sys/types.h instead of bits/types.h.
27198         Remove inclusion of bits/wordsize.h.
27200 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27202         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
27203         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
27204         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
27205         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
27206         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
27207         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
27209 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27211         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
27212         link-defines.sym.
27213         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
27214         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
27215         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
27216         and LR_SIZE.
27217         * sysdeps/i386/link-defines.sym: New file.
27219 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27221         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
27222         (modules-names): Add tst-auditmod3a tst-auditmod3b.
27223         ($(objpfx)tst-audit3): New rule.
27224         ($(objpfx)tst-audit3.out): Likewise.
27225         * sysdeps/i386/tst-audit3.c: New file.
27226         * sysdeps/i386/tst-audit3.h: Likewise.
27227         * sysdeps/i386/tst-auditmod3a.c: Likewise.
27228         * sysdeps/i386/tst-auditmod3b.c: Likewise.
27230 2015-07-07  Torvald Riegel  <triegel@redhat.com>
27232         [BZ #18633]
27233         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
27234         pointer in C code.
27235         (__strcat_c): Likewise.
27236         (__strcat_g): Likewise.
27238 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
27240         [BZ #18592]
27241         * misc/sbrk.c: Set errno to ENOMEM on overflow.
27243 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27245         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
27246         New function.  (__ieee754_sqrtf): New function.
27247         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
27248         New function.
27249         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
27250         New function.
27252 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27254         * sysdeps/ieee754/support.c: Remove unused file.
27256 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27258         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
27259         registers instead of d ones so the layout is kernel abi compatible.
27260         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
27261         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
27262         Likewise.
27264 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27266         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27268 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27270         [BZ #18619]
27271         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
27272         and return argument in case of subnormal argument.
27274 2015-07-01  Martin Sebor  <msebor@redhat.com>
27276         [BZ #18435]
27277         * nptl/Makefile: Add tst-once5.cc.
27278         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27279         Remove macro redefinitions.
27280         * nptl/tst-once5.cc: New test.
27282 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27284         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27286         * sysdeps/arm/libm-test-ulps: Regenerated.
27288         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27289         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27291 2015-06-30  Torvald Riegel  <triegel@redhat.com>
27293         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
27294         lll_lock_wait_private and lll_futex_wake probes.
27296         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27297         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
27298         Likewise.
27299         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
27300         atomic_spin_nop.
27301         * sysdeps/x86_64/bits/atomic.h: Likewise.
27302         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
27303         to atomic_spin_nop and move ...
27304         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27305         ... here and ...
27306         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
27307         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
27308         atomic_spin_nop instead of BUSY_WAIT_NOP.
27309         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
27310         Likewise.
27311         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
27312         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27313         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
27314         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
27315         instead of atomic_delay.
27317 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
27319         [BZ #18613]
27320         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
27321         X_ADJ not X when adjusting exponent.
27322         (__ieee754_gamma_r): Do intermediate computations in
27323         round-to-nearest then adjust overflowing and underflowing results
27324         as needed.
27325         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
27326         of X_ADJ not X when adjusting exponent.
27327         (__ieee754_gammaf_r): Do intermediate computations in
27328         round-to-nearest then adjust overflowing and underflowing results
27329         as needed.
27330         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
27331         log of X_ADJ not X when adjusting exponent.
27332         (__ieee754_gammal_r): Do intermediate computations in
27333         round-to-nearest then adjust overflowing and underflowing results
27334         as needed.  Use 1.0L not 1.0f as numerator of division.
27335         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
27336         log of X_ADJ not X when adjusting exponent.
27337         (__ieee754_gammal_r): Do intermediate computations in
27338         round-to-nearest then adjust overflowing and underflowing results
27339         as needed.  Use 1.0L not 1.0f as numerator of division.
27340         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
27341         of X_ADJ not X when adjusting exponent.
27342         (__ieee754_gammal_r): Do intermediate computations in
27343         round-to-nearest then adjust overflowing and underflowing results
27344         as needed.  Use 1.0L not 1.0f as numerator of division.
27345         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
27346         to auto-libm-test-in.
27347         (tgamma_test): Use ALL_RM_TEST.
27348         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
27349         tests of tgamma with spurious-overflow.
27350         * math/auto-libm-test-out: Regenerated.
27351         * math/gen-libm-have-vector-test.sh: Do not check for START.
27352         * sysdeps/i386/fpu/libm-test-ulps: Update.
27353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27355         [BZ #18612]
27356         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
27357         arguments, just return 0.5 times the argument, with underflow
27358         forced as needed.
27359         * math/auto-libm-test-in: Add more tests of j1.
27360         * math/auto-libm-test-out: Regenerated.
27362         [BZ #16559]
27363         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
27364         (__ieee754_j1): Force underflow exception for small results.
27365         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27366         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
27367         (__ieee754_j1f): Force underflow exception for small results.
27368         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27369         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27370         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27371         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
27372         (__ieee754_j1l): Force underflow exception for small results.
27373         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27374         * math/auto-libm-test-in: Add more tests of j1 and jn.
27375         * math/auto-libm-test-out: Regenerated.
27377         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
27378         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
27379         (PF_MPLS): Likewise.
27380         (AF_IB): Likewise.
27381         (AF_MPLS): Likewise.
27382         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
27383         value and macro.
27384         (MS_RMT_MASK): Include MS_LAZYTIME.
27386 2015-06-26  Mel Gorman  <mgorman@suse.de>
27388         [BZ #18502]
27389         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
27390         already minimal.
27392 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
27394         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
27395         (DT_MIPS_NUM): Update.
27396         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
27397         DT_MIPS_RLD_MAP_REL.
27399 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
27401         [BZ #16559]
27402         [BZ #18602]
27403         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
27404         round-to-nearest internally then recompute results that
27405         underflowed to zero in the original rounding mode.
27406         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27407         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27408         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27409         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27410         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
27411         * sysdeps/i386/fpu/libm-test-ulps: Update.
27412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27414 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
27416         * NEWS: Fixed description of link with vector math library.
27418 2015-06-25  Andreas Schwab  <schwab@suse.de>
27420         [BZ #18549]
27421         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
27422         * libio/test-fmemopen.c (do_test): Add test for it.
27424 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27426         [BZ #17841]
27427         * Makeconfig (no-pie-ldflag): New.
27428         (+link): Set to $(+link-pie) if default to PIE.
27429         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
27430         * config.make.in (build-pie-default): New.
27431         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
27432         is default.  AC_SUBST.
27433         * configure: Regenerated.
27434         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
27436 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27438         * nptl/descr.h (struct pthread): Change type of field setxid_futex
27439         to 'unsigned int'.
27441         * resolv/gai_misc.h (struct waitlist): Change type of field
27442         counterp to 'volatile unsigned int *'.
27443         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
27444         FUTEXADDR and OLDVAL.
27445         * resolv/getaddrinfo_a.c (getaddrinfo_a):
27446         Give local variable TOTAL type 'volatile unsigned int'.
27447         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27448         * resolv/gai_suspend.c (gai_suspend):
27449         Give local variable CNTR type 'unsigned int'.
27451         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
27452         counterp to 'volatile unsigned int *'.
27453         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
27454         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
27455         (aio_suspend): Give local variable CNTR type 'unsigned int'.
27456         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
27457         Give local variable TOTAL type 'volatile unsigned int'.
27458         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27460 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27462         [BZ #18383]
27463         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
27464         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
27465         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
27466         comment for i386/x86-64.
27467         (test-xfail-tst-tlsalign-extern-static): Removed.
27469 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27471         * math/test-double.h: New file.
27472         * math/test-float.h: Likewise.
27473         * math/test-ldouble.h: Likewise.
27474         * math/test-math-inline.h: Likewise.
27475         * math/test-math-no-inline.h: Likewise.
27476         * math/test-math-scalar.h: Likewise.
27477         * math/test-math-vector.h: Likewise.
27478         * math/test-vec-loop.h: Remove file.  Contents moved into
27479         test-math-vector.h.
27480         * math/libm-test.inc (MATHCONST): Do not document macro.
27481         * math/test-double.c: Include test-double.h, test-math-no-inline.h
27482         and test-math-scalar.h.
27483         (FUNC): Remove macro.
27484         (FUNC_TEST): Likewise.
27485         (FLOAT): Likewise.
27486         (MATHCONST): Likewise.
27487         (PRINTF_EXPR): Likewise.
27488         (PRINTF_XEXPR): Likewise.
27489         (PRINTF_NEXPR): Likewise.
27490         (TEST_DOUBLE): Likewise.
27491         (TEST_MATHVEC): Likewise.
27492         (__NO_MATH_INLINES): Likewise.
27493         * math/test-float.c: Include test-float.h, test-math-no-inline.h
27494         and test-math-scalar.h.
27495         (FUNC): Remove macro.
27496         (FUNC_TEST): Likewise.
27497         (FLOAT): Likewise.
27498         (MATHCONST): Likewise.
27499         (PRINTF_EXPR): Likewise.
27500         (PRINTF_XEXPR): Likewise.
27501         (PRINTF_NEXPR): Likewise.
27502         (TEST_FLOAT): Likewise.
27503         (TEST_MATHVEC): Likewise.
27504         (__NO_MATH_INLINES): Likewise.
27505         * math/test-idouble.c: Include test-double.h, test-math-inline.h
27506         and test-math-scalar.h.
27507         (FUNC): Remove macro.
27508         (FUNC_TEST): Likewise.
27509         (FLOAT): Likewise.
27510         (MATHCONST): Likewise.
27511         (PRINTF_EXPR): Likewise.
27512         (PRINTF_XEXPR): Likewise.
27513         (PRINTF_NEXPR): Likewise.
27514         (TEST_DOUBLE): Likewise.
27515         (TEST_MATHVEC): Likewise.
27516         (TEST_INLINE): Likewise.
27517         (__NO_MATH_INLINES): Likewise.
27518         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
27519         test-math-scalar.h.
27520         (FUNC): Remove macro.
27521         (FUNC_TEST): Likewise.
27522         (FLOAT): Likewise.
27523         (MATHCONST): Likewise.
27524         (PRINTF_EXPR): Likewise.
27525         (PRINTF_XEXPR): Likewise.
27526         (PRINTF_NEXPR): Likewise.
27527         (TEST_FLOAT): Likewise.
27528         (TEST_MATHVEC): Likewise.
27529         (TEST_INLINE): Likewise.
27530         (__NO_MATH_INLINES): Likewise.
27531         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
27532         and test-math-scalar.h.
27533         (FUNC): Remove macro.
27534         (FUNC_TEST): Likewise.
27535         (FLOAT): Likewise.
27536         (MATHCONST): Likewise.
27537         (PRINTF_EXPR): Likewise.
27538         (PRINTF_XEXPR): Likewise.
27539         (PRINTF_NEXPR): Likewise.
27540         (TEST_LDOUBLE): Likewise.
27541         (TEST_MATHVEC): Likewise.
27542         (TEST_INLINE): Likewise.
27543         (__NO_MATH_INLINES): Likewise.
27544         * math/test-ldouble.c: Include test-ldouble.h,
27545         test-math-no-inline.h and test-math-scalar.h.
27546         (FUNC): Remove macro.
27547         (FUNC_TEST): Likewise.
27548         (FLOAT): Likewise.
27549         (MATHCONST): Likewise.
27550         (PRINTF_EXPR): Likewise.
27551         (PRINTF_XEXPR): Likewise.
27552         (PRINTF_NEXPR): Likewise.
27553         (TEST_LDOUBLE): Likewise.
27554         (TEST_MATHVEC): Likewise.
27555         (__NO_MATH_INLINES): Likewise.
27556         * math/test-double-vlen2.h: Include test-double.h,
27557         test-math-no-inline.h and test-math-vector.h.
27558         (FLOAT): Remove macro.
27559         (FUNC): Likewise.
27560         (MATHCONST): Likewise.
27561         (PRINTF_EXPR): Likewise.
27562         (PRINTF_XEXPR): Likewise.
27563         (PRINTF_NEXPR): Likewise.
27564         (TEST_DOUBLE): Likewise.
27565         (TEST_MATHVEC): Likewise.
27566         (__NO_MATH_INLINES): Likewise.
27567         (CNCT): Likewise.
27568         (CONCAT): Likewise.
27569         (WRAPPER_NAME): Likewise.
27570         (WRAPPER_DECL): Likewise.
27571         (WRAPPER_DECL_ff): Likewise.
27572         (WRAPPER_DECL_fFF): Likewise.
27573         (VECTOR_WRAPPER): Likewise.
27574         (VECTOR_WRAPPER_ff): Likewise.
27575         (VECTOR_WRAPPER_fFF): Likewise.
27576         (VEC_LEN): New macro.
27577         * math/test-double-vlen4.h: Include test-double.h,
27578         test-math-no-inline.h and test-math-vector.h.
27579         (FLOAT): Remove macro.
27580         (FUNC): Likewise.
27581         (MATHCONST): Likewise.
27582         (PRINTF_EXPR): Likewise.
27583         (PRINTF_XEXPR): Likewise.
27584         (PRINTF_NEXPR): Likewise.
27585         (TEST_DOUBLE): Likewise.
27586         (TEST_MATHVEC): Likewise.
27587         (__NO_MATH_INLINES): Likewise.
27588         (CNCT): Likewise.
27589         (CONCAT): Likewise.
27590         (WRAPPER_NAME): Likewise.
27591         (WRAPPER_DECL): Likewise.
27592         (WRAPPER_DECL_ff): Likewise.
27593         (WRAPPER_DECL_fFF): Likewise.
27594         (VECTOR_WRAPPER): Likewise.
27595         (VECTOR_WRAPPER_ff): Likewise.
27596         (VECTOR_WRAPPER_fFF): Likewise.
27597         (VEC_LEN): New macro.
27598         * math/test-double-vlen8.h: Include test-double.h,
27599         test-math-no-inline.h and test-math-vector.h.
27600         (FLOAT): Remove macro.
27601         (FUNC): Likewise.
27602         (MATHCONST): Likewise.
27603         (PRINTF_EXPR): Likewise.
27604         (PRINTF_XEXPR): Likewise.
27605         (PRINTF_NEXPR): Likewise.
27606         (TEST_DOUBLE): Likewise.
27607         (TEST_MATHVEC): Likewise.
27608         (__NO_MATH_INLINES): Likewise.
27609         (CNCT): Likewise.
27610         (CONCAT): Likewise.
27611         (WRAPPER_NAME): Likewise.
27612         (WRAPPER_DECL): Likewise.
27613         (WRAPPER_DECL_ff): Likewise.
27614         (WRAPPER_DECL_fFF): Likewise.
27615         (VECTOR_WRAPPER): Likewise.
27616         (VECTOR_WRAPPER_ff): Likewise.
27617         (VECTOR_WRAPPER_fFF): Likewise.
27618         (VEC_LEN): New macro.
27619         * math/test-float-vlen4.h: Include test-float.h,
27620         test-math-no-inline.h and test-math-vector.h.
27621         (FLOAT): Remove macro.
27622         (FUNC): Likewise.
27623         (MATHCONST): Likewise.
27624         (PRINTF_EXPR): Likewise.
27625         (PRINTF_XEXPR): Likewise.
27626         (PRINTF_NEXPR): Likewise.
27627         (TEST_FLOAT): Likewise.
27628         (TEST_MATHVEC): Likewise.
27629         (__NO_MATH_INLINES): Likewise.
27630         (CNCT): Likewise.
27631         (CONCAT): Likewise.
27632         (WRAPPER_NAME): Likewise.
27633         (WRAPPER_DECL): Likewise.
27634         (WRAPPER_DECL_ff): Likewise.
27635         (WRAPPER_DECL_fFF): Likewise.
27636         (VECTOR_WRAPPER): Likewise.
27637         (VECTOR_WRAPPER_ff): Likewise.
27638         (VECTOR_WRAPPER_fFF): Likewise.
27639         (VEC_LEN): New macro.
27640         * math/test-float-vlen8.h: Include test-float.h,
27641         test-math-no-inline.h and test-math-vector.h.
27642         (FLOAT): Remove macro.
27643         (FUNC): Likewise.
27644         (MATHCONST): Likewise.
27645         (PRINTF_EXPR): Likewise.
27646         (PRINTF_XEXPR): Likewise.
27647         (PRINTF_NEXPR): Likewise.
27648         (TEST_FLOAT): Likewise.
27649         (TEST_MATHVEC): Likewise.
27650         (__NO_MATH_INLINES): Likewise.
27651         (CNCT): Likewise.
27652         (CONCAT): Likewise.
27653         (WRAPPER_NAME): Likewise.
27654         (WRAPPER_DECL): Likewise.
27655         (WRAPPER_DECL_ff): Likewise.
27656         (WRAPPER_DECL_fFF): Likewise.
27657         (VECTOR_WRAPPER): Likewise.
27658         (VECTOR_WRAPPER_ff): Likewise.
27659         (VECTOR_WRAPPER_fFF): Likewise.
27660         (VEC_LEN): New macro.
27661         * math/test-float-vlen16.h: Include test-float.h,
27662         test-math-no-inline.h and test-math-vector.h.
27663         (FLOAT): Remove macro.
27664         (FUNC): Likewise.
27665         (MATHCONST): Likewise.
27666         (PRINTF_EXPR): Likewise.
27667         (PRINTF_XEXPR): Likewise.
27668         (PRINTF_NEXPR): Likewise.
27669         (TEST_FLOAT): Likewise.
27670         (TEST_MATHVEC): Likewise.
27671         (__NO_MATH_INLINES): Likewise.
27672         (CNCT): Likewise.
27673         (CONCAT): Likewise.
27674         (WRAPPER_NAME): Likewise.
27675         (WRAPPER_DECL): Likewise.
27676         (WRAPPER_DECL_ff): Likewise.
27677         (WRAPPER_DECL_fFF): Likewise.
27678         (VECTOR_WRAPPER): Likewise.
27679         (VECTOR_WRAPPER_ff): Likewise.
27680         (VECTOR_WRAPPER_fFF): Likewise.
27681         (VEC_LEN): New macro.
27682         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
27683         test-vec-loop.h.
27684         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27685         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27686         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27687         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27688         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27689         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27690         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27692 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27694         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
27695         (__getlogin_r): ... this.
27697 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27699         [BZ #18594]
27700         * math/s_ccosh.c (__ccosh): Compare with least normal value
27701         instead of comparing class with FP_SUBNORMAL.
27702         * math/s_ccoshf.c (__ccoshf): Likewise.
27703         * math/s_ccoshl.c (__ccoshl): Likewise.
27704         * math/s_cexp.c (__cexp): Likewise.
27705         * math/s_cexpf.c (__cexpf): Likewise.
27706         * math/s_cexpl.c (__cexpl): Likewise.
27707         * math/s_csin.c (__csin): Likewise.
27708         * math/s_csinf.c (__csinf): Likewise.
27709         * math/s_csinh.c (__csinh): Likewise.
27710         * math/s_csinhf.c (__csinhf): Likewise.
27711         * math/s_csinhl.c (__csinhl): Likewise.
27712         * math/s_csinl.c (__csinl): Likewise.
27713         * math/s_ctan.c (__ctan): Likewise.
27714         * math/s_ctanf.c (__ctanf): Likewise.
27715         * math/s_ctanh.c (__ctanh): Likewise.
27716         * math/s_ctanhf.c (__ctanhf): Likewise.
27717         * math/s_ctanhl.c (__ctanhl): Likewise.
27718         * math/s_ctanl.c (__ctanl): Likewise.
27719         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
27720         csin, csinh, ctan and ctanh.
27721         * math/auto-libm-test-out: Regenerated.
27722         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
27723         * sysdeps/i386/fpu/libm-test-ulps: Update.
27724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27726 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27728         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
27729         return value is wrong, print the expected value too.
27731 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27733         [BZ #18585]
27734         * elf/readlib.c (is_gdb_python_file): New.
27735         (process_file): Don't issue errors on filenames with -gdb.py
27736         suffix.
27738 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27740         * math/auto-libm-test-in: Add more tests of csin and csinh.
27741         * math/auto-libm-test-out: Regenerated.
27742         * math/libm-test.inc (csin_test_data): Remove tests moved to
27743         auto-libm-test-in.
27744         (csinh_test_data): Likewise.
27746         [BZ #18593]
27747         * math/s_csin.c (__csin): Negate before rather than after possibly
27748         overflowing multiplication.
27749         * math/s_csinf.c (__csinf): Likewise.
27750         * math/s_csinh.c (__csinh): Likewise.
27751         * math/s_csinhf.c (__csinhf): Likewise.
27752         * math/s_csinhl.c (__csinhl): Likewise.
27753         * math/s_csinl.c (__csinl): Likewise.
27754         * math/auto-libm-test-in: Add some tests of csin and csinh.
27755         * math/auto-libm-test-out: Regenerated.
27756         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
27757         (csinh_test_data): Likewise.
27758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27760         [BZ #18586]
27761         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
27762         underflow exception for small results.
27764 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27766         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27767         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
27768         variable and included header.
27769         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
27770         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
27771         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
27772         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
27773         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
27774         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
27775         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
27776         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
27777         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
27778         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
27779         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
27780         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
27781         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
27782         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
27783         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
27784         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
27786 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27788         [BZ #16526]
27789         [BZ #16538]
27790         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
27791         (__sin): Force underflow exception for arguments with small
27792         absolute value.
27793         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
27794         (__kernel_sinf): Force underflow exception for arguments with
27795         small absolute value.
27796         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
27797         (__kernel_sincosl): Force underflow exception for arguments with
27798         small absolute value.
27799         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
27800         (__kernel_sinl): Force underflow exception for arguments with
27801         small absolute value.
27802         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
27803         (__kernel_sincosl): Force underflow exception for arguments with
27804         small absolute value.
27805         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
27806         (__kernel_sinl): Force underflow exception for arguments with
27807         small absolute value.
27808         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
27809         (__kernel_sinl): Force underflow exception for arguments with
27810         small absolute value.
27811         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
27812         (__kernel_sinf): Force underflow exception for arguments with
27813         small absolute value.
27814         * math/auto-libm-test-in: Add more tests of sin and sincos.
27815         * math/auto-libm-test-out: Regenerated.
27817         [BZ #18245]
27818         [BZ #18583]
27819         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
27820         (__kernel_standard_l): Use feholdexcept and fesetenv around
27821         conversion to double instead of special-casing overflow and
27822         underflow.
27823         * math/libm-test.inc (fmod_test_data): Add more tests.
27824         (remainder_test_data): Likewise.
27825         (sqrt_test_data): Likewise.
27827 2015-06-23  Torvald Riegel  <triegel@redhat.com>
27829         [BZ #17403]
27830         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
27831         atomic_read_barrier, atomic_write_barrier): Define.
27832         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
27833         atomic_read_barrier, atomic_write_barrier): Define.
27835 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27837         * math/Makefile [$(PERL) != no]
27838         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
27839         dependency on libm-test.stmp below the inclusion of Rules.
27841 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
27843         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27844         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
27845         and included header.
27846         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
27847         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
27848         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
27849         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
27850         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
27851         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
27852         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
27853         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
27854         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
27855         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
27856         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
27857         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
27858         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
27859         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
27860         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
27861         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
27862         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
27863         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
27864         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
27866 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27868         [BZ #18371]
27869         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
27870         intermediate but not final result might underflow.
27871         * math/s_csqrtf.c (__csqrtf): Likewise.
27872         * math/s_csqrtl.c (__csqrtl): Likewise.
27873         * math/auto-libm-test-in: Add more tests of csqrt.
27874         * math/auto-libm-test-out: Regenerated.
27875         * sysdeps/i386/fpu/libm-test-ulps: Update.
27877         [BZ #18219]
27878         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
27879         threshold on absolute value of exponent for which scaling is used.
27880         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27881         * math/auto-libm-test-in: Add more tests of exp2.
27882         * math/auto-libm-test-out: Regenerated.
27884 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
27886         [BZ #17977]
27887         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
27888         when initializing interface list, based on the bug analysis
27889         and the patch proposed by Eric Newton.
27890         * resolv/tst-res_hconf_reorder.c: New test.
27891         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
27892         tst-res_hconf_reorder.
27893         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
27894         and $(shared-thread-library).
27895         (tst-res_hconf_reorder-ENV): New variable.
27897         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
27898         in comment.
27900 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
27902         [BZ #16353]
27903         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
27904         (__expm1): Force underflow exception for arguments with small
27905         absolute value.
27906         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
27907         (__expm1f): Force underflow exception for arguments with small
27908         absolute value.
27909         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
27910         (__expm1): Force underflow exception for arguments with small
27911         absolute value.
27912         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
27913         (__expm1f): Force underflow exception for arguments with small
27914         absolute value.
27915         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27916         Check for small arguments before calling __expm1.
27917         * math/auto-libm-test-in: Do not mark underflow exceptions as
27918         possibly missing for bug 16353.
27919         * math/auto-libm-test-out: Regenerated.
27921 2015-06-22  Andreas Schwab  <schwab@suse.de>
27923         [BZ #18513]
27924         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
27925         PTR queries.
27927 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
27929         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
27931         * string/strcoll_l.c: Remove unused struct element idxnow.
27933 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
27935         [BZ #18569]
27936         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
27937         underflow and return argument in case of subnormal argument.
27938         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27939         Likewise.
27940         * math/auto-libm-test-in: Add more tests of expm1.
27941         * math/auto-libm-test-out: Regenerated.
27943         [BZ #16361]
27944         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27945         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27946         tiny results.
27947         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27948         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27949         tiny results.
27950         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
27951         mark underflow exceptions as possibly missing for bug 16361.
27952         * math/auto-libm-test-out: Regenerated.
27954 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
27956         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
27957         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
27958         Remove variable.
27959         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27960         (test-xfail-XOPEN2K8/utmpx.h/conform).
27962         * conform/conformtest.pl ($xerrors): New variable.
27963         (note_error): New function.
27964         (compiletest): New argument $xfail.  Use not_error.
27965         (runtest): Likewise.
27966         (top level): Handle xfail- lines.  Update calls to compiletest and
27967         runtest.  Handle xfail- and optional- in headers listed with
27968         allow-header.
27969         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
27970         (O_EXEC): Likewise.
27971         (O_SEARCH): Likewise.
27972         * conform/data/stropts.h-data (ioctl): Likewise.
27973         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
27974         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
27975         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
27976         (msghdr.msg_controllen): Likewise.
27977         (cmsghdr.cmsg_len): Likewise.
27978         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
27979         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
27980         variable.
27981         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
27982         (test-xfail-XPG4/stropts.h/conform): Likewise.
27983         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
27984         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
27985         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
27986         (test-xfail-UNIX98/stropts.h/conform): Likewise.
27987         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
27988         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
27989         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
27990         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
27991         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
27992         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
27993         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
27994         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
27995         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
27996         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
27997         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
27998         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
27999         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28000         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28001         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28003 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28005         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
28006         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
28007         definitions for proper unfolding of __MATHDECL_VEC.
28009 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28011         * benchtests/bench-strcoll.c:
28012         Include string.h.
28013         (main): Remove unused variable res.
28015 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28017         * timezone/Makefile (%/UTC %/Universal):
28018         Generate test-result files for UTC and Universal.
28020 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28022         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28024 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
28026         [BZ #16350]
28027         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
28028         for arguments with small absolute value.
28029         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
28030         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
28031         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
28032         (__asinh): Force underflow exception for arguments with small
28033         absolute value.
28034         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
28035         (__asinhf): Force underflow exception for arguments with small
28036         absolute value.
28037         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
28038         (__asinhl): Force underflow exception for arguments with small
28039         absolute value.
28040         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
28041         (__asinhl): Force underflow exception for arguments with small
28042         absolute value.
28043         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
28044         (__asinhl): Force underflow exception for arguments with small
28045         absolute value.
28046         * math/auto-libm-test-in: Do not mark underflow exceptions as
28047         possibly missing for bug 16350.
28048         * math/auto-libm-test-out: Regenerated.
28050         * include/bits/ipc.h: Remove file.
28051         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
28052         variable.
28053         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28054         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28055         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28056         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28057         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28058         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28059         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28060         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28061         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28063         * math/auto-libm-test-in: Remove spurious underflow allowance for
28064         tests of cexp.
28065         * math/auto-libm-test-out: Regenerated.
28067         [BZ #18558]
28068         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
28069         unconditional definition.
28070         (MCAST_BLOCK_SOURCE): Likewise.
28071         (MCAST_UNBLOCK_SOURCE): Likewise.
28072         (MCAST_LEAVE_GROUP): Likewise.
28073         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28074         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28075         (MCAST_MSFILTER): Likewise.
28076         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
28077         Remove variable.
28078         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28079         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28080         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28081         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28082         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28084 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
28086         * NEWS: Mention addition of x86_64 vector sincosf.
28087         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
28088         * math/test-float-vlen4.h: Likewise.
28089         * math/test-float-vlen8.h: Likewise.
28090         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28091         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
28092         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28093         * sysdeps/x86_64/fpu/Versions: New versions added.
28094         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28095         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28096         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28097         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
28098         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
28099         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
28100         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
28101         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
28102         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
28103         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
28104         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
28105         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
28106         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
28107         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
28108         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
28109         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
28110         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
28111         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28112         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28113         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28114         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28115         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28116         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28117         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28119         * NEWS: Mention addition of x86_64 vector sincos.
28120         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
28121         * math/math.h (__MATHDECL_VEC): New macro.
28122         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
28123         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
28124         declaration under condition.
28125         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
28126         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
28127         TEST_VEC_LOOP change.
28128         * math/test-double-vlen4.h: Likewise.
28129         * math/test-double-vlen8.h: Likewise.
28130         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
28131         * math/test-float-vlen4.h: Likewise.
28132         * math/test-float-vlen8.h: Likewise.
28133         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28134         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
28135         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28136         * sysdeps/x86_64/fpu/Versions: New versions added.
28137         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28138         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28139         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28140         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
28141         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
28142         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
28143         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
28144         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
28145         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
28146         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
28147         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
28148         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
28149         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
28150         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
28151         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
28152         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
28153         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
28154         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28155         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28156         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28157         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28158         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28159         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28160         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28162         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28163         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28164         redirections for powf.
28165         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28166         * sysdeps/x86_64/fpu/Versions: New versions added.
28167         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28168         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28169         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28170         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
28171         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
28172         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
28173         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
28174         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
28175         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
28176         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
28177         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
28178         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
28179         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
28180         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
28181         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
28182         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
28183         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
28184         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28185         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28186         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28187         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28188         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28189         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28190         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28191         * math/test-float-vlen16.h: Fixed 2 argument macro.
28192         * math/test-float-vlen4.h: Likewise.
28193         * math/test-float-vlen8.h: Likewise.
28194         * NEWS: Mention addition of x86_64 vector powf.
28196 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
28198         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28199         and redefine.
28200         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28201         and redefine.
28202         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
28203         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28204         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28206         [BZ #18553]
28207         * resource/getpriority.c (getpriority): Rename to __getpriority
28208         and define as weak alias of __getpriority.
28209         * resource/setpriority.c (setpriority): Rename to __setpriority
28210         and define as weak alias of __setpriority.
28211         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
28212         __getpriority and define as weak alias of __getpriority.
28213         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
28214         __setpriority and define as weak alias of __setpriority.
28215         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
28216         strong name.
28217         (setpriority): Use __setpriority as strong name.
28218         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
28219         __getpriority and define as weak alias of __getpriority.
28220         * include/sys/resource.h (__getpriority): Declare.  Use
28221         libc_hidden_proto.
28222         (__setpriority): Likewise.
28223         (getpriority): Don't use libc_hidden_proto.
28224         (setpriority): Likewise.
28225         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
28226         getpriority.  Call __setpriority instead of setpriority.
28227         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
28228         Remove variable.
28230         [BZ #18547]
28231         * misc/getttyent.c (getttynam): Rename to __getttynam and define
28232         as weak alias of __getttynam.  Use prototype function definition.
28233         Call __setttyent, __getttyent and __endttyent instead of
28234         setttyent, getttyent and endttyent.
28235         (getttyent): Rename to __getttyent and define as weak alias of
28236         __getttyent.  Call __setttyent instead of setttyent.  Call
28237         __fgets_unlocked instead of fgets_unlocked.
28238         (setttyent): Rename to __setttyent and define as weak alias of
28239         __setttyent.
28240         (endttyent): Rename to __endttyent and define as weak alias of
28241         __endttyent.
28242         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
28243         (__setttyent): Likewise.
28244         (__endttyent): Likewise.
28245         (getttyent): Don't use libc_hidden_proto.
28246         (setttyent): Likewise.
28247         (endttyent): Likewise.
28248         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
28249         __endttyent instead of setttyent, getttyent and endttyent.
28250         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
28251         Remove variable.
28253         [BZ #18546]
28254         * socket/recv.c (__recv): Use libc_hidden_def.
28255         * socket/socket.c (__socket): Likewise.
28256         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28257         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28258         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
28259         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
28260         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
28261         libc_hidden_def.
28262         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
28263         libc_hidden_weak.
28264         * include/sys/socket.h (__socket): Do not use attribute_hidden.
28265         Use libc_hidden_proto.
28266         (__recv): Likewise.
28267         * socket/Versions (libc): Export __recv and __socket at version
28268         GLIBC_PRIVATE.
28269         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
28270         instead of recv.
28271         (init_mq_netlink): Call __socket instead of socket.
28272         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
28273         Remove variable.
28275         [BZ #18545]
28276         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
28277         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
28278         hidden_weak.
28279         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
28280         define as alias of __mq_timedsend.  Use hidden_weak.
28281         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
28282         __mq_timedsend as strong name.
28283         (mq_timedreceive): Use __mq_timedreceive as strong name.
28284         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
28285         (__mq_timedreceive): Likewise.
28286         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
28287         __mq_timedreceive instead of mq_timedreceive.
28288         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
28289         instead of mq_timedsend.
28290         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
28291         Remove variable.
28293         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
28294         hidden_def and hidden_weak instead of libc_hidden_def and
28295         libc_hidden_weak.
28296         (top level): Refer to hidden_def in comment.
28297         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
28298         macro.  Use it instead of libc_hidden_def.
28299         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
28300         specify __GI_* name explicitly.
28301         (mq_timedreceive): Likewise.
28302         (mq_setattr): Likewise.
28304         [BZ #18544]
28305         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
28306         __pthread_barrier_init and define as weak alias of
28307         __pthread_barrier_init.
28308         * sysdeps/sparc/nptl/pthread_barrier_init.c
28309         (pthread_barrier_init): Likewise.
28310         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
28311         __pthread_barrier_wait and define as weak alias of
28312         __pthread_barrier_wait.
28313         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28314         (pthread_barrier_wait): Likewise.
28315         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28316         (pthread_barrier_wait): Likewise.
28317         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
28318         (pthread_barrier_wait): Likewise.
28319         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
28320         (pthread_barrier_wait): Likewise.
28321         * nptl/Versions (libpthread): Export __pthread_barrier_init and
28322         __pthread_barrier_wait at version GLIBC_PRIVATE.
28323         * include/pthread.h (__pthread_barrier_init): Declare.
28324         (__pthread_barrier_wait): Likewise.
28325         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
28326         Call __pthread_barrier_wait instead of pthread_barrier_wait.
28327         (helper_thread): Likewise.
28328         (init_mq_netlink): Call __pthread_barrier_init instead of
28329         pthread_barrier_init.
28331         [BZ #18542]
28332         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
28333         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
28334         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
28335         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
28336         vswscanf.
28337         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
28338         Remove variable.
28340         [BZ #18540]
28341         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
28342         strong alias of _IO_fflush.  Use libc_hidden_def.
28343         * libio/iofflush_u.c (fflush_unlocked): Rename to
28344         __fflush_unlocked and define as weak alias of __fflush_unlocked.
28345         Use libc_hidden_weak.
28346         * include/stdio.h (__fflush_unlocked): Declare.  Use
28347         libc_hidden_proto.
28348         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
28349         fflush_unlocked.
28350         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
28351         Remove variable.
28353         [BZ #18539]
28354         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
28355         define as weak alias of __addseverity.
28356         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
28357         Remove variable.
28358         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28359         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28360         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28362         [BZ #18536]
28363         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
28364         (__tfind): Likewise.
28365         (__tdelete): Likewise.
28366         (__twalk): Likewise.
28367         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
28368         __twalk to GLIBC_PRIVATE.
28369         * include/search.h (__tsearch): Use libc_hidden_proto.
28370         (__tfind): Likewise.
28371         (__tdelete): Likewise.
28372         (__twalk): Likewise.
28373         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
28374         Call __tdelete instead of tdelete.
28375         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
28376         tfind.  Call __tsearch instead of tsearch.
28377         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
28378         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
28379         Remove variable.
28380         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28382         [BZ #18534]
28383         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
28384         (dprintf): Define as a weak alias of __dprintf, not a strong
28385         alias.
28386         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
28387         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
28388         dprintf.
28389         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
28390         Remove variable.
28391         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28392         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28394         [BZ #18533]
28395         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
28396         not a strong alias.
28397         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
28398         Remove variable.
28400         [BZ #18532]
28401         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
28402         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
28403         (in6addr_loopback): Rename to __in6addr_loopback and define as
28404         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
28405         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
28406         libc_hidden_proto.
28407         (__in6addr_any): Likewise.
28408         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
28409         in6addr_any.
28410         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
28411         variable.
28412         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28414 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
28416         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
28417         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
28418         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28419         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28420         redirections for pow.
28421         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28422         * sysdeps/x86_64/fpu/Versions: New versions added.
28423         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28424         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28425         build of SSE, AVX2 and AVX512 IFUNC versions.
28426         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
28427         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
28428         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
28429         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
28430         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
28431         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
28432         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
28433         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
28434         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
28435         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
28436         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
28437         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
28438         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
28439         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow 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 pow.
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 expf.
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_expf16_core.S: New file.
28458         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
28459         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
28460         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
28461         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
28462         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
28463         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
28464         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
28465         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
28466         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
28467         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
28468         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
28469         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf 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 expf.
28479         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
28480         * math/bits/mathcalls.h: Added exp 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 exp.
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_exp2_core.S: New file.
28490         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
28491         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
28492         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
28493         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
28494         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
28495         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
28496         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
28497         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
28498         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
28499         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
28500         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
28501         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
28502         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28503         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28504         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28505         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28506         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28507         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28508         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28509         * NEWS: Mention addition of x86_64 vector exp.
28511         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28512         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28513         redirections for logf.
28514         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28515         * sysdeps/x86_64/fpu/Versions: New versions added.
28516         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28517         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28518         build of SSE, AVX2 and AVX512 IFUNC versions.
28519         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
28520         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
28521         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
28522         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
28523         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
28524         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
28525         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
28526         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
28527         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
28528         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
28529         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
28530         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
28531         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
28532         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28533         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28534         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28535         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28536         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28537         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28538         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28539         * NEWS: Mention addition of x86_64 vector logf.
28541         * bits/libm-simd-decl-stubs.h: Added stubs for log.
28542         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
28543         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28544         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28545         redirections for log.
28546         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28547         * sysdeps/x86_64/fpu/Versions: New versions added.
28548         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28549         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28550         build of SSE, AVX2 and AVX512 IFUNC versions.
28551         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
28552         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
28553         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
28554         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
28555         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
28556         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
28557         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
28558         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
28559         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
28560         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
28561         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
28562         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
28563         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
28564         test.
28565         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28566         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28567         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28568         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28569         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28570         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28571         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28572         * NEWS: Mention addition of x86_64 vector log.
28574 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28576         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
28577         cfi_adjust_cfa_offset argument.
28578         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
28579         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
28581         [BZ #18034]
28582         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
28583         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
28584         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
28585         ordering using ldar.
28586         (_dl_tlsdesc_dynamic): Likewise.
28587         (_dl_tlsdesc_return_lazy): Likewise.
28588         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
28589         relaxed atomics instead of volatile and synchronize with release store.
28590         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
28591         volatile.
28592         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28594 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
28596         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28597         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
28598         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28599         * sysdeps/x86_64/fpu/Versions: New versions added.
28600         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28601         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28602         build of SSE, AVX2 and AVX512 IFUNC versions.
28603         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
28604         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
28605         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
28606         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
28607         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
28608         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
28609         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
28610         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
28611         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
28612         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
28613         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
28614         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
28615         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
28616         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28617         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28618         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28619         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28620         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28621         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28622         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28623         * NEWS: Mention addition of x86_64 vector sinf.
28625 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
28627         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
28628         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
28629         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
28630         Remove variable.
28631         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28632         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28634 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28636         [BZ #18530]
28637         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
28638         strong alias of _IO_fputs.  Use libc_hidden_def.
28639         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
28640         and define as weak alias of __fputs_unlocked.  Use
28641         libc_hidden_weak.
28642         * include/stdio.h (__fputs_unlocked): Declare.  Use
28643         libc_hidden_proto.
28644         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
28645         fputs_unlocked.
28647         [BZ #18529]
28648         * resolv/netdb.h [__USE_POSIX]: Change condition to
28649         [__USE_XOPEN2K].
28650         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
28651         not expect.
28652         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
28653         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
28654         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
28655         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
28656         [XPG4 || UNIX98] (AI_ALL): Likewise.
28657         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
28658         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
28659         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
28660         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
28661         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
28662         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
28663         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
28664         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
28665         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
28666         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
28667         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
28668         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
28669         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
28670         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
28671         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
28672         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28673         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28674         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
28675         [XPG4 || UNIX98] (gai_strerror): Likewise.
28676         [XPG4 || UNIX98] (getaddrinfo): Likewise.
28677         [XPG4 || UNIX98] (getnameinfo): Likewise.
28679         [BZ #18528]
28680         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
28681         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
28682         __USE_XOPEN2K8].
28683         (getgrent): Likewise.
28684         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
28685         expect.
28686         [XPG3 || POSIX2008] (endgrent): Likewise.
28687         [XPG3] (setgrent): Likewise.
28688         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
28689         variable.
28690         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28692         [BZ #18527]
28693         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
28694         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
28695         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
28696         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
28697         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
28698         * include/unistd.h (__getlogin_r): Declare.  Use
28699         libc_hidden_proto.
28700         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
28701         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
28702         variable.
28703         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28704         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28705         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28707 2015-06-12  Martin Sebor  <msebor@redhat.com>
28709         [BZ #18512]
28710         * Makerules (check-install-supported): New target.
28711         (install): Add check-install-supported as a dependency.
28712         * manual/install.texi (Installing the C Library): Document
28713         that overriding prefix and exec_prefix is not supported.
28714         Mention DESTDIR.
28715         * INSTALL: Regenerate from the above.
28717 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28719         [BZ #18519]
28720         * posix/Versions (libc): Export __libc_pread at version
28721         GLIBC_PRIVATE.
28722         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
28723         instead of pread.
28724         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
28725         variable.
28727         [BZ #18522]
28728         * misc/efgcvt_r.c
28729         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
28730         (cvt_symbol): Use weak_alias instead of strong_alias.
28731         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
28732         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
28733         Remove variable.
28734         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28735         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28737         [BZ #18520]
28738         * inet/herrno.c (h_errno): Rename to __h_errno.
28739         (__libc_h_errno): Define as alias of __h_errno not h_errno.
28740         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
28741         to __h_errno instead of h_errno.
28742         * nptl/herrno.c (h_errno): Rename to __h_errno.
28743         (__h_errno_location): Refer to __h_errno not h_errno.
28744         * resolv/Versions (h_errno): Rename to __h_errno.
28745         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
28746         Remove variable.
28747         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28749 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
28751         * configure.ac: More strict check for AVX512 assembler support.
28752         * configure: Regenerated.
28754         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
28755         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
28756         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28757         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
28758         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28759         * sysdeps/x86_64/fpu/Versions: New versions added.
28760         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28761         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28762         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28763         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
28764         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
28765         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
28766         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
28767         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
28768         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
28769         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
28770         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
28771         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
28772         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
28773         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
28774         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
28775         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
28776         test.
28777         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28778         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28779         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28780         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28781         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28782         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28783         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28784         * NEWS: Mention addition of x86_64 vector sin.
28786 2015-06-11  Florian Weimer  <fweimer@redhat.com>
28788         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
28789         comment.
28791 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28793         [BZ #18479]
28794         * nptl/pt-interp.c: New file.
28795         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
28796         Add pt-interp.
28797         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
28798         $(common-objpfx)runtime-linker.h.
28800 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
28802         * Makeconfig (+interp): Remove unused variable.
28803         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
28804         only.  Depend on $(common-objpfx)runtime-linker.h instead of
28805         $(elf-objpfx)runtime-linker.h.
28806         ($(elf-objpfx)runtime-linker.h): Rename to
28807         $(common-objpfx)runtime-linker.h and move ...
28808         * Makerules [$(build-shared) = yes]: ... here.
28809         * elf/interp.c: Include <runtime-linker.h> instead of
28810         <elf/runtime-linker.h>.
28812 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28814         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
28815         (__gettimeofday_syscall): Remove vsyscall fallback.
28816         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
28817         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
28818         Add syscall fallback function.
28819         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
28820         if vDSO is not present.
28821         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
28822         fallback function.
28823         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
28824         present.
28825         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
28826         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28828 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
28830         [BZ #18497]
28831         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
28832         of wcscmp.
28833         (wcscmp): Define as weak alias of WCSCMP.
28834         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
28835         wcscoll.
28836         (USE_HIDDEN_DEF): Define.
28837         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
28838         __wcscoll.  Don't use libc_hidden_weak.
28839         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
28840         wcscmp.
28841         * sysdeps/i386/i686/multiarch/wcscmp-c.c
28842         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
28843         __GI_wcscmp.
28844         (weak_alias): Undefine and redefine.
28845         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
28846         __wcscmp and define as weak alias of __wcscmp.
28847         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
28848         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
28849         (__wcscoll): Likewise.
28850         (wcscmp): Don't use libc_hidden_proto.
28851         (wcscoll): Likewise.
28852         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
28853         wcscoll.
28854         * posix/regexec.c (check_node_accept_bytes): Likewise.
28855         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
28856         variable.
28857         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28858         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28860         [BZ #18507]
28861         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
28862         __fstatvfs and define as weak alias of __fstatvfs.  Use
28863         libc_hidden_weak.
28864         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
28865         and define as weak alias of __statvfs.  Use libc_hidden_weak.
28866         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
28867         Define as alias of __fstatvfs, not fstatvfs.
28868         (fstatvfs64): Likewise.
28869         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
28870         Define as alias of __statvfs, not statvfs.
28871         (statvfs64): Likewise.
28872         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
28873         Remove variable.
28875 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28878         (HAVE_GETCPU_VSYSCALL): Define.
28879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28880         (HAVE_GETCPU_VSYSCALL): Likewise.
28881         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
28882         * sysdeps/unix/sysv/linux/sched_getcpu.c
28883         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
28884         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
28885         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
28886         prototype.
28887         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28888         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
28889         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
28890         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
28891         Define.
28892         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
28893         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28894         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
28895         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28897 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
28899         * sysdeps/x86_64/fpu/Makefile: New file.
28900         * sysdeps/x86_64/fpu/Versions: New file.
28901         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
28902         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
28903         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
28904         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
28905         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
28906         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
28907         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
28908         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
28909         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
28910         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
28911         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
28912         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
28913         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
28914         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28915         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28916         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
28917         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
28918         * sysdeps/x86_64/configure.ac: Options for libmvec build.
28919         * sysdeps/x86_64/configure: Regenerated.
28920         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
28921         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
28922         * manual/install.texi (Configuring and compiling): Document
28923         --disable-mathvec.
28924         * INSTALL: Regenerated.
28925         * NEWS: Mention addition of libmvec and x86_64 vector cos.
28927         * math/Makefile: Added rules for vector tests.
28928         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
28929         declaration under condition.
28930         * math/test-double-vlen2.h: New file.
28931         * math/test-double-vlen4.h: New file.
28932         * math/test-double-vlen8.h: New file.
28933         * math/test-vec-loop.h: Added initialization macro.
28934         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
28935         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
28936         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
28937         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
28938         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
28939         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
28940         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
28941         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
28942         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
28943         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
28944         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
28946         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28947         * sysdeps/x86_64/fpu/Versions: New versions added.
28948         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
28949         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
28950         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
28951         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
28952         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
28953         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
28954         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
28955         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
28956         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
28957         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
28958         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
28959         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
28960         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
28961         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28962         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28963         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28964         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
28965         * NEWS: Mention addition of x86_64 vector cosf.
28967         * math/Makefile: Added CFLAGS for new tests.
28968         * math/test-float-vlen16.h: New file.
28969         * math/test-float-vlen4.h: New file.
28970         * math/test-float-vlen8.h: New file.
28971         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
28972         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
28973         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28974         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
28975         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
28976         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
28977         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
28978         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
28979         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
28980         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
28981         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
28983 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
28985         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
28986         * locale/programs/ld-ctype.c: Likewise.
28988 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
28990         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
28991         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
28992         bit_ZMM16_31_state): New macro.
28993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28994         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
28996 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
28998         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
29000 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
29002         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
29004 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
29006         [BZ #18498]
29007         * libio/memstream.c (open_memstream): Rename to __open_memstream
29008         and define as weak alias of __open_memstream.
29009         * include/stdio.h (__open_memstream): Declare.  Use
29010         libc_hidden_proto.
29011         (open_memstream): Don't use libc_hidden_proto.
29012         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
29013         open_memstream.
29014         * posix/getopt.c (_getopt_internal_r): Likewise.
29015         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
29016         variable.
29017         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29018         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29019         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29021         [BZ #18496]
29022         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
29023         instead of wcrtomb.
29025         [BZ #18483]
29026         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
29027         [__USE_XOPEN2K8].  Remove redundant #endif.
29028         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
29029         Remove redundant #if.
29030         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
29031         Remove variable.
29032         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29033         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29035         [BZ #18495]
29036         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
29037         (__iswlower): Likewise.
29038         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
29039         (__iswlower): Likewise.
29040         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
29041         instead of towlower.
29042         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
29043         instead of iswlower.  Call __towupper instead of towupper.
29044         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
29045         instead of iswalnum.
29047 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29049         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
29050         errors to stderr.
29052 2015-06-05  Florian Weimer  <fweimer@redhat.com>
29054         [BZ #15661]
29055         [BZ #17322]
29056         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29057         Check for overflow properly.  Check for O_APPEND.  Ignore large
29058         file system block sizes.  Add comments about problems.
29059         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
29060         * manual/filesys.texi (Storage Allocation): New node.
29062 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29064         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
29065         cancellable syscalls.
29066         (SYS_ify): Add guard to no redefine it.
29067         (INLINE_SYSCALL): Likewise.
29068         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
29069         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
29070         SYSCALL_CANCEL instead.
29071         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
29072         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29073         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29074         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29075         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29076         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
29077         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
29078         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
29079         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29080         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29081         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
29082         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
29083         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
29084         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
29085         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
29086         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29087         Likewise.
29088         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29089         (__libc_pread64): Likewise.
29090         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
29091         (__libc_preadv): Likewise.
29092         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
29093         (__libc_readv64): Likewise.
29094         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29095         (__libc_pwrite): Likewise.
29096         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29097         (__libc_pwrite64): Likewise.
29098         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
29099         (__libc_pwritev): Likewise.
29100         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
29101         (__libc_pwritev64): Likewise.
29102         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
29103         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
29104         (sync_file_range): Likewise.
29105         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
29106         Likewise.
29107         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
29108         Likewise.
29109         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29110         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29111         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29112         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29113         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29114         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29115         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29116         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
29117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29118         Likewise.
29119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29120         (__libc_read64): Likewise.
29121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
29122         Likewise.
29123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
29124         Likewise.
29125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
29126         Likewise.
29127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
29128         Likewise.
29129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29130         (__libc_pread64): Likewise.
29131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
29132         Likewise.
29133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29134         (__libc_pwrite64): Likewise.
29135         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
29136         (sync_file_range): Likewise.
29137         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
29138         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29139         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29140         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
29141         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
29142         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29143         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29144         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
29145         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
29146         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29147         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29148         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29149         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29150         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29151         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
29152         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29153         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29154         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29155         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29156         Likewise.
29157         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
29158         Likewise.
29159         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
29160         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
29161         Likewise.
29162         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
29163         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
29164         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
29165         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
29166         Likewise.
29167         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
29168         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
29169         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
29170         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
29171         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
29173 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
29175         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
29176         Include dl-vdso.
29177         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
29178         Use VDSO routines for gettimeofday, clock_gettime if
29179         available.
29180         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
29181         Declare VDSO symbols.
29182         * sysdeps/unix/sysv/linux/arm/sysdep.h:
29183         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
29184         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29185         * sysdeps/unix/sysv/linux/arm/Versions: Add
29186         __vdso_clock_gettime.
29188 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29190         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
29191         be an inline implementation regardless of library is built within.
29192         (open_not_cancel_2): Likewise.
29193         (__read_nocancel): Likewise.
29194         (__write_nocancel): Likewise.
29195         (openat_not_cancel): Likewise.
29196         (openat_not_cancel_3): Likewise.
29197         (openat64_not_cancel): Likewise.
29198         (openat64_not_cancel_3): Likewise.
29199         (__close_nocancel): Likewise.
29200         (pause_not_cancel): Likewise.
29201         (nanosleep_not_cancel): Likewise.
29202         (sigsuspend_not_cancel): Likewise.
29204 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29206         [BZ #14958]
29207         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
29208         wake-up.
29209         (__pthread_rwlock_rdlock_slow): Likewise.
29210         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29211         Likewise.
29212         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
29213         Likewise.
29214         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
29215         * nptl/tst-rwlock16.c: New file.
29216         * nptl/Makefile (tests): Add new test.
29218 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29220         [BZ #18324]
29221         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
29222         missing wake-up of readers.
29223         * nptl/tst-rwlock15.c: New file.
29224         * nptl/Makefile (tests): Add new test.
29226 2015-06-03  Roland McGrath  <roland@hack.frob.com>
29228         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
29229         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
29230         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
29231         and __nacl_supply_interface_rtld.
29232         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
29233         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
29234         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
29235         Add __nacl_supply_interface_rtld.
29236         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
29238 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29240         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
29241         isfinite.
29242         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29243         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
29245 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29247         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
29248         __signbit* with standard C99 macros.
29249         * math/e_exp10l.c: Likewise.
29250         * math/e_exp2l.c: Likewise.
29251         * math/e_scalb.c: Likewise.
29252         * math/e_scalbf.c: Likewise.
29253         * math/e_scalbl.c: Likewise.
29254         * math/s_ldexp.c: Likewise.
29255         * math/s_ldexpf.c: Likewise.
29256         * math/s_ldexpl.c: Likewise.
29257         * math/w_atan2.c: Likewise.
29258         * math/w_atan2f.c: Likewise.
29259         * math/w_atan2l.c: Likewise.
29260         * math/w_cosh.c: Likewise.
29261         * math/w_coshf.c: Likewise.
29262         * math/w_coshl.c: Likewise.
29263         * math/w_exp10.c: Likewise.
29264         * math/w_exp10f.c: Likewise.
29265         * math/w_exp10l.c: Likewise.
29266         * math/w_exp2.c: Likewise.
29267         * math/w_exp2f.c: Likewise.
29268         * math/w_exp2l.c: Likewise.
29269         * math/w_fmod.c: Likewise.
29270         * math/w_fmodf.c: Likewise.
29271         * math/w_fmodl.c: Likewise.
29272         * math/w_hypot.c: Likewise.
29273         * math/w_hypotf.c: Likewise.
29274         * math/w_hypotl.c: Likewise.
29275         * math/w_jnl.c: Likewise.
29276         * math/w_lgamma.c: Likewise.
29277         * math/w_lgamma_r.c: Likewise.
29278         * math/w_lgammaf.c: Likewise.
29279         * math/w_lgammaf_r.c: Likewise.
29280         * math/w_lgammal.c: Likewise.
29281         * math/w_lgammal_r.c: Likewise.
29282         * math/w_pow.c: Likewise.
29283         * math/w_powf.c: Likewise.
29284         * math/w_powl.c: Likewise.
29285         * math/w_remainder.c: Likewise.
29286         * math/w_remainderf.c: Likewise.
29287         * math/w_remainderl.c: Likewise.
29288         * math/w_scalb.c: Likewise.
29289         * math/w_scalbf.c: Likewise.
29290         * math/w_scalbl.c: Likewise.
29291         * math/w_scalbln.c: Likewise.
29292         * math/w_scalblnf.c: Likewise.
29293         * math/w_scalblnl.c: Likewise.
29294         * math/w_sinh.c: Likewise.
29295         * math/w_sinhf.c: Likewise.
29296         * math/w_sinhl.c: Likewise.
29297         * math/w_tgamma.c: Likewise.
29298         * math/w_tgammaf.c: Likewise.
29299         * math/w_tgammal.c: Likewise.
29300         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29301         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
29302         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29303         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29304         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29305         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29306         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29307         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29308         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29309         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29310         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29311         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29312         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29313         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29314         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29315         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29316         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29317         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29318         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29319         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29320         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29321         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29322         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29323         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29324         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29325         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29326         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
29327         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29328         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29329         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29330         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
29331         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
29332         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
29333         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
29334         * stdio-common/printf_fp.c: Likewise.
29335         * stdio-common/printf_fphex.c: Likewise.
29336         * stdio-common/printf_size.c: Likewise.
29338 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
29340         [BZ #18470]
29341         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
29342         strnlen.
29343         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
29344         Remove variable.
29345         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29346         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29347         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29348         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29349         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29350         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29351         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29352         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29353         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29354         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29356         [BZ #18468]
29357         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
29358         weak alias of __wmemchr.  Use libc_hidden_weak.
29359         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
29360         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
29361         instead of wmemchr.
29363 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29365         [BZ #18383]
29366         * elf/tst-tlsalign-extern.c: New file.
29367         * elf/tst-tlsalign-extern-static.c: New file.
29368         * elf/tst-tlsalign-vars.c: New file.
29369         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
29370         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
29371         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
29372         ($(objpfx)tst-tlsalign-extern-static): Likewise.
29373         (test-xfail-tst-tlsalign-extern-static): New variable.
29375 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
29377         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
29378         Use variable name _sc_err instead of err.
29379         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
29380         instead of ret.
29381         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
29382         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
29383         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
29384         (INLINE_SYSCALL): Likewise.
29386         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
29387         * include/string.h (__strnlen): Use libc_hidden_proto.
29388         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
29389         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
29390         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
29391         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
29392         (libc_hidden_def): Undefine and redefine.
29393         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
29394         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
29395         __GI_strnlen.
29396         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
29397         libc_hidden_def.
29398         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
29400         [BZ #18469]
29401         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
29402         weak alias of __towlower.  Use libc_hidden_weak.
29403         (towupper): Rename to __towupper and define as weak alias of
29404         __towupper.  Use libc_hidden_weak.
29405         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
29406         (__towupper): Likewise.
29407         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
29408         __towlower instead of towlower.
29410 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29412         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
29413         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
29415 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29417         * sysdeps/aarch64/libm-test-ulps: Update.
29419 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29421         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
29422         Define.
29423         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29424         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29425         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29426         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29427         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
29428         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
29429         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
29431 2015-06-01  Martin Sebor  <msebor@redhat.com>
29433         [BZ #18116]
29434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29435         (__setcontext): Use extended four-operand version of mtsf whenever
29436         possible.
29437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29438         (__novec_swapcontext): Likewise.
29440 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29442         * benchtests/scripts/compare_bench.py: New file.
29443         * benchtests/scripts/import_bench.py (mean): New function.
29444         (split_list): Likewise.
29445         (do_for_all_timings): Likewise.
29446         (compress_timings): Likewise.
29448         * benchtests/scripts/import_bench.py: New file.
29449         * benchtests/scripts/validate_benchout.py: Import import_bench
29450         instead of jsonschema.
29451         (validate_bench): Remove function.
29452         (main): Use import_bench.
29454 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
29456         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
29457         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
29459 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29463 2015-05-28  Roland McGrath  <roland@hack.frob.com>
29465         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
29466         set THREAD_SELF->tid to a magic value and futex-wake it.
29467         Pass its address to the thread_exit system call.
29468         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
29469         bit is clear.
29470         * sysdeps/nacl/lowlevellock.h: New file.
29471         * sysdeps/nacl/lll_timedwait_tid.c: New file.
29473         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
29474         Add TIMEOUT to current time, don't subtract it.
29476 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
29478         [BZ #2981]
29479         [BZ #18422]
29480         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
29481         ($(objpfx)tst-audit2.out): Also depend on
29482         $(objpfx)tst-auditmod9b.so.
29483         * elf/tst-audit2.c: Include <dlfcn.h>.
29484         (calloc_called): New.
29485         (calloc): Allow to be called more than once.
29486         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
29488 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
29490         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
29491         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
29493 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
29495         * stdlib/monetary.h: Fix comment.
29497 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
29499         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
29500         Avoid using variables in #defines that might cause shadowing.
29501         (INTERNAL_VSYSCALL_CALL): Likewise.
29503 2015-05-26  Roland McGrath  <roland@hack.frob.com>
29505         * sysdeps/nacl/lll_timedlock_wait.c: New file.
29507         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
29508         * nptl/lll_timedlock_wait.c: ... to this new file.
29509         * nptl/Makefile (libpthread-routines): Add it.
29510         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
29511         * nptl/lll_timedwait_tid.c: ... to this new file.
29512         * nptl/Makefile (libpthread-routines): Add it.
29513         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
29514         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
29515         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
29516         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
29517         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
29518         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
29519         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
29520         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
29521         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
29522         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
29524 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29526         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
29527         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29528         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29529         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
29530         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
29531         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29532         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29533         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29534         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29535         * sysdeps/unix/sysv/linux/tile/sysdep.h
29536         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29537         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
29538         using vDSO syscall macro.
29540 2015-05-26  Andriy Rysin  <arysin@gmail.com>
29542         [BZ #17293]
29543         * uk_UA: Fix sorting order for Ukrainian locale
29545 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
29547         * stdlib/monetary.h: Fix comment.
29549 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29551         [BZ #18234]
29552         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
29553         st_mtim and st_ctim members.
29554         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
29555         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
29556         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
29557         (struct stat64): Likewise.
29558         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
29559         (struct stat64): Likewise.
29560         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
29561         (struct stat64): Likewise.
29563 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29565         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
29566         Define and include sysdep-vdso.h.
29567         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
29568         Likewise.
29569         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
29570         Likewise.
29571         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
29572         Define with VDSO_SYMBOL and use PTR_MANGLE.
29573         (__vdso_clock_gettime): Likewise.
29574         (__vdso_clock_getres): Likewise.
29575         (_libc_vdso_platform_setup): Likewise.
29576         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29577         Likewise.
29578         (_libc_vdso_platform_setup): Likewise.
29579         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
29580         Likewise.
29581         (__vdso_clock_gettime): Likewise.
29582         (__vdso_clock_getres): Likewise.
29583         (__vdso_get_tbfreq): Likewise.
29584         (__vdso_getcpu): Likewise.
29585         (__vdso_time): Likewise.
29586         (__vdso_sigtramp_rt64): Likewise.
29587         (__vdso_signtramp32): Likewise.
29588         (__vdso_sigtramp_rt32): Likewise.
29589         (_libc_vdso_platform_setup): Likewise.
29590         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
29591         Likewise.
29592         (__vdso_clock_gettime): Likewise.
29593         (__vdso_clock_getres): Likewise.
29594         (_libc_vdso_platform_setup): Likewise.
29595         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
29596         Likewise.
29597         (__vdso_clock_gettime): Likewise.
29598         (_libc_vdso_platform_setup): Likewise.
29599         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29600         Likewise.
29601         (__vdso_getcpu): Likewise.
29602         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
29603         Use VDSO_SYMBOL macro to define.
29604         (__vdso_clock_gettime): Likewise.
29605         (__vdso_clock_getres): Likewise.
29606         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
29607         Likewise.
29608         (__vdso_clock_gettime): Likewise.
29609         (__vdso_clock_getres): Likewise.
29610         (__vdso_get_tbfreq): Likewise.
29611         (__vdso_getcpu): Likewise.
29612         (__vdso_time): Likewise.
29613         (__vdso_sigtramp_rt64): Likewise.
29614         (__vdso_signtramp32): Likewise.
29615         (__vdso_sigtramp_rt32): Likewise.
29616         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
29617         Likewise.
29618         (__vdso_clock_gettime): Likewise.
29619         (__vdso_clock_getres): Likewise.
29620         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
29621         Likewise.
29622         (__vdso_clock_gettime): Likewise.
29623         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29624         Likewise.
29625         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
29626         macro.
29627         (INTERNAL_VSYSCALL): Likewise.
29628         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
29629         Remove macro.
29630         (INTERNAL_VSYSCALL): Likewise.
29631         (INTERNAL_VSYSCALL_NCS): Likewise.
29632         (INTERNAL_VSYSCALL_CALL): New macro.
29633         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29634         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
29635         Likewise.
29636         (INTERNAL_VSYSCALL): Likewise.
29637         (INTERNAL_VSYSCALL_NCS): Likewise.
29638         (INTERNAL_VSYSCALL_CALL): New macro.
29639         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29641         (INLINE_VSYSCALL): Remove macro.
29642         (INTERNAL_VSYSCALL): Remove macro.
29643         (INTERNAL_VSYSCALL_NCS): Remove macro.
29644         (INTERNAL_VSYSCALL_CALL): New macro.
29645         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
29646         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
29647         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29648         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
29649         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29651         (INLINE_VSYSCALL): Remove macro.
29652         (INTERNAL_VSYSCALL): Likewise.
29653         (INTERNAL_VSYSCALL_NCS): Likewise.
29654         (INTERNAL_VSYSCALL_CALL): New macro.
29655         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
29656         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
29657         PTR_DEMANGLE on vDSO pointer.
29658         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29659         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
29660         macro.
29661         (INTERNAL_SYSCALL): Likewise.
29662         (INTERNAL_VSYSCALL_NCS): Remove macro.
29663         (INTERNAL_VSYSCALL_CALL): New macro.
29664         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
29665         Remove macro.
29666         (INTERNAL_VSYSCALL): Likewise.
29667         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
29668         sysdep-vdso.h instead of libc-vdso.h.
29669         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
29670         definition.
29671         (INLINE_VSYSCALL): Likewise.
29672         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
29673         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
29674         definition.
29675         (INLINE_VSYSCALL): Likewise.
29676         (INTERNAL_VSYSCALL): Likewise.
29677         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29678         * sysdeps/unix/sysv/linux/timespec_get.c
29679         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29680         (timespec_get): Use ANSI prototype.
29681         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
29682         and definition for Linux.
29684 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29686         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
29687         * include/libc-symbols.h: libmvec_hidden_* macro series added.
29689 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29691         [BZ #2981]
29692         [BZ #18410]
29693         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
29694         for missing DT_PLTRELSZ.
29696 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29698         Remove obsolete aliases that broke 'locale -a'
29699         [BZ #18412]
29700         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
29701         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
29702         breaking some applications that use 'locale -a' output.
29703         Change the encoding of this file from Latin-1 to ASCII to avoid
29704         other potential problems with people grepping this file.
29706 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29708         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
29709         -fasynchronous-unwind-tables.
29710         (CFLAGS-sendto.c): Likewise.
29711         (CFLAGS-sendmsg.c): Likewise.
29712         (CFLAGS-connect.c): Likewise.
29713         (CFLAGS-recvmsg.c): Likewise.
29714         (CFLAGS-recvfrom.c): Likewise.
29715         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
29716         (SOCKETCALL): New macro: non-cancellable socketcall.
29717         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
29718         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
29719         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
29720         * sysdeps/unix/sysv/linux/accept.c: New file.
29721         * sysdeps/unix/sysv/linux/bind.c: Likewise.
29722         * sysdeps/unix/sysv/linux/connect.c: Likewise.
29723         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
29724         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
29725         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
29726         * sysdeps/unix/sysv/linux/listen.c: Likewise.
29727         * sysdeps/unix/sysv/linux/recv.c: Likewise.
29728         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
29729         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
29730         * sysdeps/unix/sysv/linux/send.c: Likewise.
29731         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
29732         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
29733         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
29734         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
29735         * sysdeps/unix/sysv/linux/socket.c: Likewise.
29736         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
29737         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
29738         prototype.
29739         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
29740         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29741         instead of __internal_xxx function.
29742         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
29743         prototype.
29744         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
29745         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29746         instead of __internal_xxx function.
29747         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
29748         prototype.
29749         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
29750         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29751         instead of __internal_xxx function.
29752         * sysdeps/unix/sysv/linux/accept.S: Remove file.
29753         * sysdeps/unix/sysv/linux/bind.S: Likewise.
29754         * sysdeps/unix/sysv/linux/connect.S: Likewise.
29755         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
29756         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
29757         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
29758         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
29759         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
29760         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
29761         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
29762         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
29763         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29764         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
29765         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
29766         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
29767         * sysdeps/unix/sysv/linux/listen.S: Likewise.
29768         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
29769         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
29770         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
29771         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
29772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
29773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
29774         * sysdeps/unix/sysv/linux/recv.S: Likewise.
29775         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
29776         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
29777         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
29778         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29779         * sysdeps/unix/sysv/linux/send.S: Likewise.
29780         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
29781         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
29782         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
29783         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
29784         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
29785         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
29786         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
29787         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
29788         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
29789         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
29790         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
29791         socketcall is implemented in GLIBC.
29793 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29795         * soft-fp/fmadf4.c: Include <libc-internal.h>.
29796         (__fma): Ignore uninitialized warnings around packing.
29797         * soft-fp/fmasf4.c: Include <libc-internal.h>.
29798         (__fmaf): Ignore uninitialized warnings around packing.
29799         * soft-fp/fmatf4.c: Include <libc-internal.h>.
29800         (__fmal): Ignore uninitialized warnings around packing.
29802         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
29803         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29804         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
29805         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29807         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
29808         switch statement into default case.
29809         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
29811         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
29812         a conditional in forcing "inexact".
29813         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29814         Likewise.
29816 2015-05-22  Roland McGrath  <roland@hack.frob.com>
29818         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29819         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
29820         for each INTERNAL_SYSCALL use.
29822 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29824         [BZ #438]
29825         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
29826         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
29827         variable.
29829         [BZ #18444]
29830         * string/basename.c (basename): Rename to __basename and define as
29831         weak alias of __basename.  Use libc_hidden_weak.
29832         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
29833         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
29834         __basename instead of basename.
29835         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
29836         Remove variable.
29837         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29839 2015-05-18  Florian Weimer  <fweimer@redhat.com>
29841         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
29842         (_IO_JUMPS_FILE_plus): New.
29843         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
29844         _IO_CAST_FIELD_ACCESS.
29845         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
29846         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
29847         * libio/freopen.c (freopen): Likewise.
29848         * libio/freopen64.c (freopen64): Likewise.
29849         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
29850         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
29851         * libio/iofwide.c (_IO_fwide): Likewise.
29852         * libio/memstream.c (open_memstream): Likewise.
29853         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29854         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
29855         * libio/oldiopopen.c (_IO_old_popen): Likewise.
29857 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
29859         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
29860         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
29861         NADJ.
29862         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
29863         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
29864         NADJ.
29865         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
29866         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
29867         NADJ.
29869         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
29870         (p == 4) case.
29872         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
29873         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
29874         Remove variable.
29875         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29876         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29877         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29879 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29881         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
29882         Adjust jump table label generation macros.
29884 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29886         * stdio-common/vfprintf.c (vfprintf): Move local variables
29887         args_malloced, specs, specs_malloced, and the code after
29888         do_positional to the printf_positional function.
29889         (printf_positional): New function.
29891 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29893         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
29894         function.
29895         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
29896         STEP4_TABLE, process_arg): Move macro definitions
29897         out of the vfprintf function.  (Cosmetic change only.)
29899 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
29901         * benchtests/Makefile (stdio-common-bench): Define.
29902         (benchset): Add stdio-common-bench.
29903         * sprintf-inputs: New file.
29904         * sprintf-source.c: New file.
29906 2015-05-21  Andreas Schwab  <schwab@suse.de>
29908         [BZ #13028]
29909         [BZ #17053]
29910         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
29911         of struct __res_state.
29912         * resolv/res_send.c (__libc_res_nsend): Likewise.
29913         (get_nsaddr): New function.
29914         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
29915         statp directly.
29917 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
29919         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
29920         -D_POSIX_C_SOURCE=199506L.
29922         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
29924         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
29925         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
29926         Do not mention otherwise.
29927         [POSIX] (_XOPEN_VERSION): Do not expect.
29928         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
29929         [POSIX] (_POSIX2_C_BIND): Likewise.
29930         [POSIX] (_POSIX2_VERSION): Likewise.
29931         [POSIX] (_XOPEN_XPG2): Likewise.
29932         [POSIX] (_XOPEN_XPG3): Likewise.
29933         [POSIX] (_XOPEN_XPG4): Likewise.
29934         [POSIX] (_XOPEN_UNIX): Likewise.
29935         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
29936         [POSIX] (_POSIX_BARRIERS): Likewise.
29937         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
29938         [POSIX] (_POSIX_CPUTIME): Likewise.
29939         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
29940         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
29941         [POSIX] (_POSIX_SHELL): Likewise.
29942         [POSIX] (_POSIX_SPAWN): Likewise.
29943         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
29944         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
29945         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
29946         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
29947         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
29948         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
29949         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
29950         [POSIX] (_XBS5_LP64_OFF64): Likewise.
29951         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
29952         [POSIX] (_POSIX_TIMEOUTS): Likewise.
29953         [POSIX] (_POSIX2_PBS): Likewise.
29954         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
29955         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
29956         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
29957         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
29958         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
29959         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
29960         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
29961         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
29962         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
29963         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
29964         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
29965         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
29966         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
29967         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
29968         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
29969         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
29970         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
29971         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
29972         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
29973         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
29974         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
29975         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
29976         [POSIX] (_SC_2_C_BIND): Likewise.
29977         [POSIX] (_SC_2_C_VERSION): Likewise.
29978         [POSIX] (_SC_2_PBS): Likewise.
29979         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
29980         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
29981         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
29982         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
29983         [POSIX] (_SC_2_PBS_TRACK): Likewise.
29984         [POSIX] (_SC_ATEXIT_MAX): Likewise.
29985         [POSIX] (_SC_BARRIERS): Likewise.
29986         [POSIX] (_SC_BASE): Likewise.
29987         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
29988         [POSIX] (_SC_DEVICE_IO): Likewise.
29989         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
29990         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
29991         [POSIX] (_SC_FD_MGMT): Likewise.
29992         [POSIX] (_SC_FIFO): Likewise.
29993         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
29994         [POSIX] (_SC_FILE_LOCKING): Likewise.
29995         [POSIX] (_SC_FILE_SYSTEM): Likewise.
29996         [POSIX] (_SC_IOV_MAX): Likewise.
29997         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
29998         [POSIX] (_SC_NETWORKING): Likewise.
29999         [POSIX] (_SC_PAGE_SIZE): Likewise.
30000         [POSIX] (_SC_PASS_MAX): Likewise.
30001         [POSIX] (_SC_PIPE): Likewise.
30002         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
30003         [POSIX] (_SC_REGEXP): Likewise.
30004         [POSIX] (_SC_SHELL): Likewise.
30005         [POSIX] (_SC_SIGNALS): Likewise.
30006         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
30007         [POSIX] (_SC_SPIN_LOCKS): Likewise.
30008         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
30009         [POSIX] (_SC_USER_GROUPS): Likewise.
30010         [POSIX] (_SC_USER_GROUPS_R): Likewise.
30011         [POSIX] (_SC_STREAMS): Likewise.
30012         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
30013         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
30014         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
30015         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
30016         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
30017         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
30018         [POSIX] (_PC_FILESIZEBITS): Likewise.
30019         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
30020         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
30021         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
30022         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
30023         [POSIX] (uid_t): Likewise.
30024         [POSIX] (gid_t): Likewise.
30025         [POSIX] (off_t): Likewise.
30026         [POSIX] (pid_t): Likewise.
30027         [POSIX] (cuserid): Allow.
30028         (_SC_2_CHAR_TERM): Require constant.
30029         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
30030         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
30031         variable.
30033 2015-05-20  Roland McGrath  <roland@hack.frob.com>
30035         * sysdeps/nacl/pthread-pids.h: New file.
30036         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
30037         (create_thread): Use __nacl_get_tid to initialize PD->tid.
30039         * nptl/pthread-pids.h: New file.
30040         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
30041         * nptl/nptl-init.c: Include <pthread-pids.h>.
30042         (__pthread_initialize_minimal_internal):
30043         Call __pthread_initialize_pids instead of set_tid_address syscall.
30045         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
30046         * sysdeps/posix/usleep.c: ... here.
30048 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30050         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
30051         call_pselect6 object.
30052         [$(subdir) = io]: Remove call_sync_file_range object.
30053         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
30054         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
30055         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
30056         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
30058 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
30060         * math/s_cproj.c: Add include "math_private.h".
30061         * math/s_cprojf.c: Likewise.
30062         * math/s_cprojl.c: Likewise.
30064 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
30066         [BZ #18244]
30067         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
30068         high mantissa bit when testing whether P is a NaN.
30069         * math/libm-test.inc (remainder_test_data): Add more tests.
30070         (remquo_test_data): Likewise.
30072         [BZ #18049]
30073         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
30074         below -32, return the argument, with underflow if subnormal.
30075         * math/auto-libm-test-in: Add more tests of atanh.
30076         * math/auto-libm-test-out: Regenerated.
30078 2015-05-19  Roland McGrath  <roland@hack.frob.com>
30080         [BZ #18434]
30081         * nptl/tst-sem15.c: New file.
30082         * nptl/Makefile (tests): Add it.
30083         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
30084         s/<</>>/ to fix typo in EOVERFLOW check.
30085         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
30087 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30089         * manual/strings.texi (envz_remove): Fix typo in safety
30090         annotations.
30092 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
30093             Steve Ellcey  <sellcey@imgtec.com>
30095         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
30096         in order to avoid strict alias warnings.
30097         (iruserok_af): Ditto for ra.
30099 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
30101         [BZ #17581]
30102         * malloc/hooks.c
30103         (magicbyte): Convert to a function and avoid returning 0x01.
30104         (mem2mem_check): Avoid using a length byte equal to the magic byte.
30105         (mem2chunk_check): Fix unsigned comparisons to zero.
30106         Hoist defs of sz and magic.
30108 2015-05-19  Richard Henderson  <rth@redhat.com>
30110         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
30112         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30114 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30116         [BZ #16159]
30117         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
30118         * malloc/arena.c (arena_lock): Check if arena is corrupt.
30119         (reused_arena): Find a non-corrupt arena.
30120         (heap_trim): Pass arena to unlink.
30121         * malloc/hooks.c (malloc_check_get_size): Pass arena to
30122         malloc_printerr.
30123         (top_check): Likewise.
30124         (free_check): Likewise.
30125         (realloc_check): Likewise.
30126         * malloc/malloc.c (malloc_printerr): Add arena argument.
30127         (unlink): Likewise.
30128         (munmap_chunk): Adjust.
30129         (ARENA_CORRUPTION_BIT): New macro.
30130         (arena_is_corrupt): Likewise.
30131         (set_arena_corrupt): Likewise.
30132         (sysmalloc): Use mmap if there are no usable arenas.
30133         (_int_malloc): Likewise.
30134         (__libc_malloc): Don't fail if arena_get returns NULL.
30135         (_mid_memalign): Likewise.
30136         (__libc_calloc): Likewise.
30137         (__libc_realloc): Adjust for additional argument to
30138         malloc_printerr.
30139         (_int_free): Likewise.
30140         (malloc_consolidate): Likewise.
30141         (_int_realloc): Likewise.
30142         (_int_memalign): Don't touch corrupt arenas.
30143         * malloc/tst-malloc-backtrace.c: New test case.
30145         * Makefile (summarize-tests): Fix return value on success.
30147         * manual/string.texi (Envz Functions): Add envz_remove.
30149 2015-05-18  Roland McGrath  <roland@hack.frob.com>
30151         * sysdeps/posix/opendir.c: Include <stdbool.h>.
30152         (invalid_name): New function, broken out of ...
30153         (__opendirat): ... here.  Call it.
30154         (need_isdir_precheck): New function, broken out of ...
30155         (__opendirat): ... here.  Call it.
30156         Use __fxstatat64, not __xstatat64.
30157         (opendir_oflags): New function, broken out of ...
30158         (__opendirat): ... here.  Call it.
30159         (opendir_tail): New function, broken out of ...
30160         (__opendirat): ... here.  Call it.
30161         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
30162         opendir_tail, rather than punting to __opendirat.
30163         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
30165 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30167         * .gitignore: Ignore generated *.pyc.
30169 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
30171         * include/stdio.h: Define __need_wint_t.
30172         * test-skeleton.c: Avoid `for' loop initial declaration.
30173         * nptl/tst-initializers1.c: Use test-skeleton.c.
30175 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30177         [BZ #18418]
30178         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
30180 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30182         [BZ #16352]
30183         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
30184         (__ieee754_atanh): Force underflow exception for results with
30185         small absolute value.
30186         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
30187         (__ieee754_atanhf): Force underflow exception for results with
30188         small absolute value.
30189         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
30190         (__ieee754_atanh): Force underflow exception for results with
30191         small absolute value.
30192         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
30193         (__ieee754_atanhf): Force underflow exception for results with
30194         small absolute value.
30195         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
30196         (__ieee754_atanhl): Force underflow exception for results with
30197         small absolute value.
30198         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
30199         (__ieee754_atanhl): Force underflow exception for results with
30200         small absolute value.
30201         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
30202         (__ieee754_atanhl): Force underflow exception for results with
30203         small absolute value.
30204         * math/auto-libm-test-in: Do not allow missing underflow
30205         exceptions from atanh.
30206         * math/auto-libm-test-out: Regenerated.
30208         [BZ #18221]
30209         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
30210         2**-28 as threshold for returning x or +/- 1/x.
30211         * math/auto-libm-test-in: Add more tests of tan.
30212         * math/auto-libm-test-out: Regenerated.
30214         [BZ #18220]
30215         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30216         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
30217         * math/auto-libm-test-in: Add another test of lgamma.
30218         * math/auto-libm-test-out: Regenerated.
30220 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
30222         * stdio-common/printf_fp.c (___printf_fp): Use abs.
30223         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
30224         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
30225         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
30226         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
30227         (ADD2A): Use fabs.  (SUB2A): Use fabs.
30228         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
30229         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
30230         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
30231         (log1): Use fabs.  (my_log2): Use fabs.
30232         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
30233         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
30234         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
30235         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
30236         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
30237         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
30238         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
30239         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
30240         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
30241         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
30242         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
30244 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30246         [BZ #18217]
30247         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
30248         as threshold for returning 1 - x.
30249         * math/auto-libm-test-in: Add more tests of erfc.
30250         * math/auto-libm-test-out: Regenerated.
30252 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
30254         [BZ #18196]
30255         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
30256         threshold for large arguments.
30257         * math/auto-libm-test-in: Add another test of atan.
30258         * math/auto-libm-test-out: Regenerated.
30260         [BZ #16339]
30261         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
30262         (__log1p): Force underflow exception for results with small
30263         absolute value.
30264         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
30265         (__log1pf): Force underflow exception for results with small
30266         absolute value.
30267         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
30268         (__log1p): Force underflow exception for results with small
30269         absolute value.
30270         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
30271         (__log1pf): Force underflow exception for results with small
30272         absolute value.
30273         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
30274         (__log1pl): Force underflow exception for results with small
30275         absolute value.
30276         * math/auto-libm-test-in: Do not allow missing underflow
30277         exceptions from log1p.
30278         * math/auto-libm-test-out: Regenerated.
30280 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
30281             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30283         [BZ #16704]
30284         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
30286 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
30288         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
30289         (libmvec): New variable.
30290         * configure.ac: Added option for mathvec build.
30291         * configure: Regenerated.
30292         * mathvec/Depend: New file.
30293         * mathvec/Makefile: New file.
30294         * shlib-versions: Added libmvec.
30295         * math/Makefile: Added rule for libm.so installation.
30297         * bits/math-vector.h: New file.
30298         * bits/libm-simd-decl-stubs.h: New header.
30299         * math/Makefile (headers): Added new header
30300         libm-simd-decl-stubs.h.
30301         * math/math.h (__MATHCALL_VEC): New macro.
30303         * math/gen-libm-have-vector-test.sh: Script generates series of macros
30304         for conditions in testing functions.
30305         * math/Makefile: Added call of libm-have-vector-test.sh.
30306         * math/libm-test.inc (HAVE_VECTOR): New macros.
30308         * math/libm-test.inc: START refactored.
30309         * math/test-double.c (TEST_MATHVEC): Add define.
30310         * math/test-float.c: Likewise.
30311         * math/test-idouble.c: Likewise.
30312         * math/test-ifloat.c: Likewise.
30313         * math/test-ildoubl.c: Likewise.
30314         * math/test-ldouble.c: Likewise.
30315         * sysdeps/generic/math-tests-arch.h
30316         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
30317         architecture check.
30319         * math/test-double.c (FUNC_TEST): New macro.
30320         * math/test-float.c: Likewise.
30321         * math/test-idouble.c: Likewise.
30322         * math/test-ifloat.c: Likewise.
30323         * math/test-ildoubl.c: Likewise.
30324         * math/test-ldouble.c: Likewise.
30325         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
30327 2015-05-13  Roland McGrath  <roland@hack.frob.com>
30329         * sysdeps/nacl/fdopendir.c: New file.
30331         * dirent/scandir-tail.c: New file.
30332         * dirent/scandir64-tail.c: New file.
30333         * dirent/Makefile (routines): Add them.
30334         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
30335         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
30336         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
30337         [!SCANDIR] (SCANDIR_TAIL): New macro.
30338         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
30339         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
30340         (SCANDIRAT): Macro removed.
30341         (SCANDIR_TAIL): New macro.
30342         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
30343         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
30344         (SCANDIRAT): Just call __opendirat and __scandir_tail.
30345         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
30346         (READDIR): Macro removed.
30347         (SCANDIR_TAIL): New macro.
30348         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
30349         (SCANDIR_TAIL): New macro.
30351         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
30352         * dirent/scandir-cancel.c: ... to this new file.
30353         * dirent/Makefile (routines): Add it.
30354         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
30355         * sysdeps/unix/sysv/linux/i386/scandir64.c
30356         (SKIP_SCANDIR_CANCEL): Macro removed.
30357         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
30359         * dirent/tst-scandir.c: New file.
30360         * dirent/tst-scandir64.c: New file.
30361         * dirent/Makefile (tests): Add them.
30363 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
30365         [BZ #18409]
30366         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
30368 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30370         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
30371         list.
30373 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
30375         * benchtests/bench-strcoll.c: New benchmark.
30376         * benchtests/Makefile: Generate locales and run benchmark.
30377         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
30378         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
30379         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
30380         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
30381         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
30382         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
30383         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
30384         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
30385         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
30386         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
30387         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
30388         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
30389         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
30390         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
30391         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
30392         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
30393         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
30394         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
30395         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
30396         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
30397         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
30398         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
30399         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
30400         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
30402 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
30404         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
30405         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30407 2015-05-12  Roland McGrath  <roland@hack.frob.com>
30409         * posix/uname-values.h: New file.
30410         * posix/uname.c: Include that instead of <config-name.h>.
30411         * sysdeps/nacl/uname-values.h: New file.
30412         * sysdeps/arm/nacl/uname-values.h: New file.
30414 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
30416         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
30417         splitting into fields.
30419 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
30421         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
30422         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
30423         * locale/localeinfo.h: Add enum collation_encoding_type.
30424         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
30425         * programs/ld-collate.c (collate_output): Add encoding type info.
30426         * string/strcoll_l.c (STRDIFF): New function.
30427         * (STRCOLL): Use STRDIFF to skip over equal prefix.
30428         * wcsmbs/wcscoll_l.c: Define STRDIFF.
30430 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
30432         [BZ #18397]
30433         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
30434         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
30435         <fpu_control.h> instead of <math/fpu_control.c>.
30436         * sysdeps/mips/mips32/fpu/Makefile: New file.
30438 2015-05-11  Andreas Schwab  <schwab@suse.de>
30440         [BZ #18007]
30441         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
30442         nss_endgrent.
30443         (_nss_compat_endgrent): Call nss_endgrent.
30444         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
30445         nss_endpwent.
30446         (_nss_compat_endpwent): Call nss_endpwent.
30447         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
30448         needent, call nss_setspent only if non-zero.
30449         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
30450         (internal_endspent): Don't call nss_endspent.
30451         (_nss_compat_endspent): Call nss_endspent.
30452         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
30453         Remove.  All uses removed.
30454         (internal_setent): Remove parameter stayopen, add parameter
30455         stream.  Use it instead of global variable.
30456         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
30457         (internal_endent, internal_getent): Add parameter stream.  Use it
30458         instead of global variable.
30459         (CONCAT(_nss_files_end,ENTNAME))
30460         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
30461         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
30462         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
30463         uses removed.
30464         (internal_setent, internal_endent): Add parameter stream.  Use it
30465         instead of global variable.
30466         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
30467         stream.
30468         (get_next_alias): Add parameter stream.
30469         (_nss_files_getaliasent_r): Pass global stream.
30470         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
30471         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
30472         (_nss_files_gethostbyname4_r): Pass local stream to
30473         internal_setent, internal_getent and internal_endent.  Remove
30474         locking.
30476 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30478         * tst-strfmon1.c (tests): Update expected currency symbol.
30480 2015-05-08  Roland McGrath  <roland@hack.frob.com>
30482         * sysdeps/nacl/gethostname.c: New file.
30484 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
30486         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
30487         and sinh.
30488         * math/auto-libm-test-out: Regenerated.
30489         * sysdeps/i386/fpu/libm-test-ulps: Update.
30490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30492 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
30494         [BZ #18125]
30495         * stdlib/tst-setcontext3.c: New file.
30496         * stdlib/tst-setcontext3.sh: New file.
30497         * stdlib/Makefile (tests): Add tst-setcontext3.
30498         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
30499         to verify test program created output file.
30500         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
30501         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
30502         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
30503         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
30505 2015-05-06  Roland McGrath  <roland@hack.frob.com>
30507         [BZ #18383]
30508         * elf/tst-tlsalign.c: New file.
30509         * elf/tst-tlsalign-static.c: New file.
30510         * elf/tst-tlsalign-lib.c: New file.
30511         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
30512         (tests-static): Add tst-tlsalign-static.
30513         (modules-names): Add tst-tlsalign-lib.
30514         (test-xfail-tst-tlsalign): New variable.
30515         (test-xfail-tst-tlsalign-static): New variable.
30517         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
30518         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
30520 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
30522         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
30523         csqrt, erfc, sin and sincos.
30524         * math/auto-libm-test-out: Regenerated.
30525         * sysdeps/i386/fpu/libm-test-ulps: Update.
30526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30528 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30530         * sysdeps/aarch64/libm-test-ulps: Update.
30532 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
30534         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
30535         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
30536         * math/auto-libm-test-out: Regenerated.
30537         * sysdeps/i386/fpu/libm-test-ulps: Update.
30538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30540 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30542         [BZ #18265]
30543         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
30544         (wcsncpy): Likewise.
30546 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30548         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30549         Assume __ASSUME_FALLOCATE is always true.
30550         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30551         (__posix_fallocate64_l64): Likewise.
30552         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
30553         (posix_fallocate): Likewise.
30554         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
30555         (__posix_fallocate64_l64): Likewise.
30556         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30557         [!__ASSUME_FALLOCATE]: Add comment.
30559 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30561         * sysdeps/unix/sysv/linux/i386/Makefile
30562         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
30563         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
30564         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
30565         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30566         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30567         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
30568         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
30570 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
30572         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
30573         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
30574         tgamma.
30575         * math/auto-libm-test-out: Regenerated.
30576         * sysdeps/i386/fpu/libm-test-ulps: Update.
30577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30579 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30581         * math/auto-libm-test-in: Add more tests of tgamma.
30582         * math/auto-libm-test-out: Regenerated.
30583         * sysdeps/i386/fpu/libm-test-ulps: Update.
30584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30586         * math/auto-libm-test-in: Add more tests of tanh.
30587         * math/auto-libm-test-out: Regenerated.
30588         * sysdeps/i386/fpu/libm-test-ulps: Update.
30589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30591         * math/auto-libm-test-in: Add more tests of tan.
30592         * math/auto-libm-test-out: Regenerated.
30593         * sysdeps/i386/fpu/libm-test-ulps: Update.
30594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30596         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
30597         * math/auto-libm-test-out: Regenerated.
30598         * sysdeps/i386/fpu/libm-test-ulps: Update.
30599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30601         * math/auto-libm-test-in: Add another test of pow.
30602         * math/auto-libm-test-out: Regenerated.
30603         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30605         * math/auto-libm-test-in: Add more tests of lgamma.
30606         * math/auto-libm-test-out: Regenerated.
30607         * sysdeps/i386/fpu/libm-test-ulps: Update.
30608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30610         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
30611         log1p.
30612         * math/auto-libm-test-out: Regenerated.
30613         * sysdeps/i386/fpu/libm-test-ulps: Update.
30614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30616 2015-05-01  Mark Wielaard  <mjw@redhat.com>
30618         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
30619         Elf64_Chdr structs and ELFCOMPRESS constants.
30621 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30623         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
30624         expm1.
30625         * math/auto-libm-test-out: Regenerated.
30626         * sysdeps/i386/fpu/libm-test-ulps: Update.
30627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30629         * math/auto-libm-test-in: Add more tests of erf and erfc.
30630         * math/auto-libm-test-out: Regenerated.
30631         * sysdeps/i386/fpu/libm-test-ulps: Update.
30632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30634 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30636         * config.h.in (HAVE_AARCH64_BE): Add.
30638 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
30640         * math/auto-libm-test-in: Add more tests of csqrt.
30641         * math/auto-libm-test-out: Regenerated.
30642         * sysdeps/i386/fpu/libm-test-ulps: Update.
30643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30645         * math/auto-libm-test-in: Add more tests of cosh and sinh.
30646         * math/auto-libm-test-out: Regenerated.
30647         * sysdeps/i386/fpu/libm-test-ulps: Update.
30648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30650         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
30652 2015-04-29  Roland McGrath  <roland@hack.frob.com>
30654         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
30655         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
30657         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
30658         (euidaccess, eaccess): Define as weak aliases.
30660         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
30661         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
30662         but __suseconds_t is often 'long int' so some sources assume that
30663         type is being used (e.g. they use %ld to print tv_usec).
30665 2015-04-29  Florian Weimer  <fweimer@redhat.com>
30667         [BZ #18007]
30668         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
30669         (CVE-2014-8121)
30670         * nss/tst-nss-getpwent.c: New file.
30671         * nss/Makefile (tests): Add new test.
30673 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
30675         [BZ #18346]
30676         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
30677         exponents less than 48 as cases where high part of mantissa needs
30678         examining to determine whether argument is integral.
30679         * math/libm-test.inc (round_test_data): Add more tests.
30681 2015-04-28  Mark Wielaard  <mjw@redhat.com>
30683         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
30685 2015-04-27  David S. Miller  <davem@davemloft.net>
30687         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
30688         __tls_get_addr.
30689         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30691 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
30693         [BZ#18333]
30694         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
30696 2015-04-27  Florian Weimer  <fweimer@redhat.com>
30698         [BZ#18333]
30699         * time/tzset.c (parse_tzname): Return error on memory allocation
30700         failure.
30701         * test-skeleton.c (struct temp_name_list): Change type of name
30702         member to non-const.
30703         (add_temp_file): Create a copy of the file name.
30704         (delete_temp_files): Deallocate memory.
30705         (create_temp_file): Add comment.
30707 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30709         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
30710         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
30712 2015-04-24  Roland McGrath  <roland@hack.frob.com>
30714         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
30715         * sysdeps/arm/configure: Regenerated.
30717 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30719         [BZ #17715]
30720         * time/tzfile.c (__tzfile_read): Check for large values of
30721         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
30722         * time/tzset.c (__tzstring_len): New function, based on the old
30723         __tzstring function.
30724         (__tzstring): Call __tzstring_len.
30725         (parse_tzname): New helper function extracted from
30726         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
30727         the input string.
30728         (parse_offset): New helper function extracted from
30729         __tzset_parse_tz.  Replace switch with fallthrough with
30730         initialization before sscanf.
30731         (parse_rule): Likewise.
30732         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
30733         new-style function definition.
30734         * timezone/Makefile (tests): Add tst-tzset.
30735         (tst-tzset.out): Dependencies on time zone files.
30736         (tst-tzset-ENV): Set TZDIR.
30737         (testdata/XT%): Copy crafted time zone files.
30738         * timezone/README: Mention crafted time zone files.
30739         * timezone/testdata/XT1, timezone/testdata/XT2,
30740         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
30741         files.
30742         * timezone/tst-tzset.c: New test.
30744 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30746         * Makeconfig (+gccwarn): Remove -Winline.
30748 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30750         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
30752 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30754         * NEWS: Mention sysconf() cache information support for s390.
30755         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
30757 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
30759         * math/k_casinh.c (__kernel_casinh): Use __copysign.
30760         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
30761         (__nearbyint): Likewise.
30762         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
30763         (copysignl): Likewise.
30765 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
30767         [BZ #18287]
30768         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
30769         based on padding.  (CVE-2015-1781)
30771 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30773         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
30774         libc-vdso.h.
30775         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
30776         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
30777         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
30778         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30779         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30780         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
30781         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
30782         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30783         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30784         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
30785         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30786         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30787         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30788         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
30789         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30790         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
30791         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
30792         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
30793         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
30794         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
30795         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
30796         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
30797         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
30799 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
30801         * stdlib/setenv.c (__add_to_environ):
30802         Dump core quickly if setenv (..., NULL, ...) is called.
30803         This time, do it the right way, and pacify GCC with a pragma.
30805 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30807         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
30808         IMAP->l_prev cannot be null, and #if out the code for the contrary
30809         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
30810         believe that NS (&_dl_ns[NSID]) could point outside the array.
30812         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
30813         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
30814         before using NSID as an index.
30816 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
30818         [BZ #17825]
30819         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
30820         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
30821         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30823 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30825         Add preliminary port to Google Native Client on ARM.
30826         * abi-tags (.*-.*-nacl.*): New entry.
30827         * sysdeps/arm/nacl: New directory.
30828         * sysdeps/nacl: New directory.
30830 2015-04-16  David S. Miller  <davem@davemloft.net>
30832         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
30833         lowlevellock-futex.h
30835 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
30837         * sysdeps/tile/configure.ac: New file.
30838         * sysdeps/tile/configure: Regenerated.
30840 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30842         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
30843         conditionals for weak_alias and libc_hidden_weak.
30844         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
30845         libc_hidden_weak and weak_alias.
30846         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
30847         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
30848         and weak_alias for static one.
30850 2015-04-15  David S. Miller  <davem@davemloft.net>
30852         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30854 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30856         [BZ #18206]
30857         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
30858           Use signed comparision instead of substraction to avoid
30859           overflow bug.
30860         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
30861           Take the sign of ret.
30862         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
30863           Do not expect precise return values. Only the sign matters.
30864         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
30865         * wcsmbs/test-wcsncmp.c: New File.
30866         * string/test-strncmp.c: Add wcsncmp support.
30868 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30870         [BZ #6792]
30871         * math/w_log1p.c: New file.
30872         * math/w_log1pf.c: Likewise.
30873         * math/w_log1pl.c: Likewise.
30874         * math/Makefile (libm-calls): Add w_log1p.
30875         * math/s_log1pl.c (log1pl): Remove weak_alias.
30876         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
30877         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
30878         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
30879         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
30880         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
30881         [NO_LONG_DOUBLE] (log1pl): Likewise.
30882         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
30883         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
30884         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
30885         (log1p): Remove long_double_symbol.
30886         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
30887         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
30888         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
30889         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
30890         remove weak_alias for corresponding log1p function.
30891         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
30892         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
30893         * sysdeps/ia64/fpu/w_log1p.c: New file.
30894         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
30895         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
30896         * math/libm-test.inc (log1p_test_data): Add errno expectations.
30898 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
30900         [BZ #18247]
30901         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
30902         decimal exponent by 1.
30903         * stdlib/tst-strtod-round-data: Add more tests.
30904         * stdlib/tst-strtod-round.c (tests): Regenerated.
30906 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
30908         * math/auto-libm-test-in: Add more tests of clog and clog10.
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 2015-04-09  Roland McGrath  <roland@hack.frob.com>
30915         * Makeconfig (module-cppflags): Exclude all .v.i files.
30916         (skip-module-cppflags): Variable removed.
30918         * configure.ac (libc_config_ok): Initialize before reading
30919         preconfigure scripts, not after.
30920         * configure: Regenerated.
30922         * test-skeleton.c (TIMEOUT): Move #define to top level.
30923         (main): Grok environment variable TEST_DIRECT.  If set, print
30924         test expectation details into that file and then behave as if
30925         given --direct.
30927 2015-04-09  Florian Weimer  <fweimer@redhat.com>
30929         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
30930         warning on 32-bit.
30932 2015-04-08  David S. Miller  <davem@davemloft.net>
30934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30936 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30938         * math/auto-libm-test-in: Add more tests of atanh.
30939         * math/auto-libm-test-out: Regenerated.
30940         * sysdeps/i386/fpu/libm-test-ulps: Update.
30941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30943         * math/auto-libm-test-in: Add more tests of atan.
30944         * math/auto-libm-test-out: Regenerated.
30945         * sysdeps/i386/fpu/libm-test-ulps: Update.
30946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30948 2015-04-08  Florian Weimer  <fweimer@redhat.com>
30950         * elf/pldd.c (main): Rewrite to use struct
30951         scratch_buffer instead of extend_alloca.
30952         * elf/pldd-xx.c (find_maps): Likewise.
30953         * grp/initgroups.c: Include <scratch_buffer.h> instead of
30954         <alloca.h>.
30955         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
30956         scratch_buffer instead of extend_alloca.
30957         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
30958         grp/compat-initgroups.c.
30959         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
30960         Rewrite to use struct scratch_buffer instead of extend_alloca.
30961         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
30962         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30964 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30966         * math/auto-libm-test-in: Add more tests of cbrt.
30967         * math/auto-libm-test-out: Regenerated.
30968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30970         * math/auto-libm-test-in: Add more tests of cabs.
30971         * math/auto-libm-test-out: Regenerated.
30972         * sysdeps/i386/fpu/libm-test-ulps: Update.
30973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30975         [BZ #18210]
30976         [BZ #18211]
30977         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
30978         (__ieee754_atan2): Set FE_TONEAREST mode for internal
30979         computations.
30980         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
30981         clog10.
30982         * math/auto-libm-test-out: Regenerated.
30983         * sysdeps/i386/fpu/libm-test-ulps: Update.
30984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30986         [BZ #18197]
30987         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
30988         (atan): Set FE_TONEAREST mode for internal computations.
30989         * math/auto-libm-test-in: Add more tests of atan.
30990         * math/auto-libm-test-out: Regenerated.
30992 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
30994         [BZ #17930]
30995         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
30997 2015-04-07  Florian Weimer  <fweimer@redhat.com>
30999         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
31001 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31003         * include/scratch_buffer.h: New file.
31004         * malloc/scratch_buffer_grow.c: Likewise.
31005         * malloc/scratch_buffer_grow_preserve.c: Likewise.
31006         * malloc/scratch_buffer_set_array_size.c: Likewise.
31007         * malloc/tst-scratch_buffer.c: Likewise.
31008         * malloc/Makefile (routines): Add scratch_buffer_grow.
31009         (tests): Add test case.
31010         * malloc/Versions (GLIBC_PRIVATE): Export
31011         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
31012         __libc_scratch_buffer_set_array_size.
31014 2015-04-06  Richard Henderson  <rth@redhat.com>
31016         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
31017         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31019         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
31020         unsigned int before printing.
31022 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31024         [BZ #17596]
31025         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
31026         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31028 2015-04-02  Florian Weimer  <fweimer@redhat.com>
31030         * include/libc-internal.h (libc_max_align_t): Define.
31032 2015-04-02  Andreas Schwab  <schwab@suse.de>
31034         [BZ #16850]
31035         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
31037 2015-04-02  Mel Gorman  <mgorman@suse.de>
31039         [BZ #17195]
31040         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
31041         as well as the main arena.
31043 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31045         [BZ #18185]
31046         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
31047         sharing L2 cache to 2 for Silvermont/Knights Landing.
31049 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31051         [BZ #17711]
31052         * config.make.in (have-protected-data): New.
31053         * configure.ac: Check linker support for protected data symbol.
31054         * configure: Regenerated.
31055         * elf/Makefile (modules-names): Add tst-protected1moda and
31056         tst-protected1modb if $(have-protected-data) is yes.
31057         (tests): Add tst-protected1a and tst-protected1b if
31058         $(have-protected-data) is yes.
31059         ($(objpfx)tst-protected1a): New.
31060         ($(objpfx)tst-protected1b): Likewise.
31061         (tst-protected1modb.so-no-z-defs): Likewise.
31062         * elf/tst-protected1a.c: New file.
31063         * elf/tst-protected1b.c: Likewise.
31064         * elf/tst-protected1mod.h: Likewise.
31065         * elf/tst-protected1moda.c: Likewise.
31066         * elf/tst-protected1modb.c: Likewise.
31068 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31070         [BZ #17711]
31071         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
31072         indicates it is called from do_lookup_x on relocation against
31073         protected data, skip the data definion in the executable from
31074         copy reloc.
31075         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
31076         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
31077         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
31078         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
31079         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
31080         otherwise to 0.
31081         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31082         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
31083         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
31084         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31085         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
31086         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
31088 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
31090         * sysdeps/nptl/pthread.h: Remove duplicate definition of
31091         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
31093 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
31095         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
31096         THREAD_SETMEM_NC.
31097         * sysdeps/x86_64/nptl/tls.h: Ditto.
31099 2015-03-27  Roland McGrath  <roland@hack.frob.com>
31101         * dlfcn/tststatic.c (main): Converted to ...
31102         (do_test): ... this.
31103         (TEST_FUNCTION): New macro.
31104         Include test-skeleton.c.
31106 2015-03-26  Alan Modra  <amodra@gmail.com>
31108         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
31109         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
31110         zero for undefined weak.
31111         (elf_machine_plt_conflict): Similarly.
31113 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31115         * math/auto-libm-test-in: Add more tests of acosh, asinh and
31116         atanh.
31117         * math/auto-libm-test-out: Regenerated.
31118         * sysdeps/i386/fpu/libm-test-ulps: Update.
31119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31121         * math/auto-libm-test-in: Add another test of asin.
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         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
31127         Remove macro.
31128         (LLL_EBX_REG): Likewise.
31129         (LLL_ENTER_KERNEL): Likewise.
31131         * math/auto-libm-test-in: Add more tests of asin.
31132         * math/auto-libm-test-out: Regenerated.
31133         * sysdeps/i386/fpu/libm-test-ulps: Update.
31134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31136         [BZ #18138]
31137         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
31138         libc_do_syscall_args): New structure.
31139         (INTERNAL_SYSCALL_MAIN_0): New macro.
31140         (INTERNAL_SYSCALL_MAIN_1): Likewise.
31141         (INTERNAL_SYSCALL_MAIN_2): Likewise.
31142         (INTERNAL_SYSCALL_MAIN_3): Likewise.
31143         (INTERNAL_SYSCALL_MAIN_4): Likewise.
31144         (INTERNAL_SYSCALL_MAIN_5): Likewise.
31145         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
31146         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
31147         Replace conditional definitions by conditional definitions of ....
31148         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
31149         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
31150         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
31151         (libpthread-sysdep_routines): Add libc-do-syscall.
31152         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
31153         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
31154         to __NR_futex not 240.
31156 2015-03-25  Alan Modra  <amodra@gmail.com>
31158         * NEWS: Advertise TLS optimization.
31159         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
31160         (DT_PPC_NUM): Increment.
31161         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
31162         (CHECK_STATIC_TLS): Use here.
31163         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
31164         TLS descriptors.
31165         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31166         * sysdeps/powerpc/dl-tls.c: New file.
31167         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
31168         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
31169         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
31170         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
31171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
31172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
31173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
31175 2015-03-25  Alan Modra  <amodra@gmail.com>
31177         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
31178         for overlapping .opd entries" to "support...".
31179         * sysdeps/powerpc/powerpc64/configure: Regenerate
31181 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31183         * math/auto-libm-test-in: Add more tests of acos.
31184         * math/auto-libm-test-out: Regenerated.
31185         * sysdeps/i386/fpu/libm-test-ulps: Update.
31186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31188         * math/auto-libm-test-in: Add more tests of expm1.
31189         * math/auto-libm-test-out: Regenerated.
31190         * sysdeps/i386/fpu/libm-test-ulps: Update.
31191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31193 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
31195         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31196         * math/auto-libm-test-out: Regenerated.
31197         * sysdeps/i386/fpu/libm-test-ulps: Update.
31198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31200         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31203         * math/auto-libm-test-in: Add more tests of log2.
31204         * math/auto-libm-test-out: Regenerated.
31205         * sysdeps/i386/fpu/libm-test-ulps: Update.
31206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31208 2015-03-23  Roland McGrath  <roland@hack.frob.com>
31210         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
31211         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
31212         _IO_IS_APPENDING bit in READ_WRITE instead.
31214 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31216         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
31217         (__determine_cpumask_size): Replace extend_alloca with a
31218         variable-length array.  Do not treat res == 0 as an error.
31220 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31222         [BZ #18100]
31223         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
31224         and integer overflow.
31225         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
31226         (main): Add integer overflow tests.
31227         * manual/pattern.texi (Calling Wordexp): Document additional use
31228         for WRDE_SYNTAX.
31230 2015-03-23  Alan Modra  <amodra@gmail.com>
31232         * config.h.in: Remove HAVE_ASM_PPC_REL16.
31233         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
31234         and false branch of conditional.
31235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31236         Likewise.
31238 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
31240         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
31241         libc-modules.h
31242         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
31243         unused declaration of _hurd_intr_rpc_msg_in_trap.
31244         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
31245         defined instead of whether it is non-zero.
31246         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
31247         input constraint instead of both input and output constraint.  Use ecx
31248         clobber instead of %ecx.
31249         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
31250         mutex_unlock): Use a statement expression instead of an expression list.
31251         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
31252         type to vm_size_t instead of vm_address_t.
31253         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
31254         defined instead of whether it is non-zero.
31255         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
31256         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
31257         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
31258         comparisons with mapaddr.
31259         * nscd/nscd-client.h: Include <time.h>.
31260         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
31261         9th parameter to __vm_region instead of int.
31262         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
31263         * scripts/check-local-headers.sh (exclude): Add device/,
31264         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
31265         cthreads.h.
31267 2015-03-19  Roland McGrath  <roland@hack.frob.com>
31269         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
31270         to account for alignment padding.
31271         * sysdeps/arm/memmove.S: Likewise.
31273 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
31275         * sysdeps/unix/sysv/linux/generic/README: New file.
31277 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
31279         [BZ #18138]
31280         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
31281         (futex_abstimed_wait)
31282         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
31283         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
31284         of lll_futex_timed_wait.
31286 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
31288         [BZ #17542]
31289         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
31291 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
31293         [BZ #17090]
31294         [BZ #17620]
31295         [BZ #17621]
31296         [BZ #17628]
31297         * NEWS: Update.
31298         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
31299         entries with Static TLS too.  Skip entries past the end of the
31300         allocated DTV, from Alan Modra.
31301         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
31302         Static TLS DTV entry set up from...
31303         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
31304         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
31305         * nptl/allocatestack.c (init_one_static_tls): ... and here...
31306         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
31307         for Static TLS.
31308         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
31309         that the slot we find is associated with the given map before
31310         using its generation count.
31311         * nptl_db/db_info.c: Include ldsodefs.h.
31312         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
31313         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
31314         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
31315         (link_map::l_tls_offset): New struct field.
31316         (dtv_t::counter): Likewise.
31317         (rtld_global): New struct.
31318         (_rtld_global): New rtld variable.
31319         (dl_tls_dtv_slotinfo_list): New rtld global field.
31320         (dtv_slotinfo_list): New struct.
31321         (dtv_slotinfo): Likewise.
31322         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
31323         (td_lookup): Rename to...
31324         (td_mod_lookup): ... this.  Use new mod parameter instead of
31325         LIBPTHREAD_SO.
31326         * nptl_db/td_thr_tlsbase.c: Include link.h.
31327         (dtv_slotinfo_list, dtv_slotinfo): New functions.
31328         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
31329         addresses even if the DTV is out of date or missing them.
31330         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
31331         index zero-length arrays.
31332         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
31333         (td_lookup): Make it a macro implemented in terms of...
31334         (td_mod_lookup): ... this declaration.
31335         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
31336         (DB_MAIN_VARIABLE): Likewise.
31338 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31340         [BZ #18134]
31341         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31343 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
31345         * stdlib/setenv.c (__add_to_environ): Revert previous change.
31347 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
31349         [BZ #18128]
31350         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
31351         (atomic_add, atomic_increment_and_test)
31352         (atomic_decrement_and_test): Fix 64-bit arithmetic.
31354 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
31356         * stdlib/setenv.c (__add_to_environ):
31357         Dump core quickly if setenv (..., NULL, ...) is called.
31359 2015-03-13  Roland McGrath  <roland@hack.frob.com>
31361         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
31362         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
31363         all the necessary asm magic in one place.
31364         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
31365         using those.
31367 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
31369         [BZ #14906]
31370         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
31371         traced file mtime. Use consistent log message.
31372         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
31373         (register_traced_file): Call install_watches. Always set mtime.
31374         (invalidate_cache): Iterate over all trace files. Call install_watches.
31375         (inotify_check_files): Don't inline. Handle watching parent
31376         directories and configuration file movement in and out.
31377         (handle_inotify_events): New function.
31378         (main_loop_poll): Call handle_inotify_events.
31379         (main_loop_epoll): Likewise.
31380         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
31381         (struct traced_file): Use array of inotify fds. Add parent directory,
31382         and basename.
31383         (struct database_dyn): Remove unused file_mtime.
31384         (init_traced_file): New inline function.
31385         (define_traced_file): New macro.
31386         * nss/nss_db/db-init.c: Use define_traced_file.
31387         (_nss_db_init): Use init_traced_file.
31388         * nss/nss_files/files-init.c: Use define_traced_file.
31389         (_nss_files_init): Use init_traced_file.
31391 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
31393         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
31394         [_LIBC]: Do not include <stdlib.h>.
31395         [!_LIBC] (abort): Remove declaration.
31396         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
31397         _FP_STATIC_ASSERT instead of conditionally calling abort.
31398         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
31399         (_FP_EXTEND_CNAN): Likewise.
31400         (FP_TRUNC): Likewise.
31401         (__FP_CLZ): Likewise.
31402         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
31404 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
31406         * manual/string.texi (XPG basename): Fix prototype.
31408 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31410         [BZ #18080]
31411         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
31412         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31413         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
31414         (__setcontext): Likewise.
31415         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
31416         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31417         Call rt_sigprocmask syscall one time to set new signal mask
31418         and retrieve the current signal mask instead of two calls.
31419         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
31420         (__swapcontext): Likewise.
31421         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
31422         * stdlib/tst-setcontext2.c: New file.
31424 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31426         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31428 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
31430         [BZ #18093]
31431         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
31432         the wrong size.
31434 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31436         [BZ #18043]
31437         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
31439 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31441         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
31442         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
31443         Remove define.
31444         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
31445         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
31446         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
31447         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
31448         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
31449         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
31450         define.
31451         * nptl_db/td_symbol_list.c (td_lookup): Remove
31452         HAVE_ASM_GLOBAL_DOT_NAME code.
31453         * sysdeps/powerpc/powerpc64/configure.ac: Remove
31454         HAVE_ASM_GLOBAL_DOT_NAME check.
31455         * sysdeps/powerpc/powerpc64/configure: Regenerate.
31456         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
31457         (DOT_LABEL): Remove define.
31458         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
31459         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
31460         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
31461         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
31462         (__TLS_GET_ADDR): Likewise.
31463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
31464         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
31466 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
31468         [BZ #18111]
31469         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
31470         (_FPU_SETCW): Initialize cw from fpsr before storing.
31471         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
31472         (fesetexceptflag): Rewrite using fpu_control.h.
31473         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
31475 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
31477         [BZ #18110]
31478         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
31479         asms.
31480         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31482 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
31484         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
31485         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
31486         abort.
31487         (_FP_FMA): Likewise.
31488         (_FP_DIV): Likewise.
31490 2015-03-10  Roland McGrath  <roland@hack.frob.com>
31492         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
31493         with 0 in that case.
31494         * Makefile (summarize-tests): New canned sequence, factored out of
31495         commands for targets tests and xtests.  Display summary lines that
31496         don't start with PASS: or XFAIL: rather than ones that do start with
31497         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
31498         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
31499         do start with ERROR: or FAIL:.
31500         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
31501         (except for [$(build-shared) = yes]).
31502         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
31503         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
31504         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
31505         * nptl/Makefile: Revert 2015-03-04 changes.
31506         [$(CXX) empty] (tests-unsupported): New variable.
31507         * debug/Makefile: Likewise.
31509         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
31510         gnulib file.  Replace __attribute with __attribute__ throughout.
31512 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
31514         * sysdeps/hppa/fpu/libm-test-ulps: Update.
31516 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31518         [BZ #18104]
31519         * math/auto-libm-test-in: Add another test of pow.
31520         * math/auto-libm-test-out: Regenerated.
31522 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31524         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
31525         $(config-cflags-nofma).
31527 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31529         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
31530         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
31531         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
31532         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
31533         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
31534         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
31535         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
31536         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
31537         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
31538         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
31539         Add comment on closing #endif.
31541 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31543         * posix/wordexp.c (CHAR_IN_SET): New macro.
31544         (parse_param): Use it.
31546 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31548         * sysdeps/powerpc/fpu/libm-test-ulps: update.
31550 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31552         [BZ #18043]
31553         * posix/wordexp.c (parse_param): Fix buffer overflow.
31554         * posix/wordexp-test.c (test_case): Add test case.
31556 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31558         [BZ #18042]
31559         * posix/wordexp.c (parse_backtick): Fix off-by-one.
31560         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
31562 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31564         [BZ #18043]
31565         * posix/wordexp-test.c (test_case): Add test for BZ #18043
31566         (do_bz18043): Delete.
31567         (at_page_end): New.
31568         (testit): Refactor to have words at the edge of unreadable page.
31570 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31572         [BZ #16734]
31573         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
31574         Cleanup read-only streams as well.
31575         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
31577 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31579         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
31580         <bits/libc-lockP.h>
31582 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
31584         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
31585         on [__KERNEL__].
31586         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
31587         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
31588         * soft-fp/op-common.h (_FP_DECL): Likewise.
31590 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
31592         * elf/ifuncdep2.c (global): Replace
31593         __attribute__((visibility("protected"))) with
31594         asm (".protected global").
31595         * elf/ifuncmod1.c (global): Likewise.
31596         * elf/ifuncmod5.c (global): Likewise.
31598 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
31600         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
31601         <asm/sfp-machine.h> instead of <sfp-machine.h>.
31603 2015-03-06  Roland McGrath  <roland@hack.frob.com>
31605         * manual/install.texi (Configuring and compiling):
31606         Document test-wrapper-env-only.
31607         * INSTALL: Regenerated.
31609 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31611         [BZ #18043]
31612         * posix/wordexp.c (parse_param): Fix buffer overflow.
31613         * posix/wordexp-test.c (do_bz18043): Add test case.
31615 2015-03-06  Vincent Bernat  <vincent@bernat.im>
31617         * time/tst-strptime2.c (do_test): Ensure failing tests are
31618         reported correctly.
31619         * time/tst-strptime3.c (do_test): Likewise.
31621 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
31623         Fix aio_error thread-safety.
31624         * sysdeps/pthread/aio_error.c: New file
31625         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
31626         synchronization.
31628 2015-03-06  Florian Weimer  <fweimer@redhat.com>
31630         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
31631         (group_number, vfprintf): Use it.
31632         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
31633         (JUMP, REF): Use it.
31634         (WORK_BUFFER_SIZE): New enum constant.
31635         (process_arg, vfprintf): Use it.
31637 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
31639         * manual/errno.texi (Error Messages): Complete example function
31640         by adding missing #define.
31641         (program_invocation_name): Add statement indicating GNU
31642         extension and reference which header file declares the variable.
31643         (program_invocation_short_name): Likewise.
31645 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
31647         * manual/errno.texi (Error Messages): Delete strerror ISO C89
31648         compatibility note.
31650 2015-03-05  Roland McGrath  <roland@hack.frob.com>
31652         * Makeconfig (test-wrapper-env-only): New variable.
31653         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
31654         then use that with $(test-wrapper-env-only) rather than using
31655         $(test-wrapper-env) $(run-program-env) $($*-ENV).
31657 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
31659         [BZ #18082]
31660         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
31661         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
31662         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
31663         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
31664         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
31665         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
31666         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
31667         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
31668         Likewise.
31669         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
31670         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
31671         Likewise.
31672         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
31673         Likewise.
31674         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
31675         Likewise.
31676         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
31677         Likewise.
31678         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
31679         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
31680         Likewise.
31681         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
31682         Likewise.
31683         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
31684         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
31686 2015-03-04  Roland McGrath  <roland@hack.frob.com>
31688         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
31689         (ETH_ALEN): New macro.
31690         (struct ether_addr): Use it for length of ether_addr_octet.
31692         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
31693         (setdb): Don't call __nss_configure_lookup for "rpc".
31694         (do_test): Don't call test_rpc.
31695         (output_rpcent, test_rpc): Functions moved ...
31696         * sunrpc/test-rpcent.c: ... to this new file.
31697         * sunrpc/Makefile (tests): Add it.
31699         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
31700         __xpg_sigpause.
31701         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
31702         * nptl/tst-signal6.c: Likewise.
31703         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
31704         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
31706         * configure.ac (libc_cv_cxx_link_ok): New check.
31707         Reset CXX to empty if it fails to link.
31708         * configure: Regenerated.
31709         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
31710         bug-atexit3-lib only if $(CXX) is nonempty.
31711         * nptl/Makefile (tests): Likewise for tst-cancel24.
31712         (tests, tests-static): Likewise for tst-cancel24-static.
31713         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
31714         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
31715         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
31716         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
31718 2015-03-04  Andreas Schwab  <schwab@suse.de>
31720         [BZ #17631]
31721         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
31722         for non-GCC compilers.
31723         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31724         Likewise.
31726 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31728         [BZ #17776]
31729         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
31730         integer before bitwise and assembly operations.
31731         (feclearexcept): Likewise.
31732         * math/test-fenvinline.c: New file.
31733         * math/Makefile: Add test-fenvinline test.
31735 2015-03-03  Alan Modra  <amodra@gmail.com>
31737         [BZ #16512]
31738         * scripts/localplt.awk: Strip off symbol version.
31739         * NEWS: Mention bug fix.
31741 2015-03-02  Roland McGrath  <roland@hack.frob.com>
31743         * sysdeps/pthread/timer_routines.c
31744         (timer_free_list, thread_free_list, thread_active_list): Make static.
31746 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
31748         [BZ #17779]
31749         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31750         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31751         Undefine.
31752         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31753         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31754         Likewise.
31755         * sysdeps/unix/sysv/linux/sh/kernel-features.h
31756         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31757         Likewise.
31759 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31761         [BZ #18036]
31762         * posix/fnmatch_loop.c (END): Detect invalid pattern.
31763         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
31765 2015-03-02  Andreas Schwab  <schwab@suse.de>
31767         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
31768         variable name.
31770 2015-03-02  Florian Weimer  <fweimer@redhat.com>
31772         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
31773         Return error status.
31775 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
31777         [BZ #15969]
31778         * locale/findlocale.c (_nl_find_locale): Introduce const
31779         version of loc_name and drop unsafe type casts.
31781 2015-02-27  Roland McGrath  <roland@hack.frob.com>
31783         * dlfcn/tststatic2.c (main): Converted to ...
31784         (do_test): ... this.
31785         (TEST_FUNCTION): New macro.
31786         Include test-skeleton.c.
31788 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
31790         [BZ #17711]
31791         * elf/Makefile (tests): Add vismain only if PIE is enabled.
31792         (tests-pie): Add vismain.
31793         (CFLAGS-vismain.c): New.
31794         * elf/vismain.c: Add comments for PIE requirement.
31796 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31798         [BZ #18046]
31799         [BZ #18047]
31800         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
31801         0x1p-56L as threshold for just returning the argument.
31802         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
31803         0x1p-32L as threshold for just returning the argument.
31804         * math/auto-libm-test-in: Add more tests of atanh.
31805         * math/auto-libm-test-out: Regenerated.
31806         * sysdeps/i386/fpu/libm-test-ulps: Update.
31807         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
31809 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31811         * string/bcopy.c (bcopy): Call memmove for performance.
31813 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31815         * string/bzero.c (__bzero): Call memset for performance.
31817 2015-02-27  John David Anglin  <dave.anglin@bell.net>
31819         [BZ #18068]
31820         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
31821         to 00100000.
31823 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31825         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
31827 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31829         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
31830         (__kernel_standard): Use CSTR macro when setting exc.name.
31831         * sysdeps/ieee754/Makefile [$(subdir) = math]
31832         (CFLAGS-k_standard.c): Remove variable.
31834         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
31835         setting p and q from "else if" to "else".
31836         (qzero): Likewise.
31837         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
31838         (qone): Likewise.
31839         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
31840         (qzerof): Likewise.
31841         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
31842         (qonef): Likewise.
31843         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
31844         (qzero): Likewise.
31845         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
31846         (qone): Likewise.
31848         [BZ #18038]
31849         [BZ #18039]
31850         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
31851         return pi/2 for arguments below 0x1p-113L.
31852         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
31853         return pi/2 for arguments below 0x1p-106L.
31854         * math/auto-libm-test-in: Add more tests of acos.
31855         * math/auto-libm-test-out: Regenerated.
31857         [BZ #16351]
31858         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
31859         (MO): New macro.
31860         (__ieee754_asin): Force underflow exception for results with small
31861         absolute value.
31862         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
31863         (MO): New macro.
31864         (__ieee754_asinf): Force underflow exception for results with
31865         small absolute value.
31866         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
31867         (__ieee754_asin): Force underflow exception for results with small
31868         absolute value.
31869         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
31870         (__ieee754_asinf): Force underflow exception for results with
31871         small absolute value.
31872         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
31873         (__ieee754_asinl): Force underflow exception for results with
31874         small absolute value.
31875         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
31876         (__ieee754_asinl): Force underflow exception for results with
31877         small absolute value.
31878         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
31879         (__ieee754_asinl): Force underflow exception for results with
31880         small absolute value.
31881         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
31882         Include <math.h>.
31883         * math/auto-libm-test-in: Do not mark underflow exceptions as
31884         possibly missing for bug 16351.
31885         * math/auto-libm-test-out: Regenerated.
31887         [BZ #18030]
31888         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
31889         of power of 2 down when low part has opposite sign.
31890         * math/libm-test.inc (logb_test_data): Add more tests.
31892 2015-02-26  Andreas Schwab  <schwab@suse.de>
31894         [BZ #18032]
31895         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
31896         over collating symbol inside a bracket expression.  Minor cleanup.
31897         * posix/tst-fnmatch3.c (do_test): Add test case.
31899 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31901         [BZ #18029]
31902         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
31903         Adjust exponent of power of 2 down when low part has opposite
31904         sign.
31905         * math/libm-test.inc (ilogb_test_data): Add more tests.
31907 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
31909         [BZ #15969]
31910         * locale/findlocale.c (_nl_find_locale): Fix constness error in
31911         the previous change.
31913         [BZ #15969]
31914         * locale/findlocale.c (_nl_find_locale): Retry archive search
31915         after alias expansion.
31917 2015-02-25  Roland McGrath  <roland@hack.frob.com>
31919         * iconv/tst-iconv3.c (main): Converted to ...
31920         (do_test): ... this.
31921         (TEST_FUNCTION): New macro.
31922         Include test-skeleton.c.
31924         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
31925         (convert): Make function static.
31926         (test_unalign): Likewise.  Add const to argument pointee types.
31927         (main): Replace with static function do_test.
31928         Print "Succeeded." only if RET is zero.
31929         (TEST_FUNCTION): New macro.
31930         Include test-skeleton.c.
31932         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
31933         returns a null pointer.
31935 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31937         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
31938         to __memcpy_ppc only for static builds.
31940 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
31942         [BZ #18020]
31943         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
31944         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
31945         * math/auto-libm-test-in: Add more tests of asinh.
31946         * math/auto-libm-test-out: Regenerated.
31947         * sysdeps/i386/fpu/libm-test-ulps: Update.
31948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31950 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
31952         [BZ #15850]
31953         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
31954         and ip6_mtuinfo definitions here.
31955         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
31956         in this define too.  Update comment.
31958 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
31960         * elf/sprof.c (load_shobj): Tweak error message to match others.
31962 2015-02-24  Kevin Easton  <kevin@guarana.org>
31964         [BZ #16145] (partial fix)
31965         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
31966         to reduce lock contention.
31968 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
31970         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
31971         (struct timex): Update time comment.
31972         (ADJ_SETOFFSET): Define.
31974 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31976         [BZ #18019]
31977         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31978         2**56 not 2**28 as threshold for log (2x) formula.
31979         * math/auto-libm-test-in: Add more tests of acosh.
31980         * math/auto-libm-test-out: Regenerated.
31981         * sysdeps/i386/fpu/libm-test-ulps: Update.
31982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31984 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
31986         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
31987         parenthesis around the buf assignment.
31988         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
31990 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31992         [BZ #16783]
31993         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
31994         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
31995         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
31996         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31997         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31998         * math/libm-test.inc (scalb_test_data): Add more tests.
32000 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32002         [BZ #17916]
32003         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
32004         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
32006 2015-02-24  Eric Rannaud  <e@nanocritical.com>
32008         [BZ #17523]
32009         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
32010         * io/bits/fcntl2.h (open): Use it.
32011         (openat): Likewise.
32012         * io/open.c (__libc_open): Likewise.
32013         * io/open64.c (__libc_open64): Likewise.
32014         * io/open64_2.c (__open64_2): Likewise.
32015         * io/open_2.c (__open_2): Likewise.
32016         * io/openat.c (__openat): Likewise.
32017         * io/openat64.c (__openat64): Likewise.
32018         * io/openat64_2.c (__openat64_2): Likewise.
32019         * io/openat_2.c (__openat_2): Likewise.
32020         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
32021         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
32022         * sysdeps/posix/open64.c (__libc_open64): Likewise.
32023         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
32024         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32025         (__open_nocancel): Likewise.
32026         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32027         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32028         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
32030 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32032         [BZ #14841]
32033         * resolv/gethnamaddr.c (getanswer): Skip logging if
32034         RES_USE_DNSSEC is set.
32035         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32037 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32039         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
32041 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
32043         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
32044         201304L, for Unicode 7.
32046 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
32048         [BZ #17836]
32049         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
32050         shared library.  Add gmon-start.os otherwise.
32051         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
32052         $(objpfx)gmon-start.os if builing shared library.
32053         ($(objpfx)g$(static-start-installed-name)): Likewise.
32055 2015-02-23  Andreas Schwab  <schwab@suse.de>
32057         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
32059 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32061         [BZ #17269]
32062         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
32063         (enlarge_userbuf): Likewise.
32065 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
32067         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
32068         * math/atest-exp.c (TIMEOUT): Adjust to 200.
32069         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
32070         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
32072 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
32074         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
32075         expression inside statement expression.
32077 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32079         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
32080         <sysdeps/nptl/lowlevellock.h> and remove macros and
32081         functions that are now defined there.
32082         (SYS_futex): Remove.
32083         (lll_compare_and_swap): Remove.
32084         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
32086 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
32088         [BZ #17999]
32089         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
32090         instead of scandirat.
32091         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
32092         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
32093         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
32094         __scandirat.
32095         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
32096         (__scandirat): Declare.  Use libc_hidden_proto.
32097         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
32098         Remove variable.
32099         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32101 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32103         [BZ #15319]
32104         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
32105         (MO): New macro.
32106         (__ieee754_atan2): For results with small absolute value, force
32107         underflow exception and remove excess range and precision from
32108         return value.
32109         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
32110         (MO): New macro.
32111         (__ieee754_atan2f): For results with small absolute value, force
32112         underflow exception and remove excess range and precision from
32113         return value.
32114         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
32115         (MO): New macro.
32116         (__atan): For results with small absolute value, force underflow
32117         exception and remove excess range and precision from return value.
32118         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
32119         (MO): New macro.
32120         (__atanf): For results with small absolute value, force underflow
32121         exception and remove excess range and precision from return value.
32122         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
32123         <math.h>.
32124         (__ieee754_atan2): Force underflow exception for results with
32125         small absolute value.
32126         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
32127         <math_private.h>.
32128         (atan): Force underflow exception for results with small absolute
32129         value.
32130         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
32131         (__atanf): Force underflow exception for results with small
32132         absolute value.
32133         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
32134         <math.h>.
32135         (__atanl): Force underflow exception for results with small
32136         absolute value.
32137         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
32138         (__atanl): Force underflow exception for results with small
32139         absolute value.
32140         * sysdeps/x86/fpu/bits/mathinline.h
32141         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
32142         (__ieee754_atan2): Only define inline for long double.
32143         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
32144         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
32145         * math/auto-libm-test-in: Do not mark underflow exceptions as
32146         possibly missing for bug 15319.  Add more tests of atan2.
32147         * math/auto-libm-test-out: Regenerated.
32148         * math/libm-test.inc (casin_test_data): Do not mark underflow
32149         exceptions as possibly missing for bug 15319.
32150         (casinh_test_data): Likewise.
32151         * sysdeps/i386/fpu/libm-test-ulps: Update.
32153 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
32155         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
32156         * sysdeps/mips/bits/endian.h: Fix comments.
32158 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32160         [BZ #17996]
32161         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
32162         (hdestroy_r): Likewise.
32163         (hsearch_r): Likewise.
32164         (__hcreate_r): Declare and use libc_hidden_proto.
32165         (__hdestroy_r): Likewise.
32166         (__hsearch_r): Likewise.
32167         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
32168         (hcreate): Call __hcreate_r instead of hcreate_r.
32169         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
32170         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
32171         as weak alias of __hcreate_r.
32172         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
32173         __hdestroy_r.
32174         (hsearch_r): Rename to __hsearch_r and define as weak alias of
32175         __hsearch_r.
32176         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
32177         Remove variable.
32178         (test-xfail-XPG4/search.h/linknamespace): Likewise.
32179         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32180         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
32181         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
32183 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32185         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
32186         arena_lock into a single arena_get.
32188 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
32190         * dl-reloc.c: Inlucde libc-internal.h.
32191         (_dl_try_allocate_static_tls): Call ALIGN_UP.
32192         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
32193         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
32194         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
32195         (grow_heap): Likewise.
32196         * malloc/malloc.c: Include libc-internal.h.
32197         (do_check_malloc): Call powerof2.
32198         (sysmalloc): Use pagesize. Call ALIGN_UP.
32199         (systrim): Use pagesize.
32200         (mremap_chunk): Use pagesize. Call ALIGN_UP.
32201         (__libc_valloc): Use pagesize.
32202         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
32204 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32206         [BZ #17991]
32207         * include/sys/resource.h (__getrlimit64): Declare.  Use
32208         libc_hidden_proto.
32209         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
32210         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
32211         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
32212         getrlimit64.
32213         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
32214         __getrlimit64.
32215         [!getrlimit64] (getrlimit64): Define as weak alias of
32216         __getrlimit64.  Use libc_hidden_weak.
32217         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
32218         using __getrlimit64 not __new_getrlimit64.
32219         (__GI_getrlimit64): Likewise.
32220         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
32221         Likewise.
32222         (__GI_getrlimit64): Likewise.
32223         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
32224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
32225         (getrlimit): Add __getrlimit64 alias.
32226         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
32227         Likewise.
32228         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
32229         Remove variable.
32230         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
32231         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
32233 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
32235         * libio/fileops.c: Add missing sys/mman.h
32236         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
32238 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32240         * manual/math.texi (Errors in Math Functions): Clarify goals
32241         regarding inexact and underflow exceptions.
32243 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32245         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
32246         * sysdeps/mips/memset.S: Ditto.
32248 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32250         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
32252 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32254         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
32255         (__v1longjmp): Remove versioned symbol.
32256         (__v1siglongjmp): Remove alias and versioned symbol.
32257         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
32258         (__v2siglongjmp): Likewise.
32260 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32262         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
32264 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
32266         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
32268 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32270         [BZ #17987]
32271         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
32272         zero result does not depend on the sign resulting from
32273         subtraction.
32274         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32275         Likewise.
32276         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32277         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32278         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32279         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32280         * math/libm-test.inc (remquo_test_data): Add more tests.
32282 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
32284         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
32285         Problem reported by J William Piggott.
32287 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32289         [BZ #17978]
32290         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
32291         products 4 * y and 2 * y where those would overflow.
32292         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32293         Likewise.
32294         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32295         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32296         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32297         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32298         * math/libm-test.inc (remquo_test_data): Add more tests.
32300         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
32302         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
32303         [defined _COMPILING_NEWLIB].
32304         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
32305         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
32307         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
32308         [!defined __mips_isa_rev || __mips_isa_rev < 6].
32310 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32312         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
32313         acquired.
32315 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
32317         [BZ #17792]
32318         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
32319         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
32320         HOST_STACK_END_ADDR): Likewise.
32322 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
32324         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
32325         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
32326         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
32328 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32330         * sysdeps/generic/c++-types.data: New file.
32331         * sysdeps/generic/ld.abilist: New file.
32332         * sysdeps/generic/libBrokenLocale.abilist: New file.
32333         * sysdeps/generic/libanl.abilist: New file.
32334         * sysdeps/generic/libc.abilist: New file.
32335         * sysdeps/generic/libcrypt.abilist: New file.
32336         * sysdeps/generic/libdl.abilist: New file.
32337         * sysdeps/generic/libm.abilist: New file.
32338         * sysdeps/generic/libpthread.abilist: New file.
32339         * sysdeps/generic/libresolv.abilist: New file.
32340         * sysdeps/generic/librt.abilist: New file.
32342 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32344         [BZ #17569]
32345         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32346         Compute absolute value of x as modified by fmod, not original
32347         value of x.
32348         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
32349         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
32350         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
32351         RUN_TEST_ffI_f1_mod8.
32352         (remquo_test_data): Add more tests.
32354 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32356         * sysdeps/init_array/pt-crti.S: New file.
32358 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32360         [BZ #17967]
32361         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
32362         __builtin_fmaf instead of relying on contraction of a * b + c.
32364 2015-02-12  J William Piggott  <elseifthen@gmx.com>
32366         [BZ #17969]
32367         * manual/time.texi: correct the zoneinfo path in the TZ Variable
32368         node.
32370 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32372         [BZ #17964]
32373         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
32374         __builtin_fma instead of relying on contraction of a * b + c.
32376 2015-02-12  Roland McGrath  <roland@hack.frob.com>
32378         * Makeconfig (ASFLAGS): Add -Werror=undef.
32379         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
32380         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
32381         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
32383         * Makeconfig (after-link): New variable.
32384         (+link-pie, +link-pie-tests): Use it.
32385         (+link-static, +link-static-tests): Likewise.
32386         (+link, +link-tests): Likewise.
32387         * Makerules (build-module, build-module-asneeded): Likewise.
32388         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
32389         Likewise.
32390         * elf/Makefile ($(objpfx)ld.so): Likewise.
32392 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
32394         [BZ #17965]
32395         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
32396         both struct timeval and struct timespec.
32398 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32400         [BZ #16560]
32401         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32402         and redefine.
32403         (__ieee754_exp2l): Do not multiply small fractional parts by
32404         M_LN2l.
32405         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
32406         small argument.
32407         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32408         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32409         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
32410         * math/auto-libm-test-in: Add more tests of exp2.
32411         * math/auto-libm-test-out: Regenerated.
32413 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32415         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
32416         unaligned path.
32418 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32420         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
32421         little endian.
32423 2015-02-12  Andreas Schwab  <schwab@suse.de>
32425         [BZ #15790]
32426         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
32427         Filter out elision flags from value returned in kind.
32428         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
32429         * nptl/tst-pthread-mutexattr.c: New file.
32431 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32433         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
32434         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
32435         into gnu-gnu, and update comment to refer to abi-tags.
32437 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
32439         [BZ #15467]
32440         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
32441         (__sincos): Set errno to EDOM for infinite argument.
32442         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
32443         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
32444         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
32445         (__sincosl): Set errno to EDOM for infinite argument.
32446         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
32447         (__sincosl): Set errno to EDOM for infinite argument.
32448         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
32449         (__sincosl): Set errno to EDOM for infinite argument.
32450         * math/libm-test.inc (sincos_test_data): Test errno setting.
32452 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
32454         * string/strxfrm_l.c: Remove #define STRCMP.
32455         * string/strcoll_l.c: Remove #define STRLEN.
32456         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
32457         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
32459 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
32461         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
32462         * sysdeps/mips/mips32/sfp-machine.h: ... here.
32463         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
32464         * sysdeps/mips/mips64/Makefile: ... here.
32465         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
32466         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
32467         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
32468         * sysdeps/mips/mips64/sfp-machine.h: ... here.
32469         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
32470         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
32471         * sysdeps/mips/mips64/n64/Implies: Likewise.
32473 2015-02-10  Roland McGrath  <roland@hack.frob.com>
32475         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
32476         <sys/time.h>, <string.h>, and <errno.h>.
32477         (dest_offset, dest_address, value, zero): Remove unused variables.
32478         (ldouble): Remove typedef.
32479         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
32480         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
32481         1).  Fix code style.
32482         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
32483         (check): Function removed.
32484         (CHECK): New macro.
32485         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
32486         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
32487         Don't call set_sigaction_FP and remove_sigaction_FP here.
32488         (ldouble_test): Just use 'long double' as macro argument, no need for
32489         the 'ldouble' typedef.
32490         (do_test): Set up SIGFPE handler at start, using plain signal rather
32491         than sigaction.  Fix code style.
32493 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
32495         [BZ #17949]
32496         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
32497         jump label.
32499 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32501         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
32502         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32504         * sysdeps/powerpc/configure.ac: Remove file.
32505         * sysdeps/powerpc/configure: Likewise.
32507         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32508         [sysdep_routines]: Remove wordcopy-power6 object.
32509         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32510         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
32511         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
32512         (__memmove_ppc32): Likewise.
32513         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
32514         file.
32515         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
32516         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
32517         Remove preprocessor.
32519         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32520         [sysdep_routines]: Remove wide chars objects.
32521         [wcsmbs]: New rule for wide char objects.
32523         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32524         Remove wordcopy-power6 obejct.
32525         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
32526         Use local call for wordcopy and memcpy symbols.
32527         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
32528         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
32529         implementation for loader.
32530         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
32532         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32533         Remove wordcopy-power7 object.
32534         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
32535         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
32536         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
32537         (_wordcopy_fwd_dest_aligned): Likewise.
32538         (_wordcopy_bwd_aligned): Likewise.
32539         (_wordcopy_bwd_dest_aligned): Likewise.
32541         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
32542         Rewrite to call __memmove_ppc instead of include default
32543         implementation.
32545         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32546         Remove wide chars objects.
32547         [wcsmbs]: New rule for wide char objects.
32549 2015-02-09  Andreas Schwab  <schwab@suse.de>
32551         [BZ #17912]
32552         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32553         in terms of __O_DIRECTORY.
32555 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32557         * time/getdate.c: Include <stdbool.h>.
32558         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
32559         call PTR_MANGLE.
32560         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
32561         PTR_DEMANGLE.
32563 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
32565         Add ersatz _Static_assert on older C hosts
32566         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
32567         pre-C11 C platform that is not known to support _Static_assert.
32569 2015-02-07  Richard Braun  <rbraun@sceen.net>
32571         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
32572         sigstate.
32573         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
32575 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32577         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
32578         priority against unexistent AIO_PRIO_DELTA_MAX.
32579         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
32580         instead of int.
32581         * misc/fchflags.c (fchflags): Likewise.
32582         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
32583         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
32584         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
32585         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
32586         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
32587         Declare macros.
32588         [__USE_MISC] (chflags, fchflags): Declare functions.
32589         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
32590         EINVAL when nfds is greater than FD_SETSIZE.
32591         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
32592         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
32593         45.
32594         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
32595         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
32596         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
32597         MACH_RCV_TIMED_OUT.
32598         * hurd/hurd/signal.h (_hurd_self_sigstate,
32599         _hurd_critical_section_lock, _hurd_critical_section_unlock):
32600         Explicit casts from void *.
32601         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
32602         * abi-tags: Rename gnu-gnu os into gnu.
32604         [BZ #4719]
32605         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
32606         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
32607         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
32608         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
32609         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
32610         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
32612         [BZ #17944]
32613         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
32614         duplicates ADDR->sun_path with sockaddr LEN limitation.
32615         * sysdeps/mach/hurd/connect.c: Include <string.h>
32616         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
32617         * sysdeps/mach/hurd/sendmsg.c: Likewise.
32618         * sysdeps/mach/hurd/sendto.c: Likewise.
32619         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
32620         implementing it by hand.
32622 2015-02-06  Roland McGrath  <roland@hack.frob.com>
32624         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
32625         Use sfi_breg on ldr.
32626         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
32627         Likewise.
32629         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
32630         it's defined.
32631         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
32632         Test SIGSETXID only if it's defined.
32634         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
32636         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
32637         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
32639         * nptl/tst-align2.c: Moved ...
32640         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
32641         * nptl/Makefile (tests): Remove tst-align2.
32642         * sysdeps/unix/sysv/linux/Makefile
32643         [$(subdir) = nptl] (tests): Add tst-align-clone.
32644         * nptl/tst-getpid1.c: Moved ...
32645         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
32646         * nptl/tst-getpid2.c: Moved ...
32647         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
32648         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
32649         * sysdeps/unix/sysv/linux/Makefile
32650         [$(subdir) = nptl] (tests): ... here.
32651         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
32652         * sysdeps/unix/sysv/linux/Makefile
32653         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
32655         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
32656         Drop trailing \n from perror argument.  Use return rather than exit.
32658         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
32659         on [SA_SIGINFO].
32660         * nptl/tst-cancel21.c (do_test): Likewise.
32661         * debug/tst-backtrace6.c: Include <signal.h> first thing.
32662         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
32663         [!SA_SIGINFO]: Make it a stub test.
32665         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
32666         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
32668         * posix/tst-getlogin.c: Move to ...
32669         * login/tst-getlogin.c: ... here.
32670         * posix/Makefile (tests): Move tst-getlogin to ...
32671         * login/Makefile (tests): ... here.
32673         * libio/tst-atime.c (do_test): Move local variables SV and E
32674         inside [ST_NOATIME] conditional.
32676         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
32678         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
32680         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
32681         (wait_code): New function replaces macro.
32682         Call nanosleep rather than syscall.
32684         * nptl/pt-system.c: Rewritten.  Put everything under
32685         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32686         Use IFUNC to redirect when possible.
32688         * nptl/pt-longjmp.c: Rewritten.  Put everything under
32689         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32690         Use IFUNC to redirect when possible.
32692         * nptl/pt-fork.c: Rewritten.  Put everything under
32693         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32694         Use IFUNC to redirect when possible.
32695         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
32697         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
32698         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
32699         unconditionally nowadays.  This included the only reference to
32700         __vdso_clock_gettime that appears outside libc proper.
32701         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
32702         Remove version set (containing only __vdso_clock_gettime).
32703         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32704         Add attribute_hidden.
32705         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32706         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
32707         libc_hidden_data_def.
32708         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32709         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32711         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
32712         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
32713         setrpcent, and getrpcport to ...
32714         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
32715         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
32716         getrpcbynumber_r, and getrpcent_r to ...
32717         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
32718         * inet/getrpcbyname.c: Moved ...
32719         * sunrpc/getrpcbyname.c: ... here.
32720         * inet/getrpcbyname_r.c: Moved ...
32721         * sunrpc/getrpcbyname_r.c: ... here.
32722         * inet/getrpcbynumber.c: Moved ...
32723         * sunrpc/getrpcbynumber.c: ... here.
32724         * inet/getrpcbynumber_r.c: Moved ...
32725         * sunrpc/getrpcbynumber_r.c: ... here.
32726         * inet/getrpcent.c: Moved ...
32727         * sunrpc/getrpcent.c: ... here.
32728         * inet/getrpcent_r.c: Moved ...
32729         * sunrpc/getrpcent_r.c: ... here.
32730         * inet/Makefile (routines): Move those to ...
32731         * sunrpc/Makefile (routines): ... here.
32732         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
32733         the $(subdirs) list.
32734         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
32735         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
32736         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
32737         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
32739         * elf/Makefile (routines): Include $(all-dl-routines), not just
32740         $(dl-routines).
32741         (rtld-routines): Likewise.  Use = rather than :=.
32742         * sysdeps/aarch64/Makefile [$(subdir) = elf]
32743         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
32744         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
32745         * sysdeps/arm/Makefile: Likewise.
32746         * sysdeps/i386/Makefile: Likewise.
32747         * sysdeps/x86_64/Makefile: Likewise.
32748         * sysdeps/hppa/Makefile [$(subdir) = elf]
32749         (sysdep_routines, sysdep-rtld-routines): Don't add
32750         $(sysdep-dl-routines) to these.
32751         * sysdeps/ia64/Makefile: Likewise.
32752         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
32753         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
32754         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
32755         Don't add dl-static to these; sysdep-dl-routines alone is enough.
32756         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
32757         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
32758         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
32759         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
32760         * sysdeps/powerpc/Makefile [$(subdir) = elf]
32761         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
32762         these; sysdep-dl-routines alone is enough.
32764 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
32766         [BZ #17932]
32767         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
32768         where multiplication results in zero and third argument is finite
32769         and nonzero.
32770         * math/auto-libm-test-in: Add more tests of fma.
32771         * math/auto-libm-test-out: Regenerated.
32773         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
32774         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
32775         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
32776         (_FP_CMP_EQ): Likewise.
32777         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
32779         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
32780         extra argument CHECK_NAN.  Redefine as wrapper around
32781         _FP_EXTEND_CNAN.
32783 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
32785         * version.h (RELEASE): Set to "stable".
32786         (VERSION): Set to "2.21"
32787         * include/features.h (__GLIBC_MINOR__): Set to 21.
32789         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
32791 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32792             Paul Eggert  <eggert@cs.ucla.edu>
32794         [BZ #16618]
32795         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
32796         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
32797         size in bytes. Store needed elements in wpmax. Use needed size
32798         in bytes for extend_alloca.
32800 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
32802         * manual/install.texi: Latest tested versions are GCC 4.9.2,
32803         binutls 2.25, and texinfo 5.2.
32804         * INSTALL: Regenerate.
32805         * sysdeps/nios2/configure: Regenerate.
32806         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
32807         * manual/contrib.texi: Update.
32808         * po/be.po: Update.
32809         * po/bg.po: Update.
32810         * po/ca.po: Update.
32811         * po/cs.po: Update.
32812         * po/da.po: Update.
32813         * po/de.po: Update.
32814         * po/el.po: Update.
32815         * po/eo.po: Update.
32816         * po/es.po: Update.
32817         * po/fi.po: Update.
32818         * po/fr.po: Update.
32819         * po/gl.po: Update.
32820         * po/hr.po: Update.
32821         * po/hu.po: Update.
32822         * po/ia.po: Update.
32823         * po/id.po: Update.
32824         * po/it.po: Update.
32825         * po/ja.po: Update.
32826         * po/ko.po: Update.
32827         * po/lt.po: Update.
32828         * po/nb.po: Update.
32829         * po/nl.po: Update.
32830         * po/pl.po: Update.
32831         * po/pt_BR.po: Update.
32832         * po/ru.po: Update.
32833         * po/rw.po: Update.
32834         * po/sk.po: Update.
32835         * po/sl.po: Update.
32836         * po/sv.po: Update.
32837         * po/tr.po: Update.
32838         * po/uk.po: Update.
32839         * po/vi.po: Update.
32840         * po/zh_CN.po: Update.
32841         * po/zh_TW.po: Update.
32843         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
32844         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
32845         * sysdeps/hppa/dl-irel.h: Remove #warning.
32846         * sysdeps/hppa/entry.h: Provide prototype for
32847         __canonicalize_funcptr_for_compare and cast argument.
32848         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
32849         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
32850         * sysdeps/hppa/sotruss-lib.c: New file.
32851         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
32852         (atomic_compare_and_exchange_val_acq): Use __typeof__.
32853         (atomic_compare_and_exchange_bool_acq): Likewise.
32854         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
32855         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
32857         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
32858         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
32859         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
32861 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
32863         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
32864         called function in non-PIC case.
32866 2015-01-31  David S. Miller  <davem@davemloft.net>
32868         * sysdeps/sparc/sparc32/bits/atomic.h
32869         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
32870         unlock not after it.
32871         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
32872         volatile register usage warnings from the compiler.
32874         * sysdeps/sparc/nptl/sem_init.c: Delete.
32875         * sysdeps/sparc/nptl/sem_post.c: Delete.
32876         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
32877         * sysdeps/sparc/nptl/sem_wait.c: Delete.
32878         * sysdeps/sparc/sparc32/sem_init.c: New file.
32879         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
32880         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
32881         padding explicitly initialized.
32882         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
32883         padding for in-semaphore spinlock.
32884         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
32885         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
32886         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
32887         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
32888         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
32889         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
32890         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
32891         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
32892         version.
32893         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
32894         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
32896 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
32898         [BZ #17801]
32899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32900         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
32901         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
32902         New.
32903         (index_AVX_Fast_Unaligned_Load): Likewise.
32904         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
32905         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
32906         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
32907         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
32908         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
32909         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
32910         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
32911         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
32912         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
32914 2015-01-29  Andreas Schwab  <schwab@suse.de>
32916         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
32918 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
32920         [BZ #17892]
32921         * nscd/nscd_stat.c (send_stats): Initialize DATA.
32923 2015-01-28  Martin Sebor  <msebor@redhat.com>
32925         * math/README.libm-test: Clarify. Add "How to read the test output."
32927 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
32929         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
32930         Define to 0.
32932 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
32934         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
32935         (__HAVE_64B_ATOMICS): Define to 0.
32937 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32939         [BZ #17885]
32940         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
32941         value to set as new flag.
32943         [BZ #16576]
32944         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
32945         and use _ARCH_PPCSQ instead.
32946         (__ieee754_sqrt): Likewise.
32947         (__ieee754_sqrtf): Likewise.
32948         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
32949         _ARCH_PPCSQ is defined.
32950         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
32951         fsqrt instruction.
32952         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
32953         _ARCH_PPCSQ is defined.
32954         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
32955         fsqrts instruction.
32956         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
32958 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32960         * iconv/loop.c: Suppress array out of bound warning caused by GCC
32961         bug (GCC BZ #64739).
32963 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
32965         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
32966         Mark _retval as used.
32967         (lll_futex_wake_unlock): Likewise.
32968         (lll_futex_timed_wait_requeue_pi): Likewise.
32970         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32971         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
32972         register variables.
32974         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
32975         libm_hidden_def.
32977         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
32978         (__bswap_64): Mark as __always_inline.
32980 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
32982         [BZ #15378]
32983         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
32984         when none of the search directories exist.
32986 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32988         [BZ #17869]
32989         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
32990         power8 in .machine directive.
32992         [BZ #17868]
32993         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
32994         set dependency from opd value.
32996 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
32998         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32999         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
33000         architecture.
33002 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33004         [BZ #17870]
33005         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
33006         with uint64_t.
33007         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
33008         (uint64_t) 1.
33009         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
33010         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
33011         Replace 1UL with (uint64_t) 1.
33012         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
33013         int with uint64_t.
33015 2015-01-23  Roland McGrath  <roland@hack.frob.com>
33017         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
33018         (if_freenameindex): Likewise.
33020         * resource/getrlimit64.c: Add missing libc_hidden_def.
33022 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
33024         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
33025         __label__.
33026         (_FP_FMA): Likewise.
33027         (_FP_TO_INT_ROUND): Likewise.
33028         (_FP_FROM_INT): Likewise.
33030 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33032         [BZ #16418]
33033         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33034         Make code racy and cancel safe.
33036 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
33038         * sysdeps/arm/unwind-resume.h: Fix copyright year.
33039         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
33040         attribution.
33042         * pwd/tst-getpw.c: Rewrite.
33044         [BZ #17702]
33045         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
33046         (modules-names): Add moddummy1 and moddummy2.
33047         ($(objpfx)tst-rec-dlopen): Define.
33048         * dlfcn/moddummy1.c: New file.
33049         * dlfcn/moddummy2.c: New file.
33050         * dlfcn/tst-rec-dlopen.c: New file.
33051         * elf/dl-cache.c (_dl_load_cache_lookup):
33052         Return char*. Copy result with alloca/strcpy/strdup.
33053         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
33054         returns char*. Free cached. If not saving realname
33055         free cached.
33056         * elf/dl-open.c (dl_open_worker): Do not assert that
33057         _r_debug->r_state is RT_CONSISTENT.
33058         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
33059         returns char*.
33061 2015-01-21  Torvald Riegel  <triegel@redhat.com>
33062             Carlos O'Donell  <carlos@redhat.com>
33064         [BZ #12674]
33065         * nptl/sem_waitcommon.c: New file.
33066         * nptl/sem_wait.c: Include sem_waitcommon.c.
33067         (__sem_wait_cleanup, do_futex_wait): Remove.
33068         (__new_sem_wait): Adapt.
33069         (__new_sem_trywait): New function.
33070         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
33071         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
33072         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
33073         (sem_timedwait): Adapt.
33074         * nptl/sem_post.c (__new_sem_post): Adapt.
33075         (futex_wake): New function.
33076         (__old_sem_post): Add release MO fence.
33077         * nptl/sem_open.c (sem_open): Adapt.
33078         * nptl/sem_init.c (__new_sem_init): Adapt.
33079         (futex_private_if_supported): New function.
33080         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
33081         (__old_sem_getvalue): Add using previous code.
33082         * sysdeps/nptl/internaltypes.h: Adapt.
33083         * nptl/tst-sem13.c (do_test): Adapt.
33084         * nptl/tst-sem11.c (main): Adapt.
33085         * nptl/sem_trywait.c: Remove.
33086         * nptl/DESIGN-sem.txt: Remove.
33087         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
33088         (gen-as-const-headers): Remove structsem.sym.
33089         * nptl/structsem.sym: Remove.
33090         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
33091         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
33092         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
33093         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
33094         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
33095         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
33096         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
33097         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
33098         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
33099         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
33100         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
33101         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
33102         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
33103         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
33104         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
33105         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
33106         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
33107         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
33108         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
33109         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
33110         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
33111         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
33113 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
33115         * INSTALL: Regenerated.
33117         * po/libc.pot: Regenerated.
33119 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
33120             Sandra Loosemore  <sandra@codesourcery.com>
33121             Andrew Jenner  <andrew@codesourcery.com>
33122             Joseph Myers  <joseph@codesourcery.com>
33123             Nathan Sidwell  <nathan@codesourcery.com>
33125         * NEWS: Mention new Nios II port.
33126         * sysdeps/nios2/Implies: New file.
33127         * sysdeps/nios2/Makefile: New file.
33128         * sysdeps/nios2/Subdirs: New file.
33129         * sysdeps/nios2/Versions: New file.
33130         * sysdeps/nios2/__longjmp.S: New file.
33131         * sysdeps/nios2/abort-instr.h: New file.
33132         * sysdeps/nios2/backtrace.c: New file.
33133         * sysdeps/nios2/bits/endian.h: New file.
33134         * sysdeps/nios2/bits/fenv.h: New file.
33135         * sysdeps/nios2/bits/link.h: New file.
33136         * sysdeps/nios2/bits/setjmp.h: New file.
33137         * sysdeps/nios2/bsd-_setjmp.S: New file.
33138         * sysdeps/nios2/bsd-setjmp.S: New file.
33139         * sysdeps/nios2/configure: New generated file.
33140         * sysdeps/nios2/configure.ac: New file.
33141         * sysdeps/nios2/crti.S: New file.
33142         * sysdeps/nios2/crtn.S: New file.
33143         * sysdeps/nios2/dl-init.c: New file.
33144         * sysdeps/nios2/dl-machine.h: New file.
33145         * sysdeps/nios2/dl-sysdep.h: New file.
33146         * sysdeps/nios2/dl-tls.h: New file.
33147         * sysdeps/nios2/dl-trampoline.S: New file.
33148         * sysdeps/nios2/gccframe.h: New file.
33149         * sysdeps/nios2/gmp-mparam.h: New file.
33150         * sysdeps/nios2/jmpbuf-offsets.h: New file.
33151         * sysdeps/nios2/jmpbuf-unwind.h: New file.
33152         * sysdeps/nios2/ldsodefs.h: New file.
33153         * sysdeps/nios2/libc-tls.c: New file.
33154         * sysdeps/nios2/libm-test-ulps: New file.
33155         * sysdeps/nios2/machine-gmon.h: New file.
33156         * sysdeps/nios2/math-tests.h: New file.
33157         * sysdeps/nios2/math_private.h: New file.
33158         * sysdeps/nios2/memusage.h: New file.
33159         * sysdeps/nios2/nptl/Makefile: New file.
33160         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
33161         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
33162         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
33163         * sysdeps/nios2/nptl/pthreaddef.h: New file.
33164         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
33165         * sysdeps/nios2/nptl/tls.h: New file.
33166         * sysdeps/nios2/preconfigure: New file.
33167         * sysdeps/nios2/s_fma.c: New file.
33168         * sysdeps/nios2/s_fmaf.c: New file.
33169         * sysdeps/nios2/setjmp.S: New file.
33170         * sysdeps/nios2/sfp-machine.h: New file.
33171         * sysdeps/nios2/sotruss-lib.c: New file.
33172         * sysdeps/nios2/stackguard-macros.h: New file.
33173         * sysdeps/nios2/stackinfo.h: New file.
33174         * sysdeps/nios2/start.S: New file.
33175         * sysdeps/nios2/sysdep.h: New file.
33176         * sysdeps/nios2/tls-macros.h: New file.
33177         * sysdeps/nios2/tst-audit.h: New file.
33178         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
33179         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
33180         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
33181         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
33182         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
33183         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
33184         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
33185         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
33186         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
33187         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
33188         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
33189         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
33190         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
33191         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
33192         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
33193         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
33194         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
33195         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
33196         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
33197         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
33198         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
33199         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
33200         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
33201         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
33202         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
33203         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
33204         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
33205         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
33206         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
33207         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
33208         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
33209         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
33210         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
33211         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
33212         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
33213         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
33214         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
33215         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
33216         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
33217         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
33218         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
33219         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
33220         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
33221         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
33223 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33225         [BZ #17844]
33226         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
33227         (getutent): Use weak_alias in non SHARED case
33228         and default_symbol_version in SHARED case.
33229         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
33230         (getutent_r, pututline): Likewise.
33231         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
33232         (getutid): Likewise.
33233         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
33234         (getutid_r): Likewise.
33235         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
33236         (getutline): Likewise.
33237         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
33238         (getutline_r): Likewise.
33239         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
33240         (updwtmp): Likewise.
33242 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33244         [BZ #17848]
33245         * sysdeps/s390/s390-32/memcmp.S
33246         (memcmp_g5): Rename to __memcmp_g5.
33247         * sysdeps/s390/s390-32/memcpy.S
33248         (memcpy_g5): Rename to __memcpy_g5.
33249         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33250         (memcpy_mvcle) Rename to __memcpy_mvcle.
33251         * sysdeps/s390/s390-32/memset.S
33252         (memset_g5): Rename to __memset_g5.
33253         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33254         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33255         and use prefixed functions.
33256         * sysdeps/s390/s390-32/multiarch/memcmp.S
33257         (memcmp_z196): Rename to __memcmp_z196.
33258         (memcmp_z10): Rename to __memcmp_z10.
33259         (memcmp): Set alias to __memcmp_g5.
33260         (bcmp): Set alias to __memcmp_g5.
33261         * sysdeps/s390/s390-32/multiarch/memcpy.S
33262         (memcpy_z196): Rename to __memcpy_z196.
33263         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33264         (memcpy_z10): Rename to __memcpy_z10.
33265         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33266         (memcpy): Set alias to __memcpy_g5.
33267         * sysdeps/s390/s390-32/multiarch/memset.S
33268         (memset_z196): Rename to __memset_z196.
33269         Jump to __memset_mvcle instead of memset_mvcle.
33270         (memset_z10): Rename to __memset_z10.
33271         Jump to __memset_mvcle instead of memset_mvcle.
33272         (memset_mvcle) Rename to __memset_mvcle.
33273         (memset): Set alias to __memset_g5.
33274         * sysdeps/s390/s390-64/memcmp.S
33275         (memcmp_z900): Rename to __memcmp_z900.
33276         * sysdeps/s390/s390-64/memcpy.S
33277         (memcpy_z900): Rename to __memcpy_z900.
33278         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33279         (memcpy_mvcle) Rename to __memcpy_mvcle.
33280         * sysdeps/s390/s390-64/memset.S
33281         (memset_z900): Rename to __memset_z900.
33282         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
33283         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33284         and use prefixed functions.
33285         * sysdeps/s390/s390-64/multiarch/memcmp.S
33286         (memcmp_z196): Rename to __memcmp_z196.
33287         (memcmp_z10): Rename to __memcmp_z10.
33288         (memcmp): Set alias to __memcmp_z900.
33289         (bcmp): Set alias to __memcmp_z900.
33290         * sysdeps/s390/s390-64/multiarch/memcpy.S
33291         (memcpy_z196): Rename to __memcpy_z196.
33292         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33293         (memcpy_z10): Rename to __memcpy_z10.
33294         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33295         (memcpy): Set alias to __memcpy_z900.
33296         * sysdeps/s390/s390-64/multiarch/memset.S
33297         (memset_z196): Rename to __memset_z196.
33298         Jump to __memset_mvcle instead of memset_mvcle.
33299         (memset_z10): Rename to __memset_z10.
33300         Jump to __memset_mvcle instead of memset_mvcle.
33301         (memset_mvcle) Rename to __memset_mvcle.
33302         (memset): Set alias to __memset_z900.
33304 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
33306         [BZ #17748]
33307         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
33308         __fesetenv instead of fesetenv.
33310 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33312         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
33313         macro.
33315 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33317         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
33318         regression on LE.
33320         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
33321         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
33322         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33323         strncmp-power8 object.
33324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33325         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
33326         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
33327         * NEWS: Update.
33329 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33330             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33332         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
33333         trailing byte check.
33335 2015-01-13  David S. Miller  <davem@davemloft.net>
33337         * include/signal.h (__sigreturn): Guard with __USE_MISC.
33339 2015-01-13  Roland McGrath  <roland@hack.frob.com>
33341         * login/logout.c (logout): Use memset rather than bzero.
33342         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
33343         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
33344         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
33345         (_gethtbyaddr): Likewise.
33346         * locale/programs/simple-hash.c (bcopy): Macro removed.
33348 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33350         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33351         Add strcmp-power8 object.
33352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33353         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
33354         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
33355         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
33356         __strcmp_power8 implementation.
33357         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
33358         * NEWS: Update.
33360         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33361         Add strncpy-power8 and stpncpy-power8 objects.
33362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33363         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
33364         implementations.
33365         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
33366         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
33367         __stpncpy_power8 implementation.
33368         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
33369         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
33370         __strncpy_power8 implementation.
33371         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
33372         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
33373         * NEWS: Update.
33375         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
33376         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
33377         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
33379         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33380         strncat-power8 object.
33381         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
33382         __strcat_power8 implementation.
33383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33384         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
33385         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
33386         optimized strcat for power8.
33388         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33389         strcpy-power8 and stpcpy-power8 objects.
33390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33391         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
33392         implementations.
33393         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
33394         multiarch stpcpy implementation for POWER8.
33395         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
33396         multiarch strcpy implementation for POWER8.
33397         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
33398         __strcpy_power8 function.
33399         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
33400         stpcpy for POWER8.
33401         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
33402         strcpy for POWER8.
33403         * NEWS: Update.
33405 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
33407         [BZ #16009]
33408         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
33409         weights and rules. Use do_xfrm_cached if data fits in cache,
33410         do_xfrm otherwise.  Moved former main loop to...
33411         * (do_xfrm_cached): New function.
33412         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
33413         find_idx, find_position and stack_push.
33414         * (find_idx): New function.
33415         * (find_position): Likewise.
33416         * localedata/sort-test.sh: Added test run for do_xfrm.
33417         * localedata/xfrm-test.c (main): Added command line option
33418         -nocache to run the test with strings that are too large for
33419         the STRXFRM cache.
33421 2015-01-13  Torvald Riegel  <triegel@redhat.com>
33423         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
33424         variable to lll_futex_wake call, not the value itself.
33426 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
33428         [BZ #17803]
33429         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
33430         twom64.  Adjust value to 0x1p-64L.
33431         (__scalblnl): Only return standard underflowing result for K <=
33432         -64 not K <= -63; adjust exponent for underflowing result by 64
33433         not 63.
33434         * math/libm-test.inc (scalbn_test_data): Add more tests.
33435         (scalbln_test_data): Likewise.
33437         [BZ #17834]
33438         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
33439         0x1p63L.
33440         (__scalblnl): Get new exponent of adjusted subnormal value from ES
33441         not HX.
33442         * math/libm-test.inc (scalbn_test_data): Add more tests.
33443         (scalbln_test_data): Likewise.
33445 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33446             Stefani Seibold  <stefani@seibold.net>
33448         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
33449         (sysdep_routines): Add dl-vdso here, ...
33450         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
33451         (sysdep_routines): ... not here.
33452         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
33453         fallback when vDSO is not presented.
33454         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33455         Define with libc_hidden_proto/libc_hidden_data_def definitions.
33456         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
33457         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
33458         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
33459         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
33460         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
33461         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
33462         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
33463         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
33464         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
33465         fallback configurable symbol when vDSO is not available.
33466         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
33467         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
33468         be able to redefine fallback symbol when vDSO is not available.
33469         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
33470         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
33472 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33474         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
33475         (TLS_INIT_TP): Add tm_capable initialization.
33476         (TLS_DEFINE_INIT_TP): Likewise.
33477         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
33478         TCB.
33479         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
33480         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
33481         calculation.
33482         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
33483         transactoion is lock elision is built and TCB tm_capable is set.
33484         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
33485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33486         (INTERNAL_SYSCALL_NCS): Likewise.
33487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33488         (INTERNAL_SYSCALL_NCS): Likewise.
33489         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
33491         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
33492         for powerpc.
33493         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33494         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
33495         and remove it for 32 bits case.
33496         [pthread_rwlock_t] (__rwelision): New field for lock elision.
33497         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
33498         initialization.
33499         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
33500         Disable lock elision with rdlocks if elision is not available.
33502         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
33503         (sysdep_routines): Add lock elision objects.
33504         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33505         [pthread_mutex_t] (__spins): Rework to add lock elision field.
33506         [pthread_mutex_t] (__elision): Add field.
33507         [__PTHREAD_SPINS]: Adjust to init lock elision field.
33508         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
33509         elision definitions for powerpc.
33510         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
33511         implementation of lock elision for powerpc.
33512         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
33513         implementation of timed lock elision for powerpc.
33514         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
33515         implementation of trylock with lock elision for powerpc.
33516         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
33517         implementaion of unlock for lock elision for powerpc.
33518         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
33519         automatic enable lock elision for mutexes.
33520         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
33521         transaction execution definitions for powerpc.
33522         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
33523         definitions.
33524         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
33525         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
33526         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
33527         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
33528         * NEWS: Update.
33530 2015-01-09  Roland McGrath  <roland@hack.frob.com>
33532         * sysdeps/posix/shm-directory.c: Use <> rather than ""
33533         for #include of <shm-directory.h>.
33535 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
33537         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
33538         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
33540 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
33542         [BZ #17791]
33543         * NEWS: Mention bug fix.
33544         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
33545         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
33546         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
33548 2015-01-09  Torvald Riegel <triegel@redhat.com>
33550         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
33552 2015-01-09  Torvald Riegel <triegel@redhat.com>
33554         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
33556 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33558         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
33559         pointer and cast to uintptr_t.
33561 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33563         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
33564         removed.
33565         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
33567 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33569         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
33570         of 0.
33572 2015-01-08  Roland McGrath  <roland@hack.frob.com>
33574         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
33575         <nptl/pthreadP.h> instead.
33576         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
33578         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
33579         already defined.
33580         [__SIGRTMIN] (init): Function removed.
33581         [__SIGRTMIN] (initialized): Variable removed.
33582         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
33583         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
33584         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
33585         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
33586         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
33587         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
33588         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
33589         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
33590         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
33591         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
33592         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
33593         * sysdeps/nptl/allocrtsig.c: New file.
33594         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
33595         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
33596         * sysdeps/generic/testrtsig.h: File removed.
33598         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
33599         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
33601         * nptl/nptl-init.c (pthread_functions): Conditionalize
33602         .ptr__nptl_setxid initialization on [SIGSETXID].
33604         * sysdeps/nptl/sys/procfs.h: New file.
33605         * nptl_db/Makefile (headers): Add it.
33606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
33608         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
33609         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
33610         * nptl/pthread_attr_setaffinity.c: Include it.
33611         * nptl/pthread_setattr_default_np.c: Likewise.
33612         * nptl/check-cpuset.h: New file.
33614 2015-01-08  Richard Henderson  <rth@redhat.com>
33616         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
33617         (CFLAGS-tst-execstack-prog.c): Likewise.
33618         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
33620 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
33621             Sandra Loosemore  <sandra@codesourcery.com>
33622             Andrew Jenner  <andrew@codesourcery.com>
33623             Joseph Myers  <joseph@codesourcery.com>
33624             Nathan Sidwell  <nathan@codesourcery.com>
33626         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
33627         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
33628         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
33629         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
33630         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
33631         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
33632         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
33633         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
33634         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
33635         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
33636         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
33637         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
33638         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
33639         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
33640         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
33641         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
33642         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
33644 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33646         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
33647         timespec struct member in syscall macro.
33648         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
33649         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
33650         first timeval struct member in syscall macro.
33651         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
33653 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
33655         [BZ #17748]
33656         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
33657         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
33658         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
33659         __feupdateenv and define as weak alias of __feupdateenv.  Use
33660         libm_hidden_weak.
33661         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
33662         libm_hidden_def.
33663         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
33664         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
33665         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33666         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
33667         libm_hidden_def.
33668         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
33669         __feupdateenv and define as weak alias of __feupdateenv.  Use
33670         libm_hidden_weak.
33671         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
33672         libm_hidden_def.
33673         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
33674         __feupdateenv and define as weak alias of __feupdateenv.  Use
33675         libm_hidden_weak.
33676         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
33677         libm_hidden_def.
33678         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33679         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33680         (__feupdateenv): Likewise.
33681         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
33682         __feupdateenv and define as weak alias of __feupdateenv.  Use
33683         libm_hidden_weak.
33684         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33685         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
33686         libm_hidden_def.
33687         * sysdeps/tile/math_private.h (__feupdateenv): New inline
33688         function.
33689         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
33690         libm_hidden_def.
33691         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
33692         __feupdateenv instead of feupdateenv.
33693         (default_libc_feupdateenv_test): Likewise.
33694         (libc_feresetround_ctx): Likewise.
33696 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33698         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
33699         prototype.
33701 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
33703         * posix/regcomp.c (parse_bracket_exp): Initialize type to
33704         COLL_SYM in a couple of places to avoid uninitialized variable
33705         wanings on tilegx gcc 4.8.2.
33707 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33709         * sysdeps/aarch64/strcpy.S: New file.
33710         * sysdeps/aarch64/stpcpy.S: New file.
33711         * NEWS: Updated.
33713 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33715         * sysdeps/aarch64/strrchr.S: New file.
33716         * NEWS: Updated.
33718 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
33720         [BZ #17658]
33721         * stdlib/setenv.c: Fix memory leak when setting large,
33722         duplicate string.
33724 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
33726         [BZ #17273]
33727         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
33728         and tabs from buffer before parsing fstab entry.
33729         * misc/tst-mntent.c (main): Add test for mount entry with
33730         trailing spaces and tabs.
33732 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
33734         [BZ #17748]
33735         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
33736         * math/fesetround.c (fesetround): Rename to __fesetround and
33737         define as weak alias of __fesetround.  Use libm_hidden_weak.
33738         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
33739         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
33740         * sysdeps/arm/fesetround.c (fesetround): Likewise.
33741         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
33742         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
33743         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
33744         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
33745         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
33746         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
33747         __fesetround_inline.
33748         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
33749         __fesetround_inline instead of __fesetround.
33750         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
33751         __fesetround and define as weak alias of __fesetround.  Use
33752         libm_hidden_weak.  Call __fesetround_inline instead of
33753         __fesetround.
33754         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
33755         __fesetround and define as weak alias of __fesetround.  Use
33756         libm_hidden_weak.
33757         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
33758         Likewise.
33759         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
33760         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33761         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
33762         * sysdeps/tile/math_private.h (__fesetround): New inline function.
33763         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
33764         __fesetround and define as weak alias of __fesetround.  Use
33765         libm_hidden_weak.
33766         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
33767         __fesetround instead of fesetround.
33768         (default_libc_feholdexcept_setround): Likewise.
33769         (libc_feholdsetround_ctx): Likewise.
33770         (libc_feholdsetround_noex_ctx): Likewise.
33772         [BZ #17748]
33773         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
33774         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
33775         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33776         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33777         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33778         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
33779         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33780         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33781         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33782         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33783         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33784         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33785         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33786         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33787         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
33788         libm_hidden_def.
33789         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
33790         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
33791         Likewise.
33792         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33793         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33794         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33795         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33796         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
33797         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33798         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33799         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
33800         __fesetenv instead of fesetenv.
33801         (libc_feresetround_noex_ctx): Likewise.
33802         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33803         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33804         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
33805         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33806         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33807         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33808         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33809         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33810         (__feupdateenv): Likewise.
33811         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33812         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33813         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33814         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
33816 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33818         [BZ #17806]
33819         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
33820         addresses have been freed.
33822 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33824         * resolv/res_init.c (__res_vinit): Improve comments about nserv
33825         and nservall.
33827 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
33829         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
33830         Clean up check_pf allocation pattern. addresses
33832 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33834         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
33835         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
33836         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
33837         * nptl/pthread_exit.c (__pthread_exit): Likewise.
33838         * nptl/pthread_join.c (pthread_join): Likewise.
33839         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
33840         * sysdeps/posix/waitid.c (__waitid): Likewise.
33841         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33842         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33843         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33844         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33845         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33846         Likewise.
33847         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33848         (__libc_pread64): Likewise.
33849         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33850         (__libc_pwrite): Likewise.
33851         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33852         (__libc_pwrite64): Likewsie.
33853         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33854         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33855         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33856         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33857         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33858         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33859         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33861         Likewise.
33862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33863         (__libc_pread64): Likewise.
33864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
33865         Likewise.
33866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33867         (__libc_pwrite64): Likewise.
33868         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33869         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33870         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
33871         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
33872         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33873         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33874         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
33875         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33876         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33877         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33878         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
33879         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33880         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33881         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
33882         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33883         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33884         Likewise.
33886 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33888         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
33889         (CFLAGS-test-double.c): Likewise.
33890         (CFLAGS-test-ldouble.c): Likewise.
33891         (CPPFLAGS-test-ifloat.c): Likewise.
33892         (CPPFLAGS-test-idouble.c): Likewise.
33893         (CPPFLAGS-test-ildoubl.c): Likewise.
33894         (CFLAGS-test-test-fenv.c): Remove variable.
33895         (CFLAGS-test-misc.c): Likewise.
33897 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
33899         [BZ #17797]
33900         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
33901         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
33902         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
33903         CLOCKS_PER_SEC == 1000000.
33904         * time/clocktest.c (main): Replace %ld with %jd and cast to
33905         intmax_t.
33907 2015-01-05  Roland McGrath  <roland@hack.frob.com>
33909         * sysdeps/generic/unwind-resume.h: New file.
33910         * sysdeps/gnu/unwind-resume.c: Include it.
33911         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
33912         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
33913         argument list.
33914         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
33915         global rather than static.
33916         (_Unwind_Resume): Update user.
33917         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
33918         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
33919         rather than static.  Add __attribute__ ((cold)).
33920         (_Unwind_Resume, __gcc_personality_v0): Update callers.
33921         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
33922         * sysdeps/arm/arm-unwind-resume.S: New file.
33923         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
33924         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
33925         * sysdeps/arm/Makefile [$(subdir) = csu]
33926         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
33927         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33928         Add rt-arm-unwind-resume.
33929         [$(subdir) = nptl]
33930         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33931         Add pt-arm-unwind-resume.
33932         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
33933         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
33935 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33937         [BZ #17748]
33938         * include/fenv.h (__feholdexcept): Declare.  Use
33939         libm_hidden_proto.
33940         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
33941         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
33942         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33943         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
33944         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
33945         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
33946         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
33947         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33948         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
33949         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
33950         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33951         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
33952         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
33953         (feholdexcept): Likewise.
33954         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33955         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33956         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33957         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33958         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
33959         __feholdexcept instead of feholdexcept.
33960         (default_libc_feholdexcept_setround): Likewise.
33962 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33964         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
33965         to avoid using stl/str to align destination.
33967 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33969         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
33971 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33973         [BZ #17796]
33974         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
33975         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
33976         Define as weak alias not strong alias.
33978 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33980         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
33981         bltzal with addiupc.
33982         (RTLD_START): Ditto.
33984 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
33986         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
33987         for __vdso_* functions in declarations.
33988         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
33989         definitions.
33990         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
33991         INTERNAL_VSYSCALL): Use struct return types to check for error.
33993         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
33994         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
33995         function with cast from llround().
33996         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
33997         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
33998         Define.
34000 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34002         [BZ #17793]
34003         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
34004         Define as weak alias not strong alias.
34006         [BZ #17635]
34007         * ctype/ctype-c99.c: New file.  isblank implementation moved from
34008         ...
34009         * ctype/ctype-extn.c: ... here.
34010         (__isblank_l): Move to ...
34011         * ctype/ctype-c99_l.c: ... here.  New file.
34012         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
34013         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
34014         Remove variable.
34015         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
34016         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
34017         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
34018         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
34019         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34021         [BZ #17777]
34022         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
34023         (posix_fadvise64): Define as weak alias not strong alias.
34024         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34025         (posix_fallocate64): Likewise.
34026         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
34027         Remove variable.
34028         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34029         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34030         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34031         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34032         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34034 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
34036         [BZ #16191]
34037         * NEWS: Mention bug fix.
34038         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
34039         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
34040         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
34041         (HOST_STACK_END_ADDR): Likewise.
34043 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34045         [BZ #17748]
34046         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
34047         * math/fegetround.c (fegetround): Rename to __fegetround and
34048         define as weak alias of __fegetround.  Use libm_hidden_weak.
34049         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
34050         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
34051         * sysdeps/arm/fegetround.c (fegetround): Likewise.
34052         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
34053         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34054         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
34055         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
34056         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
34057         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34058         Undefine after rather than before function definition; use
34059         parentheses around function name in definition.
34060         (__fegetround): Also undefine macro after function definition.
34061         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
34062         __fegetround and define as weak alias of __fegetround.  Use
34063         libm_hidden_weak.  Do not undefine as macro.
34064         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34065         Likewise.
34066         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
34067         __fegetround and define as weak alias of __fegetround.  Use
34068         libm_hidden_weak.
34069         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34070         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34071         * sysdeps/tile/math_private.h (__fegetround): New inline function.
34072         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
34073         __fegetround and define as weak alias of __fegetround.  Use
34074         libm_hidden_weak.
34075         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
34076         __fegetround instead of fegetround.
34078         [BZ #17782]
34079         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
34080         Condition macro definition on [__USE_MISC].
34082         [BZ #17781]
34083         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34084         (struct sigaction): Change type of sa_flags field to int.
34086         [BZ #17780]
34087         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
34088         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
34089         __glibc_reserved0.
34091         * nptl/version.c (banner): Use single year in copyright notice.
34093         * NEWS: Update copyright dates.
34094         * catgets/gencat.c (print_version): Likewise.
34095         * csu/version.c (banner): Likewise.
34096         * debug/catchsegv.sh: Likewise.
34097         * debug/pcprofiledump.c (print_version): Likewise.
34098         * debug/xtrace.sh (do_version): Likewise.
34099         * elf/ldconfig.c (print_version): Likewise.
34100         * elf/ldd.bash.in: Likewise.
34101         * elf/pldd.c (print_version): Likewise.
34102         * elf/sotruss.sh: Likewise.
34103         * elf/sprof.c (print_version): Likewise.
34104         * iconv/iconv_prog.c (print_version): Likewise.
34105         * iconv/iconvconfig.c (print_version): Likewise.
34106         * locale/programs/locale.c (print_version): Likewise.
34107         * locale/programs/localedef.c (print_version): Likewise.
34108         * login/programs/pt_chown.c (print_version): Likewise.
34109         * malloc/memusage.sh (do_version): Likewise.
34110         * malloc/memusagestat.c (print_version): Likewise.
34111         * malloc/mtrace.pl: Likewise.
34112         * manual/libc.texinfo: Likewise.
34113         * nptl/version.c (banner): Likewise.
34114         * nscd/nscd.c (print_version): Likewise.
34115         * nss/getent.c (print_version): Likewise.
34116         * nss/makedb.c (print_version): Likewise.
34117         * posix/getconf.c (main): Likewise.
34118         * scripts/test-installation.pl: Likewise.
34119         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
34121 2015-01-02  Will Newton  <will.newton@linaro.org>
34123         * sysdeps/arm/armv7/configure: Removed.
34124         * sysdeps/arm/armv7/configure.ac: Likewise.
34126 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34128         * All files with FSF copyright notices: Update copyright dates
34129         using scripts/update-copyrights.
34130         * intl/plural.c: Regenerated.
34131         * locale/programs/charmap-kw.h: Likewise.
34132         * locale/programs/locfile-kw.h: Likewise.
34134 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34136         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
34138 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34140         [BZ #17748]
34141         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
34142         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
34143         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34144         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34145         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34146         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
34147         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34148         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
34149         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34150         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34151         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34152         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34153         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34154         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34155         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
34156         libm_hidden_def.
34157         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
34158         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
34159         Likewise.
34160         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34161         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34162         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34163         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34164         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
34165         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34166         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34167         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
34168         __fegetenv instead of fegetenv.
34169         (libc_feholdsetround_noex_ctx): Likewise.
34171 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34173         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
34174         (Elf_MIPS_ABIFlags_v0): New structure.
34175         (EF_MIPS_FP64): Define.
34176         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
34177         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
34178         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
34179         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
34180         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
34181         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
34182         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
34183         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
34184         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
34185         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
34186         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
34187         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
34188         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
34189         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
34190         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
34191         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
34192         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
34193         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
34194         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
34195         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
34196         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
34197         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
34198         field.
34199         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
34200         EF_MIPS_FP64.
34201         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
34202         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
34203         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
34204         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
34205         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
34206         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
34207         * sysdeps/mips/tst-abi-interlink.c: Likewise.
34208         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
34209         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
34210         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
34211         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
34212         record the current FP ABI extension.
34213         (mips-mode-switch): Define to show if kernel headers support mode
34214         switching.
34215         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
34216         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
34217         supported SYSV ABI version to 3.
34218         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
34219         feature.
34221 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34222             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34224         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
34225         path.
34226         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
34228 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34230         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
34231         __fegetround and redefine to call __fegetround.  Remove condition
34232         on [!__NO_MATH_INLINES].
34233         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
34234         function.
34235         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
34236         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34237         Remove macro.
34238         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
34239         instead of <fenv_libc.h>.
34240         (__llrintl): Call fegetround instead of __fegetround.
34241         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
34242         instead of <fenv_libc.h>.
34243         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34244         (__lrintl): Call fegetround instead of __fegetround.
34245         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
34246         instead of <fenv_libc.h>.
34247         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34248         (__rintl): Call fegetround instead of __fegetround.
34250 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34252         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
34253         arrays.
34255 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34257         [BZ #17775]
34258         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
34259         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
34260         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
34262 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34264         * sysdeps/i386/tls-macros.h: Include <features.h>.
34265         (TLS_LE): Use non-PIC version for GCC >= 5.0.
34266         (TLS_IE): Likewise.
34267         (TLS_LD): Likewise.
34268         (TLS_GD): Likewise.
34269         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
34270         define for GCC >= 5.0.
34272 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
34274         * math/test-fenv.c (test_single_exception, set_single_exc,
34275         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
34276         feexcp_mask_test, feenable_test, fe_single_test): Add
34277         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
34278         case where they are not used.
34279         * math/libm-test.inc: Likewise.
34280         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
34281         unused in the absence of FP rounding/exception support.
34282         * stdio-common/tst-printf-round.c: Likewise.
34283         * stdlib/tst-strtod-round.c: Likewise.
34284         * stdlib/tst-strtod-underflow.c: Likewise.
34286 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
34288         [BZ #17723]
34289         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
34290         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
34291         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34292         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34293         libm_hidden_weak.
34294         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
34295         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34296         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
34297         libm_hidden_def.
34298         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34299         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34300         libm_hidden_weak.
34301         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
34302         Likewise.
34303         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
34304         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34305         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34306         libm_hidden_weak.
34307         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34308         libm_hidden_def.
34309         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
34310         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
34311         (__feraiseexcept): Likewise.
34312         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34313         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34314         libm_hidden_weak.
34315         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34316         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34317         libm_hidden_def.
34318         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
34319         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
34320         Use libm_hidden_def.
34321         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
34322         libm_hidden_def.
34323         (feraiseexcept): Define as weak not strong alias.  Use
34324         libm_hidden_weak.
34325         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
34326         New inline function.  Factored out of ...
34327         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
34328         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
34329         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
34330         feraiseexcept.
34331         * math/w_acos.c (__acos): Likewise.
34332         * math/w_asin.c (__asin): Likewise.
34333         * math/w_ilogb.c (__ilogb): Likewise.
34334         * math/w_j0.c (y0): Likewise.
34335         * math/w_j1.c (y1): Likewise.
34336         * math/w_jn.c (yn): Likewise.
34337         * math/w_log.c (__log): Likewise.
34338         * math/w_log10.c (__log10): Likewise.
34339         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
34340         * sysdeps/aarch64/fpu/math_private.h
34341         (libc_feupdateenv_test_aarch64): Likewise.
34342         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34343         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
34344         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
34345         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34346         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34347         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34348         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
34349         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34350         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34351         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34353 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34355         [BZ #17732]
34356         * io/test-utime.c (main): Replace %ld with %jd and cast to
34357         intmax_t.
34358         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
34359         * nptl/tst-mutex5.c: Include <stdint.h>.
34360         (do_test): Replace %ld with %jd and cast to intmax_t.
34361         * posix/tst-regex.c (run_test): Likewise.
34362         (run_test_backwards): Likewise.
34363         * rt/tst-clock.c: Include <stdint.h>.
34364         (clock_test): Replace %ld with %jd and cast to intmax_t.
34365         * rt/tst-cpuclock1.c: Include <stdint.h>.
34366         (do_test): Replace %lu with %ju and cast to uintmax_t.
34367         * rt/tst-cpuclock2.c: Include <stdint.h>.
34368         (do_test): Replace %lu with %ju and cast to uintmax_t.
34369         * rt/tst-mqueue1.c: Include <stdint.h>.
34370         (check_attrs): Replace %ld with %jd and cast to intmax_t.
34371         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
34372         intmax_t.
34373         * rt/tst-mqueue4.c (do_test): Likewise.
34374         * rt/tst-timer4.c: Include <stdint.h>.
34375         (check_ts): Replace %ld with %jd and cast to intmax_t.
34376         (do_test): Likewise.
34377         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
34378         and cast to intmax_t.
34379         * sysdeps/pthread/tst-timer.c (main): Likewise.
34380         * time/clocktest.c (main): Likewise.
34381         * time/tst-posixtz.c (do_test): Likewise.
34382         * timezone/tst-timezone.c (main): Likewise.
34384 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34385             H.J. Lu  <hongjiu.lu@intel.com>
34387         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
34388         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34389         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
34390         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
34391         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
34392         version if bit_Fast_Unaligned_Load is set.
34393         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34394         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34395         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34396         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34397         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34398         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34399         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34400         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
34401         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
34402         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
34403         to 4.
34404         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
34405         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
34406         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
34407         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
34409 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
34411         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
34412         instead of #if to avoid a Wundef warning.
34413         * stdlib/tst-limits.c (do_test): Likewise.
34415         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
34416         parallel other exception macros.
34417         (fegetenv): Convert from macro to extern inline so that it applies
34418         retroactively to inline functions already seen by the compiler.
34419         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
34421         * posix/Makefile (before-compile): Use $(objpfx) for
34422         posix-conf-vars-def.h.
34424 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34426         * posix/getconf.c (main): Use size_t for type of I.
34427         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
34428         NSPEC.
34430         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
34431         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
34432         * posix/posix-envs.def: Likewise.
34433         * sysdeps/posix/sysconf.c: Likewise.
34434         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
34435         (specs): Remove array.
34436         * scripts/gen-posix-conf-vars.awk: Support generation of specs
34437         array.
34439         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
34440         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
34441         (__sysconf): Use CONF_IS_* macros.
34443         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
34444         ($(objpfx)posix-conf-vars-def.h): New target.
34445         * posix/posix-conf-vars.list: New file.
34446         * posix/posix-conf-vars.h: New file.
34447         * posix/confstr.c: Include posix-conf-vars.h.
34448         (confstr): Use CONF_IS_* macros.
34449         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
34450         CONF_IS_* macros.
34451         * scripts/gen-posix-conf-vars.awk: New file.
34453 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
34455         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
34456         fegetround): Add no-op macros to avoid linknamespace issues.
34458         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
34459         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
34461         * sysdeps/unix/sysv/linux/tile/sysdep.h
34462         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
34463         assembly-specific section to avoid a redefinition warning.
34465         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
34466         long before casting to pointer to avoid a cast warning.
34468 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
34470         * sysdeps/tile/tilegx/Implies: New file.
34472 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
34474         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
34476 2014-12-23  Florian Weimer  <fweimer@redhat.com>
34478         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
34480 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34482         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
34483         not define.
34484         * sysdeps/unix/sysv/linux/utimes.c: Do not include
34485         <kernel-features.h>.
34486         (__utimes) [__NR_utimes]: Make code unconditional.
34487         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
34488         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34489         (__ASSUME_UTIMES): Do not undefine.
34490         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34491         (__ASSUME_UTIMES): Likewise.
34492         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34493         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
34494         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
34495         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
34497 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34499         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
34501 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
34503         [BZ #17747]
34504         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
34505         alias to weak alias for j0l, y0l.
34506         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
34507         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
34509         [BZ #17746]
34510         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
34511         conversion.
34513 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34515         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
34516         to zero if not already defined.
34518 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34520         [BZ #17724]
34521         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
34522         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
34523         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
34524         (char *) casts added.
34525         * sysdeps/ieee754/k_standardf.c: New file.
34526         * sysdeps/ieee754/k_standardl.c: Likewise.
34527         * math/Makefile (libm-support): Remove k_standard.
34528         (libm-calls): Add k_standard.
34530 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34532         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34533         Optimize to avoid an unnecessary FPCR read.
34535 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34537         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
34538         Optimize to reduce FPCR/FPSR accesses.
34540 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34542         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
34543         Call libc_fetestexcept_aarch64.
34545 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34547         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
34548         Call libc_fesetround_aarch64.
34550 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34552         [BZ #17733]
34553         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
34554         (__bind): Do not define as weak alias.
34555         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
34556         define.
34557         (__getsockname): Do not define as weak alias.
34559 2014-12-22  Will Newton  <will.newton@linaro.org>
34561         * manual/install.texi: Document that we require bison 2.7
34562         or above.
34563         * INSTALL: Regenerate.
34564         * configure.ac: Use AC_CHECK_PROG_VER instead of
34565         AC_PATH_PROG when checking for bison and check for
34566         version 2.7 or above.
34567         * configure: Regenerate.
34569 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
34571         [BZ #17745]
34572         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
34573         * sysdeps/tile/ffsll.c (ffsll): To here.
34575         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
34577 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34579         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
34580         if not defined.
34581         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
34582         definition.
34583         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34584         hidden ___tls_get_addr.
34585         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34586         hidden __tls_get_addr.
34587         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
34588         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
34589         Likewise.
34591 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
34593         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
34594         _dl_init call.
34596 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34598         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
34599         from "call _dl_init@PLT".
34600         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
34602 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
34604         * manual/search.texi: (Array Sort Function): Clarify stable sorting
34605         guarantees.
34607 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
34609         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
34611 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34613         [BZ #17744]
34614         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
34615         strnlen.
34617 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34619         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
34620         of multu on MIPSr6.
34621         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
34622         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
34623         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
34624         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
34625         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
34627 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34629         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
34630         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
34631         (PTR_SUBU): Use subu for mips32r6/mips64r6.
34632         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
34633         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
34634         mips32r6/mips64r6.
34635         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
34637 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
34639         * string/strncat.c (STRNCAT): Simplify implementation.
34641 2014-12-19  David S. Miller  <davem@davemloft.net>
34643         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
34644         access the quad as both a long double and as a series of 4 words.
34646         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
34647         link_map->l_info array access.
34649 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34651         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
34653         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
34654         * math/atest-exp2.c (TIMEOUT): Likewise.
34655         * math/atest-sincos.c (TIMEOUT): Likewise.
34657 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34659         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
34660         -Wno-error with -fno-builtin-lround.
34662 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34664         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
34665         Contains futex constants and functions moved over from ...
34666         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
34667         <lowlevellock-futex.h>.
34668         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34669         (lll_timedwait_tid): Add comments and parentheses around macro
34670         arguments.
34672 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34674         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
34675         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
34676         (__lll_private_flag): Remove.
34677         (lll_futex_wait): Likewise.
34678         (lll_futex_timed_wait): Likewise.
34679         (lll_futex_wake): Likewise.
34680         (lll_futex_requeue): Likewise.
34681         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34682         (__lll_timedwait_tid): Spell out argument names.
34683         (lll_timedwait_tid): Add comments and parentheses around macro
34684         arguments.
34685         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
34686         LLL_SHARED and LLL_PRIVATE usable from assembly code.
34688 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34690         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
34691         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34692         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34693         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
34694         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
34695         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
34696         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
34697         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
34698         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
34699         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
34700         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
34701         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
34702         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
34703         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
34704         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
34705         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
34706         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
34707         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
34708         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
34710 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34712         * sysdeps/x86_64/x32/Makefile: New file.
34714 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34716         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
34717         1L with (mp_limb_t) 1.
34719 2014-12-17  Roland McGrath  <roland@hack.frob.com>
34721         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
34722         * nptl/libc_pthread_init.c: ... here.
34723         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
34724         * nptl/register-atfork.c: ... here.
34726         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
34727         Use pthread_sigmask rather than INTERNAL_SYSCALL.
34728         Use assert_perror to check its return value.
34729         (__gai_create_helper_thread): Likewise.
34731         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
34733         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
34735 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
34737         [BZ #17725]
34738         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
34739         __profil_counter.
34740         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
34741         Likewise.
34742         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
34743         Likewise.
34744         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
34745         Likewise.
34746         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
34747         (profil_counter): Likewise.
34748         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
34749         (profil_counter): Likewise.
34750         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
34751         Likewise.
34752         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
34753         Likewise.
34754         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
34755         (profil_counter): Likewise.
34756         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
34757         Likewise.
34758         [!__profil_counter] (profil_counter): Define as weak alias of
34759         __profil_counter.
34760         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
34761         (profil_counter): Rename to __profil_counter.
34762         [!__profil_counter] (profil_counter): Define as weak alias of
34763         __profil_counter.
34764         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
34765         (profil_counter): Rename to __profil_counter.
34766         [!__profil_counter] (profil_counter): Define as weak alias of
34767         __profil_counter.
34768         * sysdeps/posix/profil.c: Update comment referring to
34769         profil_counter.
34770         (__profil): Use __profil_counter instead of profil_counter.
34771         * sysdeps/posix/sprofil.c (profil_counter): Rename to
34772         __profil_counter.  Use __profil_counter_ushort and
34773         __profil_counter_uint in definitions.
34774         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
34775         instead of profil_counter_uint and profil_counter_ushort.
34777         [BZ #17722]
34778         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
34779         define as weak alias of __inet_makeaddr.
34780         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
34781         as weak alias of __inet_addr.
34782         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
34783         as weak alias of __inet_pton.  Use libc_hidden_weak.
34784         * include/arpa/inet.h (__inet_pton): Declare.  Use
34785         libc_hidden_proto.
34786         (inet_makeaddr): Don't use libc_hidden_proto.
34787         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
34788         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
34789         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
34790         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
34791         Remove variable.
34792         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
34793         (test-xfail-POSIX/time.h/linknamespace): Likewise.
34795 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
34797         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
34799 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34801         * stdio-common/bug-vfprintf-nargs.c (do_test):
34802         Cast value to intptr_t to avoid format warning
34803         for usage with PRIdPTR printing macro.
34805 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34807         * libio/tst-widetext.c (do_test):
34808         Use format type %td instead of %Zd for ptrdiff_t
34809         in order to avoid format warning.
34811 2014-12-17  Andreas Schwab  <schwab@suse.de>
34813         * nscd/mem.c (gc): Add size_t cast to match printf format.
34815 2014-12-16  Roland McGrath  <roland@hack.frob.com>
34817         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
34818         (init): Apply PTR_MANGLE to pointers before storing them.
34819         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
34820         before using them.
34822 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
34824         [BZ #17719]
34825         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
34826         define as weak alias of __memrchr.
34827         (__memrchr): Do not define as strong alias of memrchr.
34828         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
34829         Remove variable.
34830         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
34831         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
34832         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34834         [BZ #17717]
34835         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
34836         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
34837         (if_indextoname): Rename to __if_indextoname and define as weak
34838         alias of __if_indextoname.  Use libc_hidden_weak.
34839         (if_freenameindex): Rename to __if_freenameindex and define as
34840         weak alias of __if_freenameindex.
34841         (if_nameindex): Rename to __if_nameindex and define as weak alias
34842         of __if_nameindex.
34843         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
34844         __if_nametoindex and define as weak alias of __if_nametoindex.
34845         Use libc_hidden_weak.
34846         (if_freenameindex): Rename to __if_freenameindex and define as
34847         weak alias of __if_freenameindex.
34848         (if_nameindex): Rename to __if_nameindex and define as weak alias
34849         of __if_nameindex.
34850         (if_indextoname): Rename to __if_indextoname and define as weak
34851         alias of __if_indextoname.  Use libc_hidden_weak.
34852         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
34853         __if_nametoindex and define as weak alias of __if_nametoindex.
34854         Use libc_hidden_weak.
34855         (if_freenameindex): Rename to __if_freenameindex and define as
34856         weak alias of __if_freenameindex.  Use libc_hidden_weak.
34857         (if_nameindex_netlink): Use __if_freenameindex instead of
34858         if_freenameindex.
34859         (if_nameindex): Rename to __if_nameindex and define as weak alias
34860         of __if_nameindex.  Use libc_hidden_weak.
34861         (if_indextoname): Rename to __if_indextoname and define as weak
34862         alias of __if_indextoname.  Use libc_hidden_weak.
34863         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
34864         libc_hidden_proto.
34865         [!_ISOMAC] (__if_freenameindex): Likewise.
34866         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
34867         if_nametoindex.
34868         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
34869         variable.
34870         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
34871         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
34872         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
34873         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
34874         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
34875         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
34876         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
34878         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
34879         Remove variable.
34880         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
34881         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34883 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34885         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
34886         subscript above bounds'
34888         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
34889         bounds.
34891 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
34893         * libio/tst-fopenloc.c: Use test-skeleton.c.
34895         * stdlib/tst-bsearch.c: Use test-skeleton.c.
34896         (entry): Rename to ITEM.
34897         (do_test, comp): Adjust.
34899         * stdio-common/tst-fseek.c: Use test-skeleton.c.
34901 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34903         * string/tester.c: Include <libc-internal.h>.
34904         (test_memset): Ignore -Wmemset-transposed-args.
34906 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34908         * misc/tst-mntent2.c (do_test): Fix warning.
34910 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34912         * elf/tst-unique4lib.cc(a): Mark as used.
34914 2014-12-16  Florian Weimer  <fweimer@redhat.com>
34916         [BZ #17630]
34917         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
34918         names.
34920 2014-12-16  Allan McRae  <allan@archlinux.org>
34922         * stdio-common/Makefile (tests): Re-add bug26.
34924 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
34926         [BZ #17657]
34927         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
34928         static array.
34930 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
34932         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
34933         (__lll_lock_wait): Likewise.
34934         (__lll_timedlock_wait): Likewise.
34935         (__lll_timedwait_tid): Likewise.
34936         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
34937         (__lll_robust_timedlock_wait): Likewise.
34938         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
34939         (lll_cond_trylock): Likewise.
34940         (__lll_lock): Likewise.
34941         (__lll_robust_lock): Likewise.
34942         (__lll_cond_lock): Likewise.
34943         (lll_robust_cond_lock): Likewise.
34944         (__lll_timedlock): Likewise.
34945         (__lll_robust_timedlock): Likewise.
34946         (__lll_unlock): Likewise.
34947         (__lll_robust_unlock): Likewise.
34948         (lll_wait_tid): Likewise.
34949         (lll_timedwait_tid): Likewise.
34951 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34953         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
34955 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34957         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
34959 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
34961         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
34962         * stdio-common/tst-sprintf.c: Likewise.
34964 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34966         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
34968 2014-12-15  Jeff Law  <law@redhat.com>
34970         [BZ #16617]
34971         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
34972         on the heap.  (CVE-2012-3406)
34973         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
34974         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
34975         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
34977 2014-12-15  Will Newton  <will.newton@linaro.org>
34979         * manual/install.texi: Bump required version of texinfo
34980         to 4.7 from 4.5.
34981         * INSTALL: Regenerated.
34982         * configure.ac: Check for makeinfo version 4.7 and above.
34983         * configure: Regenerated.
34985 2014-12-12  Roland McGrath  <roland@hack.frob.com>
34987         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
34988         PREFIX, string constant to insert between directory and name.
34989         * sysdeps/posix/shm_open.c: Update caller.
34990         * sysdeps/posix/shm_unlink.c: Likewise.
34991         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
34992         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
34993         (SEM_SHM_PREFIX): New macro.
34994         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
34995         [$(have-thread-library) = no].
34996         * nptl/Makefile (libpthread-routines): Add shm-directory.
34997         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
34998         * sysdeps/nptl/shm-directory.h: New file.
34999         * sysdeps/posix/shm-directory.c
35000         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
35001         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
35002         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
35003         INTERNAL_SYSCALL.
35004         (__where_is_shmfs): Function removed.
35005         (mountpoint, defaultmount, defaultdir, __namedsem_once):
35006         Variables removed.
35007         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
35008         Use SHM_GET_NAME.
35009         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
35011         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
35012         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
35013         unconditional for use inside libpthread.
35014         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
35016 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35018         * nptl/pthread_getaffinity.c: New file.
35019         * nptl/pthread_setaffinity.c: New file.
35020         * nptl/pthread_getname.c: New file.
35021         * nptl/pthread_setname.c: New file.
35023         * nptl/pthread_create.c (START_THREAD_DEFN)
35024         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
35026 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35027             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35029         * resolv/res_send.c (send_vc): Disable warning resplen may
35030         be used uninitialized.
35032 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35034         * nptl/tst-mutex6.c
35035         (ATTR_NULL): New define checks ATTR against NULL.
35036         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
35037         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
35039 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
35041         [BZ #17581]
35042         * malloc/hooks.c
35043         (mem2mem_check): Revert my previous change.
35044         (malloc_check_get_size): Revert my previous change.
35045         (mem2chunk_check): Revert my previous change.
35047 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35049         * sysdeps/posix/shm-directory.c: New file.
35050         * sysdeps/posix/shm-directory.h: New file.
35051         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
35052         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
35053         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
35054         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
35055         Transmute EPERM to EACCES.
35056         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
35057         from ...
35058         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
35059         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
35061 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35063         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
35064         pointer and cast to uintptr_t.
35065         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
35066         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
35067         Add cast to avoid warning.
35068         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
35070 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35072         * nptl/semaphore.h: Move to ...
35073         * sysdeps/pthread/semaphore.h: ... here.
35074         * Makefile (installed-headers): Change nptl/semaphore.h to
35075         sysdeps/pthread/semaphore.h.
35077 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35079         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
35080         generated error format strings.
35082         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
35083         -Wformat-extra-args warnings for scanf formats.
35084         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
35085         test of zero-length format (duh).
35086         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
35087         corner-case scanf format test.
35088         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
35089         generated fprintf format string.
35090         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
35091         corner-case sprintf format tests.
35092         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
35093         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
35094         -Wformat-extra-args warnings throughout.
35095         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
35096         (CFLAGS-scanf4.c): Likewise.
35097         (CFLAGS-scanf7.c): Likewise.
35098         (CFLAGS-tst-sprintf.c): Likewise.
35099         (CFLAGS-tst-printf.c): Likewise.
35100         (CFLAGS-tst-printfsz.c): Likewise.
35102 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35104         * include/cpio.h: New file.
35105         * include/fmtmsg.h: Likewise.
35107         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
35108         corresponding format argument to size_t.
35109         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
35110         arguments.
35111         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
35112         corresponding format argument to size_t.
35113         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
35114         arguments.
35115         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
35116         corresponding format argument to size_t.
35117         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
35118         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
35119         (CFLAGS-tst-mbswcs2.c): Likewise.
35120         (CFLAGS-tst-mbswcs3.c): Likewise.
35121         (CFLAGS-tst-mbswcs4.c): Likewise.
35122         (CFLAGS-tst-mbswcs5.c): Likewise.
35123         (CFLAGS-tst-trans.c): Likewise.
35125 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35127         * posix/regexbug1.c (main): Use "%s" format with regerror results,
35128         rather than assuming they won't contain any '%'s.
35130 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
35132         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
35133         inhibit_loop_to_libcall to avoid recursive calls.
35134         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
35135         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
35137 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35139         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
35140         prototype.
35142 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35144         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
35145         integer value instead of boolean.
35147 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35149         * malloc/malloc.c: Fix powerof2 check.
35151 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35153         * locale/programs/locfile.h (maybe_swap_uint32):
35154         Remove inline and add unused attribute.
35156 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35158         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35159         Truncating assembler expression to a .long expression.
35161 2014-12-11  Andreas Schwab  <schwab@suse.de>
35163         * elf/rtld.c (struct map_args): Constify str member.
35164         (do_preload): Constify fname argument.
35166 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35168         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
35169         constants definition.
35171 2014-12-11  Andreas Schwab  <schwab@suse.de>
35173         [BZ #16657]
35174         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
35175         FORCE_ELISION instead of DO_ELISION.
35176         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
35177         Remove.
35178         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
35179         Likewise.
35181         * iconvdata/gconv-modules: Remove duplicate entry.
35183 2014-12-11  Will Newton  <will.newton@linaro.org>
35185         Merge gettext 0.19.3 into intl/.
35187         This involves a number of cosmetic changes to comments
35188         and ANSI function definitions and prototypes throughout
35189         all the files. The gettext copyright header is used but
35190         with the date ranges taken from the glibc copy.
35192         * NEWS: Add gettext merge to 2.21.
35193         * intl/bindtextdom.c: Switch to gettext copyright.
35194         Use ANSI definitions and prototypes.
35195         Use gl_* locking primitives rather than __libc_* ones.
35196         Use __builtin_expect rather than __glibc_likely/unlikely.
35197         * intl/dcgettext.c: Switch to gettext copyright.
35198         Use ANSI definitions and prototypes.
35199         * intl/dcigettext.c: Switch to gettext copyright.
35200         Use ANSI definitions and prototypes.
35201         (INTDIV0_RAISES_SIGFPE): New define.
35202         Use gl_* locking primitives rather than __libc_* ones.
35203         Include eval-plural.h instead of plural-eval.c.
35204         Use __builtin_expect rather than __glibc_likely/unlikely.
35205         * intl/dcngettext.c: Switch to gettext copyright.
35206         Use ANSI definitions and prototypes.
35207         * intl/dgettext.c: Likewise.
35208         * intl/dngettext.c: Likewise.
35209         * intl/plural-eval.c: Renamed to...
35210         * intl/eval-plural.h: ...this.
35211         * intl/explodename.c: Switch to gettext copyright.
35212         Use ANSI definitions and prototypes.
35213         (_nl_explode_name): Use strchr instead of __rawmemchr.
35214         * intl/finddomain.c: Switch to gettext copyright.
35215         Use ANSI definitions and prototypes.
35216         Use gl_* locking primitives rather than __libc_* ones.
35217         (_nl_find_domain): Use malloc rather than alloca for
35218         allocation of temporary locale name.
35219         * intl/gettext.c: Switch to gettext copyright.
35220         Use ANSI definitions and prototypes.
35221         * intl/gettextP.h: Switch to gettext copyright.
35222         Use ANSI definitions and prototypes.
35223         Use gl_* locking primitives rather than __libc_* ones.
35224         * intl/gmo.h: Switch to gettext copyright.
35225         (struct sysdep_string): Move struct segment_pair outside of
35226         struct definition.
35227         * intl/hash-string.c: Use ANSI definitions and prototypes.
35228         * intl/hash-string.h: Switch to gettext copyright.
35229         Use ANSI definitions and prototypes.
35230         * intl/l10nflist.c: Switch to gettext copyright.
35231         Use ANSI definitions and prototypes.
35232         (_nl_normalize_codeset): Avoid integer overflow.
35233         * intl/loadinfo.h: Switch to gettext copyright.
35234         Use ANSI definitions and prototypes.
35235         (LIBINTL_DLL_EXPORTED): New define.
35236         (PATH_SEPARATOR): New define.
35237         * intl/loadmsgcat.c: Switch to gettext copyright.
35238         * intl/localealias.c: Switch to gettext copyright.
35239         Use ANSI definitions and prototypes.
35240         (_nl_expand_alias): Use PATH_SEPARATOR.
35241         * intl/ngettext.c: Switch to gettext copyright.
35242         Use ANSI definitions and prototypes.
35243         * intl/plural-exp.c: Likewise.
35244         * intl/plural-exp.h: Switch to gettext copyright.
35245         Use ANSI definitions and prototypes.
35246         (struct expression): Move definition of enum operator outside
35247         of struct definition.
35248         * intl/plural.c: Regenerate.
35249         * intl/plural.y: Switch to gettext copyright.
35250         Use ANSI definitions and prototypes.
35251         Port to bison 3.0.
35252         * intl/textdomain.c: Switch to gettext copyright.
35253         Use ANSI definitions and prototypes.
35254         Use gl_* locking primitives rather than __libc_* ones.
35256 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
35258         * debug/warning-nop.c: Add used atrribute.
35260 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35262         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
35264         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
35265         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
35266         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
35268 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35269             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35271         [BZ #17634]
35272         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
35273         Undefine after defining function.  Define as weak alias of
35274         __wcschr.  Use libc_hidden_weak.
35275         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
35276         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
35277         (libc_hidden_def): Also define __GI___wcschr alias.
35278         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
35279         __wcschr and define as weak alias of __wcschr.
35280         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
35281         __wcschr.
35282         [!WCSCHR] (DEFAULT_WCSCHR): Define.
35283         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
35284         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
35285         libc_hidden_weak.  Do not use libc_hidden_def.
35286         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
35287         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
35288         __GI___wcschr alias.
35289         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
35290         [IS_IN (libc)] (wcschr): Define as macro expanding to
35291         __redirect_wcschr.
35292         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
35293         [IS_IN (libc)] (__wcschr_power6): Likewise.
35294         [IS_IN (libc)] (__wcschr_power7): Likewise.
35295         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
35296         instead of wcschr.
35297         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
35298         __libc_wcschr.
35299         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
35300         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
35301         __wcschr and define as weak alias of __wcschr.  Use
35302         libc_hidden_builtin_def.
35303         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
35304         as weak alias of __wcschr.  Use libc_hidden_weak.
35305         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
35306         wcschr.
35307         * time/era.c (_nl_init_era_entries): Likewise.
35308         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
35309         variable.
35310         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35311         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35313 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35315         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
35316         format for long int variable.
35318 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
35320         [BZ #10672]
35321         * manual/search.texi: (Array Sort Function): Remove claim how to make
35322         qsort stable.
35324 2014-12-10  Andreas Schwab  <schwab@suse.de>
35326         [BZ #12847]
35327         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
35328         user-controlled locks.
35330 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
35332         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
35333         register.
35335 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35337         * configure.ac (--disable-werror): New configure option.
35338         (enable_werror): New AC_SUBST.
35339         * configure: Regenerated.
35340         * config.make.in (enable-werror): New variable.
35341         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
35342         -Wno-error=undef.
35343         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
35344         * manual/install.texi (Configuring and compiling): Document
35345         --disable-werror.
35346         * INSTALL: Regenerated.
35347         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
35348         (CFLAGS-tst-chk2.c): Likewise.
35349         (CFLAGS-tst-chk3.c): Likewise.
35350         (CFLAGS-tst-chk4.cc): Likewise.
35351         (CFLAGS-tst-chk5.cc): Likewise.
35352         (CFLAGS-tst-chk6.cc): Likewise.
35353         (CFLAGS-tst-lfschk1.c): Likewise.
35354         (CFLAGS-tst-lfschk2.c): Likewise.
35355         (CFLAGS-tst-lfschk3.c): Likewise.
35356         (CFLAGS-tst-lfschk4.cc): Likewise.
35357         (CFLAGS-tst-lfschk5.cc): Likewise.
35358         (CFLAGS-tst-lfschk6.cc): Likewise.
35360         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
35361         (main): Disable -Wdeprecated-declarations around calls to
35362         register_printf_function.
35364         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
35365         (do_test): Disable -Wdiv-by-zero around some calls to
35366         fwrite_unlocked and fread_unlocked.
35368         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
35369         (DIAG_POP_NEEDS_COMMENT): Likewise.
35370         (_DIAG_STR1): Likewise.
35371         (_DIAG_STR): Likewise.
35372         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
35373         * stdio-common/bug21.c: Include <libc-internal.h>.
35374         (do_test): Disable -Wformat around call to sscanf.
35375         * stdio-common/scanf14.c: Include <libc-internal.h>.
35376         (main): Disable -Wformat around some calls to scanf functions.
35378 2014-12-09  Torvald Riegel  <triegel@redhat.com>
35380         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
35382 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35384         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
35385         stack variable alignment.
35387 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
35389         [BZ #17682]
35390         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
35391         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
35392         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
35393         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
35394         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
35395         __getrlimit instead of getrlimit.
35396         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
35397         __gettimeofday instead of gettimeofday.
35398         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35399         Likewise.
35400         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
35401         Likewise.
35402         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35403         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
35404         Remove variable.
35405         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35406         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35408 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35410         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
35411         for wide-character tests.
35413 2014-12-04  Roland McGrath  <roland@hack.frob.com>
35415         * io/openat64.c: #include <libc-internal.h>
35416         (__openat64): Prototypify.  Use ignore_value on MODE.
35417         * io/openat.c: Likewise.
35418         * misc/reboot.c: #include <libc-internal.h>
35419         (reboot): Prototypify.  Use ignore_value on HOWTO.
35420         * misc/ptrace.c: #include <libc-internal.h>
35421         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
35423 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
35425         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
35426         XPG4, UNIX98 and XOPEN2K.
35427         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
35428         Remove variable.
35429         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35431 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35433         * libio/fileops.c: Use ISO C style for function definitions.
35434         * libio/iofopen.c: Likewise.
35435         * libio/wfileops.c: Likewise.
35437         [BZ #17653]
35438         * libio/fileops.c (_IO_new_file_underflow): Unset cached
35439         offset on EOF.
35440         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
35441         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
35442         (fgets_func): Function pointer to fgets and fgetws.
35443         (do_ftell_test): Add test to verify ftell value after read
35444         EOF.
35445         (do_test): Set fgets_func.
35447         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
35448         O_TRUNC flag for w and w+ modes.
35449         (do_rewind_test): Likewise.
35450         (do_ftell_test): Likewise.
35451         (do_write_test): Likewise.
35453         [BZ #17647]
35454         * libio/fileops.c (do_ftell): Seek only when there are
35455         unflushed writes.
35456         * libio/wfileops.c (do_ftell_wide): Likewise.
35457         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
35458         test case.
35459         (do_one_test): Call it.
35461 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
35463         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
35464         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
35465         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
35466         Remove variable.
35467         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35468         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35469         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35471 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35473         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
35474         Remove variable.
35475         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35477         [BZ #17668]
35478         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
35479         as weak alias of __getifaddrs.  Use libc_hidden_weak.
35480         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35481         __freeifaddrs.  Use libc_hidden_weak.
35482         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
35483         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
35484         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35485         __freeifaddrs.  Use libc_hidden_weak.
35486         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
35487         __getifaddrs and define as weak alias of __getifaddrs.  Use
35488         libc_hidden_weak.
35489         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35490         __freeifaddrs.  Use libc_hidden_weak.
35491         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
35492         Remove variable.
35493         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35494         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35496 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
35498         [BZ #17601]
35499         * sysdeps/mips/start.S (__start): Use indirect jump to call
35500         __libc_start_main.
35502 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35504         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
35506         * nptl/tst-mutex1.c: Include <stdbool.h>.
35507         [!ATTR] (ATTR_NULL): New macro.
35508         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
35509         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
35510         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
35512         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
35513         to char *.
35515         [BZ #17665]
35516         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
35517         Change conditional to [__USE_MISC].
35519         [BZ #17664]
35520         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
35521         fgets_unlocked.
35522         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
35523         __fgets_unlocked.
35524         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
35525         fgets_unlocked.
35526         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
35527         Remove variable.
35528         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35529         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35530         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35531         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35532         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35533         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35534         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35535         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35536         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35538         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
35540 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35542         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35543         Remove strpbrk objects.
35544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35545         (__libc_ifunc_impl_list): Remove strpbrk implementation.
35546         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
35547         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
35548         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
35549         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
35551         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35552         Remove strcspn objects.
35553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35554         (__libc_ifunc_impl_list): Remove strcspn implementation.
35555         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
35556         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
35557         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
35558         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
35560         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35561         Remove strspn objetcs.
35562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35563         (__libc_ifunc_impl_list): Remove strspn implementation.
35564         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
35565         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35566         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
35567         * sysdeps/powerpc/powerpc64/strspn.S: New file.
35569 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
35571         [BZ #17581]
35572         * malloc/hooks.c
35573         (mem2mem_check): Add a terminator to the chain of checking blocks.
35574         (malloc_check_get_size): Use it here.
35575         (mem2chunk_check): Ditto.
35577 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35579         * sysdeps/powerpc/powerpc64/strtok.S: New file.
35580         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
35582 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
35584         * bits/ioctl-types.h: Indent preprocessor directives correctly.
35586         * nptl/nptl-init.c: Include libc-internal.h.
35587         (__pthread_initialize_minimal_internal): Use ROUND_UP.
35589         * elf/ldconfig.c (search_dir): Expand comment.
35591 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
35593         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
35594         variable.
35595         (linknamespace-symlist-stdlibs-tests): Likewise.
35596         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
35597         instead of $(objpfx)symlist-stdlibs.
35598         (linknamespace-libs-isoc): New variable.
35599         (linknamespace-libs): Use $(linknamespace-libs-isoc).
35600         (linknamespace-libs-ISO): New variable.
35601         (linknamespace-libs-ISO99): Likewise.
35602         (linknamespace-libs-ISO11): Likewise.
35603         (linknamespace-libs-XPG3): Likewise.
35604         (linknamespace-libs-XPG4): Likewise.
35605         (linknamespace-libs-POSIX): Likewise.
35606         (linknamespace-libs-UNIX98): Likewise.
35607         (linknamespace-libs-XOPEN2K): Likewise.
35608         (linknamespace-libs-POSIX2008): Likewise.
35609         (linknamespace-libs-XOPEN2K8): Likewise.
35610         ($(objpfx)symlist-stdlibs): Replace by
35611         $(linknamespace-symlist-stdlibs-tests).  Use
35612         $(linknamespace-libs-$*) as set of libraries.
35613         ($(linknamespace-header-tests)): Update dependencies.  Use
35614         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
35615         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
35616         * conform/linknamespace.pl: Remove comment about considering
35617         definitions of symbols from irrelevant libraries.
35619 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
35621         [BZ #13862]
35622         * elf/dl-tls.c: Include <atomic.h>.
35623         (oom): Remove #ifdef SHARED/#endif.
35624         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
35625         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
35626         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
35627         big enough.
35628         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
35629         * nptl/Makefile (tests): Add tst-stack4.
35630         (modules-names): Add tst-stack4mod.
35631         ($(objpfx)tst-stack4): New.
35632         (tst-stack4mod.sos): Likewise.
35633         ($(objpfx)tst-stack4.out): Likewise.
35634         ($(tst-stack4mod.sos)): Likewise.
35635         (clean): Likewise.
35636         * nptl/tst-stack4.c: New file.
35637         * nptl/tst-stack4mod.c: Likewise.
35639 2014-11-27  J. Brown  <jb999@gmx.de>
35641         * sysdeps/x86/bits/string.h: Add recent CPUs.
35643 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35645         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
35646         sigblock.
35648         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
35649         feof.
35651         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
35652         variable.
35654 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
35656         * nscd/connections.c: Include libc-internal.h because of macro
35657         usage ignore_value.
35659 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35661         * string/bits/string3.h (__warn_memset_zero_len): Don't
35662         declare for gcc newer than 5.0.
35663         (memset): Don't test for zero-length __LEN for gcc newer than
35664         5.0.
35666 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35668         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
35669         size_t for %zu format.
35671         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
35672         difference, not %ju.
35674 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35676         * include/libc-internal.h (ignore_value): New macro.
35677         * nscd/connections.c (restart): Wrap calls to setuid and setgid
35678         with ignore_value.
35680         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
35681         definition.
35683         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
35684         pthread_cleanup_push to void *.
35686         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
35687         Undefine.
35689         [BZ #16619]
35690         [BZ #16740]
35691         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
35692         instead of 1L << 52.
35694         * libio/bug-rewind.c (do_test): Check fwscanf return values.
35695         * libio/bug-rewind2.c (do_test): Likewise.
35697         * debug/test-stpcpy_chk-ifunc.c: Remove file.
35698         * debug/test-strcpy_chk-ifunc.c: Likewise.
35699         * wcsmbs/test-wcschr-ifunc.c: Likewise.
35700         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35701         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35702         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35703         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35704         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35705         * Rules [$(multi-arch) = no] (tests): Do not filter out
35706         $(tests-ifunc).
35707         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
35708         * debug/Makefile (tests-ifunc): Remove variable.
35709         (tests): Do not add $(tests-ifunc).
35710         * wcsmbs/Makefile (tests-ifunc): Remove variable.
35711         (tests): Do not add $(tests-ifunc).
35712         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
35713         [TEST_IFUNC]: Remove conditionals.
35714         * string/test-string.h (TEST_IFUNC): Remove macro.
35715         [TEST_IFUNC]: Remove conditionals.
35717         * string/test-strchr.c [!WIDE] (L): New macro.
35718         [WIDE] (L): Likewise.
35719         (check1): Use CHAR instead of char.  Use L on string and character
35720         constants.
35722 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
35724         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
35725         tests.
35726         * sysdeps/powerpc/bits/atomic.h
35727         (__arch_atomic_exchange_and_add_32_acq): Add definition.
35728         (__arch_atomic_exchange_and_add_32_rel): Likewise.
35729         (atomic_exchange_and_add_acq): Likewise.
35730         (atomic_exchange_and_add_rel): Likewise.
35731         * sysdeps/powerpc/powerpc32/bits/atomic.h
35732         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35733         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35734         * sysdeps/powerpc/powerpc64/bits/atomic.h
35735         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35736         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35738 2014-11-26  Torvald Riegel  <triegel@redhat.com>
35740         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
35741         Change synchronization of __sched_fifo_min_prio and
35742         __sched_fifo_max_prio.
35743         * nptl/pthread_mutexattr_getprioceiling.c
35744         (pthread_mutexattr_getprioceiling): Likewise.
35745         * nptl/pthread_mutexattr_setprioceiling.c
35746         (pthread_mutexattr_setprioceiling): Likewise.
35747         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
35748         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
35749         Likewise.
35751 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35753         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
35754         void.
35756 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35758         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
35759         third argument const.
35761 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
35763         fnmatch: work around GCC compiler warning bug with uninit var
35764         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
35765         This works around a bug with x86-64 GCC 4.9.2 and earlier
35766         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
35767         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
35768         used uninitialized in this function [-Wmaybe-uninitialized]".
35770 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35772         * posix/bug-regex31.c (main): Return RES not 0.
35774 2014-11-25  Anton Blanchard <anton@samba.org>
35776         * sysdeps/powerpc/bits/atomic.h
35777         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
35779 2014-11-24  Sterling Augustine  <saugustine@google.com>
35781         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
35783 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
35785         [BZ #17608]
35786         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
35788 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
35790         [BZ #17633]
35791         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
35792         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
35793         variable.
35794         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35795         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35797 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35799         * string/strncpy.c (strncpy): Improve performance by using memset.
35801 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35803         * string/strcpy.c (strcpy):
35804         Improve performance by using strlen and memcpy.
35806 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
35808         * string/strcoll_l.c (get_next_seq): __always_inline.
35809         * string/strcoll_l.c (do_compare): __always_inline.
35811 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35813         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
35814         defined.
35815         * include/mqueue.h: Likewise.
35816         * include/stdlib.h: Likewise.
35818         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
35819         (get_null_defines): Adjust.
35820         * sunrpc/Makefile: Adjust comment.
35821         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
35822         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
35823         (CFLAGS-interp.c): Likewise.
35824         (CFLAGS-ldconfig.c): Likewise.
35825         (CPPFLAGS-.os): Likewise.
35826         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35827         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35828         * extra-modules.mk (extra-modules.mk): Likewise.
35829         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
35830         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
35831         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
35832         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
35833         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
35834         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
35835         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
35836         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
35837         * iconvdata/Makefile (CPPFLAGS): Likewise.
35838         (cpp-srcs-left): Add libof for all iconvdata routines.
35839         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
35840         * include/assert.h: Likewise.
35841         * include/ctype.h: Likewise.
35842         * include/errno.h: Likewise.
35843         * include/libc-symbols.h: Likewise.
35844         * include/math.h: Likewise.
35845         * include/netdb.h: Likewise.
35846         * include/resolv.h: Likewise.
35847         * include/stdio.h: Likewise.
35848         * include/stdlib.h: Likewise.
35849         * include/string.h: Likewise.
35850         * include/sys/stat.h: Likewise.
35851         * include/wctype.h: Likewise.
35852         * intl/l10nflist.c: Likewise.
35853         * libidn/idn-stub.c: Likewise.
35854         * libio/libioP.h: Likewise.
35855         * nptl/libc_multiple_threads.c: Likewise.
35856         * nptl/pthreadP.h: Likewise.
35857         * posix/regex_internal.h: Likewise.
35858         * resolv/res_hconf.c: Likewise.
35859         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
35860         * sysdeps/arm/memmove.S: Likewise.
35861         * sysdeps/arm/sysdep.h: Likewise.
35862         * sysdeps/generic/_itoa.h: Likewise.
35863         * sysdeps/generic/symbol-hacks.h: Likewise.
35864         * sysdeps/gnu/errlist.awk: Likewise.
35865         * sysdeps/gnu/errlist.c: Likewise.
35866         * sysdeps/i386/i586/memcpy.S: Likewise.
35867         * sysdeps/i386/i586/memset.S: Likewise.
35868         * sysdeps/i386/i686/memcpy.S: Likewise.
35869         * sysdeps/i386/i686/memmove.S: Likewise.
35870         * sysdeps/i386/i686/mempcpy.S: Likewise.
35871         * sysdeps/i386/i686/memset.S: Likewise.
35872         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35873         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35874         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
35875         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
35876         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35877         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35878         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
35879         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35880         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35881         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35882         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35883         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35884         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35885         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35886         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35887         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35888         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
35889         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
35890         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
35891         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35892         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35893         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35894         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35895         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35896         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35897         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35898         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
35899         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35900         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
35901         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35902         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35903         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35904         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35905         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35906         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35907         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35908         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35909         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35910         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35911         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35912         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35913         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35914         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35915         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35916         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35917         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35918         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
35919         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
35920         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35921         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
35922         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35923         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
35924         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
35925         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35926         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35927         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
35928         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35929         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
35930         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
35931         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35932         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35933         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35934         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
35935         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35936         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35937         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
35938         * sysdeps/posix/closedir.c: Likewise.
35939         * sysdeps/posix/opendir.c: Likewise.
35940         * sysdeps/posix/readdir.c: Likewise.
35941         * sysdeps/posix/rewinddir.c: Likewise.
35942         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
35943         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
35944         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35945         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35946         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35947         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
35948         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
35949         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
35950         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
35951         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
35952         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
35953         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
35954         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
35955         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
35956         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
35957         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
35958         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
35959         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
35960         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
35961         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
35962         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
35963         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
35964         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
35965         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
35966         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
35967         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
35968         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
35969         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
35970         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
35971         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
35972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
35973         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
35974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
35975         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
35976         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
35977         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
35978         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35979         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35980         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
35981         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
35982         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
35983         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
35984         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
35985         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
35986         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
35987         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
35988         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
35989         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
35990         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
35991         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
35992         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
35993         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
35994         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
35995         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
35996         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
35997         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
35998         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
35999         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
36000         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
36001         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
36002         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
36003         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
36004         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
36005         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
36006         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
36007         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
36008         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
36009         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
36010         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
36011         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
36012         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
36013         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
36014         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
36015         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
36016         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
36017         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
36018         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
36019         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
36020         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36021         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
36022         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
36023         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36024         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
36025         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
36026         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36027         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
36028         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
36029         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36030         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36031         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36032         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
36033         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
36034         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
36035         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36036         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36037         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
36038         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36039         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36040         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
36041         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
36042         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36043         * sysdeps/unix/alpha/sysdep.S: Likewise.
36044         * sysdeps/unix/alpha/sysdep.h: Likewise.
36045         * sysdeps/unix/make-syscalls.sh: Likewise.
36046         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36047         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36048         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36049         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
36050         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36051         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
36052         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
36053         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36054         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36055         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
36056         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36057         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36058         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36059         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36060         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36061         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36062         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36063         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36064         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36065         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36066         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
36067         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36068         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36069         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36070         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36071         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36072         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36075         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
36076         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36077         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36078         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36079         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36080         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36081         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36082         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36083         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36084         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36085         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36086         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36087         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36088         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36089         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36090         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36091         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36092         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36093         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36094         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36095         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36096         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36097         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36098         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36099         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36100         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
36101         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36102         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36104         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
36105         * sysdeps/x86_64/memcpy.S: Likewise.
36106         * sysdeps/x86_64/memmove.c: Likewise.
36107         * sysdeps/x86_64/memset.S: Likewise.
36108         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
36109         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36110         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36111         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
36112         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
36113         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36114         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36115         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36116         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36117         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36118         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36119         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36120         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
36121         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36122         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36123         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
36124         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36125         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36126         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36127         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36128         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
36129         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36130         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36131         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36132         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36133         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36134         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36135         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
36136         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36137         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36138         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
36139         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36140         * sysdeps/x86_64/strcmp.S: Likewise.
36142         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
36144         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
36145         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
36146         * elf/rtld-Rules: Likewise.
36147         * elf/setup-vdso.h: Likewise.
36148         * include/assert.h: Likewise.
36149         * include/bits/stdlib-float.h: Likewise.
36150         * include/errno.h: Likewise.
36151         * include/sys/stat.h: Likewise.
36152         * include/unistd.h: Likewise.
36153         * sysdeps/aarch64/setjmp.S: Likewise.
36154         * sysdeps/alpha/setjmp.S: Likewise.
36155         * sysdeps/arm/__longjmp.S: Likewise.
36156         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
36157         * sysdeps/arm/setjmp.S: Likewise.
36158         * sysdeps/arm/sysdep.h: Likewise.
36159         * sysdeps/generic/_itoa.h: Likewise.
36160         * sysdeps/generic/dl-sysdep.h: Likewise.
36161         * sysdeps/generic/ldsodefs.h: Likewise.
36162         * sysdeps/i386/dl-tls.h: Likewise.
36163         * sysdeps/i386/setjmp.S: Likewise.
36164         * sysdeps/m68k/setjmp.c: Likewise.
36165         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
36166         * sysdeps/mach/hurd/opendir.c: Likewise.
36167         * sysdeps/posix/getcwd.c: Likewise.
36168         * sysdeps/posix/opendir.c: Likewise.
36169         * sysdeps/posix/profil.c: Likewise.
36170         * sysdeps/powerpc/dl-procinfo.h: Likewise.
36171         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36172         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36173         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36174         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36175         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
36176         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36177         * sysdeps/s390/dl-tls.h: Likewise.
36178         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36179         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36180         * sysdeps/sh/sh3/setjmp.S: Likewise.
36181         * sysdeps/sh/sh4/setjmp.S: Likewise.
36182         * sysdeps/unix/alpha/sysdep.h: Likewise.
36183         * sysdeps/unix/arm/sysdep.S: Likewise.
36184         * sysdeps/unix/i386/sysdep.S: Likewise.
36185         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36186         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36187         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36188         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36189         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36190         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36191         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36192         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36193         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36194         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36195         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
36196         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36197         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36200         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36201         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36202         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36203         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36204         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36205         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36206         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36207         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36208         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36209         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36210         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36211         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36212         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36213         * sysdeps/x86_64/setjmp.S: Likewise.
36215         * include/math.h: Use IS_IN instead of IS_IN_libm.
36216         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
36217         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36218         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36219         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
36220         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36221         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36222         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36223         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36224         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36225         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36226         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
36227         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
36228         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
36229         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
36230         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
36231         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
36232         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
36233         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
36234         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
36235         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
36236         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
36237         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
36238         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
36239         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
36240         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
36241         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
36242         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
36243         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
36244         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
36245         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
36246         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
36247         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36248         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
36249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
36250         Likewise.
36251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
36252         Likewise.
36253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
36254         Likewise.
36255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
36256         Likewise.
36257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
36258         Likewise.
36259         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36260         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
36261         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36262         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36263         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36264         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
36266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
36267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
36268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
36269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
36270         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
36271         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
36272         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
36273         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
36274         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36275         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
36276         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
36277         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36278         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36279         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
36280         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
36281         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
36282         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
36283         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
36284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36285         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
36287         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
36288         * nptl/pthreadP.h: Likewise.
36289         * nptl_db/structs.def: Likewise.
36290         * sysdeps/arm/sysdep.h: Likewise.
36291         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36292         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36293         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
36294         * sysdeps/unix/alpha/sysdep.h: Likewise.
36295         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36296         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36297         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36298         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36299         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36300         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36301         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36302         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36303         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36304         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36305         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36306         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36307         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36308         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36311         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36312         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36313         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36314         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36315         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36316         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36317         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36318         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36319         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
36320         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36322         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
36323         * nptl/pthreadP.h: Likewise.
36324         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36325         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36326         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36327         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36328         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36329         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36330         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36331         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36332         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36333         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36334         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36335         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36337         Likewise.
36338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36339         Likewise.
36340         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36341         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36342         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36343         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36344         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36345         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36346         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36347         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36349         * dlfcn/dladdr.c: Use IS_IN.
36350         * dlfcn/dladdr1.c: Likewise.
36351         * dlfcn/dlclose.c: Likewise.
36352         * dlfcn/dlerror.c: Likewise.
36353         * dlfcn/dlinfo.c: Likewise.
36354         * dlfcn/dlmopen.c: Likewise.
36355         * dlfcn/dlopen.c: Likewise.
36356         * dlfcn/dlsym.c: Likewise.
36357         * dlfcn/dlvsym.c: Likewise.
36359         * include/ifaddrs.h: Use IS_IN.
36360         * inet/check_pf.c: Likewise.
36361         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36362         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
36364         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
36365         IS_IN_ldconfig.
36366         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
36367         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
36369         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
36370         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
36371         IS_IN (libc).
36373         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
36375         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
36376         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36377         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36378         * include/libc-symbols.h (IS_IN_LIB): New macro.
36379         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
36380         * include/netdb.h: Likewise.
36381         * include/stap-probe.h: Remove all uses of IN_LIB.
36383         * Makeconfig (module-cppflags-real): Define MODULE_NAME
36384         instead of IN_MODULE.
36385         * include/libc-symbols.h (IN_MODULE): Define using
36386         MODULE_NAME.
36387         (PASTE_NAME, PASTE_NAME1): New macros.
36388         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
36389         of IN_LIB.
36390         (STAP_PROBE_ASM): Likewise.
36392 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36394         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
36395         __mach_init in dlopened libc.
36397 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
36399         * sysdeps/arm/preconfigure.ac: Delete EABI check.
36400         * sysdeps/arm/preconfigure: Regenerate.
36402 2014-11-21  Roland McGrath  <roland@hack.frob.com>
36404         * nptl/pthread_create.c (__pthread_create_2_1): Set
36405         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
36406         when copying values from IATTR into PD.
36408 2014-11-21  Will Newton  <will.newton@linaro.org>
36409             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
36411         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
36412         Refactor inline-asm.  Also add comment.
36414         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
36415         ElfW macro instead of hardcoded Elf64 types.
36416         (la_aarch64_gnu_pltenter): Likewise.
36417         * sysdeps/aarch64/dl-machine.h
36418         (elf_machine_runtime_setup): Use ElfW(Addr).
36420         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
36421         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
36422         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
36423         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
36424         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
36425         (R_AARCH64_TLS_DTPMOD64): Rename to ..
36426         (R_AARCH64_TLS_DTPMOD): This.
36427         (R_AARCH64_TLS_DTPREL64): Rename to ...
36428         (R_AARCH64_TLS_DTPREL): This.
36429         (R_AARCH64_TLS_TPREL64): Rename to ...
36430         (R_AARCH64_TLS_TPREL): This.
36431         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
36432         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
36433         R_AARCH64_TLS_TPREL64.
36434         (elf_machine_rela): Likewise.
36436 2014-11-21  Torvald Riegel  <triegel@redhat.com>
36438         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
36439         by setting it to 0.  64b atomics are not supported currently.
36441 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36443         [BZ #16469]
36444         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
36445         search domain names.
36447 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36449         [BZ #16469]
36450         * NEWS: Update.
36451         * resolv/res_query.c (__libc_res_nquerydomain): Retain
36452         trailing dot.
36453         * posix/tst-getaddrinfo5.c: New.
36454         * posix/Makefile (tests): Add it.
36456 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36458         [BZ #14498]
36459         * NEWS: Fixed.
36460         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
36461         after parsing line but before break_if_match.
36462         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
36463         if there is a protocol mismatch.
36465 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
36467         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
36468         because the potential race is on the user-supplied stream.
36470 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36472         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
36473         string literal if not passed a buffer.
36474         * manual/job.texi (ctermid): Update reasoning, note deviation
36475         from posix, suggest mtasurace when not passed a buffer, for
36476         future non-preliminary safety notes.
36478 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36480         * manual/users.texi (cuserid): Fix MT-Safety note for the case
36481         of not passing it a buffer.
36482         Reported by Peng Haitao.
36484 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36486         * manual/Makefile ($(objpfx)stamp-summary): Require
36487         check-safety.sh to pass.
36488         * manual/check-safety.sh: Wish for verification that every
36489         @deftypefn and @deftypefun is followed by a @safety remark.
36491 2014-11-20  Roland McGrath  <roland@hack.frob.com>
36493         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
36495         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
36496         PTHREAD_CANCEL_ASYNCHRONOUS.
36497         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
36498         send SIGCANCEL.
36500         * nptl/default-sched.h: New file.
36501         * sysdeps/unix/sysv/linux/default-sched.h: New file.
36502         * nptl/pthread_create.c: Include it.
36503         (__pthread_create_2_1): Use collect_default_sched instead of making
36504         Linux syscalls here directly.
36506 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36508         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
36509         __pthread_once): Use C11 atomics.
36511 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36513         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
36515 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36517         * include/atomic.h (__atomic_link_error, __atomic_check_size,
36518         atomic_thread_fence_acquire, atomic_thread_fence_release,
36519         atomic_thread_fence_seq_cst, atomic_load_relaxed,
36520         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
36521         atomic_compare_exchange_weak_relaxed,
36522         atomic_compare_exchange_weak_acquire,
36523         atomic_compare_exchange_weak_release,
36524         atomic_exchange_acquire, atomic_exchange_release,
36525         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
36526         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
36527         atomic_fetch_and_acquire,
36528         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
36530 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36532         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
36533         USE_ATOMIC_COMPILER_BUILTINS): Define.
36534         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
36535         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36536         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
36537         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36538         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
36539         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36540         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
36541         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36542         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
36543         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36544         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
36545         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36546         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
36547         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36548         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
36549         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36550         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36551         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36552         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36553         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36554         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
36555         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36556         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36557         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36558         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
36559         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36560         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36561         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36562         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
36563         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36564         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
36565         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36566         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
36567         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36568         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36569         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36570         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
36571         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36572         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
36573         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36575 2014-11-19  Roland McGrath  <roland@hack.frob.com>
36577         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
36578         the sched_priority value here.  It was already checked when the user
36579         called pthread_attr_setschedparam.
36581         * nptl/tst-bad-schedattr.c: New file.
36582         * nptl/Makefile (tests): Add it.
36584 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
36585             Florian Weimer  <fweimer@redhat.com>
36586             Joseph Myers  <joseph@codesourcery.com>
36587             Adam Conrad  <adconrad@0c3.net>
36588             Andreas Schwab  <schwab@suse.de>
36589             Brooks  <bmoses@google.com>
36591         [BZ #17625]
36592         * wordexp-test.c (__dso_handle): Add prototype.
36593         (__register_atfork): Likewise.
36594         (__app_register_atfork): New function.
36595         (registered_forks): New global.
36596         (register_fork): New function.
36597         (test_case): Add 3 new tests for WRDE_CMDSUB.
36598         (main): Call __app_register_atfork.
36599         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
36600         fork count is non-zero fail the test.
36601         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
36602         is set.
36603         (parse_dollars): Remove check for WRDE_NOCMD.
36604         (parse_dquote): Likewise.
36606 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36608         * Makeconfig (built-modules): List non-library modules to be
36609         built.
36610         (module-cppflags): Include libc-modules.h for
36611         everything except shlib-versions.v.i.
36612         (CPPFLAGS): Use it.
36613         (before-compile): Add libc-modules.h.
36614         ($(common-objpfx)libc-modules.h,
36615         $(common-objpfx)libc-modules.stmp): New targets.
36616         (common-generated): Add libc-modules.h and libc-modules.stmp.
36617         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
36618         * include/libc-symbols.h: Don't include libc-modules.h.
36619         * include/libc-modules.h: Remove file.
36620         * scripts/gen-libc-modules.awk: New script to generate
36621         libc-modules.h.
36622         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
36623         Depend on libc-modules.stmp.
36625         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
36627         * Makeconfig (in-module): Get value of libof set for the
36628         translation unit.
36629         (CPPFLAGS): Use $(in-module).
36630         * Makerules: Don't suffix routine names for nonlib.
36631         * include/libc-modules.h: New file.
36632         * include/libc-symbols.h: Include libc-modules.h
36633         (IS_IN): New macro to replace IS_IN_* macros.
36634         * elf/Makefile: Set libof-* for each routine.
36635         * elf/rtld-Rules: Likewise.
36636         * extra-modules.mk: Likewise.
36637         * iconv/Makefile: Likewise.
36638         * iconvdata/Makefile: Likewise.
36639         * locale/Makefile: Likewise.
36640         * malloc/Makefile: Likewise.
36641         * nss/Makefile: Likewise.
36642         * sysdeps/gnu/Makefile: Likewise.
36643         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
36644         * sysdeps/unix/sysv/linux/Makefile: Likewise.
36645         * sysdeps/s390/s390-64/Makefile: Likewise.
36646         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
36647         CPPFLAGS for nscd instead of nonlib.
36649 2014-11-18  Roland McGrath  <roland@hack.frob.com>
36651         * nptl/createthread.c: New file.
36653         * nptl/createthread.c: Moved ...
36654         * sysdeps/unix/sysv/linux/createthread.c: ... here.
36656         * nptl/createthread.c: Add proper top-line comment.
36657         (do_clone): Folded into ...
36658         (create_thread): ... here.  Take new arguments STOPPED_START and
36659         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
36660         increment __nptl_threads, do event-reporting logic, do
36661         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
36662         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
36663         resource cleanup if sched_setaffinity or sched_setscheduler fails,
36664         just send SIGCANCEL.
36665         * nptl/pthread_create.c: Forward-declare create_thread before
36666         including createthread.c.
36667         (start_thread): Use new macro START_THREAD_DEFN to replace defining
36668         declaration, and new macro START_THREAD_SELF to replace argument.
36669         Remove return statement.
36670         (report_thread_creation): New function.
36671         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
36672         synchronization logic, and __nptl_nthreads increment here, around
36673         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
36674         PD->parent_cancelhandling here, before create_thread.  When
36675         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
36676         __deallocate_stack, and ENOMEM translation here.
36678 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
36680         [BZ #17616]
36681         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
36682         (mptwo): Rename to __mptwo.
36683         (__inv): Use __mptwo instead of mptwo.
36684         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
36685         (mptwo): Rename to __mptwo.
36686         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
36687         of mpone and __mptwo instead of mptwo.
36688         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
36689         instead of mpone.
36690         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36691         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
36692         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
36693         of mpone and __mptwo instead of mptwo.
36694         (__mpranred): Use __mpone instead of mpone.
36695         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
36696         variable.
36697         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36698         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36699         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36700         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36701         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36702         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36703         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36704         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36705         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36706         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36707         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36708         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36709         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36710         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36711         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36712         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36713         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36714         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36715         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36717 2014-11-18  Tom de Vries  <tom@codesoucery.com>
36719         * manual/signal.texi (Primitives Interrupted by Signals): In section,
36720         replace BSD Handler xref with BSD Signal Handling.
36722 2014-11-17  Richard Henderson  <rth@redhat.com>
36724         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
36725         (_FP_PACK_RAW_2): Remove.
36726         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
36727         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
36728         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
36729         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
36730         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
36731         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
36732         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
36733         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
36734         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
36735         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
36736         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
36737         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
36738         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
36739         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
36740         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
36741         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
36743 2014-11-14  Roland McGrath  <roland@hack.frob.com>
36745         * signal/signal.h [__USE_MISC]
36746         (struct sigvec): Remove type.
36747         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
36748         (sigvec): Remove declaration.
36749         * sysdeps/posix/sigvec.c: Moved ...
36750         * signal/sigvec.c: ... here, replacing old file.
36751         (struct sigvec): New type, copied from old signal.h definition.
36752         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
36753         (__sigvec): Convert definition to prototype.
36754         (sigvec): Replace weak_alias with compat_symbol.
36755         * signal/Versions (libc: GLIBC_2.21): New version set.
36756         * include/signal.h: Remove __sigvec declaration.
36757         * sysdeps/unix/bsd/sigvec.c: Remove file.
36758         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
36759         * manual/signal.texi (BSD Handler): Remove subsection.
36760         Move siginterrupt up to ...
36761         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
36762         (Blocking in BSD): Fold subsection into its parent.
36763         * NEWS: Mention sigvec removal.
36765 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36767         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
36768         (DLA_FMS): Make definition conditional only on [__FMA4__].
36769         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
36770         definition.
36772         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
36773         Make definition conditional only on [PROF].
36774         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
36775         definition.
36776         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
36777         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
36779         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
36780         !__GNUC__].
36781         * include/signal.h (__sigpause): Move declaration above call to
36782         libc_hidden_proto.
36783         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
36784         variable.
36785         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36786         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36788 2014-11-14  David S. Miller  <davem@davemloft.net>
36790         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
36791         Define before including <string/memcpy.c> and <string/mempcpy.c>.
36793 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36795         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
36796         * configure: Regenerated.
36797         * manual/install.texi (Tools for Compilation): Document a
36798         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
36799         compiler verified to work.
36800         * INSTALL: Regenerated.
36802         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
36803         redeclare with asm name.
36804         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
36805         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
36806         including <string.h>.
36807         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36808         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
36809         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36810         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
36811         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36812         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
36813         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36815 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
36817         * stdlib/strtol.c (__strtol): Use prototype definition.
36819         [BZ #17594]
36820         * stdlib/strtol.c (SYM__): New macro.
36821         (SYM__1): Likewise.
36822         (__strtol): Likewise.
36823         (strtol): Rename to __strtol and define as weak alias of
36824         __strtol.  Use libc_hidden_weak.
36826 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36828         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
36829         Use numbered labels in inline assembly.
36831 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36833         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
36834         Add setjmp LIBC_PROBE.
36835         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
36836         Likewise.
36837         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
36838         Add longjmp, longjmp_target LIBC_PROBE.
36839         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
36840         Likewise.
36842 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36844         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36845         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
36846         to get rid of unused variable warning.
36848 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36850         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
36851         Check for unwind_backtrace ==  NULL only in SHARED case.
36852         (__backchain_backtrace): Compile only in SHARED case.
36853         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
36854         Likewise.
36855         (__backchain_backtrace): Declare as static.
36857 2014-11-12  Roland McGrath  <roland@hack.frob.com>
36859         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
36860         (__libc_multiple_threads_ptr): Variable moved ...
36861         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
36863 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
36865         * conform/GlibcConform.pm: New file.
36866         * conform/conformtest.pl: Use GlibcConform module.
36867         * conform/linknamespace.pl: New file.
36868         * conform/list-header-symbols.pl: Likewise.
36869         * conform/Makefile (linknamespace-symlists-base): New variable.
36870         (linknamespace-symlists-tests): Likewise.
36871         (linknamespace-header-base): Likewise.
36872         (linknamespace-header-tests): Likewise.
36873         (tests-special): Add new tests.
36874         ($(linknamespace-symlists-tests)): New rule.
36875         (linknamespace-libs): New variable.
36876         ($(objpfx)symlist-stdlibs): New rule.
36877         ($(linknamespace-header-tests)): Likewise.
36878         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
36879         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
36880         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
36881         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
36882         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
36883         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
36884         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
36885         (test-xfail-ISO/math.h/linknamespace): Likewise.
36886         (test-xfail-ISO/signal.h/linknamespace): Likewise.
36887         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
36888         (test-xfail-ISO/time.h/linknamespace): Likewise.
36889         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36890         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
36891         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36892         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36893         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36894         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36895         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36896         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
36897         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36898         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36899         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36900         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36901         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
36902         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
36903         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
36904         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36905         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
36906         (test-xfail-XPG3/search.h/linknamespace): Likewise.
36907         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
36908         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36909         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
36910         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36911         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
36912         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
36913         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36914         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36915         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
36916         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
36917         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36918         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
36919         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36920         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36921         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36922         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36923         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
36924         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
36925         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
36926         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
36927         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36928         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
36929         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36930         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
36931         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36932         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36933         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36934         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
36935         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
36936         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36937         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36938         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
36939         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36940         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36941         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
36942         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36943         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36944         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
36945         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
36946         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36947         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36948         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36949         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36950         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36951         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
36952         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
36953         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36954         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36955         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
36956         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36957         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36958         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
36959         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36960         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36961         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36962         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36963         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
36964         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36965         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
36966         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
36967         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36968         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
36969         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36970         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
36971         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
36972         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36973         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36974         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
36975         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36976         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36977         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
36978         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
36979         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
36980         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
36981         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36982         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
36983         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36984         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36985         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
36986         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
36987         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36988         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36989         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36990         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36991         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
36992         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36993         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36994         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36995         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36996         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36997         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
36998         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36999         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37000         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
37001         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37002         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
37003         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37004         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37005         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37006         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
37007         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37008         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37009         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
37010         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37011         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37012         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37013         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37014         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37015         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
37016         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37017         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37018         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37019         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37020         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
37021         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
37022         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37023         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37024         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37025         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37026         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
37027         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37028         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
37029         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37030         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37031         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
37032         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37033         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37034         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37035         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
37036         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37037         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37038         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37040         [BZ #17589]
37041         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
37042         of fgets_unlocked.
37044         [BZ #17585]
37045         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
37046         (memmem): Rename to __memmem and define as weak alias of
37047         __memmem.  Use libc_hidden_weak.
37048         (__memmem): Use libc_hidden_def.
37049         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
37050         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
37051         memmem.
37053         [BZ #17582]
37054         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
37055         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
37056         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
37057         and define as weak alias of __fgets_unlocked.  Use
37058         libc_hidden_weak.
37059         (__fgets_unlocked): Use libc_hidden_def.
37060         * include/stdio.h (__fgets_unlocked): Declare.  Use
37061         libc_hidden_proto.
37062         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
37063         __fgets_unlocked instead of fgets_unlocked.
37064         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
37065         (GET_NPROCS_CONF_PARSER): Likewise.
37066         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
37067         (GET_NPROCS_CONF_PARSER): Likewise.
37069         [BZ #17574]
37070         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
37071         weak alias of __wmemset.  Use libc_hidden_weak.
37072         (__wmemset): Use libc_hidden_def.
37073         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
37074         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
37075         of wmemset.
37077         [BZ #17573]
37078         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
37079         with asm name __mempcpy.
37080         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
37082         [BZ #17572]
37083         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
37084         and define as weak alias of __rawmemchr.
37085         (__rawmemchr): Do not define as strong alias of rawmemchr.
37087         [BZ #17571]
37088         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
37089         alias of __qsort_r.
37090         (qsort): Call __qsort_r instead of qsort_r.
37091         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
37092         (__qsort_r): Declare.  Call libc_hidden_proto.
37093         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
37094         instead of qsort_r.
37095         * nscd/gai.c (__qsort_r): Define to qsort_r.
37096         * posix/tst-rfc3484.c (__qsort_r): Likewise.
37097         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
37098         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
37100         [BZ #17570]
37101         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
37102         define as weak alias of __malloc_info.
37104         [BZ #17584]
37105         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
37106         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37107         (__rewinddir): Use libc_hidden_def.
37108         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
37109         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37110         (__rewinddir): Use libc_hidden_def.
37111         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
37112         weak alias of __rewinddir.  Don't use libc_hidden_def.
37113         (__rewinddir): Use libc_hidden_def.
37114         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
37115         (__rewinddir): Use libc_hidden_proto.
37116         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
37117         rewinddir.
37118         (__getcwd): Use __rewinddir instead of rewinddir.
37120         [BZ #17583]
37121         * libio/fileno.c (fileno): Rename to __fileno and define as weak
37122         alias of __fileno.  Use libc_hidden_weak.
37123         (__fileno): Use libc_hidden_def.
37124         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
37125         * libio/ftello.c (ftello): Rename to __ftello and define as weak
37126         alias of __ftello.
37127         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
37128         __ftello.
37129         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
37130         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
37131         libc_hidden_def.
37132         (fread_unlocked): Don't use libc_hidden_ver.
37133         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
37134         and define as weak alias of __fread_unlocked.  Don't use
37135         libc_hidden_def.
37136         (__fread_unlocked): Use libc_hidden_def.
37137         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
37138         (ftello): Don't use libc_hidden_proto.
37139         (__ftello): Declare.  Use libc_hidden_proto.
37140         (fread_unlocked): Don't use libc_hidden_proto.
37141         (__fread_unlocked): Declare.  Use libc_hidden_proto.
37142         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
37143         and __ftello instead of fileno, fread_unlocked and ftello.
37145 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37147         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
37148         GOT12.
37149         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37150         Likewise.
37151         (_dl_start_user): Likewise.
37152         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
37154 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
37155             Siddhesh Poyarekar  <siddhesh@redhat.com>
37157         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
37158         Move argv and envp down instead of moving argc up.
37159         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
37161 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
37163         [BZ #17506]
37164         * test-skeleton.c (main): Return successful if one of
37165         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
37166         * string/tst-strcoll-overflow.c: Define expected status.
37168 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
37170         [BZ #17475]
37171         * locale/iso-639.def: Define Bhili and Tulu language codes.
37173 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
37175         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
37177 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
37179         [BZ #17555]
37180         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
37182 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37184         * configure.ac: Updated check of minimal required version to
37185         2.22.
37186         * manual/install.texi (Tools for Compilation): Updated version
37187         number.
37188         * configure: Regenerated.
37189         * INSTALL: Likewise.
37191 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
37193         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
37194         __tls_get_addr.
37196 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
37198         * include/sys/wait.h (__libc_waitpid): Remove declaration.
37199         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
37200         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37201         libc_hidden_weak.
37202         (waitpid): Define as alias of __waitpid.
37203         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
37204         __waitpid.
37205         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37206         libc_hidden_weak.
37207         (waitpid): Define as alias of __waitpid.
37208         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
37209         __libc_waitpid alias.
37210         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
37211         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
37212         Likewise.
37213         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
37214         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
37215         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
37216         alias.
37217         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
37218         __waitpid.
37219         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37220         libc_hidden_weak.
37221         (waitpid): Define as alias of __waitpid.
37223 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
37225         * manual/llio.texi: Add comment that write safety has been
37226         fixed in Linux.
37228         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
37229         (localplt-build-dso): Add elf/ld.so.
37230         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
37231         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
37232         and free for ld.so.
37233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
37234         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
37235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
37236         Likewise.
37237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
37238         Likewise.
37239         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
37240         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
37241         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
37242         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
37243         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
37244         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
37245         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
37246         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
37247         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
37248         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
37249         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37251 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
37253         [BZ #14132]
37254         * include/libc-symbols.h (INTUSE): Remove macro.
37255         (INTDEF): Likewise.
37256         (INTVARDEF): Likewise.
37257         (_INTVARDEF): Likewise.
37258         (INTDEF2): Likewise.
37259         (INTVARDEF2): Likewise.
37260         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
37261         rtld_hidden_def instead of INTVARDEF.
37262         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
37263         (_dl_starting_up_internal): Remove declaration.
37264         (_dl_starting_up): Use rtld_hidden_proto.
37265         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
37266         declaration.
37267         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
37268         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
37269         _dl_starting_up.
37270         * elf/dl-writev.h (_dl_writev): Likewise.
37271         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
37272         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
37273         _dl_starting_up_internal.
37275 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37277         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
37278         test-skeleton.c.
37280 2014-11-05  Will Newton  <will.newton@linaro.org>
37282         * benchtests/Makefile: (bench-malloc): Add malloc thread
37283         scalability benchmark.
37284         * benchtests/bench-malloc-threads.c: New file.
37286 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
37288         * sysdeps/aarch64/strchrnul.S: New file.
37290 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37292         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
37293         definition.
37294         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37295         Likewise.
37296         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37297         Likewise.
37298         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37299         Likewise.
37300         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37301         Likewise.
37302         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37303         Likewise.
37305 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
37307         * catgets/test-gencat.c: Use test-skeleton.c.
37308         * catgets/tst-catgets.c: Likewise.
37309         * csu/tst-empty.c: Likewise.
37310         * elf/tst-audit2.c: Likewise.
37311         * elf/tst-global1.c: Likewise.
37312         * elf/tst-pathopt.c: Likewise.
37313         * elf/tst-piemod1.c: Likewise.
37314         * elf/tst-tls10.c: Likewise.
37315         * elf/tst-tls11.c: Likewise.
37316         * elf/tst-tls12.c: Likewise.
37317         * gnulib/tst-gcc.c: Likewise.
37318         * iconvdata/tst-e2big.c: Likewise.
37319         * iconvdata/tst-loading.c: Likewise.
37320         * iconv/tst-iconv1.c: Likewise.
37321         * iconv/tst-iconv2.c: Likewise.
37322         * inet/test-inet6_opt.c: Likewise.
37323         * inet/tst-gethnm.c: Likewise.
37324         * inet/tst-network.c: Likewise.
37325         * inet/tst-ntoa.c: Likewise.
37326         * intl/tst-codeset.c: Likewise.
37327         * intl/tst-gettext2.c: Likewise.
37328         * intl/tst-gettext3.c: Likewise.
37329         * intl/tst-ngettext.c: Likewise.
37330         * intl/tst-translit.c: Likewise.
37331         * io/test-stat.c: Likewise.
37332         * libio/test-fmemopen.c: Likewise.
37333         * libio/tst-freopen.c: Likewise.
37334         * libio/tst-sscanf.c: Likewise.
37335         * libio/tst-ungetwc1.c: Likewise.
37336         * libio/tst-ungetwc2.c: Likewise.
37337         * libio/tst-widetext.c: Likewise.
37338         * localedata/tst-ctype.c: Likewise.
37339         * localedata/tst-digits.c: Likewise.
37340         * localedata/tst-leaks.c: Likewise.
37341         * localedata/tst-mbswcs1.c: Likewise.
37342         * localedata/tst-mbswcs2.c: Likewise.
37343         * localedata/tst-mbswcs3.c: Likewise.
37344         * localedata/tst-mbswcs4.c: Likewise.
37345         * localedata/tst-mbswcs5.c: Likewise.
37346         * localedata/tst-setlocale.c: Likewise.
37347         * localedata/tst-trans.c: Likewise.
37348         * localedata/tst-wctype.c: Likewise.
37349         * localedata/tst-xlocale1.c: Likewise.
37350         * login/tst-grantpt.c: Likewise.
37351         * malloc/tst-calloc.c: Likewise.
37352         * malloc/tst-malloc.c: Likewise.
37353         * malloc/tst-mallocstate.c: Likewise.
37354         * malloc/tst-mcheck.c: Likewise.
37355         * malloc/tst-mtrace.c: Likewise.
37356         * malloc/tst-obstack.c: Likewise.
37357         * math/atest-exp2.c: Likewise.
37358         * math/atest-exp.c: Likewise.
37359         * math/atest-sincos.c: Likewise.
37360         * math/test-matherr.c: Likewise.
37361         * math/test-misc.c: Likewise.
37362         * math/test-powl.c: Likewise.
37363         * math/tst-definitions.c: Likewise.
37364         * misc/tst-dirname.c: Likewise.
37365         * misc/tst-efgcvt.c: Likewise.
37366         * misc/tst-fdset.c: Likewise.
37367         * misc/tst-hsearch.c: Likewise.
37368         * misc/tst-mntent2.c: Likewise.
37369         * nptl/tst-sem7.c: Likewise.
37370         * nptl/tst-sem8.c: Likewise.
37371         * nptl/tst-sem9.c: Likewise.
37372         * nss/test-netdb.c: Likewise.
37373         * posix/tst-fnmatch.c: Likewise.
37374         * posix/tst-getlogin.c: Likewise.
37375         * posix/tst-gnuglob.c: Likewise.
37376         * posix/tst-mmap.c: Likewise.
37377         * pwd/tst-getpw.c: Likewise.
37378         * resolv/tst-inet_ntop.c: Likewise.
37379         * rt/tst-timer.c: Likewise.
37380         * stdio-common/test-fseek.c: Likewise.
37381         * stdio-common/test-popen.c: Likewise.
37382         * stdio-common/test-vfprintf.c: Likewise.
37383         * stdio-common/tst-cookie.c: Likewise.
37384         * stdio-common/tst-fileno.c: Likewise.
37385         * stdio-common/tst-gets.c: Likewise.
37386         * stdio-common/tst-obprintf.c: Likewise.
37387         * stdio-common/tst-perror.c: Likewise.
37388         * stdio-common/tst-sprintf2.c: Likewise.
37389         * stdio-common/tst-sprintf3.c: Likewise.
37390         * stdio-common/tst-sprintf.c: Likewise.
37391         * stdio-common/tst-swprintf.c: Likewise.
37392         * stdio-common/tst-tmpnam.c: Likewise.
37393         * stdio-common/tst-unbputc.c: Likewise.
37394         * stdio-common/tst-wc-printf.c: Likewise.
37395         * stdlib/tst-environ.c: Likewise.
37396         * stdlib/tst-fmtmsg.c: Likewise.
37397         * stdlib/tst-limits.c: Likewise.
37398         * stdlib/tst-rand48-2.c: Likewise.
37399         * stdlib/tst-rand48.c: Likewise.
37400         * stdlib/tst-random2.c: Likewise.
37401         * stdlib/tst-random.c: Likewise.
37402         * stdlib/tst-strtol.c: Likewise.
37403         * stdlib/tst-strtoll.c: Likewise.
37404         * stdlib/tst-tls-atexit.c: Likewise.
37405         * stdlib/tst-xpg-basename.c: Likewise.
37406         * string/test-ffs.c: Likewise.
37407         * string/tst-bswap.c: Likewise.
37408         * string/tst-inlcall.c: Likewise.
37409         * string/tst-strtok.c: Likewise.
37410         * string/tst-strxfrm.c: Likewise.
37411         * sysdeps/x86_64/tst-audit10.c: Likewise.
37412         * sysdeps/x86_64/tst-audit3.c: Likewise.
37413         * sysdeps/x86_64/tst-audit4.c: Likewise.
37414         * sysdeps/x86_64/tst-audit5.c: Likewise.
37415         * time/tst-ftime_l.c: Likewise.
37416         * time/tst-getdate.c: Likewise.
37417         * time/tst-mktime3.c: Likewise.
37418         * time/tst-mktime.c: Likewise.
37419         * time/tst-posixtz.c: Likewise.
37420         * time/tst-strptime2.c: Likewise.
37421         * time/tst-strptime3.c: Likewise.
37422         * wcsmbs/tst-btowc.c: Likewise.
37423         * wcsmbs/tst-mbrtowc.c: Likewise.
37424         * wcsmbs/tst-mbsrtowcs.c: Likewise.
37425         * wcsmbs/tst-wchar-h.c: Likewise.
37426         * wcsmbs/tst-wcpncpy.c: Likewise.
37427         * wcsmbs/tst-wcrtomb.c: Likewise.
37428         * wcsmbs/tst-wcsnlen.c: Likewise.
37429         * wcsmbs/tst-wcstof.c: Likewise.
37431 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
37433         [BZ #14132]
37434         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
37435         INTDEF.
37436         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
37437         declaration.
37438         (_dl_mcount): Use rtld_hidden_proto.
37439         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
37440         _dl_mcount.
37441         * elf/rtld.c (_rtld_global_ro): Likewise.
37443         [BZ #14132]
37444         * elf/dl-init.c (_dl_init): Don't use INTDEF.
37445         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
37446         of _dl_init_internal.
37447         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
37448         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
37449         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
37450         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
37451         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
37452         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
37453         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
37454         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
37455         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
37456         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
37457         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
37458         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
37459         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37460         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37461         * sysdeps/tile/dl-start.S (_start): Likewise.
37462         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
37463         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
37465         [BZ #14132]
37466         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
37467         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
37468         (rtld_progname): Make macro definition unconditional.
37469         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
37470         INTDEF.
37471         (dlmopen_doit): Do not use INTUSE with _dl_argv.
37472         (dl_main): Likewise.
37473         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37474         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
37475         instead of _dl_argv_internal.
37476         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37477         __GI__dl_argv instead of INTUSE(_dl_argv).
37478         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
37479         __GI__dl_argv instead of _dl_argv_internal.
37481         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
37482         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
37483         macro.
37484         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
37485         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
37486         New macro.
37487         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
37488         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
37489         macro.
37490         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
37491         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
37493 2014-11-04  Andreas Schwab  <schwab@suse.de>
37495         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
37497 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37499         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
37500         mtvsrd instruction in binary form.
37502 2014-11-03  Andreas Schwab  <schwab@suse.de>
37504         [BZ #17522]
37505         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
37506         for less than MB_LEN_MAX use a local buffer of that size.
37507         * libio/tst-fputws.c: New file.
37508         * libio/Makefile (tests): Add tst-fputws.
37510 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
37512         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
37513         the size of the fpu_fr.fpu_dregs[] array.
37515 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
37517         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
37518         (__nanosleep): Do not define as alias.
37519         (nanosleep): Define as alias of __nanosleep.
37520         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
37521         __libc_nanosleep name.
37523 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37525         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
37526         install.texi in comment.
37528 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37530         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
37531         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
37532         ... add here and use lwsync or sync ...
37533         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
37534         ... and add here using lwsync.
37536 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37538         * elf/dl-machine-reject-phdr.h: New file.
37539         * elf/dl-load.c: #include that.
37540         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
37541         if that returned true.
37543 2014-10-31  Roland McGrath  <roland@hack.frob.com>
37545         [BZ #17496]
37546         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
37547         gen-as-const-headers chunk.  Add a big scare comment after the last
37548         safe place to touch before-compile.
37550 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37552         * manual/install.texi (Tools for Compilation): Update autoconf
37553         version requirements.
37554         * INSTALL: Regenerated.
37556         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
37557         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
37558         (__libc_pselect): Likewise.
37560         [BZ #14138]
37561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
37562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37566 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37568         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
37569         correct barrier instruction.
37570         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
37571         Likewise.
37572         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
37573         Likewise.
37575 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37577         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
37578         after defining inlines.  Instead, just use parens to defeat macro
37579         expansion of __isctype in its declaration.
37581 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37583         * include/sys/uio.h (__libc_readv): Remove declaration.
37584         (__libc_writev): Likewise.
37585         * misc/readv.c (__libc_readv): Rename to __readv.
37586         (__readv): Do not define as alias.
37587         (readv): Define as alias of __readv.
37588         * misc/writev.c (__libc_writev): Rename to __writev.
37589         (__writev): Do not define as alias.
37590         (writev): Define as alias of __writev.
37591         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
37592         (__readv): Do not define as alias.
37593         (readv): Define unconditionally as alias of __readv.
37594         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
37595         (__writev): Do not define as alias.
37596         (writev): Define unconditionally as alias of __writev.
37597         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
37598         name.
37599         (writev): Do not define __libc_writev name.
37601 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37603         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
37604         (convert_charseq): New function, broken out of ...
37605         (use_from_charmap): ... here.  Call it.
37606         (use_to_charmap): Use convert_charseq and free instead of duplicating
37607         its code with a variable-length stack struct.
37609 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37611         * include/fcntl.h (__libc_creat): Remove declaration.
37612         * io/creat.c (__libc_creat): Rename to creat.
37613         (creat): Do not define as alias.
37614         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
37615         of creat instead of __libc_creat.
37616         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
37617         to creat.
37618         (creat): Do not define as alias.
37619         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
37620         __libc_creat.
37621         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
37622         __libc_creat name.
37623         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
37624         Likewise.
37626 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
37628         * manual/llio.texi: Add comments discussing why write() may be
37629         considered MT-unsafe on Linux.
37631 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
37633         * dl-load.c (local_strdup): Remove.
37634         (expand_dynamic_string_token): Use __strdup.
37635         (decompose_rpath): Likewise.
37636         (_dl_map_object): Likewise.
37638 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
37640         [BZ #14132]
37641         * sysdeps/generic/unwind-dw2-fde.c
37642         (__register_frame_info_bases_internal): Do not declare.
37643         (__register_frame_info_table_bases_internal): Likewise.
37644         (__deregister_frame_info_bases_internal): Likewise.
37645         (__register_frame_info_bases): Declare and use hidden_proto before
37646         definition.  Use hidden_def instead of INTDEF.
37647         (__register_frame_info_table_bases): Likewise.
37648         (__deregister_frame_info_bases): Likewise.
37649         (__register_frame_info): Do not use INTUSE.
37650         (__register_frame): Likewise.
37651         (__register_frame_info_table): Likewise.
37652         (__register_frame_table): Likewise.
37653         (__deregister_frame_info): Likewise.
37654         (__deregister_frame): Likewise.
37656 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
37658         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37659         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
37660         not undefine.
37661         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
37662         Likewise.
37663         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
37664         Likewise.
37666 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
37668         [BZ #14138]
37669         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
37670         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
37671         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
37672         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
37673         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
37674         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
37675         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
37676         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
37677         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
37678         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
37679         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
37680         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
37681         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
37682         syscall.
37683         (setfsuid): Likewise.
37684         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
37685         (setfsuid): Likewise.
37686         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
37687         (setfsuid): Likewise.
37688         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
37689         Likewise.
37690         (setfsuid): Likewise.
37691         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
37692         (setfsuid): Likewise.
37693         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
37694         Likewise.
37695         (setfsuid): Likewise.
37697 2014-10-27  Andreas Schwab  <schwab@suse.de>
37699         [BZ #17501]
37700         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
37701         check for Slow_SSE4_2 feature bit.
37702         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
37703         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37704         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
37705         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
37707 2014-10-24  Roland McGrath  <roland@hack.frob.com>
37709         * configure.ac: Validate compiler version with a empirical test of
37710         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
37711         $CC -v output.
37712         * configure: Regenerated.
37714         * inet/htons.c (htons): Prototypify.
37715         * inet/htonl.c (htonl): Likewise.
37717 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37719         * string/strncat.c (strncat): Improve performance by using strlen.
37721 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37723         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
37725 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37727         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
37728         Call libc_fetestexcept_aarch64.
37730 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37732         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
37733         Call libc_feholdexcept_aarch64.
37735 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37737         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
37738         Call get_rounding_mode.
37740 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37742         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37743         Simplify logic.
37745 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37747         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
37748         Simplify logic.
37750 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
37752         [BZ #14138]
37753         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
37754         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
37755         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
37756         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
37757         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
37758         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
37759         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
37760         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
37761         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
37762         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
37763         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37764         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
37765         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
37766         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
37767         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
37768         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
37769         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
37770         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
37771         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
37772         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
37773         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
37774         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
37775         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
37776         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
37777         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
37778         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
37779         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
37780         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
37781         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
37782         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
37783         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
37784         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
37785         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
37786         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
37787         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
37788         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
37789         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
37790         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
37791         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
37792         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
37793         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
37794         syscall.
37795         (geteuid): Likewise.
37796         (getgid): Likewise.
37797         (getuid): Likewise.
37798         (getresgid): Likewise.
37799         (getresuid): Likewise.
37800         (getgroups): Likewise.
37801         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
37802         (geteuid): Likewise.
37803         (getgid): Likewise.
37804         (getuid): Likewise.
37805         (getresgid): Likewise.
37806         (getresuid): Likewise.
37807         (getgroups): Likewise.
37808         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
37809         (geteuid): Likewise.
37810         (getgid): Likewise.
37811         (getuid): Likewise.
37812         (getresgid): Likewise.
37813         (getresuid): Likewise.
37814         (getgroups): Likewise.
37815         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
37816         Likewise.
37817         (geteuid): Likewise.
37818         (getgid): Likewise.
37819         (getuid): Likewise.
37820         (getresgid): Likewise.
37821         (getresuid): Likewise.
37822         (getgroups): Likewise.
37823         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
37824         (geteuid): Likewise.
37825         (getgid): Likewise.
37826         (getuid): Likewise.
37827         (getresgid): Likewise.
37828         (getresuid): Likewise.
37829         (getgroups): Likewise.
37830         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
37831         Likewise.
37832         (geteuid): Likewise.
37833         (getgid): Likewise.
37834         (getuid): Likewise.
37835         (getgroups): Likewise.
37837         [BZ #14138]
37838         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
37839         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
37840         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
37841         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37842         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
37843         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
37844         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
37845         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
37846         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
37847         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
37848         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
37849         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
37850         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
37851         __chown.
37852         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
37853         (lchown): Likewise.
37854         (fchown): Likewise.
37855         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
37856         Likewise.
37857         (lchown): Likewise.
37858         (fchown): Likewise.
37859         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
37860         (lchown): Likewise.
37861         (fchown): Likewise.
37862         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
37863         Likewise.
37864         (lchown): Likewise.
37865         (fchown): Likewise.
37867 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37869         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
37870         Simplify logic.
37872 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37874         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37875         Cleanup logic.
37877 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37879         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37880         Remove unused include.
37882 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37884         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
37885         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
37886         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
37887         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
37889 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
37890             Helge Deller <deller@gmx.de>
37892         [BZ #17508]
37893         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
37894         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
37895         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
37897 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
37899         [BZ #14132]
37900         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
37901         Remove macro definition.
37902         (__ashrdi3_v_glibc20): Likewise.
37903         (__lshrdi3_v_glibc20): Likewise.
37904         (__cmpdi2_v_glibc20): Likewise.
37905         (__ucmpdi2_v_glibc20): Likewise.
37906         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
37907         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37908         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37909         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37910         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37911         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
37913 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37915         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
37916         old GNU extension [0] syntax.
37917         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
37918         alloca rather than an array member with variable length.
37919         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
37920         * nscd/nscd.c (invalidate_db): New function, broken out of ...
37921         (parse_opt): ... here.  Likewise use alloca there.
37922         Validate the -i argument before checking for rootness.
37923         (send_shutdown): New function, broken out of ...
37924         (parse_opt): ... here.
37926 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37928         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
37929         macro to get at the _rt_local_ro field.
37930         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
37931         ([PIC] case) or _dl_hwcap ([!PIC] case).
37932         * sysdeps/arm/setjmp.S: Likewise.
37934         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
37935         * sysdeps/arm/configure.ac: New check to define it.
37936         * sysdeps/arm/configure: Regenerated.
37937         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
37938         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
37939         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
37940         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
37941         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
37942         Use move/movt pair instead of a load.
37943         (LDST_GLOBAL): Macro removed.
37944         (LDR_GLOBAL): New macro replaces it.
37945         (LDR_HIDDEN): New macro.
37946         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
37947         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
37949         * setjmp/tst-setjmp-static.c: New file.
37950         * setjmp/Makefile (tests): Add it.
37951         (tests-static): New variable.
37953 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
37955         [BZ #17485]
37956         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
37958 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
37960         [BZ #14132]
37961         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
37963 2014-10-21  Roland McGrath  <roland@hack.frob.com>
37965         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
37967 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37969         * io/fts.c (dirent_not_directory): New function.
37970         (fts_build): Call it.
37972 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37974         * nptl/version.c (__nptl_main): Use normal __write rather than
37975         INTERNAL_SYSCALL.
37976         (banner): Update copyright years.
37978         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
37979         gettimeofday.
37980         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
37981         * nptl/pthread_cond_timedwait.c: Likewise.
37982         * nptl/pthread_mutex_timedlock.c: Likewise.
37983         * nptl/sem_timedwait.c: Likewise.
37985         * sysdeps/nptl/bits/libc-lock.h
37986         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37987         (__libc_lock_init_recursive): Return void, not 0.
37988         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
37989         (__libc_rwlock_init): Likewise.
37990         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
37992 2014-10-20  Torvald Riegel  <triegel@redhat.com>
37994         [BZ #15215]
37995         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
37996         (__pthread_once_slow): ... here.
37997         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
37998         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
38000 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38002         [BZ #15215]
38003         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
38004         __PTHREAD_ONCE_FORK_GEN_INCR): New.
38005         * sysdeps/nptl/fork.c (__libc_fork): Use them.
38006         * nptl/pthread_once.c (__pthread_once): Likewise.
38007         Update comments.
38009 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
38011         [BZ #14138]
38012         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
38013         name.
38014         (writev): Use __libc_writev as strong name.
38015         * sysdeps/unix/sysv/linux/readv.c: Remove file.
38016         * sysdeps/unix/sysv/linux/writev.c: Likewise.
38018 2014-10-17  Roland McGrath  <roland@hack.frob.com>
38020         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
38022         * sysdeps/i386/nptl/tls.h
38023         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
38024         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
38025         New macros.
38026         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
38027         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
38028         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
38029         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
38030         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
38031         Call CHECK_THREAD_SYSINFO instead of doing an assert.
38033         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
38034         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
38035         on [__NR_futex].
38036         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
38037         broken out of ...
38038         (__pthread_mutex_init): ... here.  Call it.
38039         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
38040         Conditionalize PI cases on [__NR_futex].
38041         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
38042         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
38043         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
38045         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
38046         conditional on [SIGSETXID].
38047         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
38048         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
38049         is defined.  Likewise for SIGSETXID.
38050         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
38051         Conditionalize definitions on [SIGSETXID].
38052         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
38053         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
38054         unblocking on [SIGCANCEL].
38056         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
38057         [__NR_set_robust_list].
38059 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38061         * string/strcoll_l.c (get_next_seq): Fix up formatting.
38062         (do_compare): Likewise.
38064 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
38066         [BZ #15884]
38067         * string/strcoll_l.c: Don't include stdio.h.
38068         (coll_seq): Remove members idxarr and rulearr.
38069         (get_next_seq_cached): Remove function.
38070         (get_next_seq): Likewise.
38071         (get_next_seq_nocache): Rename to get_next_seq.
38072         (do_compare): Remove function.
38073         (do_compare_nocache): Rename to do_compare.
38074         (STRCOLL): Remove weight and rules cache.
38076 2014-10-16  Roland McGrath  <roland@hack.frob.com>
38078         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
38079         * sysdeps/arm/sfp-machine.h: ... to here.
38080         * sysdeps/arm/Implies: Remove arm/soft-fp.
38082 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
38084         * conform/data/sys/utsname.h-data (*_t): Allow.
38085         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
38086         [POSIX] (WEXITED): Do not expect constant.
38087         [POSIX] (WSTOPPED): Likewise.
38088         [POSIX] (WNOHANG): Likewise.
38089         [POSIX] (WNOWAIT): Likewise.
38090         [POSIX] (siginfo_t): Do not expect type or elements.
38091         [POSIX] (pid_t): Do not expect type.
38092         [POSIX] (signal.h): Do not allow header.
38093         [POSIX] (sys/resource.h): Likewise.
38094         [POSIX] (si_*): Do not allow pattern.
38095         [POSIX] (W*): Likewise.
38096         [POSIX] (P_*): Likewise.
38097         [POSIX] (BUS_*): Likewise.
38098         [POSIX] (CLD_*): Likewise.
38099         [POSIX] (FPE_*): Likewise.
38100         [POSIX] (ILL_*): Likewise.
38101         [POSIX] (POLL_*): Likewise.
38102         [POSIX] (SEGV_*): Likewise.
38103         [POSIX] (SI_*): Likewise.
38104         [POSIX] (TRAP_*): Likewise.
38105         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
38106         variable.
38108 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
38110         [BZ #12926]
38111         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
38112         infinite loop when __recvmsg returns 0.
38114 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
38116         * CANCEL-FCT-WAIVE: Remove file.
38117         * CANCEL-FILE-WAIVE: Likewise.
38119         [BZ #14132]
38120         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
38121         instead of INTVARDEF.
38122         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38123         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
38124         rtld_hidden_data_def instead of INTVARDEF.
38125         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38126         * elf/dl-deps.c (expand_dst): Likewise.
38127         * elf/dl-load.c (_dl_dst_count): Likewise.
38128         (_dl_dst_substitute): Likewise.
38129         (decompose_rpath): Likewise.
38130         (_dl_init_paths): Likewise.
38131         (open_path): Likewise.
38132         (_dl_map_object): Likewise.
38133         * elf/rtld.c (dl_main): Likewise.
38134         (process_dl_audit): Likewise.
38135         (process_envvars): Likewise.
38136         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
38137         Remove declaration.
38138         (__libc_enable_secure): Use rtld_hidden_proto.
38140 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38142         * elf/dl-load.c
38143         (add_path): New function broken out of _dl_rtld_di_serinfo.
38144         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
38146 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38148         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
38149         parentheses around macro arguments.
38150         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
38151         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
38152         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
38153         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
38154         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
38155         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38156         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38157         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
38158         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
38159         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
38160         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
38161         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
38162         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
38163         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
38164         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
38165         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
38166         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
38167         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
38168         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
38169         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
38170         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
38171         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
38172         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
38173         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38174         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38175         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
38176         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
38177         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
38178         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
38179         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
38180         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
38181         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
38182         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
38183         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
38184         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
38185         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
38186         Likewise.
38187         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
38188         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38189         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38190         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
38191         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
38192         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
38193         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
38194         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
38195         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
38196         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
38197         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
38198         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
38199         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
38200         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
38201         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
38202         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38203         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38204         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
38205         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
38206         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
38207         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
38208         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
38209         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
38210         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
38211         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
38212         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
38213         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
38214         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
38215         (_FP_FRAC_SRS_1): Likewise.
38216         (_FP_FRAC_CLZ_1): Likewise.
38217         (_FP_MUL_MEAT_1_imm): Likewise.
38218         (_FP_MUL_MEAT_1_wide): Likewise.
38219         (_FP_MUL_MEAT_1_hard): Likewise.
38220         (_FP_SQRT_MEAT_1): Likewise.
38221         (_FP_FRAC_ASSEMBLE_1): Likewise.
38222         (_FP_FRAC_DISASSEMBLE_1): Likewise.
38223         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
38224         (__FP_CLZ_2): Likewise.
38225         (_FP_MUL_MEAT_2_wide): Likewise.
38226         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
38227         (_FP_MUL_MEAT_2_gmp): Likewise.
38228         (_FP_MUL_MEAT_2_120_240_double): Likewise.
38229         (_FP_SQRT_MEAT_2): Likewise.
38230         (_FP_FRAC_ASSEMBLE_2): Likewise.
38231         (_FP_FRAC_DISASSEMBLE_2): Likewise.
38232         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
38233         (_FP_FRAC_CLZ_4): Likewise.
38234         (_FP_MUL_MEAT_4_wide): Likewise.
38235         (_FP_MUL_MEAT_4_gmp): Likewise.
38236         (_FP_SQRT_MEAT_4): Likewise.
38237         (_FP_FRAC_ASSEMBLE_4): Likewise.
38238         (_FP_FRAC_DISASSEMBLE_4): Likewise.
38239         * soft-fp/op-common.h (_FP_CMP): Likewise.
38240         (_FP_CMP_EQ): Likewise.
38241         (_FP_CMP_UNORD): Likewise.
38242         (_FP_TO_INT): Likewise.
38243         (_FP_FROM_INT): Likewise.
38244         [!__FP_CLZ] (__FP_CLZ): Likewise.
38245         (_FP_DIV_HELP_imm): Likewise.
38246         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
38247         Likewise.
38248         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
38249         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
38250         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
38251         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
38252         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
38253         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38254         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38255         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
38256         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
38257         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
38258         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
38259         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
38260         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
38261         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
38262         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
38263         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
38264         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
38265         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
38266         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
38267         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
38268         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
38269         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
38270         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
38271         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38272         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38273         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
38274         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
38275         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
38276         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
38277         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
38278         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
38279         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
38280         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
38281         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
38282         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
38283         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
38284         (FP_UNPACK_RAW_SP): Likewise.
38285         (FP_PACK_RAW_S): Likewise.
38286         (FP_PACK_RAW_SP): Likewise.
38287         (FP_UNPACK_S): Likewise.
38288         (FP_UNPACK_SP): Likewise.
38289         (FP_UNPACK_SEMIRAW_S): Likewise.
38290         (FP_UNPACK_SEMIRAW_SP): Likewise.
38291         (FP_PACK_S): Likewise.
38292         (FP_PACK_SP): Likewise.
38293         (FP_PACK_SEMIRAW_S): Likewise.
38294         (FP_PACK_SEMIRAW_SP): Likewise.
38295         (_FP_SQRT_MEAT_S): Likewise.
38296         (FP_CMP_S): Likewise.
38297         (FP_CMP_EQ_S): Likewise.
38298         (FP_CMP_UNORD_S): Likewise.
38299         (FP_TO_INT_S): Likewise.
38300         (FP_FROM_INT_S): Likewise.
38302         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
38304         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
38305         (FP_EX_INVALID_IMZ): Likewise.
38306         (FP_EX_INVALID_IMZ_FMA): Likewise.
38307         (FP_EX_INVALID_ISI): Likewise.
38308         (FP_EX_INVALID_ZDZ): Likewise.
38309         (FP_EX_INVALID_IDI): Likewise.
38310         (FP_EX_INVALID_SQRT): Likewise.
38311         (FP_EX_INVALID_CVI): Likewise.
38312         (FP_EX_INVALID_VC): Likewise.
38313         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
38314         "invalid" exceptions.
38315         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
38316         (_FP_ADD_INTERNAL): Likewise.
38317         (_FP_MUL): Likewise.
38318         (_FP_FMA): Likewise.
38319         (_FP_DIV): Likewise.
38320         (_FP_CMP_CHECK_NAN): Likewise.
38321         (_FP_SQRT): Likewise.
38322         (_FP_TO_INT): Likewise.
38323         (FP_EXTEND): Likewise.
38325 2014-10-09  Allan McRae  <allan@archlinux.org>
38327         * po/fr.po: Update French translation from translation project.
38329 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38331         [BZ #14132]
38332         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
38333         of INTDEF.
38334         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
38335         (__cxa_atexit): Use libc_hidden_proto.
38336         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
38338         [BZ #14132]
38339         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
38340         declaration.
38341         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
38342         [!_ISOMAC] (__iswspace_l_internal): Likewise.
38343         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
38344         [!_ISOMAC] (__iswctype_internal): Likewise.
38345         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
38346         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
38347         alias.
38348         (fcntl): Remove __fcntl_internal alias.
38349         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
38350         __connect_internal alias.
38351         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
38352         Likewise.
38354         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
38355         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
38356         FP_DENORM_ZERO.
38357         (_FP_CHECK_FLUSH_ZERO): New macro.
38358         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
38359         (_FP_CMP): Likewise.
38360         (_FP_CMP_EQ): Likewise.
38361         (_FP_TO_INT): Do not set inexact for subnormal arguments if
38362         FP_DENORM_ZERO.
38363         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
38364         (FP_TRUNC): Likewise.
38366         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
38367         treated as invalid conversion, not as normal exponent.
38369         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
38370         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
38371         (_FP_CMP_EQ): Likewise.
38372         (_FP_CMP_UNORD): Likewise.
38373         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
38374         (FP_CMP_EQ_D): Likewise.
38375         (FP_CMP_UNORD_D): Likewise.
38376         * soft-fp/extended.h (FP_CMP_E): Likewise.
38377         (FP_CMP_EQ_E): Likewise.
38378         (FP_CMP_UNORD_E): Likewise.
38379         * soft-fp/quad.h (FP_CMP_Q): Likewise.
38380         (FP_CMP_EQ_Q): Likewise.
38381         (FP_CMP_UNORD_Q): Likewise.
38382         * soft-fp/single.h (FP_CMP_S): Likewise.
38383         (FP_CMP_EQ_S): Likewise.
38384         (FP_CMP_UNORD_S): Likewise.
38385         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
38386         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
38387         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
38388         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
38389         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
38390         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
38391         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
38392         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
38393         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
38394         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
38395         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
38396         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
38397         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
38398         to FP_CMP_Q.
38399         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
38400         FP_CMP_Q.
38401         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
38402         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
38403         FP_CMP_EQ_Q.
38404         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
38405         FP_CMP_Q.
38406         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
38407         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
38408         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
38409         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
38410         FP_CMP_EQ_Q.
38411         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
38412         FP_CMP_Q.
38413         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
38414         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
38415         FP_CMP_EQ_Q.
38416         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
38417         FP_CMP_Q.
38418         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
38419         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
38420         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
38421         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
38422         FP_CMP_EQ_Q.
38424         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
38425         a subnormal result, set the underflow exception if trapping on
38426         underflow is enabled.
38427         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
38428         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
38429         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
38430         redefine to 0.
38431         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
38432         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38433         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38434         * soft-fp/extendxftf2.c (__extendxftf2): Use
38435         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
38437         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
38438         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
38439         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38440         FP_HANDLE_EXCEPTIONS.
38441         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
38442         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38443         FP_HANDLE_EXCEPTIONS.
38444         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
38445         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38446         FP_HANDLE_EXCEPTIONS.
38447         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
38448         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38449         FP_HANDLE_EXCEPTIONS.
38451 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
38453         [BZ #14132]
38454         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
38455         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
38456         use INTUSE.
38457         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
38458         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
38459         Remove alias.
38460         (__adjtimex): Define using libc_hidden_ver.
38461         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
38462         Remove declaration.
38463         (ntp_gettime): Call __adjtimex directly.
38464         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
38465         Remove declaration.
38466         (ntp_gettimex): Call __adjtimex directly.
38467         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
38468         __adjtimex_internal alias.
38470 2014-10-08  Roland McGrath  <roland@hack.frob.com>
38472         [BZ #17460]
38473         * nscd/nscd.c (more_help): Rewrite list of tables collection
38474         using xstrdup and asprintf.
38476         * nscd/nscd_conf.c: Remove local xstrdup declaration.
38478 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38479             Roland McGrath  <roland@hack.frob.com>
38481         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
38482         (do_lookup_unique): ... local function 'enter' here; update callers.
38484 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
38486         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
38487         compat_symbol calls on [SHARED].
38488         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
38489         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
38490         Remove.
38491         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38492         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
38493         (oldsetrlimit): Remove.
38494         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38496         (lchown): New syscall entry.
38497         (oldsetrlimit): Remove.
38498         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38499         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
38500         (oldsetrlimit): Remove.
38501         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38503         [BZ #14138]
38504         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
38505         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
38506         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
38507         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
38508         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38509         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
38510         (fchown): Likewise.
38511         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
38512         (fchown): Likewise.
38513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
38514         Likewise.
38516 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38518         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
38519         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
38520         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
38521         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
38522         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
38523         Likewise.
38524         (__old_sem_post): Likewise.
38526 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
38528         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
38529         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
38530         HAVE_CLOCK_GETTIME_VSYSCALL macros.
38531         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
38532         Use INLINE_VSYSCALL macro.
38533         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
38534         __vdso_clock_gettime.
38535         * sysdeps/unix/sysv/linux/tile/init-first.c
38536         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
38537         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
38538         __vdso_clock_gettime.
38540         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
38541         to set up frame more cleanly.
38543         * sysdeps/tile/memcmp.c: New file.
38545         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
38547         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
38548         * sysdeps/tile/tilegx/strcasestr.c: New file.
38549         * sysdeps/tile/tilegx/strnlen.c: New file.
38550         * sysdeps/tile/tilegx/strstr.c: New file.
38552         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
38554 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
38556         * nptl/tst-setuid3.c: Write errors to stdout.
38558 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38560         * elf/dl-deps.c
38561         (preload): New functions broken out of _dl_map_object_deps.
38562         (_dl_map_object_deps):  Remove a nested function. Update call sites.
38564 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
38566         [BZ #14138]
38567         * sysdeps/unix/sysv/linux/execve.c: Remove file.
38568         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
38570 2014-10-01  Steve Ellcey  <sellcey@mips.com>
38572         * sysdeps/mips/strcmp.S: New.
38574 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
38576         [BZ #14138]
38577         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
38578         (linkat): Likewise.
38579         (mkdirat): Likewise.
38580         (readlinkat): Likewise.
38581         (renameat): Likewise.
38582         (symlinkat): Likewise.
38583         (unlinkat): Likewise.
38584         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
38585         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
38586         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
38587         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
38588         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
38589         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
38590         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
38592 2014-09-30  Will Newton  <will.newton@linaro.org>
38594         * math/math.h: Define long double math functions if
38595         _LIBC_TEST is defined.
38596         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
38598         * localedata/Makefile: Move assignment to tests-special
38599         into an ifdef testing run-built-tests.
38600         * timezone/Makefile: Likewise.
38602 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
38604         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
38605         with $(BASH) not $(SHELL).
38607 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
38608             Matthew LeGendre  <legendre1@llnl.gov>
38610         [BZ #17411]
38611         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
38612         l_reloc_result.
38614 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38616         * stdio-common/printf_fp.c
38617         (hack_digit): New function, broken out of ...
38618         (__printf_fp): ... local function here.  Update call sites.
38619         hack_digit now takes an additional parameter that is a pointer
38620         to a struct of the referenced locals.  Those locals moved inside
38621         the struct and references updated.
38623 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
38625         * aclocal.m4: Require autoconf 2.69.
38626         * configure: Regenerated.
38627         * sysdeps/aarch64/configure: Likewise.
38628         * sysdeps/alpha/configure: Likewise.
38629         * sysdeps/arm/armv7/configure: Likewise.
38630         * sysdeps/arm/configure: Likewise.
38631         * sysdeps/ia64/configure: Likewise.
38632         * sysdeps/mach/configure: Likewise.
38633         * sysdeps/mips/configure: Likewise.
38634         * sysdeps/s390/configure: Likewise.
38635         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
38636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
38638         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
38639         file.
38640         * sysdeps/ia64/configure.ac: Likewise.
38642 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
38644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
38645         specify symbol version for ld.so.  Do not include entry for
38646         libpthread.
38647         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38648         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38649         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38651         [BZ #14171]
38652         * Makeconfig [$(build-shared) = yes]
38653         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
38654         makefiles.
38655         [$(build-shared) = yes && $(soversions.mk-done) = t]
38656         ($(common-objpfx)gnu/lib-names.h): Remove rule.
38657         [$(build-shared) = yes && $(soversions.mk-done) = t]
38658         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
38659         to Makerules.
38660         [$(build-shared) = yes && $(soversions.mk-done) = t]
38661         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
38662         here.
38663         [$(build-shared) = yes && $(soversions.mk-done) = t]
38664         (common-generated): Don't append gnu/lib-names.h and
38665         gnu/lib-names.stmp here.
38666         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
38667         (lib-names-h-abi): New variable.
38668         [$(build-shared) = yes && $(soversions.mk-done) = t]
38669         (lib-names-stmp-abi): Likewise.
38670         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38671         abi-variants] (before-compile): Append
38672         $(common-objpfx)$(lib-names-h-abi).
38673         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38674         abi-variants] (common-generated): Append gnu/lib-names.h.
38675         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38676         abi-variants] (install-others-nosubdir): Depend on
38677         $(inst_includedir)/$(lib-names-h-abi).
38678         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38679         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
38680         [$(build-shared) = yes && $(soversions.mk-done) = t]
38681         ($(common-objpfx)$(lib-names-h-abi)): New rule.
38682         [$(build-shared) = yes && $(soversions.mk-done) = t]
38683         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
38684         [$(build-shared) = yes && $(soversions.mk-done) = t]
38685         (common-generated): Append $(lib-names-h-abi) and
38686         $(lib-names-stmp-abi).
38687         * scripts/lib-names.awk: Do not handle multi being set.
38688         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
38689         Remove variable.
38690         (abi-lp64_be-ld-soname): Likewise.
38691         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
38692         Likewise.
38693         (abi-hard-ld-soname): Likewise.
38694         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
38695         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
38696         Remove variable.
38697         (abi-o32_hard-ld-soname): Likewise.
38698         (abi-o32_soft_2008-ld-soname): Likewise.
38699         (abi-o32_hard_2008-ld-soname): Likewise.
38700         (abi-n32_soft-ld-soname): Likewise.
38701         (abi-n32_hard-ld-soname): Likewise.
38702         (abi-n32_soft_2008-ld-soname): Likewise.
38703         (abi-n32_hard_2008-ld-soname): Likewise.
38704         (abi-n64_soft-ld-soname): Likewise.
38705         (abi-n64_hard-ld-soname): Likewise.
38706         (abi-n64_soft_2008-ld-soname): Likewise.
38707         (abi-n64_hard_2008-ld-soname): Likewise.
38708         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
38709         Likewise.
38710         (abi-64-v2-ld-soname): Likewise.
38711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
38712         ld.so entries.
38713         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
38714         variable.
38715         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
38716         entry.
38717         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
38718         variable.
38719         (abi-64-ld-soname): Likewise.
38720         (abi-x32-ld-soname): Likewise.
38721         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
38722         entry.
38723         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38725 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
38727         [BZ #14138]
38728         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
38729         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
38730         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
38731         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
38732         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
38733         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
38734         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
38735         syscall entry for GLIBC_2.2 symbol version.
38736         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
38737         Likewise.
38738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38739         (setrlimit): Likewise.
38740         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
38741         Likewise.
38743 2014-09-23  Will Newton  <will.newton@linaro.org>
38745         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
38746         _LINUX_ARM_SYSDEP_H include guard too.
38747         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
38748         define.
38750 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38752         * sysdeps/unix/sysv/linux/eventfd.c:
38753         Make first argument unsigned.
38754         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
38755         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
38757 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
38759         [BZ #16852]
38760         * socket/recvmmsg.c (recvmmsg): Drop const argument.
38761         * socket/sys/socket.h: Likewise.
38762         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
38764 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38766         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
38768 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
38770         * time/tst-ftime.c: New test.
38771         * time/Makefile (tests): Add tst-ftime.
38773 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
38775         * soft-fp/extended.h: Fix comment formatting.
38776         * soft-fp/op-1.h: Likewise.
38777         * soft-fp/op-2.h: Likewise.
38778         * soft-fp/op-4.h: Likewise.
38779         * soft-fp/op-8.h: Likewise.
38780         * soft-fp/op-common.h: Likewise.
38781         * soft-fp/soft-fp.h: Likewise.
38783         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
38785 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
38787         [BZ #6652]
38788         * Makeconfig (soversions-default-setname): Remove variable.
38789         ($(common-objpfx)soversions.i): Don't pass default_setname to
38790         soversions.awk.
38791         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
38792         oldest_abi to abi-versions.awk.
38793         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
38794         * config.make.in (oldest-abi): Remove variable.
38795         * configure.ac (--enable-oldest-abi): Remove configure option.
38796         * configure: Regenerated.
38797         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
38798         text.
38799         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
38800         * scripts/soversions.awk: Do not handle default_setname variable.
38801         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
38802         variable.
38803         * sysdeps/mach/hurd/configure: Regenerated.
38804         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
38805         variable.
38806         * sysdeps/unix/sysv/linux/configure: Regenerated.
38808 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38810         * elf/Makefile (CFLAGS-interp.c): Remove.
38811         ($(elf-objpfx)runtime-linker.h): Generate header with linker
38812         path string.
38813         * elf/interp.c: Include generated runtime-linker.h
38815         * Makerules (lib%.so): Don't include $(+interp) in
38816         prerequisites.
38817         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
38818         * dlfcn/eval.c: Remove file.
38820         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
38821         macros.
38823         [BZ #17266]
38824         * misc/sys/cdefs.h: Define __extern_always_inline for clang
38825         4.2 and newer.
38827         [BZ #17370]
38828         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
38830 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38831             Jakub Jelinek  <jakub@redhat.com>
38833         [BZ #17266]
38834         * libio/stdio.h: Check definition of __fortify_function
38835         instead of __extern_always_inline to include bits/stdio2.h.
38836         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
38837         check if __extern_always_inline is defined.
38838         [__USE_MISC || __USE_XOPEN]: Likewise.
38839         [__USE_ISOC99] Likewise.
38840         * misc/sys/cdefs.h (__fortify_function): Define only if
38841         __extern_always_inline is defined.
38842         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
38843         __extern_always_inline and __extern_inline only for g++-4.3
38844         and newer or a compatible gcc.
38846 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
38848         [BZ #17371]
38849         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38850         last change to handle zero prefix length.
38852 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38854         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
38855         _SC_REGEX_VERSION.
38857         * posix/getconf.c (vars): Add _POSIX_IPV6 and
38858         _POSIX_RAW_SOCKETS.
38860 2014-09-13  Allan McRae  <allan@archlinux.org>
38862         * po/ru.po: Update Russian translation from translation project.
38864 2014-09-12  Roland McGrath  <roland@hack.frob.com>
38866         * locale/programs/locale.c (show_locale_vars): Inline local function
38867         into its sole call site.  Clean up some style nits.
38868         (print_item): New function, broken out of ...
38869         (show_info): ... local function here.  Clean up style nits.
38871         * locale/programs/ld-ctype.c (set_one_default): New function, broken
38872         out of ...
38873         (set_class_defaults): ... local function set_default here.
38874         Define set_default as a macro locally to pass constant parameters.
38875         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
38876         rather than a shared local.
38878         * stdlib/rpmatch.c (try): New function, broken out of ...
38879         (rpmatch): ... local function here.  Also, prototypify definition.
38881 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
38883         * scripts/soversions.awk: Do not handle configuration names.
38884         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
38885         vendor and os variables to soversions.awk.
38886         * configure.ac: Do not modify gnu-* host_os.
38887         * configure: Regenerated
38888         * shlib-versions: Remove first column with configuration names.
38889         * nptl/shlib-versions: Likewise.
38890         * nptl_db/shlib-versions: Likewise.
38891         * sysdeps/hppa/shlib-versions: Likewise.
38892         * sysdeps/m68k/shlib-versions: Likewise.
38893         * sysdeps/mach/hurd/shlib-versions: Likewise.
38894         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
38895         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
38896         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
38897         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
38898         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
38899         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
38900         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
38901         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
38902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38903         Likewise.
38904         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38905         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38906         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38907         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38908         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38909         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
38910         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38911         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38914         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
38915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38916         Regenerated.
38917         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
38918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38919         Condition symbol version definitions on [HAVE_ELFV2_ABI].
38921         * shlib-versions: Remove OS-specific entries.  Moved to files in
38922         sysdeps.
38923         * sysdeps/mach/hurd/shlib-versions: New file.
38924         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38926         * nptl/shlib-versions: Remove architecture-specific entries.
38927         Moved to files in sysdeps.
38928         * shlib-versions: Likewise.
38929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
38930         file.
38931         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38932         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38933         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38934         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38936         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
38937         (UDP_NO_CHECK6_RX): Likewise.
38939 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38941         * sysdeps/posix/sysconf.c (__sysconf): Spell
38942         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
38944 2014-08-12  Florian Weimer  <fweimer@redhat.com>
38946         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
38947         loading.
38948         * iconv/Versions (__gconv_transliterate): Export for use from
38949         gconv modules.
38950         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
38951         (struct __gconv_trans_data, __gconv_trans_fct,
38952         __gconv_trans_context_fct, __gconv_trans_query_fct,
38953         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
38954         definitions.
38955         (struct __gconv_step_data): Remove __trans member.
38956         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
38957         longer hidden.  Remove unused trans_data argument.
38958         * iconv/gconv_int.h (struct trans_struct): Remove definition.
38959         (__gconv_translit_find): Remove declaration.
38960         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
38961         prototype.
38962         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
38963         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
38964         trans_data argument.  Add hidden definition.
38965         (__gconv_translit_find): Remove.
38966         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
38967         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
38968         * iconv/skeleton.c: Remove transliteration initialization.
38969         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
38970         __gconv_step_data initialization.
38971         * libio/iofwide.c (__libio_translit_): Remove.
38972         (_IO_fwide): Adjust struct __gconv_step_data initialization.
38973         * wcsmbs/btowc.c (__btowc): Likewise.
38974         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38975         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38976         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
38977         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
38978         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
38979         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
38980         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
38981         * wcsmbs/wctob.c (wctob): Likewise.
38983 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38985         [BZ #16194]
38986         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
38987         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
38988         register usage.
38989         * sysdeps/x86/Makefile: Adjust.
38991 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38992             Roland McGrath  <roland@hack.frob.com>
38994         * locale/weight.h: Add include guard.
38995         (findidx): Make static rather than auto; take new parameters
38996         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
38997         * locale/weightwc.h: Likewise.
38998         * posix/fnmatch_loop.c
38999         (FCT): Change type of EXTRA from int32_t to wint_t.
39000         Don't include either header inside the function.
39001         Call FINDIDX rather than findidx, and pass new arguments.
39002         #undef FINDIDX at the end of the file.
39003         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
39004         FINDIDX before including fnmatch_loop.c for the non-wide version.
39005         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
39006         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
39007         for the wide version.
39008         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
39009         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
39010         Pass new arguments to findidx.
39011         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
39012         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
39013         Don't #include it inside the function.  Pass new arguments to findidx.
39014         * posix/regex_internal.h
39015         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
39016         (re_string_elem_size_at): Don't #include it inside the function.
39017         Pass new arguments to findidx.
39018         * string/strcoll_l.c: #include WEIGHT_H at top level.
39019         (get_next_seq): Don't #include it inside the function.
39020         Pass new arguments to findidx.
39021         (get_next_seq_nocache): Likewise.
39022         * string/strxfrm_l.c: #include WEIGHT_H at top level.
39023         (STRXFRM): Don't #include it inside the function.
39024         Pass new arguments to findidx.
39026 2014-09-11  Florian Weimer  <fweimer@redhat.com>
39028         [BZ #17344]
39029         * malloc/malloc.c (unlink): Turn asserts into a call to
39030         malloc_printerr.
39032 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
39034         [BZ #17370]
39035         * libio/wfileops (do_ftell_wide): Free OUT.
39037 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
39039         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
39041 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39043         [BZ #17363]
39044         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
39045         group if the current group is empty.
39047 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39049         * benchtests/bench-memset.c (test_main): Add more test from size
39050         from 32 to 512 bytes.
39051         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39052         Add POWER8 memset object.
39053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39054         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
39055         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
39056         implementation.
39057         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
39058         Likewise.
39059         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
39060         multiarch POWER8 memset optimization.
39061         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
39062         POWER8 memset optimization.
39064         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39065         Remove bzero multiarch objects.
39066         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
39067         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
39068         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
39069         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
39070         Remove define.
39071         [__bzero]: Redefine to specific name.
39072         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
39073         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
39074         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
39075         define.
39076         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39077         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39079 2014-09-10  Florian Weimer  <fweimer@redhat.com>
39081         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
39082         warnings into errors.
39084         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
39085         __cxa_thread_atexit_impl prototype.
39087 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39089         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
39090         Fix capitalization of error message.
39092 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39094         * sysdeps/mips/preconfigure: Modify ABI tests.
39096 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
39098         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
39100 2014-09-07  Roland McGrath  <roland@hack.frob.com>
39101             Carlos O'Donell  <carlos@systemhalted.org>
39103         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
39104         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
39105         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
39106         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
39107         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
39108         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
39109         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
39110         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
39111         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
39112         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
39113         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
39114         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
39115         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
39116         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
39117         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
39118         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
39119         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
39120         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
39121         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
39122         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
39123         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
39124         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
39125         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
39126         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
39127         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
39128         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
39129         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
39130         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
39131         Deconditionalize the code that was previously under [RESET_PID].
39132         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
39133         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
39134         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
39135         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
39136         include sysdep.h.
39138 2014-09-08  Allan McRae  <allan@archlinux.org>
39140         * version.h (RELEASE): Set to "development".
39141         (VERSION): Set to "2.20.90"
39143 2014-09-07  Allan McRae  <allan@archlinux.org
39145         * version.h (RELEASE): Set to "stable".
39146         (VERSION): Set to "2.20"
39147         * include/features.h (__GLIBC_MINOR__): Set to 20.
39149         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
39150         Liebler.
39152         * po/ko.po: Update Korean translation from translation project.
39154 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
39156         [BZ #17354]
39157         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
39158         macro for handling signed relocations.
39160 2014-09-03  Florian Weimer  <fweimer@redhat.com>
39162         [BZ #17325]
39163         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
39164         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
39165         assert.
39166         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
39167         * iconvdata/ibm935.c (BODY): Likewise.
39168         * iconvdata/ibm937.c (BODY): Likewise.
39169         * iconvdata/ibm939.c (BODY): Likewise.
39170         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
39171         assert.
39172         * iconvdata/Makefile (iconv-test.out): Pass module list to test
39173         script.
39174         * iconvdata/run-iconv-test.sh: New test loop for checking for
39175         decoder crashers.
39177 2014-09-02  Khem Raj  <raj.khem@gmail.com>
39179         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
39180         libm_hidden_ver.
39182 2014-09-01  Allan McRae  <allan@archlinux.org>
39184         * po/eo.po: Update Esperanto translation from translation project.
39186         * po/ca.po: Update Catalan translation from translation project.
39188 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39190         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
39191         __proc_dostop call.
39193 2014-08-27  Mark Wielaard  <mjw@redhat.com>
39195         [BZ #17319]
39196         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
39197         to call set_thread_area instead of hand written asm.
39198         (__NR_set_thread_area): Removed define.
39199         (TLS_FLAG_WRITABLE): Likewise.
39200         (__ASSUME_SET_THREAD_AREA): Remove check.
39201         (TLS_EBX_ARG): Remove define.
39202         (TLS_LOAD_EBX): Likewise.
39204 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39206         Simplify atomicity of socket creation in bind.
39208         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
39209         looking up the name after linking the file.
39211 2014-08-27  Allan McRae  <allan@archlinux.org>
39213         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39215 2014-08-26  Florian Weimer  <fweimer@redhat.com>
39217         [BZ #17187]
39218         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
39219         trans_compare, open_translit, __gconv_translit_find):
39220         Remove module loading code.
39222 2014-08-26  Allan McRae  <allan@archlinux.org>
39224         * po/vi.po: Update Vietnamese translation from translation project.
39226         * po/uk.po: Update Ukrainian translation from translation project.
39228         * po/fr.po: Update French translation from translation project.
39230         * po/ru.po: Update Russian translation from translation project.
39232         * po/pl.po: Update Polish translation from translation project.
39234         * po/cs.po: Update Czech translation from translation project.
39236         * po/de.po: Update German translation from translation project.
39238         * po/bg.po: Update Bulgarian translation from translation project.
39240         * po/sv.po: Update Sweedish translation from translation project.
39242         * po/nl.po: Update Dutch translation from translation project.
39244         * po/es.po: Update Spanish translation from translation project.
39246 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39248         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
39250         * catgets/Makefile (CPPFLAGS-gencat): Remove.
39251         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
39252         (CPPFLAGS-iconvconfig): Likewise.
39253         * timezone/Makefile (CPPFLAGS-zic): Likewise.
39255         * include/libc-symbols.h: Remove unnecessary check for
39256         NOT_IN_libc.
39257         * nptl/pthreadP.h: Likewise.
39258         * sysdeps/aarch64/setjmp.S: Likewise.
39259         * sysdeps/alpha/setjmp.S: Likewise.
39260         * sysdeps/arm/sysdep.h: Likewise.
39261         * sysdeps/i386/setjmp.S: Likewise.
39262         * sysdeps/m68k/setjmp.c: Likewise.
39263         * sysdeps/posix/getcwd.c: Likewise.
39264         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39265         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39266         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39267         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39268         * sysdeps/sh/sh3/setjmp.S: Likewise.
39269         * sysdeps/sh/sh4/setjmp.S: Likewise.
39270         * sysdeps/unix/alpha/sysdep.h: Likewise.
39271         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39272         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39273         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39274         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39277         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39278         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39279         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39280         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39281         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39282         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39284         * sysdeps/x86_64/setjmp.S: Likewise.
39286 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
39288         [BZ #17263]
39289         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
39290         <stdint.h>.
39291         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
39292         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
39294 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39296         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
39298         [BZ #17262]
39299         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
39300         and __x86_64__ when disabling x87 inline functions.
39302 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
39304         [BZ #17259]
39305         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
39306         asm statement with __cpuid_count.
39308 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
39310         * configure.ac: Change __ehdr_start code to dereference the struct.
39311         Run readelf on the output to look for relocations.
39312         * configure: Regenerated.
39314 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
39316         [BZ #17261]
39317         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
39318         value to 0.
39319         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
39321 2014-08-12  Roland McGrath  <roland@hack.frob.com>
39323         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
39325 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
39327         [BZ #16892]
39328         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
39329         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
39331 2014-08-12  Sean Anderson  <seanga2@gmail.com>
39333         * malloc/malloc.c: Fix typo in comment.
39335 2014-08-09  Allan McRae  <allan@archlinux.org>
39337         * Regenerate libc.po.
39339 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
39341         * intl/tst-gettext2.sh: Check every lang file for creation.
39343 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39345         * sysdeps/aarch64/fpu/math_private.h
39346         (libc_feholdsetround_noex_aarch64_ctx): New function.
39348 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39350         * sysdeps/arm/armv6/strcpy.S (strcpy):
39351         Fix performance issue in misaligned cases.
39353 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39355         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
39356         Move definition from termios.h.
39357         (struct termio): Likewise.
39358         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39359         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39360         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39361         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39362         Likewise.
39363         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
39364         Move definition to ioctl-types.h
39365         (struct termio): Likewise.
39366         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39367         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39368         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39369         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39370         Likewise.
39372 2014-08-05  Richard Henderson  <rth@redhat.com>
39374         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
39375         exceptions.
39376         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
39377         Add fraiseexcpt.
39378         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
39379         Use __feraiseexcept.
39380         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
39381         Protect libm symbols with IS_IN_libm.
39383         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
39385 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
39387         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
39389 2014-08-04  Will Newton  <will.newton@linaro.org>
39391         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
39392         file.
39394 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
39396         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
39397         variants for each function.
39399 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39401         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
39402         appended ...
39403         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
39404         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
39405         appended ...
39406         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
39407         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
39408         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
39409         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
39410         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
39411         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
39412         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
39413         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
39414         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
39415         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
39416         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
39417         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
39418         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
39419         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
39420         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
39421         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
39422         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
39423         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
39424         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
39425         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
39426         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
39427         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
39428         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
39429         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
39430         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
39431         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
39432         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
39433         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
39434         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
39435         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
39436         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
39437         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
39438         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
39439         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
39440         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
39441         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
39442         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
39443         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
39444         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
39445         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
39446         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
39447         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
39448         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
39449         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
39450         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
39451         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
39452         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
39453         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
39454         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
39455         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
39456         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
39457         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
39458         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
39459         Update #include.
39460         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
39461         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
39463 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39465         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
39466         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
39467         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
39468         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
39469         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
39470         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
39472 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39474         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
39475         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
39476         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39477         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
39479 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39481         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
39482         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
39483         (__libc_vfork): Define function under this name.
39484         (__vfork): Define as an alias.
39485         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
39486         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
39488 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39490         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
39491         that was previously under [RESET_PID].
39492         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
39494 2014-08-04  Andreas Schwab  <schwab@suse.de>
39496         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
39498 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
39500         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
39501         (main): Likewise.
39503 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39505         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
39507 2014-08-01  Richard Henderon  <rth@redhat.com>
39509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
39510         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
39511         typo in exact zero test.
39512         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39513         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39514         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39516 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39518         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
39519         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
39520         * sysdeps/arm/sysdep.h: ... here.
39521         [!__ASSEMBLER__]: Include <stdint.h>.
39523 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39525         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
39526         (HAVE_WCTYPE_H): Likewise.
39527         (HAVE_ISWCTYPE): Likewise.
39528         (ENABLE_NLS): Likewise.
39529         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
39530         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
39532         * posix/regex_internal.c: Check if DEBUG is defined and is
39533         set.
39535         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
39536         (HAVE_MBSRTOWCS): Likewise.
39537         * posix/fnmatch.c: Include string.h unconditionally.
39539 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39541         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
39542         reversal.
39544 2014-07-31  Roland McGrath  <roland@hack.frob.com>
39546         * sysdeps/generic/safe-fatal.h: New file.
39547         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
39548         * nptl/forward.c: Include it.
39549         (__pthread_unwind): Use __safe_fatal as default action, rather
39550         than a bogus use of INTERNAL_SYSCALL that could never work.
39552         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
39553         * configure.ac (libc_cv_builtin_trap): New test.
39554         * configure: Regenerated.
39555         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
39556         (ABORT_INSTRUCTION): Define using __builtin_trap.
39558         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
39559         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
39560         * sysdeps/nptl/nptl-signals.h: New file.
39561         * nptl/pthreadP.h: Include <nptl-signals.h>.
39563 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39565         * sysdeps/s390/s390-64/utf16-utf32-z9.c
39566         (ONE_DIRECTION): Define.
39567         * sysdeps/s390/s390-64/utf8-utf16-z9.c
39568         (ONE_DIRECTION): Define.
39569         * sysdeps/s390/s390-64/utf8-utf32-z9.c
39570         (ONE_DIRECTION): Define.
39572 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39574         * sysdeps/s390/Makefile: Delete file.
39575         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
39576         * sysdeps/s390/__longjmp.c: Delete file.
39577         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
39578         Remove fields __flags and __reserved.
39579         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
39580         and add versioning.
39581         * sysdeps/s390/rtld-__longjmp.c: Delete file.
39582         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
39583         * sysdeps/s390/rtld-setjmp.S: Likewise.
39584         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
39585         * sysdeps/s390/s390-32/__longjmp.c: ... here.
39586         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
39587         * sysdeps/s390/s390-32/setjmp.S: ... here.
39588         Add versioning.
39589         (__sigsetjmp): Remove setting __flags field.
39590         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
39591         * sysdeps/s390/s390-64/__longjmp.c: ... here.
39592         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
39593         * sysdeps/s390/s390-64/setjmp.S: ... here.
39594         Add versioning.
39595         (__sigsetjmp): Remove setting __flags field.
39596         * sysdeps/s390/setjmp.S: Delete file.
39597         * sysdeps/s390/sigjmp.c: Likewise.
39598         * sysdeps/s390/v1-longjmp.c: Likewise.
39599         * sysdeps/s390/v1-setjmp.h: Likewise.
39600         * sysdeps/s390/v1-sigjmp.c: Likewise.
39601         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
39602         Remove v1-longjmp_chk.
39603         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
39604         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
39605         Include debug/longjmp_chk.c and add versioning.
39606         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
39607         Include nptl/pt-longjmp.c and add versioning.
39608         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
39609         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
39610         Include __longjmp.c.
39611         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39612         Move to ...
39613         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
39614         (__getcontext): Remove setting __flags field.
39615         Add versioning.
39616         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39617         Don't restore upper high grps.
39618         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
39619         Likewise.
39620         (__swapcontext): Remove setting uc_flags field.
39621         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
39622         Delete file.
39623         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39624         Include __longjmp.c.
39625         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39626         Move to ...
39627         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
39628         (__getcontext): Remove setting __flags field.
39629         Add versioning.
39630         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
39631         (__swapcontext): Remove setting uc_flags field.
39632         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
39633         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
39634         Remove fields uc_high_gprs and __reserved.
39635         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
39636         New file with reverted content.
39637         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
39638         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
39639         Regenerated.
39640         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
39641         Regenerated.
39643 2014-07-31  Andreas Schwab  <schwab@suse.de>
39645         * config.h.in (HAVE_IFUNC): Define to 0.
39646         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
39647         definedness.
39649 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
39651         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39652         memmove-avx-unaligned, memcpy-avx-unaligned and
39653         mempcpy-avx-unaligned.
39654         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39655         Add tests for AVX memcpy functions.
39656         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
39657         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
39658         memcpy_chk.
39659         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
39660         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
39661         memmove_chk.
39662         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
39663         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
39664         mempcpy_chk.
39665         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
39666         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
39667         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
39669 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39671         [BZ #17213]
39672         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
39673         powerpc64le.
39675 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
39677         [BZ #16839]
39678         * manual/llio.texi: Add section about open file description locks.
39679         * manual/examples/ofdlocks.c: Example of open file description
39680         lock usage.
39681         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
39682         F_OFD_SETLK, and F_OFD_SETLKW.
39684 2014-07-23  Allan McRae  <allan@archlinux.org>
39686         * po/es.po: Update Spanish translation from translation project.
39688 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
39690         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
39692 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
39694         [BZ #17078]
39695         * sysdeps/arm/dl-machine.h (elf_machine_rela)
39696         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
39697         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
39699 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
39701         [BZ #17088]
39702         * math/fesetenv.c (__fesetenv)
39703         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
39704         * math/feupdateenv.c (__feupdateenv)
39705         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
39707         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
39708         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39709         (__ASSUME_SOCKETCALL): Do not define.
39711         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
39712         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
39713         (__ASSUME_SOCKETCALL): Do not define.
39714         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
39715         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39716         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39717         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39718         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39719         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
39720         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39721         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39723         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
39724         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
39725         (__ASSUME_SOCKETCALL): Do not define.
39726         (__ASSUME_IPC64): Define unconditionally.
39727         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39728         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39729         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39730         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39731         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
39732         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39733         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
39734         Likewise.
39736         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
39737         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
39738         (__ASSUME_SOCKETCALL): Do not define.
39739         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
39740         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39741         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39742         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39743         (__ASSUME_REQUEUE_PI): Define unconditionally.
39744         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
39745         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
39746         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39747         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
39748         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39749         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39751         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
39752         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
39753         (__ASSUME_SOCKETCALL): Do not define.
39754         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
39755         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39756         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39757         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
39758         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39759         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39761         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
39762         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
39763         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39764         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
39765         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39766         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
39767         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39768         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
39769         (__ASSUME_GETCPU_SYSCALL): Likewise.
39771         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
39772         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
39773         cases for individual architectures.
39774         * sysdeps/gnu/configure: Regenerated.
39775         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
39776         LIBC_SLIBDIR_RTLDDIR.
39777         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
39778         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
39779         LIBC_SLIBDIR_RTLDDIR.
39780         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
39781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
39782         LIBC_SLIBDIR_RTLDDIR.
39783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39784         Regenerated.
39785         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
39786         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
39787         file.
39788         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
39789         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
39790         file.
39791         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
39792         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
39793         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
39794         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
39796         * sysdeps/aarch64/shlib-versions: Move to ...
39797         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
39798         * sysdeps/alpha/shlib-versions: Move to ...
39799         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
39800         * sysdeps/arm/shlib-versions: Move to ...
39801         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
39802         * sysdeps/hppa/shlib-versions: Move all contents except for
39803         libgcc_s entry to ...
39804         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
39805         entry from ...
39806         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
39807         * sysdeps/ia64/shlib-versions: Move to ...
39808         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
39809         entry from ...
39810         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
39811         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
39812         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
39813         * sysdeps/microblaze/shlib-versions: Move to ...
39814         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
39815         * sysdeps/mips/shlib-versions: Move to ...
39816         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
39817         entry from ...
39818         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
39819         * sysdeps/tile/shlib-versions: Move to ...
39820         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
39821         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
39822         from ...
39823         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
39824         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
39825         entry from ...
39826         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
39828 2014-07-17  Will Newton  <will.newton@linaro.org>
39830         * sysdeps/arm/bits/atomic.h
39831         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
39832         (__arch_compare_and_exchange_bool_16_int): Likewise.
39833         (__arch_compare_and_exchange_bool_64_int): Likewise.
39835         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
39836         into an #else block.
39838 2014-07-16  Roland McGrath  <roland@hack.frob.com>
39840         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
39841         just Linux configurations.  Test empirically that the compiler sets
39842         __ARM_EABI__, rather than using the tuple to decide.
39843         * sysdeps/arm/preconfigure: Regenerated.
39844         * sysdeps/unix/sysv/linux/arm/configure: File removed.
39845         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
39846         contents appended ...
39847         * sysdeps/arm/configure.ac: ... here.
39848         * sysdeps/arm/configure: Regenerated.
39850 2014-07-15  Roland McGrath  <roland@hack.frob.com>
39852         * nptl/pthread_kill.c: New file.
39853         * nptl/pthread_sigmask.c: New file.
39854         * nptl/pthread_sigqueue.c: New file.
39856         * sysdeps/nptl/lowlevellock.h: New file.
39857         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
39858         * sysdeps/nptl/lowlevellock-futex.h: New file.
39860         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
39861         Remove dead declarations.
39863 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
39865         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
39866         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
39867         config-cflags-avx2.
39868         * sysdeps/x86_64/configure.ac: Likewise.
39869         * sysdeps/i386/configure: Regenerated.
39870         * sysdeps/x86_64/configure: Likewise.
39871         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39872         memset-avx2 only if config-cflags-avx2 is yes.
39873         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39874         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
39875         defined.
39876         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
39877         only if HAVE_AVX2_SUPPORT is defined.
39878         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39880 2014-07-14  Alan Modra  <amodra@gmail.com>
39882         [BZ #17153]
39883         * elf/elf.h (DT_PPC64_NUM): Correct value.
39884         * NEWS: Add to fixed bug list.
39886 2014-07-13  Jim Meyering  <meyering@fb.com>
39888         [BZ 17150]
39889         regex: don't deref NULL upon heap allocation failure
39890         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
39891         failure in one more place.
39892         To trigger the segfault, configure grep -with-included-regex,
39893         build it, and run these commands:
39894         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
39896 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
39898         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39900 2014-07-11  Richard Henderson  <rth@redhat.com>
39902         * sysdeps/aarch64/libm-test-ulps: Update.
39904 2014-07-10  Florian Weimer  <fweimer@redhat.com>
39906         [BZ #17135]
39907         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
39908         * nptl/allocatestack.c (__nptl_setxid_error): New function.
39909         (__nptl_setxid): Initialize error member.  Call
39910         __nptl_setxid_error.
39911         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
39912         * nptl/descr.h (struct xid_command): Add error member.
39913         * nptl/tst-setuid3.c: New file.
39914         * nptl/Makefile (tests): Add it.
39916 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39918         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
39919         New define.
39920         (__lll_trylock): Use __lll_base_trylock.
39921         (__lll_cond_trylock): Likewise.
39923 2014-07-10  Roland McGrath  <roland@hack.frob.com>
39925         * nptl/pthread_create.c (start_thread): Use atomic_or and
39926         lll_futex_wake directly rather than lll_robust_dead.
39927         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39928         (lll_robust_dead): Macro removed.
39929         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
39930         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39931         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39932         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39933         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39934         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39935         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39936         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39937         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39938         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39939         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39940         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39941         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39942         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39943         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39945         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
39946         Use atomic_compare_and_exchange_val_acq directly rather than
39947         lll_robust_trylock.
39948         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39949         (__lll_robust_trylock, lll_robust_trylock): Removed.
39950         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39951         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39952         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39953         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39954         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39955         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39956         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39957         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39958         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39959         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39960         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39961         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39962         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39963         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39965 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39967         * manual/locale.texi (Locale Names): New section documenting
39968         locale name syntax.  Adjust menu and node chaining accordingly.
39969         (Choosing Locale): Reference Locale Names, Locale Categories.
39970         Mention setting LC_ALL=C.  Reflect that name syntax is now
39971         documented.
39972         (Locale Categories): New section title.  Reference Locale Names.
39973         LC_ALL is an environment variable, but not a category.
39974         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
39975         description, now in Locale Name.  Reference that section.  Locale
39976         name syntax is now documented.
39978 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39980         [BZ #17137]
39981         * locale/findlocale.c (name_present, valid_locale_name): New
39982         functions.
39983         (_nl_find_locale): Use the loc_name variable to store name
39984         candidates.  Call name_present and valid_locale_name to check and
39985         validate locale names.  Return an error if the locale is invalid.
39987 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39989         * locale/setlocale.c (setlocale): Use strdup for allocating
39990         composite name copy.
39992 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39994         Sync up with gnulib.
39995         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
39996         [!_LIBC && ENABLE_NLS]: Include gettext.h.
39997         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
39998         and _GL_ARG_NONNULL.
39999         [USE_UNLOCKED_IO]: Include unlocked-io.h.
40000         [!_LIBC]: Include code for Windows and Cygwin.
40001         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
40002         Include prototype for int strerror_r.
40003         [!_LIBC] (is_open): New function.
40004         (flush_stdout): New function.
40005         (print_errno_message): Use it.
40006         (error): Likewise.
40007         (error_at_line): Likewise.
40008         (error_tail) Add function attribute macros.  Use
40009         __builtin_expect.
40011         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
40013         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
40015         * io/ftw.c: Include sys/param.h unconditionally.
40017         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
40019         [BZ #17125]
40020         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
40021         libc_freeres_ptr.
40022         (freecache): New function to free CACHE on exit.
40024         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
40025         initialization.
40027 2014-07-09  David S. Miller  <davem@davemloft.net>
40029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40031         * sysdeps/sparc/nptl/internaltypes.h: Delete.
40032         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
40033         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
40034         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
40035         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
40036         * sysdeps/sparc/nptl/sem_init.c: Likewise.
40037         * sysdeps/sparc/nptl/sem_post.c: Likewise.
40038         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
40039         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
40040         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
40041         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
40042         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
40043         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
40045 2014-07-09  Andreas Schwab  <schwab@suse.de>
40047         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
40048         output.
40049         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
40050         (do_test): Likewise.
40052         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40054 2014-07-09  Will Newton  <will.newton@linaro.org>
40056         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
40057         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
40058         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
40059         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
40060         * sysdeps/hppa/start.S (_start): Likewise.
40062 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40064         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
40066         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
40067         defined.
40069 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40071         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
40072         after checking that it is non-NULL.
40074         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
40076 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40078         * sysdeps/powerpc/memmove.c: Remove file.
40079         * sysdeps/powerpc/powerpc32/power4/memcopy.h
40080         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
40081         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40082         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
40083         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
40084         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
40085         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
40086         string memmove instead of removed powerpc one.
40088         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40089         [weak_alias]: Fix compiler warning due trailing data.
40090         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
40091         [weak_alias]: Likewise.
40092         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
40093         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
40095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40096         (__libc_ifunc_impl_list): Add memmove functions.
40098 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40100         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
40101         Remove code.
40102         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
40103         Likewise.
40104         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
40105         Likewise.
40106         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
40107         Likewise.
40108         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
40109         Likewise.
40110         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
40111         Likewise.
40112         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
40113         Likewise.
40114         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
40115         Likewise.
40116         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
40117         Likewise.
40118         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
40119         Likewise.
40120         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
40121         Likewise.
40122         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
40123         Likewise.
40124         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
40125         Likewise.
40126         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
40127         Likewise.
40128         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
40129         Likewise.
40130         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
40131         Likewise.
40132         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
40133         Likewise.
40135 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40137         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
40138         to avoid alignment traps in non-cacheable memory.
40139         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40141         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
40142         multiarch objects.
40143         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
40144         file: multiarch power7 memmove.
40145         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
40146         multiarch default memmove.
40147         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
40148         multiarch memove for powerpc32/power4.
40150         * string/bcopy.c: Use full path to include memmove.c.
40151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
40152         multiarch objects.
40153         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
40154         bcopy for powerpc64.
40155         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
40156         bcopy for powerpc64.
40157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
40158         and memmove implementations.
40159         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
40160         optimized multiarch memmove for POWER7/powerpc64.
40161         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
40162         default multiarch memmove for powerpc64.
40163         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
40164         multiarch for powerpc64.
40165         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
40166         for POWER7/powerpc64.
40167         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
40168         memmove for POWER7/powerpc64.
40170         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
40171         glibc default one.
40173         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
40174         __ELF_NATIVE_CLASS equal to 64.
40176 2014-07-07  Roland McGrath  <roland@hack.frob.com>
40178         * sysdeps/nptl/lowlevellock.h: File removed.
40180         * NEWS: NPTL is no longer an add-on!
40181         * nptl/internaltypes.h: Moved ...
40182         * sysdeps/nptl/internaltypes.h: ... here.
40183         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
40184         * sysdeps/nptl/fork.c: Likewise.
40185         * sysdeps/nptl/gai_misc.h: Likewise.
40186         * sysdeps/nptl/librt-cancellation.c: Likewise.
40187         * sysdeps/nptl/jmp-unwind.c: Likewise.
40188         * sysdeps/nptl/setxid.h: Likewise.
40189         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
40190         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
40191         * sysdeps/unix/sysv/linux/arm/Implies: New file.
40192         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
40193         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
40194         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
40195         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
40196         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
40197         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
40198         * sysdeps/unix/sysv/linux/mips/Implies: New file.
40199         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
40200         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
40201         * sysdeps/unix/sysv/linux/sh/Implies: New file.
40202         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
40203         * sysdeps/unix/sysv/linux/tile/Implies: New file.
40204         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
40205         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
40206         * nptl/Makeconfig: Moved ...
40207         * sysdeps/nptl/Makeconfig: ... here.
40208         * nptl/configure: File removed.
40209         * nptl/ANNOUNCE: File removed.
40210         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
40211         * sysdeps/unix/sysv/linux/configure: Regenerated.
40213         * nptl/Makefile (routines): Add libc_pthread_init,
40214         libc_multiple_threads, register-atfork and unregister-atfork.
40215         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
40216         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
40217         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
40218         pthread-pi-defines.sym, structsem.sym.
40219         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
40220         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
40221         [$(subdir) = nptl] (tests): Add tst-setgetname.
40222         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
40223         * sysdeps/unix/sysv/linux/sigaction.c: Just include
40224         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
40225         [!LIBC_SIGACTION]: Remove aliases.
40226         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40227         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40228         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40229         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
40230         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40231         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
40232         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40233         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40234         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40235         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
40236         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
40237         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
40238         __libc_allocate_rtsig_private.
40239         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
40240         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
40241         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
40242         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
40243         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
40244         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
40245         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
40246         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
40247         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
40248         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
40249         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
40250         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
40251         * nptl/internaltypes.h: ... here.
40252         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
40253         * sysdeps/nptl/jmp-unwind.c: ... here.
40254         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
40255         * nptl/libc-lowlevellock.c: ... here.
40256         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
40257         * nptl/libc_multiple_threads.c: ... here.
40258         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
40259         * nptl/libc_pthread_init.c: ... here.
40260         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
40261         * nptl/lowlevelbarrier.sym: ... here.
40262         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
40263         * nptl/lowlevelcond.sym: ... here.
40264         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
40265         * nptl/lowlevellock.c: ... here.
40266         * nptl/lowlevellock.h: Moved ...
40267         * sysdeps/nptl/lowlevellock.h: ... here.
40268         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
40269         * nptl/lowlevelrobustlock.c: ... here.
40270         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
40271         * nptl/lowlevelrobustlock.sym: ... here.
40272         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
40273         * nptl/lowlevelrwlock.sym: ... here.
40274         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
40275         * nptl/pt-fork.c: ... here.
40276         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
40277         * nptl/pthread-pi-defines.sym: ... here.
40278         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
40279         * nptl/pthread_attr_getaffinity.c: ... here.
40280         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
40281         * nptl/pthread_attr_setaffinity.c: ... here.
40282         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
40283         * nptl/pthread_mutex_cond_lock.c: ... here.
40284         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
40285         Update #include.
40286         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
40287         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
40288         * nptl/pthread_once.c: ... here, replacing old file.
40289         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
40290         * nptl/pthread_yield.c: ... here.
40291         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
40292         * nptl/register-atfork.c: ... here.
40293         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
40294         * nptl/sem_post.c: ... here.
40295         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
40296         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
40297         * nptl/sem_timedwait.c: ... here.
40298         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
40299         * nptl/sem_trywait.c: ... here.
40300         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
40301         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
40302         * nptl/sem_wait.c: ... here.
40303         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
40304         * nptl/structsem.sym: ... here.
40305         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
40306         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
40307         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
40308         * nptl/unregister-atfork.c: ... here.
40309         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
40310         * nptl/unwindbuf.sym: ... here.
40311         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
40312         * sysdeps/nptl/fork.c: ... here.
40313         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
40314         * sysdeps/nptl/fork.h: ... here.
40315         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
40316         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
40317         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
40318         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
40319         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
40320         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
40321         * sysdeps/unix/sysv/linux/getpid.c: ... here.
40322         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
40323         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
40324         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
40325         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
40326         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
40327         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
40328         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
40329         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
40330         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
40331         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
40332         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
40333         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
40334         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
40335         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
40336         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
40337         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
40338         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
40339         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
40340         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
40341         * sysdeps/unix/sysv/linux/raise.c: ... here.
40342         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
40343         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
40344         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
40345         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
40346         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
40347         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
40348         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
40349         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
40350         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
40351         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
40352         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
40353         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
40354         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
40355         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
40356         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
40358 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40360         * sysdeps/generic/memcopy.h: Add comment for
40361         MEMCPY_OK_FOR_FWD_MEMMOVE.
40363 2014-07-04  Will Newton  <will.newton@linaro.org>
40365         * string/memchr.c: Merge from gnulib.
40366         [_LIBC]: Remove conditionals.
40367         (__ptr_t): Remove define.
40368         (LONG_MAX_32_BITS): Likewise.
40369         (LONG_MAX): Likewise.
40370         (MEMCHR): Use ANSI prototype and optimize algorithm.
40372         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
40374 2014-07-03  Roland McGrath  <roland@hack.frob.com>
40376         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
40377         (lll_futex_timed_wait_bitset): Fix syscall argument count.
40379         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
40380         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
40381         in a bare environment with no <stdlib.h> installed.
40382         * sysdeps/nptl/configure: Regenerated.
40384         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
40386         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
40387         AC_EGREP_CPP for kernel header checks, so they only succeed if
40388         including <linux/version.h> actually works right.
40389         * sysdeps/unix/sysv/linux/configure: Regenerated.
40391         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
40392         value so it's not diagnosed as unused.
40394         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
40395         thing) with "ifeq ($(subdir),rt)".
40397 2014-07-03  Richard Henderson  <rth@redhat.com>
40399         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
40400         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
40401         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
40403         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
40404         (math_force_eval): New.
40406         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
40407         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
40409         * sysdeps/alpha/fpu/s_round.c: Remove file.
40410         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
40412         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
40413         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
40414         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
40415         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
40416         (_dl_start, print_statistics): Likewise.
40417         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
40418         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
40420         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40421         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40422         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40423         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40424         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40425         (HP_SMALL_TIMING_AVAIL): Define.
40426         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40427         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40428         (HP_SMALL_TIMING_AVAIL): Define.
40429         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40430         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40432         * sysdeps/aarch64/hp-timing.h: New file.
40434         * sysdeps/generic/hp-timing.h: Remove dead comment.
40435         * sysdeps/generic/hp-timing-common.h: New file.
40436         * sysdeps/alpha/hp-timing.h: Include it.
40437         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
40438         * sysdeps/i386/i686/hp-timing.h: Likewise.
40439         * sysdeps/ia64/hp-timing.h: Likewise.
40440         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40441         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40442         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40443         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40444         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
40445         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
40446         (hp_timing_t): New.
40448         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
40449         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
40450         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
40451         * elf/rtld.c (_dl_start_final): Likewise.
40452         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
40453         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40454         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40455         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40456         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40457         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40458         (HP_TIMING_DIFF_INIT): Remove.
40459         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40460         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40461         (HP_TIMING_DIFF_INIT): Remove.
40462         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40463         * sysdeps/i386/i686/hp-timing.c: Remove file.
40464         * sysdeps/x86_64/hp-timing.c: Remove file.
40465         * sysdeps/ia64/hp-timing.c: Remove file.
40466         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
40467         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
40468         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
40469         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
40471         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
40472         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
40473         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
40474         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40475         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40476         (HP_TIMING_ACCUM): Remove.
40477         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40478         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
40479         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40481         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
40482         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
40483         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
40484         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
40485         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
40486         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40487         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
40488         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40490         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
40492 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
40494         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
40496 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40498         Sync up with gettext.
40499         * intl/loadmsgcat.c: Define O_BINARY if not defined.
40500         [_MSC_VER]: Include malloc.h
40501         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
40502         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
40503         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
40504         TEMP_FAILURE_RETRY.  Cast return of alloca.
40505         [!_LIBC] Call gl_rwlock_init.
40506         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
40508 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40510         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
40511         before checking its value.
40513 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40515         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
40517         * debug/memcpy_chk.c: Don't include pagecopy.h.
40518         * debug/mempcpy_chk.c: Likewise.
40519         * string/memcpy.c: Likewise.
40520         * string/memmove.c: Likewise.
40521         * sysdeps/powerpc/memmove.c: Likewise.
40522         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
40523         definition of PAGE_COPY_FWD_MAYBE here...
40524         * sysdeps/generic/pagecopy.h: ... from here.
40525         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
40527 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40528             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40530         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
40531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
40532         optimizations.
40533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40534         (__libc_ifunc_impl_list): Likewise.
40535         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
40536         multiarch strcat for PPC64.
40537         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
40538         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
40540 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40542         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
40544 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40546         * intl/loadmsgcat.c: Remove declaration of
40547         get_sysdep_segment_value.
40548         (get_sysdep_segment_value): Use ISO C style.
40549         (_nl_load_domain): Use ISO C style.  Get rid of redundant
40550         semicolon.  Fix typo and formatting in comment.
40551         (_nl_unload_domain): Use ISO C style.
40553         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
40555 2014-07-02  Will Newton  <will.newton@linaro.org>
40557         * malloc/obstack.c: Merge from gnulib master.
40558         [HAVE_CONFIG_H]: Remove conditional code.
40559         [!_LIBC]: Include config.h.
40560         [!ELIDE_CODE]: Don't include inttypes.h, include
40561         stdint.h unconditionally.
40562         (print_and_abort): Mark as _Noreturn.
40563         (_obstack_allocated_p): Mark as __attribute_pure__.
40564         (obstack_free): Rename to __obstack_free.
40565         [!__attribute__]: Remove conditional code.
40566         * malloc/obstack.h: Merge from gnulib master.
40567         [__cplusplus]: Move conditional down.
40568         [!__attribute_pure__]: Define __attribute_pure__ here
40569         if it is not already defined.
40570         (_obstack_memory_used): Mark as __attribute_pure__.
40571         [!__obstack_free]: Define as obstack_free.
40572         [__GNUC__]: Remove check for ancient NeXT gcc.
40574 2014-07-02  Will Newton  <will.newton@linaro.org>
40575             Paul Eggert  <eggert@cs.ucla.edu>
40577         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
40579 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40581         * resolv/gethnamaddr.c: Add comment warning that the file is
40582         not maintained.
40584 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
40586         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
40587         entries.
40589         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
40590         entry for aio_cancel and aio_cancel64.
40591         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
40592         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
40593         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
40594         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
40595         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
40596         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
40597         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
40598         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
40599         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
40600         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
40601         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
40602         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
40603         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
40605 2014-07-01  Roland McGrath  <roland@hack.frob.com>
40607         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
40608         * nptl/pthread_mutex_lock.c: Likewise.
40609         * nptl/pthread_mutex_timedlock.c: Likewise.
40610         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
40612 2014-07-01  Richard henderson  <rth@redhat.com>
40614         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
40615         (__isnan, __isnanl): Remove.
40616         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
40618         * sysdeps/alpha/fpu/libm-test-ulps: Update.
40620 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40622         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40624 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40626         * resolv/nss_dns/dns-host.c (getanswer_r)
40627         [MULTI_PTRS_ARE_ALIASES]: Remove code.
40629 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
40631         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40632         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
40633         undefine.
40634         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
40635         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
40637 2014-07-01  Roland McGrath <roland@hack.frob.com>
40639         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
40640         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
40642         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
40643         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
40645         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
40646         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
40647         ... here.
40648         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
40649         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
40651         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
40652         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
40653         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
40654         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
40656         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
40657         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
40658         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
40659         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
40660         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
40661         Moved ...
40662         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
40663         ... here.
40664         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
40665         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
40666         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
40667         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
40668         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
40669         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
40670         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
40671         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
40672         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
40673         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
40674         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
40675         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
40676         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
40677         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
40678         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
40679         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
40680         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
40681         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
40682         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
40683         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
40684         ... here.
40685         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
40686         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
40687         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
40688         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
40689         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
40690         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
40691         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
40692         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
40694 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
40696         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
40697         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
40698         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
40699         Add sysdep.
40701 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40705 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40707         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
40708         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40710         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40712         * sysdeps/arm/libm-test-ulps: Regenerated.
40714 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40715             Roland McGrath <roland@hack.frob.com>
40717         * test-skeleton.c (signal_handler): Kill the whole process group
40718         before killing the child individually.
40719         (main): Report any failure on `setpgid'.
40721 2014-06-30  Roland McGrath  <roland@hack.frob.com>
40723         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
40724         from _TLS_H to _ARM_NPTL_TLS_H.
40725         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
40726         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
40728 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40730         [BZ #16539]
40731         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
40732         (__expm1l): Return argument unchanged when small but not
40733         subnormal.
40735         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
40736         include macro name.
40737         (_FP_UNPACK_RAW_1_P): Likewise.
40738         (_FP_PACK_RAW_1): Likewise.
40739         (_FP_PACK_RAW_1_P): Likewise.
40740         (_FP_MUL_MEAT_1_wide): Likewise.
40741         (_FP_MUL_MEAT_DW_1_hard): Likewise.
40742         (_FP_MUL_MEAT_1_hard): Likewise.
40743         (_FP_DIV_MEAT_1_imm): Likewise.
40744         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
40745         (_FP_DIV_MEAT_1_udiv): Likewise.
40746         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
40747         (_FP_UNPACK_RAW_2): Likewise.
40748         (_FP_UNPACK_RAW_2_P): Likewise.
40749         (_FP_PACK_RAW_2): Likewise.
40750         (_FP_PACK_RAW_2_P): Likewise.
40751         (_FP_MUL_MEAT_DW_2_wide): Likewise.
40752         (_FP_MUL_MEAT_2_wide): Likewise.
40753         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
40754         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40755         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
40756         (_FP_MUL_MEAT_2_gmp): Likewise.
40757         (_FP_DIV_MEAT_2_udiv): Likewise.
40758         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
40759         (_FP_FRAC_SRL_4): Likewise.
40760         (_FP_FRAC_SRST_4): Likewise.
40761         (_FP_FRAC_SRS_4): Likewise.
40762         (_FP_UNPACK_RAW_4): Likewise.
40763         (_FP_UNPACK_RAW_4_P): Likewise.
40764         (_FP_PACK_RAW_4): Likewise.
40765         (_FP_PACK_RAW_4_P): Likewise.
40766         (_FP_MUL_MEAT_DW_4_wide): Likewise.
40767         (_FP_MUL_MEAT_4_wide): Likewise.
40768         (_FP_MUL_MEAT_4_gmp): Likewise.
40769         (umul_ppppmnnn): Likewise.
40770         (_FP_DIV_MEAT_4_udiv): Likewise.
40771         (__FP_FRAC_ADD_4): Likewise.
40772         (__FP_FRAC_SUB_3): Likewise.
40773         (__FP_FRAC_SUB_4): Likewise.
40774         (__FP_FRAC_DEC_3): Likewise.
40775         (__FP_FRAC_DEC_4): Likewise.
40776         (__FP_FRAC_ADDI_4): Likewise.
40777         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
40778         (_FP_FRAC_SRL_8): Likewise.
40779         (_FP_FRAC_SRS_8): Likewise.
40781         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
40782         include macro name.
40783         (FP_UNPACK_RAW_EP): Likewise.
40784         (FP_PACK_RAW_E): Likewise.
40785         (FP_PACK_RAW_EP): Likewise.
40786         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
40787         (_FP_ISSIGNAN): Likewise.
40788         (_FP_ADD_INTERNAL): Likewise.
40789         (_FP_FMA): Likewise.
40790         (_FP_CMP): Likewise.
40791         (_FP_SQRT): Likewise.
40792         (_FP_TO_INT): Likewise.
40793         (_FP_FROM_INT): Likewise.
40794         (FP_EXTEND): Likewise.
40795         (_FP_DIV_MEAT_N_loop): Likewise.
40797 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40799         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
40800         throughout.
40802 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
40804         [BZ #17097]
40805         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
40806         result with correct sign in case of exponents that produce
40807         overflow except for X very close to 1.
40809 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
40811         mktime: merge #if/#ifdef usage from glibc
40812         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
40813         as that works with both Glibc's and Gnulib's style.
40814         See thread starting at Siddhesh Poyarekar's bug report at:
40815         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
40817 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40819         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
40820         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
40821         * sysdeps/tile/tilegx/memmove.c: Remove file.
40823 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40825         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
40826         abi-name definition.
40827         * scripts/soversions.awk: Do not handle or generate ABI lines.
40828         * shlib-versions: Remove ABI entries.
40829         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
40830         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
40832 2014-06-27  Roland McGrath  <roland@hack.frob.com>
40834         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
40835         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
40836         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
40837         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
40838         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
40839         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
40840         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
40841         Moved ...
40842         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
40843         ... here.
40844         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
40845         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
40846         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
40847         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
40848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
40849         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
40850         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
40851         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
40852         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
40853         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
40854         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
40855         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
40856         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
40857         Moved ...
40858         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
40859         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
40860         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
40861         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
40862         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
40863         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
40864         Moved ...
40865         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
40866         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
40867         Moved ...
40868         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
40869         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
40870         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
40871         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
40872         Moved ...
40873         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
40874         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
40875         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
40876         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
40877         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
40878         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
40879         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
40880         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
40881         Moved ...
40882         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
40883         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
40884         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
40885         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
40886         Moved ...
40887         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
40888         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
40889         Moved ...
40890         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
40891         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
40892         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
40893         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
40894         Moved ...
40895         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
40896         ... here.
40897         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
40898         Identical file removed.
40899         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
40900         Moved ...
40901         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
40902         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
40903         Identical file removed.
40904         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
40905         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
40906         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
40907         Moved ...
40908         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
40909         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
40910         Identical file removed.
40911         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
40912         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
40913         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
40914         Identical file removed.
40915         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
40916         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
40917         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
40918         Identical file removed.
40919         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
40920         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
40921         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
40922         Identical file removed.
40923         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
40924         Moved ...
40925         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
40926         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
40927         Identical file removed.
40928         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
40929         Moved ...
40930         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
40931         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
40932         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
40933         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
40934         Identical file removed.
40935         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
40936         Moved ...
40937         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
40938         ... here.
40939         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
40940         Identical file removed.
40941         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
40942         Moved ...
40943         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
40944         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
40945         Identical file removed.
40946         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
40947         Moved ...
40948         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
40949         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
40950         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
40951         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
40952         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
40953         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
40954         Moved ...
40955         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
40956         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
40957         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
40959         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
40960         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
40961         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
40962         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
40963         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
40965 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
40967         [BZ #17092]
40968         * nscd/nscd.c (monitor_child): Return exit status of child
40969         instead of return value from wait syscall.
40971 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40973         * configure.ac (libc_commonpagesize): Remove variable.
40974         (libc_relro_required): Likewise.
40975         (libc_cv_z_relro): Remove configure test.
40976         * configure: Regenerated.
40977         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
40978         variable.
40979         (libc_relro_required): Likewise.
40980         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
40981         (libc_relro_required): Likewise.
40982         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
40983         (libc_relro_required): Likewise.
40984         * sysdeps/arm/preconfigure: Regenerated.
40985         * sysdeps/ia64/preconfigure: Remove file.
40986         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
40987         variable.
40988         (libc_relro_required): Likewise.
40990         [BZ #16561]
40991         [BZ #16562]
40992         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
40993         (__ieee754_yn): Set FE_TONEAREST mode internally and then
40994         recompute overflowing results in original rounding mode.
40995         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
40996         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
40997         recompute overflowing results in original rounding mode.
40998         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
40999         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41000         recompute overflowing results in original rounding mode.
41001         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
41002         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41003         recompute overflowing results in original rounding mode.
41004         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
41005         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41006         recompute overflowing results in original rounding mode.
41007         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
41008         (libc_feholdsetround_ctx): New macro.
41009         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
41010         * sysdeps/i386/fpu/libm-test-ulps: Update.
41011         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
41013 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41015         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
41016         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
41017         corresponding .cpsetup call.
41019 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41021         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
41022         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
41023         * sysdeps/arm/Makefile [$(subdir) = csu]
41024         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
41025         (static-only-routines): Add aeabi_read_tp here.
41026         (shared-only-routines): Add libc-aeabi_read_tp here.
41027         (CFLAGS-libc-start.c): Add -fexceptions here.
41028         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
41029         (sysdep_routines, static-only-routines, shared-only-routines):
41030         Don't add to these here.
41031         (CFLAGS-libc-start.c): Likewise.
41033         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
41034         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41035         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
41036         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41037         * sysdeps/arm/Makefile [$(subdir) = rt]
41038         (librt-sysdep_routines, librt-shared-only-routines):
41039         Append rt-aeabi_unwind_cpp_pr1 here.
41040         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
41041         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
41042         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
41043         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41044         Append nptl-aeabi_unwind_cpp_pr1 here.
41045         (tests): Filter out tst-cleanupx4 here.
41046         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
41047         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
41048         Don't do those here.
41050 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41052         * scripts/list-sources.sh: Do not handle ports specially.
41054 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41056         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
41057         * sysdeps/arm/feupdateenv.c: Likewise.
41059         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
41061 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41063         * manual/texinfo.tex: Update to version 2014-05-05.10 with
41064         trailing whitespace removed.
41065         * scripts/config.guess: Update to version 2014-03-23.
41066         * scripts/config.sub: Update to version 2014-05-01
41067         * scripts/install-sh: Update to version 2013-12-25.23.
41068         * scripts/move-if-change: Update from gnulib.
41070 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41072         * debug/memmove_chk.c: Remove pagecopy.h include.
41074 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
41076         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
41077         identical to gnulib mktime.
41079 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41081         * configure.ac: Do not test for machine being rs6000.  Do not test
41082         for powerpc*-*soft.
41083         * configure: Regenerated.
41085         [BZ #11505]
41086         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
41087         test.
41088         * configure: Regenerated.
41089         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
41090         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
41091         Remove configure test.
41092         * sysdeps/arm/configure: Regenerated.
41093         * sysdeps/nptl/configure.ac: Do not check
41094         libc_cv_asm_cfi_directives.
41095         * sysdeps/nptl/configure: Regenerated.
41096         * sysdeps/x86_64/nptl/configure.ac: Remove file.
41097         * sysdeps/x86_64/nptl/configure: Remove generated file.
41098         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
41099         unconditional.
41100         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
41102 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41104         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
41105         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
41106         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
41107         it is defined.
41109         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
41110         instead of whether it is defined.
41111         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
41112         * sysdeps/hppa/dl-machine.h: Likewise.
41113         * sysdeps/ia64/dl-machine.h: Likewise.
41114         * sysdeps/m68k/dl-machine.h: Likewise.
41115         * sysdeps/microblaze/dl-machine.h: Likewise.
41116         * sysdeps/mips/dl-machine.: Likewise.
41117         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41118         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41119         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41120         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41121         * sysdeps/sh/dl-machine.h: Likewise.
41122         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41123         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41124         * sysdeps/tile/dl-machine.h: Likewise.
41125         * sysdeps/x86_64/dl-machine.h: Likewise.
41127         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
41128         code.
41129         (verify_persistent_db): Likewise.
41131 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
41134         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
41135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
41136         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
41137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41138         Moved ...
41139         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
41140         ... here.
41141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
41142         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
41143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
41144         Identical file removed.
41145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
41146         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
41147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
41148         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
41149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
41150         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
41151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
41152         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
41153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
41154         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
41155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41156         Moved ...
41157         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
41158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
41159         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
41160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
41161         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
41162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41163         Moved ...
41164         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
41165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
41166         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
41167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
41168         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
41169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41170         Identical file removed.
41171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
41172         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
41173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
41174         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
41175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41176         Moved ...
41177         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
41178         ... here.
41179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
41180         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
41181         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
41182         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
41183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
41184         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
41185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
41186         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
41187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
41188         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
41189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41190         Moved ...
41191         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
41192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
41193         Moved ...
41194         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
41195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
41196         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
41197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41198         Moved ...
41199         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
41200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
41201         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
41203         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
41204         folded into ...
41205         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
41206         * sysdeps/unix/sysv/linux/s390/Versions
41207         (libpthread: GLIBC_2.19): New version set.
41208         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
41209         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
41210         (librt: GLIBC_2.3.3): New version set.
41211         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
41212         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
41213         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
41214         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
41215         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
41216         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
41217         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
41218         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
41219         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
41220         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
41221         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
41222         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
41223         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
41224         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
41225         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
41226         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
41227         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
41228         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
41229         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
41230         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
41231         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
41232         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
41233         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
41234         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
41235         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
41236         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
41237         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
41238         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
41239         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
41240         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
41241         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
41242         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
41243         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
41244         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
41245         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
41246         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
41247         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
41248         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
41249         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
41250         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
41251         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
41252         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
41253         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
41254         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
41255         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
41257         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
41258         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
41259         (__libc_vfork): Define the function under this name.
41260         [!NOT_IN_libc] (__vfork): Make this an alias.
41261         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41262         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
41263         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
41264         (__libc_vfork): Define the function under this name.
41265         [!NOT_IN_libc] (__vfork): Make this an alias.
41266         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41267         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
41268         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
41269         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
41270         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
41271         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41273         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
41274         code that was previously under [RESET_PID].
41275         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
41276         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
41277         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
41279         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
41280         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
41281         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
41282         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
41283         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
41284         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
41285         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
41286         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
41287         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
41288         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
41289         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
41290         Moved ...
41291         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
41292         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
41293         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
41294         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
41295         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
41296         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
41297         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
41298         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
41299         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
41300         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
41301         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
41302         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
41303         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
41304         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
41305         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
41306         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
41307         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
41308         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
41309         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
41310         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
41311         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
41312         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
41313         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
41314         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
41315         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
41316         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
41317         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
41318         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
41319         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
41321 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41323         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
41324         that was previously under [RESET_PID].
41325         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
41327 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41329         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
41330         not undefine and redefine.
41331         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
41332         [O_CLOEXEC]: Make code unconditional.
41333         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
41334         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
41335         <kernel-features.h>.
41336         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
41337         conditional variable definition.
41338         (shm_open) [O_CLOEXEC]: Make code unconditional.
41339         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
41340         code.
41342         * configure.ac (USE_REGPARMS): Don't define here.
41343         * configure: Regenerated.
41344         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
41345         * sysdeps/i386/configure: Regenerated.
41347         * nptl/createthread.c: Don't include kernel-features.h.
41348         * nptl/pthread_cancel.c: Likewise.
41349         * nptl/pthread_condattr_setclock.c: Likewise.
41350         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
41351         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
41352         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
41353         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
41354         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
41355         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
41356         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41357         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
41358         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41359         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
41360         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
41361         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
41362         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
41363         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
41364         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
41365         * nscd/gai.c: Likewise.
41366         * nss/nss_db/db-open.c: Likewise.
41367         * sysdeps/generic/ldsodefs.h: Likewise.
41368         * sysdeps/sh/nptl/tls.h: Likewise.
41369         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41370         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
41371         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
41372         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
41373         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
41374         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41375         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
41376         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41377         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41378         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
41379         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
41380         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41381         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
41382         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
41383         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
41384         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
41385         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
41386         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
41387         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
41388         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
41389         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
41390         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
41391         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
41392         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
41393         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
41394         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
41395         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
41396         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
41397         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41398         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
41399         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
41400         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
41401         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
41402         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41403         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41404         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41405         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41406         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
41407         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
41408         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
41409         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41410         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
41411         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
41412         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41413         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
41414         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
41415         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
41416         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
41417         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
41418         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
41419         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
41420         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
41421         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
41422         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41423         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
41424         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41425         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41426         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
41427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
41429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
41430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
41431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
41432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
41433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
41434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
41435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
41438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
41439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
41440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
41441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
41447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
41448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
41449         * sysdeps/unix/sysv/linux/pread.c: Likewise.
41450         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
41451         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
41452         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
41453         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
41454         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
41455         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
41456         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
41457         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
41458         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
41459         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
41460         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
41461         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
41462         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
41463         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
41464         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
41465         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41466         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
41467         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
41468         * sysdeps/unix/sysv/linux/system.c: Likewise.
41469         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
41470         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
41471         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41472         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41473         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41474         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41475         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41477         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
41478         * configure: Regenerated.
41479         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
41481         * configure.ac (base_machine): Do not set specially for particular
41482         machines here.
41483         * configure: Regenerated.
41484         * sysdeps/powerpc/preconfigure: Move machine and base_machine
41485         settings from configure.ac.
41486         * sysdeps/i386/preconfigure: New file.
41487         * sysdeps/s390/preconfigure: Likewise.
41488         * sysdeps/sh/preconfigure: Likewise.
41489         * sysdeps/sparc/preconfigure: Likewise.
41491 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41493         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
41494         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
41495         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
41496         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
41497         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
41498         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
41499         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
41500         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
41501         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
41502         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
41503         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
41504         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
41505         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
41506         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
41507         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
41508         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
41509         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
41510         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
41511         * sysdeps/sparc/sparc64/Makefile: ... appended here.
41513         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
41514         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
41515         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
41516         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
41517         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
41518         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
41519         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
41520         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
41521         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
41522         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
41523         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
41524         * sysdeps/sparc/sparc32/sem_post.c: ... here.
41525         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
41526         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
41527         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
41528         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
41529         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
41530         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
41531         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
41532         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
41533         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
41534         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
41535         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
41536         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
41537         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
41538         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
41539         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
41540         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
41541         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
41542         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
41543         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
41544         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
41545         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
41546         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
41547         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
41548         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
41549         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
41550         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
41552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
41553         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
41554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
41555         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
41556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41557         Moved ...
41558         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
41559         ... here.
41560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
41561         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
41562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
41563         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
41564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
41565         Moved ...
41566         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
41567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
41568         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
41569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
41570         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
41571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
41572         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
41573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41574         Moved ...
41575         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
41576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41577         Moved ...
41578         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
41579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
41580         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
41581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41582         Moved ...
41583         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
41584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
41585         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
41586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
41587         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
41588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
41589         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
41590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
41591         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
41592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41593         Moved ...
41594         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
41595         ... here.
41596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
41597         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
41598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
41599         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
41600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
41601         Moved ...
41602         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
41603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
41604         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
41605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
41606         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
41607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
41608         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
41609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41610         Moved ...
41611         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
41612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41613         Moved ...
41614         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
41615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
41616         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
41617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41618         Moved ...
41619         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
41620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
41621         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
41622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
41623         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
41625 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41627         * timezone/checktab.awk: Update from tzcode 2014e.
41628         * timezone/private.h: Likewise.
41629         * timezone/tzfile.h: Likewise.
41630         * timezone/zdump.c: Likewise.
41631         * timezone/zic.c: Likewise.
41633         * sysdeps/unix/sysv/linux/kernel-features.h
41634         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
41635         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
41636         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
41637         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41638         Remove conditional code.
41640 2014-06-25  Will Newton  <will.newton@linaro.org>
41642         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
41643         (_dl_arm_cap_flags): Add HWCAP2 values.
41644         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
41645         (_DL_HWCAP_COUNT): Increase to 37.
41646         (_DL_HWCAP_LAST): New define.
41647         (_DL_HWCAP2_LAST): New define.
41648         (_dl_procinfo): Add support for printing
41649         AT_HWCAP2 entries.
41650         (_dl_string_hwcap): Use _dl_hwcap_string.
41652 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41656 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41658         * README: Do not mention ports directory.
41660         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
41661         Remove macro.
41662         * sysdeps/unix/sysv/linux/futimes.c: Do not include
41663         <kernel-features.h>.
41664         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
41665         conditional variable definition.
41666         (__futimes): Update comment.
41667         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
41668         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
41670         [BZ #16560]
41671         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
41672         arguments close to 0.
41673         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
41674         Likewise.
41675         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
41676         Likewise.
41677         * math/auto-libm-test-in: Add more tests of exp10.
41678         * math/auto-libm-test-out: Regenerated.
41679         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41681         * sysdeps/unix/sysv/linux/kernel-features.h
41682         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
41683         * sysdeps/unix/sysv/linux/readv.c: Do not include
41684         <kernel-features.h>.
41685         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41686         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41687         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41688         unconditional.
41689         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41690         conditional code.
41691         * sysdeps/unix/sysv/linux/writev.c: Do not include
41692         <kernel-features.h>.
41693         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41694         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41695         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41696         unconditional.
41697         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41698         conditional code.
41700 2014-06-25  Will Newton  <will.newton@linaro.org>
41702         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
41703         comment changes throughout the file.  Remove checks
41704         for HAVE_*_H definitions that are not required.
41705         (__gen_tempname): Call abort if an unknown kind value is
41706         passed.
41708 2014-06-25  Andreas Schwab  <schwab@suse.de>
41710         [BZ #17086]
41711         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
41712         scalbln, scalblnf, scalblnl in libc.
41714 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41716         [BZ #17086]
41717         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
41718         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41719         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41721 2014-06-24  Roland McGrath  <roland@hack.frob.com>
41723         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
41724         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
41725         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
41726         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
41727         Update #include.
41728         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
41729         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
41730         Update #include.
41731         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
41732         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
41733         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
41734         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
41735         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
41736         * sysdeps/x86/bits/pthreadtypes.h: ... here.
41737         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
41738         * sysdeps/x86/bits/semaphore.h: ... here.
41739         * sysdeps/x86/nptl/elide.h: Moved ...
41740         * sysdeps/x86/elide.h: ... here.
41741         * sysdeps/x86_64/nptl/Implies: File removed.
41742         * sysdeps/i386/nptl/Implies: File removed.
41744 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
41746         [BZ #16539]
41747         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
41748         return the argument for normal arguments with exponent below -64.
41749         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41750         Likewise.
41751         * math/auto-libm-test-in: Add another test of expm1.
41752         * math/auto-libm-test-out: Regenerated.
41754         [BZ #16287]
41755         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
41756         calling __erfcl for arguments at least 16.
41757         * math/auto-libm-test-in: Add more tests of erf.
41758         * math/auto-libm-test-out: Regenerated.
41760         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
41761         individual architectures.
41762         * sysdeps/unix/sysv/linux/configure: Regenerated.
41763         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
41764         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
41765         * sysdeps/unix/sysv/linux/powerpc/configure.ac
41766         (ldd_rewrite_script): Define variable.
41767         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
41769         file.
41770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
41771         generated file.
41772         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
41773         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
41774         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
41775         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
41776         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
41777         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
41778         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
41779         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
41781 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41783         [BZ #17084]
41784         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
41785         Rename member __data.d to __data.__elision_data.
41787 2014-06-24  Wilco  <wdijkstr@arm.com>
41789         * NEWS: Add 16918 to fixed bug list.
41791 2014-06-24  Wilco  <wdijkstr@arm.com>
41793         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
41795 2014-06-24  Wilco  <wdijkstr@arm.com>
41797         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
41798         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
41799         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
41800         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
41801         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
41802         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
41803         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
41804         Use _FPU_MASK_RM.
41806 2014-06-24  Wilco  <wdijkstr@arm.com>
41808         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
41810 2014-06-24  Wilco  <wdijkstr@arm.com>
41812         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
41813         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
41814         * sysdeps/arm/fesetround.c (fesetround): Remove space.
41815         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
41817 2014-06-24  Wilco  <wdijkstr@arm.com>
41819         [BZ #16918]
41820         * sysdeps/arm/feupdateenv.c (feupdateenv):
41821         Rewrite to reduce FPSCR accesses and fix return value.
41823 2014-06-24  Wilco  <wdijkstr@arm.com>
41825         * sysdeps/arm/fclrexcpt.c (feclearexcept):
41826         Optimize to avoid unnecessary FPSCR writes.
41827         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
41828         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
41829         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
41830         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
41832 2014-06-24  Wilco  <wdijkstr@arm.com>
41834         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
41835         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
41836         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
41837         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
41838         Call libc_fetestexcept_vfp.
41839         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
41840         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
41841         __SOFTFP__ ifdef so that they can be built for softfp.
41843 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41845         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
41846         argument type signed char.
41848         * Makerules (check-abi): Dump diff of symlist if the test
41849         fails.
41851 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41853         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
41854         using abort.
41856         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
41857         Remove unused variable ST.
41859 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41861         [BZ #16354]
41862         [BZ #17061]
41863         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
41864         small arguments before calling __expm1.
41865         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
41866         small arguments before calling __expm1f.
41867         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
41868         small arguments before calling __expm1l.
41869         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41870         Likewise.
41871         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
41872         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
41873         spurious underflow for some cosh tests.
41874         * math/auto-libm-test-out: Regenerated.
41875         * sysdeps/i386/fpu/libm-test-ulps: Update.
41877         [BZ #17050]
41878         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
41879         (__ieee754_y1): Set errno if return value overflows.
41880         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
41881         (__ieee754_y1f): Set errno if return value overflows.
41882         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
41883         (__ieee754_y1l): Set errno if return value overflows.
41884         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
41885         (__ieee754_y1l): Set errno if return value overflows.
41886         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
41887         * math/auto-libm-test-out: Regenerated.
41889         * math/gen-auto-libm-tests.c: Document use of
41890         ignore-zero-inf-sign.
41891         (input_flag_type): Add value flag_ignore_zero_inf_sign.
41892         (input_flags): Add ignore-zero-inf-sign.
41893         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
41894         * math/gen-libm-test.pl (generate_testfile): Handle
41895         ignore-zero-inf-sign.
41896         * math/auto-libm-test-in: Mark some cpow tests with
41897         ignore-zero-inf-sign and some with xfail-rounding.
41898         * math/auto-libm-test-out: Regenerated.
41899         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
41900         * sysdeps/i386/fpu/libm-test-ulps: Update.
41901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41903         [BZ #16315]
41904         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
41905         overflowing or underflowing operations take place with sign of
41906         result.
41907         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41908         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41909         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
41910         (__ieee754_pow): Recompute overflowing and underflowing results in
41911         original rounding mode.
41912         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
41913         (__powl_helper): Allow negative argument X and scale negated value
41914         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
41915         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
41916         overflowing or underflowing operations take place with sign of
41917         result.
41918         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
41919         Include <math.h>.
41920         * math/auto-libm-test-in: Add more tests of pow.
41921         * math/auto-libm-test-out: Regenerated.
41922         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
41923         (pow_tonearest_test_data): Remove.
41924         (pow_test_tonearest): Likewise.
41925         (pow_towardzero_test_data): Likewise.
41926         (pow_test_towardzero): Likewise.
41927         (pow_downward_test_data): Likewise.
41928         (pow_test_downward): Likewise.
41929         (pow_upward_test_data): Likewise.
41930         (pow_test_upward): Likewise.
41931         (main): Don't call removed functions.
41932         * sysdeps/i386/fpu/libm-test-ulps: Update.
41933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41935 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
41938         Moved ...
41939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
41940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41941         Moved ...
41942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
41943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41944         Moved ...
41945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
41946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41947         Moved ...
41948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
41949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41950         File removed.
41951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41952         File removed.
41953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
41954         File removed.
41955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
41956         File removed.
41957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
41958         File removed.
41959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
41960         File removed.
41961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
41962         File removed.
41963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41964         File removed.
41965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
41966         File removed.
41967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41968         File removed.
41969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
41970         File removed.
41971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
41972         File removed.
41973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
41974         Moved ...
41975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
41976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
41977         Moved ...
41978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
41979         ... here.
41980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
41981         Moved ...
41982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
41983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
41984         Moved ...
41985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
41986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
41987         Moved ...
41988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
41989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
41990         Moved ...
41991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
41992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
41993         Moved ...
41994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
41995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
41996         Moved ...
41997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
41998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
41999         Moved ...
42000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
42001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
42002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
42003         ... here.
42004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
42005         Moved ...
42006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
42007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42008         Moved ...
42009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
42010         ... here.
42011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
42012         Moved ...
42013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
42014         ... here.
42015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42016         Moved ...
42017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42018         ... here.
42019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42020         Moved ...
42021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
42022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42023         Moved ...
42024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
42025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
42026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
42027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42028         Moved ...
42029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
42030         ... here.
42031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42032         Moved ...
42033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
42034         ... here.
42035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42036         Moved ...
42037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
42038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42039         Moved ...
42040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
42041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42042         Moved ...
42043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
42044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42045         Moved ...
42046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
42047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42048         Moved ...
42049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
42050         ... here.
42051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42052         Moved ...
42053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
42054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42055         Moved ...
42056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
42057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42058         Moved ...
42059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
42060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42061         Moved ...
42062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
42063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
42064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
42065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42066         Moved ...
42067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
42068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42069         Moved ...
42070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
42071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42072         Moved ...
42073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
42074         ... here.
42075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42076         Moved ...
42077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
42078         ... here.
42079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42080         Moved ...
42081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
42082         ... here.
42083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42084         Moved ...
42085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
42086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42087         Moved ...
42088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
42089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42090         Moved ...
42091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
42092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42093         Moved ...
42094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
42095         ... here.
42096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42097         Moved ...
42098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
42099         ... here.
42100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42101         Moved ...
42102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
42103         ... here.
42104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42105         Moved ...
42106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
42107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42108         Moved ...
42109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
42111 2014-06-23  Will Newton  <will.newton@linaro.org>
42112             Wilco  <wdijkstr@arm.com>
42114         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
42115         implementation.  Include get-rounding-mode.h.
42116         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
42117         [!libc_feholdsetround_noex_ctx]: Define
42118         libc_feholdsetround_noex_ctx.
42119         [!libc_feholdsetround_noexf_ctx]: Define
42120         libc_feholdsetround_noexf_ctx.
42121         [!libc_feholdsetround_noexl_ctx]: Define
42122         libc_feholdsetround_noexl_ctx.
42123         (libc_feholdsetround_ctx): New function.
42124         (libc_feresetround_ctx): New function.
42125         (libc_feholdsetround_noex_ctx): New function.
42126         (libc_feresetround_noex_ctx): New function.
42128 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42130         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
42131         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
42132         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
42133         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
42134         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
42135         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
42137         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
42138         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
42139         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
42140         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
42141         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
42142         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
42143         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
42144         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
42145         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
42146         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
42147         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
42148         Moved ...
42149         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
42150         ... here.
42151         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
42152         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
42153         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
42154         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
42155         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
42156         Moved ...
42157         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
42158         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
42159         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
42160         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
42161         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
42162         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
42163         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
42164         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
42165         Moved ...
42166         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
42167         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
42168         Moved ...
42169         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
42170         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
42171         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
42172         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
42173         Moved ...
42174         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
42175         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
42176         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
42177         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
42178         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
42179         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
42180         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
42181         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
42182         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
42183         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
42184         Moved ...
42185         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
42186         ... here.
42187         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
42188         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
42189         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
42190         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
42191         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
42192         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
42193         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
42194         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
42195         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
42196         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
42197         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
42198         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
42199         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
42200         Moved ...
42201         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
42202         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
42203         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
42204         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
42205         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
42206         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
42207         Moved ...
42208         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
42209         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
42210         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
42211         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
42212         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
42214         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
42215         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
42216         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
42217         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
42218         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
42219         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
42220         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
42221         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
42222         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
42223         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
42224         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
42225         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
42226         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
42227         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
42228         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
42229         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
42230         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
42231         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
42232         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
42233         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
42234         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
42235         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
42236         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
42237         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
42238         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
42239         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
42240         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
42241         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
42243 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42245         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
42246         (FALLOC_FL_COLLAPSE_RANGE): New macro.
42247         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
42248         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
42249         (IPV6_PMTUDISC_INTERFACE): Likewise.
42250         (IPV6_PMTUDISC_OMIT): Likewise.
42252 2014-06-23  Andreas Schwab  <schwab@suse.de>
42254         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
42255         Remove unused errout label.
42257 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42259         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
42260         macro: hardware supports Vector Crypto instructions.
42262 2014-06-23  Will Newton  <will.newton@linaro.org>
42264         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
42265         rather than __builtin_expect.
42267         * elf/dl-lookup.c (undefined_msg): Remove variable.
42268         (_dl_lookup_symbol_x): Replace undefined_msg with string
42269         literal.
42271         * elf/dl-lookup.c (do_lookup_unique): New function.
42272         (do_lookup_x): Move STB_GNU_UNIQUE handling code
42273         to a separate function.
42275 2014-06-23  Andreas Schwab  <schwab@suse.de>
42277         [BZ #17079]
42278         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
42279         before reading the next line.
42281 2014-06-23  Will Newton  <will.newton@linaro.org>
42283         * test-skeleton.c (signal_handler): Use printf and %m
42284         rather than perror.  Use printf rather than fprintf to
42285         stderr.  Use puts rather than fputs to stderr.
42286         (main): Likewise.
42288 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
42290         * nscd/nscd.c (thread_info_t): Remove typedef.
42291         (thread_info): Remove variable.
42293 2014-06-21  Allan McRae  <allan@archlinux.org>
42295         * NEWS: Mention CVE-2014-4043.
42297 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42299         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
42300         * nptl/smp.h: ... here.
42302         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
42304         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
42305         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
42306         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
42307         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
42309         * nptl/allocatestack.c: Include <stack-aliasing.h>.
42310         * nptl/stack-aliasing.h: New file.
42311         * sysdeps/i386/i686/stack-aliasing.h: New file.
42312         * sysdeps/i386/i686/nptl/Makefile: File removed.
42313         * sysdeps/x86_64/stack-aliasing.h: New file.
42314         * sysdeps/x86_64/nptl/Makefile
42315         (CFLAGS-pthread_create.c): Variable removed.
42317         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
42318         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
42319         old file.
42320         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
42321         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
42322         old file.
42324 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
42326         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42327         (__ASSUME_SIGFRAME_V2): Remove macro.
42328         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
42329         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
42330         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
42331         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
42332         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
42333         Declare as function.  Remove conditional macro definitions.
42334         (__default_rt_sa_restorer): Likewise.
42335         (__default_sa_restorer_v1): Remove declaration.
42336         (__default_sa_restorer_v2): Likewise.
42337         (__default_rt_sa_restorer_v1): Likewise.
42338         (__default_rt_sa_restorer_v2): Likewise.
42339         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
42340         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
42341         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
42343 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42345         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
42346         (libpthread-routines): Add sysdep.
42347         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
42348         * sysdeps/unix/sysv/linux/sparc/Versions
42349         (libpthread: GLIBC_2.3.3): New version set.
42350         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
42351         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
42352         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
42353         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
42354         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
42355         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
42356         Moved ...
42357         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
42358         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
42359         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
42360         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
42361         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
42362         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
42363         * sysdeps/sparc/nptl/sem_init.c: ... here.
42364         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
42365         * sysdeps/sparc/nptl/sem_post.c: ... here.
42366         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
42367         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
42368         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
42369         * sysdeps/sparc/nptl/sem_wait.c: ... here.
42370         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
42371         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
42372         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
42373         (libpthread-routines): Add cpu_relax.
42374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
42375         File removed.
42376         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
42377         (librt: GLIBC_2.3.3): New version set.
42378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
42379         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
42380         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
42381         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
42382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
42383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
42384         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
42385         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
42386         Moved ...
42387         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
42388         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
42389         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
42390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
42391         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
42392         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
42393         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
42394         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
42395         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
42396         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
42397         Moved ...
42398         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
42399         Update #include.
42400         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
42401         Moved ...
42402         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
42403         Update #include.
42404         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
42405         Moved ...
42406         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
42407         Update #include.
42408         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
42409         Moved ...
42410         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
42411         Update #include.
42412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
42413         Moved ...
42414         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
42415         Update #include.
42416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
42417         Moved ...
42418         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
42419         Update #include.
42420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
42421         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
42422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
42423         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
42424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
42425         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
42426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
42427         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
42428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
42429         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
42430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
42431         Moved ...
42432         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
42433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
42434         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
42435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
42436         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
42438 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42440         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
42441         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
42442         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42443         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
42444         * nscd/nscd.c: Likewise.
42445         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
42446         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
42447         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
42448         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
42450         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
42451         <kernel-features.h>.
42452         (init_mq_netlink): Remove conditional have_sock_cloexec
42453         definitions.  Remove code conditional on have_sock_cloexec < 0.
42454         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
42455         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
42456         * sysdeps/unix/sysv/linux/opensock.c: Do not include
42457         <kernel-features.h>.
42458         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
42459         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
42461 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42463         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42464         Add tests for memset_chk and memset.
42466         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
42467         with AVX2_Usable.
42469 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42471         [BZ #16046]
42472         * elf/tst-dl-iter-static.c: New file.
42473         * elf/Makefile (tests-static): Add tst-dl-iter-static.
42475         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
42476         error.
42478 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42480         * sysdeps/unix/sysv/linux/kernel-features.h
42481         (__ASSUME_F_GETOWN_EX): Remove macro.
42482         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
42483         <kernel-features.h>.
42484         (miss_F_GETOWN_EX): Remove variable or macro.
42485         (do_fcntl): Do not check miss_F_GETOWN_EX.
42486         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
42488         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
42489         Remove macro.
42490         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
42491         [!__ASSUME_AT_RANDOM]: Remove conditional code.
42492         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
42494         * sysdeps/unix/sysv/linux/kernel-features.h
42495         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
42496         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
42497         [ADJ_OFFSET_SS_READ]: Make code unconditional.
42498         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
42500 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42502         [BZ #17075]
42503         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
42504         Fix calculation of the symbol's value.
42505         * sysdeps/arm/tst-armtlsdescloc.c: New file.
42506         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
42507         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
42508         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
42509         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
42510         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
42511         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
42512         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
42513         (modules-names): Add `tst-armtlsdescmod',
42514         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
42515         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
42516         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42517         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
42518         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
42519         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42520         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
42521         ($(objpfx)tst-armtlsdescloc): New dependency.
42522         ($(objpfx)tst-armtlsdescextnow): Likewise.
42523         ($(objpfx)tst-armtlsdescextlazy): Likewise.
42524         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
42525         TLS scheme support.
42526         * sysdeps/arm/configure: Regenerate.
42528 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42530         * include/fcntl.h (__atfct_seterrno): Remove prototype.
42531         (__atfct_seterrno_2): Likewise.
42532         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
42533         <kernel-features.h>.
42534         (__ASSUME_ATFCTS): Do not undefine and redefine.
42535         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
42536         (__have_atfcts): Remove conditional definition.
42537         (__fxstatat([__NR_fstatat64]: Make code unconditional.
42538         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
42539         unreachable if [__ASSUME_ATFCTS].
42540         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
42541         not undefine and redefine.
42542         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
42543         <kernel-features.h>.
42544         (faccessat) [__NR_faccessat]: Make code unconditional.
42545         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
42546         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
42547         <kernel-features.h>.
42548         (fchmodat) [__NR_fchmodat]: Make code unconditional.
42549         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42550         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
42551         <kernel-features.h>.
42552         (fchownat) [__NR_fchownat]: Make code unconditional.
42553         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
42554         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
42555         <kernel-features.h>.
42556         (futimesat) [__NR_futimesat]: Make code unconditional.
42557         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
42558         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
42559         <kernel-features.h>.
42560         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42561         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42562         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
42563         <kernel-features.h>.
42564         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
42565         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42566         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
42567         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
42568         <kernel-features.h>.
42569         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
42570         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42571         * sysdeps/unix/sysv/linux/linkat.c: Do not include
42572         <kernel-features.h>.
42573         (linkat) [__NR_linkat]: Make code unconditional.
42574         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42575         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
42576         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
42577         <kernel-features.h>.
42578         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
42579         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42580         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
42581         <kernel-features.h>.
42582         (mkdirat) [__NR_mkdirat]: Make code unconditional.
42583         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
42584         * sysdeps/unix/sysv/linux/openat.c: Do not include
42585         <kernel-features.h>.
42586         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
42587         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
42588         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
42589         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
42590         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
42591         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
42592         <kernel-features.h>.
42593         (readlinkat) [__NR_readlinkat]: Make code unconditional.
42594         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
42595         result of INLINE_SYSCALL directly, not via int variable.
42596         * sysdeps/unix/sysv/linux/renameat.c: Do not include
42597         <kernel-features.h>.
42598         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
42599         (renameat) [__NR_renameat]: Make code unconditional.
42600         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
42601         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
42602         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
42603         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
42604         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
42605         (__ASSUME_ATFCTS): Do not undefine and redefine.
42606         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
42607         <kernel-features.h>.
42608         (symlinkat) [__NR_symlinkat]: Make code unconditional.
42609         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42610         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
42611         <kernel-features.h>.
42612         (unlinkat) [__NR_unlinkat]: Make code unconditional.
42613         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42614         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
42615         (__ASSUME_ATFCTS): Do not undefine and redefine.
42616         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42617         <kernel-features.h>.
42618         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42619         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42620         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42621         <kernel-features.h>.
42622         (__xmknodat) [__NR_mknodat]: Make code unconditional.
42623         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42625 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42627         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
42629 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
42631         [BZ #17069]
42632         * posix/regcomp.c (parse_reg_exp): Deallocate partially
42633         constructed tree before returning error.
42634         * posix/bug-regexp36.c: Expand test case.
42636 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
42638         [BZ #6803]
42639         * math/libm-test.inc (scalbln_test_date):
42640         Add errno expectations.
42641         * math/w_scalblnf.c: New File.
42642         Add wrapper which checks for setting errno to ERANGE.
42643         Add weak_alias for corresponding scalbln function.
42644         * math/w_scalbln.c: Likewise.
42645         * math/w_scalblnl.c: Likewise.
42646         * math/Makefile (libm-calls): Add w_scalbln.
42647         * sysdeps/ieee754/flt-32/s_scalblnf.c:
42648         Remove weak_alias for corresponding scalbln function.
42649         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42650         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42651         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42652         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42653         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
42654         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42655         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
42656         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42657         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
42658         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
42659         Remove long_double_symbol for scalblnl function in libm, libc.
42660         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
42661         Add wrapper which checks for setting errno to ERANGE.
42662         Add long_double_symbol for scalblnl function in libm, libc.
42663         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
42664         Remove long_double_symbol for scalblnl in libm.
42665         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
42666         Add wrapper which checks for setting errno to ERANGE.
42667         Add long_double_symbol for scalblnl function in libm.
42668         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
42669         Do not use wrapper because of own implementation.
42671 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
42673         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
42674         3 bytes for __pad1 for x32.
42675         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
42677 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
42678             H.J. Lu  <hongjiu.lu@intel.com>
42680         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
42681         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
42682         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42683         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42684         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
42686 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
42688         [BZ #17069]
42689         * posix/regcomp.c (parse_expression): Deallocate partially
42690         constructed tree before returning error.
42691         * posix/Makefile.c (tests): Add bug-regex36.
42692         (generated): Add bug-regex36.mtrace.
42693         (tests-special): Add $(objpfx)bug-regex36-mem.out
42694         (bug-regex36-ENV): New variable.
42695         ($(objpfx)bug-regex36-mem.out): New rule.
42696         * posix/bug-regex36.c: New file.
42698 2014-06-19  Will Newton  <will.newton@linaro.org>
42700         * malloc/malloc.c (systrim): If extra is zero then return
42701         early.
42703 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42705         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
42707 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
42709         * sysdeps/aarch64/strchr.S: New file.
42711 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42713         [BZ #17022]
42714         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
42715         from arguments -2 or below.
42716         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42717         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
42719 2014-06-18  Andreas Schwab  <schwab@suse.de>
42721         [BZ #17062]
42722         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
42723         of a bracket expr not to run off the end of the string.
42724         * posix/Makefile (tests): Add tst-fnmatch3.
42725         * posix/tst-fnmatch3.c: New file.
42727 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42729         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
42730         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42731         [$(cross-compiling) = no]: Likewise.
42732         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42733         [$(cross-compiling) = no]: Likewise.
42735 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42737         [BZ #17031]
42738         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
42739         double, adjusted for any remainder from the high double.
42740         * math/libm-test.inc (nearbyint): Add tests.
42741         (rint): Likewise.
42743 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42745         * nptl/sysdeps/powerpc/Makefile: Moved ...
42746         * sysdeps/powerpc/nptl/Makefile: ... here.
42747         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
42748         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
42749         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
42750         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
42751         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
42752         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
42753         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
42754         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
42755         * nptl/sysdeps/powerpc/tls.h: Moved ...
42756         * sysdeps/powerpc/nptl/tls.h: ... here.
42758 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
42760         [BZ #16681]
42761         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
42762         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
42763         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
42764         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
42765         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
42766         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
42767         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
42768         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
42769         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
42771 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
42773         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
42775 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
42777         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
42778         defined operator.
42780         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
42781         $TIMEOUTFACTOR.
42783 2014-06-16  Florian Weimer  <fweimer@redhat.com>
42785         [BZ #17058]
42786         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
42787         non-executed part of the test.
42789 2014-06-16  Andreas Schwab  <schwab@suse.de>
42791         * string/bits/string2.h (strdup, strndup): Update feature guard.
42793 2014-06-14  David S. Miller  <davem@davemloft.net>
42795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42797 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
42799         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
42800         that was previously under [RESET_PID].
42801         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
42803         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
42804         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
42805         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
42806         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42807         (__libc_vfork): New strong alias.
42808         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
42810 2014-06-14 Andi Kleen  <ak@linux.intel.com>
42812         * sysdeps/generic/elide.h: New file.
42814 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42816         * Makefile (installed-headers): Adjust path of pthread.h header.
42818 2014-06-13  Roland McGrath  <roland@hack.frob.com>
42820         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
42821         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
42822         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
42823         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
42825         * nptl/sysdeps/s390/Makefile: Moved ...
42826         * sysdeps/s390/nptl/Makefile: ... here.
42827         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
42828         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
42829         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
42830         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
42831         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
42832         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
42833         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
42834         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
42835         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
42836         * sysdeps/s390/nptl/pthreaddef.h: ... here.
42837         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
42838         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
42839         * nptl/sysdeps/s390/tls.h: Moved ...
42840         * sysdeps/s390/nptl/tls.h: ... here.
42842         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
42843         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
42845 2014-06-13  David S. Miller  <davem@davemloft.net>
42847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
42848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
42849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
42850         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
42851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
42852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
42853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
42854         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
42855         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
42856         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
42857         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
42858         Remove RESET_PID cpp guards.
42859         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
42860         Remove RESET_PID cpp guards.
42861         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
42863 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
42865         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
42866         __sp to uintptr_t.
42868 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42870         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
42871         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
42872         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
42873         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
42874         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
42875         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
42876         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
42877         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
42878         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
42879         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
42880         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
42881         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
42882         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
42883         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
42884         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
42885         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
42886         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
42887         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
42888         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
42889         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
42891         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
42892         (pthread_rwlock_rdlock): Add elision.
42893         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
42894         (pthread_rwlock_wrlock): Add elision.
42895         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
42896         (pthread_rwlock_trywrlock): Add elision.
42897         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
42898         (pthread_rwlock_tryrdlock): Add elision.
42899         * nptl/pthread_rwlock_unlock.c: Include elide.h.
42900         (pthread_rwlock_tryrdlock): Add elision unlock.
42901         * nptl/sysdeps/pthread/pthread.h:
42902         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
42903         (PTHREAD_RWLOCK_INITIALIZER,
42904         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
42905         Handle new elision field.
42906         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
42907         * sysdeps/arm/nptl/bits/pthreadtypes.h
42908         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42909         * sysdeps/sh/nptl/bits/pthreadtypes.h
42910         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42911         * sysdeps/tile/nptl/bits/pthreadtypes.h
42912         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42913         * sysdeps/a/nptl/bits/pthreadtypes.h
42914         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42915         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42916         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42917         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42918         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42919         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
42920         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42921         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42922         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42923         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42924         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42925         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42926         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42927         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42928         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42929         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
42930         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42931         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
42932         (elision_init): Set try_xbegin to zero when no RTM.
42933         * sysdeps/x86/nptl/bits/pthreadtypes.h
42934         (pthread_rwlock_t): Change __pad1 to __rwelision.
42935         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42937 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42939         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
42940         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
42941         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
42942         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
42944 2014-06-13  Meador Inge  <meadori@codesourcery.com>
42946         [BZ #16996]
42947         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
42948         that the cached result has been set before returning it.
42950 2014-06-12  Roland McGrath  <roland@hack.frob.com>
42952         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
42953         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
42954         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
42955         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
42956         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
42957         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
42959         * nptl/sysdeps/sparc/Makefile: Moved ...
42960         * sysdeps/sparc/nptl/Makefile: ... here.
42961         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
42962         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
42963         * nptl/sysdeps/sparc/tls.h: Moved ...
42964         * sysdeps/sparc/nptl/tls.h: ... here.
42965         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
42966         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
42967         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
42968         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
42969         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
42970         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
42971         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
42972         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
42973         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
42974         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
42975         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
42976         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
42977         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
42978         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
42979         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
42980         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
42981         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
42982         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
42983         Update #include.
42984         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
42985         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
42986         Update #include.
42987         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
42988         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
42989         Update #include.
42990         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
42991         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
42992         Update #include.
42994         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42996         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
42997         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
42999         * sysdeps/pthread/posix-timer.h: Include <list.h>.
43000         (struct list_links): Type removed.
43001         (struct thread_node, struct timer_node): Replace struct list_links
43002         with struct list_head.
43003         (list_unlink_ip): Likewise.
43004         * sysdeps/pthread/timer_routines.c
43005         (timer_free_list, thread_free_list, thread_active_list): Likewise.
43006         (list_append, list_insbefore): Likewise.
43007         (list_init): Function removed.
43008         (thread_init, init_module): Use INIT_LIST_HEAD instead.
43009         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
43010         * sysdeps/pthread/Makefile: ... here, new file.
43012         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
43013         * sysdeps/nptl/Implies: ... here.
43014         * sysdeps/unix/sysv/linux/Implies: Add nptl.
43015         * nptl/sysdeps/pthread/list.h: Moved ...
43016         * include/list.h: ... here.
43017         * nptl/sysdeps/pthread/createthread.c: Moved ...
43018         * nptl/createthread.c: ... here.
43019         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
43020         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
43021         * nptl/pt-longjmp.c: ... here.
43022         * nptl/sysdeps/pthread/Makefile: Moved ...
43023         * sysdeps/nptl/Makefile: ... here.
43024         * nptl/sysdeps/pthread/Subdirs: Moved ...
43025         * sysdeps/nptl/Subdirs: ... here.
43026         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
43027         * sysdeps/nptl/aio_misc.h: ... here.
43028         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
43029         * sysdeps/nptl/bits/libc-lock.h: ... here.
43030         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
43031         * sysdeps/nptl/bits/libc-lockP.h: ... here.
43032         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
43033         * sysdeps/nptl/bits/stdio-lock.h: ... here.
43034         * nptl/sysdeps/pthread/configure: Moved ...
43035         * sysdeps/nptl/configure: ... here.
43036         * nptl/sysdeps/pthread/configure.ac: Moved ...
43037         * sysdeps/nptl/configure.ac: ... here.
43038         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
43039         * sysdeps/nptl/gai_misc.h: ... here.
43040         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
43041         * sysdeps/nptl/librt-cancellation.c: ... here.
43042         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
43043         * sysdeps/nptl/malloc-machine.h: ... here.
43044         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
43045         * sysdeps/nptl/pthread-functions.h: ... here.
43046         * nptl/sysdeps/pthread/pthread.h: Moved ...
43047         * sysdeps/nptl/pthread.h: ... here.
43048         * nptl/sysdeps/pthread/setxid.h: Moved ...
43049         * sysdeps/nptl/setxid.h: ... here.
43050         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
43051         * sysdeps/nptl/sigfillset.c: ... here.
43052         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
43053         * sysdeps/nptl/tcb-offsets.h: ... here.
43054         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
43055         * sysdeps/nptl/tst-mqueue8x.c: ... here.
43056         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
43057         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
43058         * nptl/sysdeps/pthread/allocalim.h: Moved ...
43059         * sysdeps/pthread/allocalim.h: ... here.
43060         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
43061         * sysdeps/pthread/bits/sigthread.h: ... here.
43062         * nptl/sysdeps/pthread/flockfile.c: Moved ...
43063         * sysdeps/pthread/flockfile.c: ... here.
43064         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
43065         * sysdeps/pthread/ftrylockfile.c: ... here.
43066         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
43067         * sysdeps/pthread/funlockfile.c: ... here.
43068         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
43069         * sysdeps/pthread/posix-timer.h: ... here.
43070         * nptl/sysdeps/pthread/timer_create.c: Moved ...
43071         * sysdeps/pthread/timer_create.c: ... here.
43072         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
43073         * sysdeps/pthread/timer_delete.c: ... here.
43074         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
43075         * sysdeps/pthread/timer_getoverr.c: ... here.
43076         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
43077         * sysdeps/pthread/timer_gettime.c: ... here.
43078         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
43079         * sysdeps/pthread/timer_routines.c: ... here.
43080         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
43081         * sysdeps/pthread/timer_settime.c: ... here.
43082         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
43083         * sysdeps/pthread/tst-timer.c: ... here.
43084         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
43085         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
43087         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
43088         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
43090         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
43091         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
43092         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
43093         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
43094         Update #include target.
43095         * nptl/sysdeps/i386/i686/Makefile: Moved ...
43096         * sysdeps/i386/i686/nptl/Makefile: ... here.
43097         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
43098         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
43099         Update #include target.
43100         * nptl/sysdeps/i386/i686/tls.h: Moved ...
43101         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
43102         * nptl/sysdeps/i386/Makefile: Moved ...
43103         * sysdeps/i386/nptl/Makefile: ... here.
43104         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
43105         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
43106         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
43107         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
43108         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
43109         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
43110         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
43111         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
43112         * sysdeps/i386/nptl/pthreaddef.h: ... here.
43113         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
43114         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
43115         * nptl/sysdeps/i386/tls.h: Moved ...
43116         * sysdeps/i386/nptl/tls.h: ... here.
43118         * sysdeps/sh/Makefile [$(subdir) = csu]
43119         (gen-as-const-headers): Add tcb-offsets.sym.
43120         * nptl/sysdeps/sh/Makefile: File removed.
43121         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
43122         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
43123         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
43124         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
43125         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
43126         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
43127         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
43128         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
43129         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
43130         * sysdeps/sh/nptl/pthreaddef.h: ... here.
43131         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
43132         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
43133         * nptl/sysdeps/sh/tls.h: Moved ...
43134         * sysdeps/sh/nptl/tls.h: ... here.
43135         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
43136         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
43137         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
43138         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
43139         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
43140         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
43141         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
43142         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
43143         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
43144         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
43145         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
43146         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
43147         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
43148         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
43149         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
43150         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
43151         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
43152         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
43153         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
43154         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
43155         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
43156         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
43157         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
43158         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
43159         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
43160         Moved ...
43161         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
43162         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
43163         Moved ...
43164         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
43165         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
43166         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
43167         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
43168         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
43169         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
43170         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
43171         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
43172         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
43173         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
43174         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
43175         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
43176         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
43177         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
43178         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
43179         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
43180         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
43181         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
43182         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
43184 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
43186         * posix/spawn_faction_addopen.c: Include string.h.
43188 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43190         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
43191         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
43192         * nptl/sysdeps/x86_64/Makefile: Moved ...
43193         * sysdeps/x86_64/nptl/Makefile: ... here.
43194         * nptl/sysdeps/x86_64/configure: Moved ...
43195         * sysdeps/x86_64/nptl/configure: ... here.
43196         * nptl/sysdeps/x86_64/configure.ac: Moved ...
43197         * sysdeps/x86_64/nptl/configure.ac: ... here.
43198         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
43199         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
43200         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
43201         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
43202         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
43203         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
43204         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
43205         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
43206         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
43207         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
43208         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
43209         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
43210         * nptl/sysdeps/x86_64/tls.h: Moved ...
43211         * sysdeps/x86_64/nptl/tls.h: ... here.
43212         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
43213         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
43214         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
43215         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
43217         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
43219 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43223 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
43225         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
43226         type.
43227         [POSIX] (off_t): Likewise.
43228         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
43229         [POSIX] (S_ISBLK): Require macro.
43230         [POSIX] (S_ISCHR): Likewise.
43231         [POSIX] (S_ISDIR): Likewise.
43232         [POSIX] (S_ISFIFO): Likewise.
43233         [POSIX] (S_ISREG): Likewise.
43234         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
43235         optional-macro.
43236         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
43237         type.
43238         [POSIX] (time_t): Likewise.
43239         [POSIX] (timer_t): Likewise.
43241 2014-06-11  Florian Weimer  <fweimer@redhat.com>
43243         [BZ #17048]
43244         * posix/spawn_int.h (struct __spawn_action): Make the path string
43245         non-const to support deallocation.
43246         * posix/spawn_faction_addopen.c
43247         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
43248         * posix/spawn_faction_destroy.c
43249         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
43250         path in all spawn_do_open actions.
43251         * posix/tst-spawn.c (do_test): Exercise the copy operation in
43252         posix_spawn_file_actions_addopen.
43254 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
43256         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
43257         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
43258         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
43259         conditional code always true.
43260         (__libc_vfork): New alias.
43262 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43264         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43265         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
43267         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
43269         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43270         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
43272         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43273         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
43275         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43276         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
43278 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43280         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
43281         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
43282         multiarch strcmp for PPC64.
43283         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
43284         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
43285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
43286         multiarch optimizations.
43287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43288         (__libc_ifunc_impl_list): Likewise.
43290 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43292         * benchtests/scripts/validate_benchout.py: New script.
43293         * benchtests/Makefile (bench-func): Call it.
43294         * benchtests/scripts/benchout.schema.json: New file.
43296 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
43298         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
43299         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
43300         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
43301         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
43302         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
43303         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
43304         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
43305         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
43306         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
43307         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
43308         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
43309         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
43310         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
43311         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
43312         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
43313         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
43314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
43315         Moved ...
43316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
43317         ... here.
43318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
43319         Moved ...
43320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
43321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
43322         Moved ...
43323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
43324         ... here.
43325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
43326         Moved ...
43327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
43328         ... here.
43329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
43330         Moved ...
43331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
43332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
43333         Moved ...
43334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
43335         ... here.
43336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
43337         Moved ...
43338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
43339         ... here.
43340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
43341         Moved ...
43342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
43343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
43344         Moved ...
43345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
43346         ... here.
43347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
43348         Moved ...
43349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
43350         ... here.
43351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
43352         Moved ...
43353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
43354         ... here.
43355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
43356         Moved ...
43357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
43358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
43359         Moved ...
43360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
43361         ... here.
43362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
43363         Moved ...
43364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
43365         ... here.
43366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
43367         Moved ...
43368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
43369         ... here.
43370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
43371         Moved ...
43372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
43373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
43374         Moved ...
43375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
43376         ... here.
43377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
43378         Moved ...
43379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
43380         ... here.
43381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
43382         Moved ...
43383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
43384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
43385         Moved ...
43386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
43387         ... here.
43388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
43389         Moved ...
43390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
43391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
43392         Moved ...
43393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
43394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
43395         Moved ...
43396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
43397         ... here.
43398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
43399         Moved ...
43400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
43401         ... here.
43402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
43403         Moved ...
43404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
43405         ... here.
43406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
43407         Moved ...
43408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
43409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
43410         Moved ...
43411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
43412         ... here.
43413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
43414         Moved ...
43415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
43416         ... here.
43417         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
43418         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
43419         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
43420         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
43421         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
43422         Moved ...
43423         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
43424         ... here.
43425         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
43426         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
43427         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
43428         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
43429         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
43430         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
43431         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
43432         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
43433         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
43434         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
43435         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
43436         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
43437         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
43438         Moved ...
43439         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
43440         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
43441         Moved ...
43442         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
43443         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
43444         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
43445         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
43446         Moved ...
43447         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
43448         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
43449         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
43450         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
43451         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
43452         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
43453         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
43455 2014-06-10  Wilco  <wdijkstr@arm.com>
43457         * math/test-fenv-return.c: New file.
43458         * math/Makefile: Add new test test-fenv-return.
43460 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
43462         [BZ #17042]
43463         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
43464         when x - 1 is zero.
43465         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
43466         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
43467         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
43468         0.0L for an argument of 1.0L.
43469         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
43470         Likewise.
43471         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
43472         value when x - 1 is zero.
43473         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
43474         * sysdeps/i386/fpu/libm-test-ulps: Update.
43475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43477 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
43479         [BZ #15119]
43480         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
43482 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43484         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
43485         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
43487 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43489         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43490         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
43492         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43493         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
43495         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43496         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
43498         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43499         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
43501         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
43502         if not already defined.
43503         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
43504         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
43505         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
43506         (TLS_INIT_TP): Use it.
43507         (TLS_DEFINE_INIT_TP): New macro.
43508         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
43510 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
43512         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
43513         constant.
43514         [POSIX] (IXANY): Likewise.
43515         [POSIX] (OLCUC): Likewise.
43516         [POSIX || POSIX2008] (CBAUD): Do not allow.
43517         [POSIX || POSIX2008] (DEFECHO): Likewise.
43518         [POSIX || POSIX2008] (ECHOCTL): Likewise.
43519         [POSIX || POSIX2008] (ECHOKE): Likewise.
43520         [POSIX || POSIX2008] (ECHOPRT): Likewise.
43521         [POSIX || POSIX2008] (EXTA): Likewise.
43522         [POSIX || POSIX2008] (EXTB): Likewise.
43523         [POSIX || POSIX2008] (FLUSHO): Likewise.
43524         [POSIX || POSIX2008] (LOBLK): Likewise.
43525         [POSIX || POSIX2008] (PENDIN): Likewise.
43526         [POSIX || POSIX2008] (SWTCH): Likewise.
43527         [POSIX || POSIX2008] (VDISCARD): Likewise.
43528         [POSIX || POSIX2008] (VDSUSP): Likewise.
43529         [POSIX || POSIX2008] (VLNEXT): Likewise.
43530         [POSIX || POSIX2008] (VREPRINT): Likewise.
43531         [POSIX || POSIX2008] (VSTATUS): Likewise.
43532         [POSIX || POSIX2008] (VWERASE): Likewise.
43533         (B*): Change to B[0123456789]*.
43534         * conform/data/time.h-data [POSIX || UNIX98]
43535         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
43536         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43537         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
43538         [POSIX] (tm_*): Do not allow.
43540 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
43542         * Makefile (install): Don't set LANGUAGE.
43543         * Makefile.in (install): Likewise.
43544         * assert/Makefile (test-assert-ENV): Remove variable.
43545         (test-assert-perr-ENV): Likewise.
43546         * elf/Makefile (neededtest4-ENV): Likewise.
43547         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43548         [$(cross-compiling) = no]: Don't set LANGUAGE.
43549         * io/ftwtest-sh (LANG): Remove variable.
43550         * libio/Makefile (tst-widetext-ENV): Likewise.
43551         * manual/install.texi (Running make install): Don't refer to
43552         environment settings for make install.
43553         * INSTALL: Regenerated.
43554         * nptl/tst-tls6.sh: Don't set LANG.
43555         * posix/globtest.sh (LANG): Remove variable.
43556         * string/Makefile (tester-ENV): Likewise.
43557         (inl-tester-ENV): Likewise.
43558         (noinl-tester-ENV): Likewise.
43559         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43560         [$(cross-compiling) = no]: Don't set LANGUAGE.
43561         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
43562         without explicit environment settings.
43564 2014-06-06  Roland McGrath  <roland@hack.frob.com>
43566         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
43567         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
43568         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
43569         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
43571 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
43573         * crypt/crypt-private.h [DOS]: Add some includes taken from the
43574         other files in the crypt directory.
43575         * crypt/crypt.c: Remove duplicate includes.
43576         * crypt/crypt-entry.c: Likewise.
43577         * crypt/crypt_util.c: Likewise.
43579 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
43581         * Makeconfig (run-program-env): New variable.
43582         (run-program-prefix-before-env): Likewise.
43583         (run-program-prefix-after-env): Likewise.
43584         (run-program-prefix): Define in terms of new variables.
43585         (built-program-cmd-before-env): New variable.
43586         (built-program-cmd-after-env): Likewise.
43587         (built-program-cmd): Define in terms of new variables.
43588         (test-program-prefix-before-env): New variable.
43589         (test-program-prefix-after-env): Likewise.
43590         (test-program-prefix): Define in terms of new variables.
43591         (test-program-cmd-before-env): New variable.
43592         (test-program-cmd-after-env): Likewise.
43593         (test-program-cmd): Define in terms of new variables.
43594         * Rules (make-test-out): Use $(run-program-env).
43595         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
43596         (help): Do not mention environment variables.  Mention
43597         --timeoutfactor option.
43598         (timeoutfactor): New variable.
43599         (blacklist_exports): Remove function.
43600         (exports): Remove variable.
43601         (command): Do not include ${exports}.
43602         * manual/install.texi (Configuring and compiling): Do not mention
43603         test wrappers preserving environment variables.  Mention that last
43604         assignment to a variable must take precedence.
43605         * INSTALL: Regenerated.
43606         * benchtests/Makefile (run-bench): Use $(run-program-env).
43607         * catgets/Makefile ($(objpfx)test1.cat): Use
43608         $(built-program-cmd-before-env), $(run-program-env) and
43609         $(built-program-cmd-after-env).
43610         ($(objpfx)test2.cat): Do not specify environment variables
43611         explicitly.
43612         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
43613         $(run-program-env) and $(built-program-cmd-after-env).
43614         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
43615         $(run-program-env) and $(test-program-cmd-after-env).
43616         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
43617         explicitly.
43618         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
43619         run_program_env and test_program_cmd_after_env arguments.
43620         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
43621         * elf/tst-pathopt.sh: Use run_program_env argument.
43622         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
43623         $(test-wrapper-env) and $(run-program-env).
43624         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
43625         run_program_env arguments.
43626         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
43627         * intl/Makefile ($(objpfx)tst-gettext.out): Use
43628         $(test-program-prefix-before-env), $(run-program-env) and
43629         $(test-program-prefix-after-env).
43630         ($(objpfx)tst-gettext2.out): Likewise.
43631         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
43632         run_program_env and test_program_prefix_after_env arguments.
43633         * intl/tst-gettext2.sh: Likewise.
43634         * intl/tst-gettext4.sh: Do not set environment variables
43635         explicitly.
43636         * intl/tst-gettext6.sh: Likewise.
43637         * intl/tst-translit.sh: Likewise.
43638         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
43639         $(test-program-prefix-before-env), $(run-program-env) and
43640         $(test-program-prefix-after-env).
43641         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
43642         run_program_env and test_program_prefix_after_env arguments.
43643         * math/Makefile (run-regen-ulps): Use $(run-program-env).
43644         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
43645         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
43646         explicitly with each use of ${test_wrapper_env}.
43647         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
43648         $(test-program-prefix-before-env), $(run-program-env) and
43649         $(test-program-prefix-after-env).
43650         * posix/tst-getconf.sh: Do not set environment variables
43651         explicitly.
43652         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
43653         run_program_env and test_program_prefix_after_env arguments.
43654         * stdio-common/tst-printf.sh: Do not set environment variables
43655         explicitly.
43656         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
43657         $(test-program-prefix-before-env), $(run-program-env) and
43658         $(test-program-prefix-after-env).
43659         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
43660         run_program_env and test_program_prefix_after_env arguments.
43661         Split $test calls into $test_pre and $test.
43662         * timezone/Makefile (build-testdata): Use
43663         $(built-program-cmd-before-env), $(run-program-env) and
43664         $(built-program-cmd-after-env).
43666 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43668         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
43669         strlen for non SHARED builds.
43671 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43673         * nptl/allocatestack.c (check_list): Inlined function...
43674         (__reclaim_stacks): ... here.
43676 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43678         [BZ #15698]
43679         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43680         memory overrun.
43682 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
43684         * Rules (make-test-out): Include
43685         LOCPATH=$(common-objpfx)localedata in default environment.
43686         * debug/Makefile (tst-chk1-ENV): Remove variable.
43687         (tst-chk2-ENV): Likewise.
43688         (tst-chk3-ENV): Likewise.
43689         (tst-chk4-ENV): Likewise.
43690         (tst-chk5-ENV): Likewise.
43691         (tst-chk6-ENV): Likewise.
43692         (tst-lfschk1-ENV): Likewise.
43693         (tst-lfschk2-ENV): Likewise.
43694         (tst-lfschk3-ENV): Likewise.
43695         (tst-lfschk4-ENV): Likewise.
43696         (tst-lfschk5-ENV): Likewise.
43697         (tst-lfschk6-ENV): Likewise.
43698         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
43699         (tst-iconv7-ENV): Likewise.
43700         * intl/Makefile (LOCPATH-ENV): Likewise.
43701         (tst-codeset-ENV): Likewise.
43702         (tst-gettext3-ENV): Likewise.
43703         (tst-gettext5-ENV): Likewise.
43704         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
43705         (tst-fopenloc-ENV): Likewise.
43706         (tst-fgetws-ENV): Remove variable.
43707         (tst-ungetwc1-ENV): Likewise.
43708         (tst-ungetwc2-ENV): Likewise.
43709         (bug-ungetwc2-ENV): Likewise.
43710         (tst-swscanf-ENV): Likewise.
43711         (bug-ftell-ENV): Likewise.
43712         (tst-fgetwc-ENV): Likewise.
43713         (tst-fseek-ENV): Likewise.
43714         (tst-ftell-partial-wide-ENV): Likewise.
43715         (tst-ftell-active-handler-ENV): Likewise.
43716         (tst-ftell-append-ENV): Likewise.
43717         * posix/Makefile (tst-fnmatch-ENV): Likewise.
43718         (tst-regexloc-ENV): Likewise.
43719         (bug-regex1-ENV): Likewise.
43720         (tst-regex-ENV): Likewise.
43721         (tst-regex2-ENV): Likewise.
43722         (bug-regex5-ENV): Likewise.
43723         (bug-regex6-ENV): Likewise.
43724         (bug-regex17-ENV): Likewise.
43725         (bug-regex18-ENV): Likewise.
43726         (bug-regex19-ENV): Likewise.
43727         (bug-regex20-ENV): Likewise.
43728         (bug-regex22-ENV): Likewise.
43729         (bug-regex23-ENV): Likewise.
43730         (bug-regex25-ENV): Likewise.
43731         (bug-regex26-ENV): Likewise.
43732         (bug-regex30-ENV): Likewise.
43733         (bug-regex32-ENV): Likewise.
43734         (bug-regex33-ENV): Likewise.
43735         (bug-regex34-ENV): Likewise.
43736         (bug-regex35-ENV): Likewise.
43737         (tst-rxspencer-ENV): Likewise.
43738         (tst-rxspencer-no-utf8-ENV): Likewise.
43739         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
43740         (tst-sscanf-ENV): Likewise.
43741         (tst-swprintf-ENV): Likewise.
43742         (tst-swscanf-ENV): Likewise.
43743         (test-vfprintf-ENV): Likewise.
43744         (scanf13-ENV): Likewise.
43745         (bug14-ENV): Likewise.
43746         (tst-grouping-ENV): Likewise.
43747         * stdlib/Makefile (tst-strtod-ENV): Likewise.
43748         (tst-strtod3-ENV): Likewise.
43749         (tst-strtod4-ENV): Likewise.
43750         (tst-strtod5-ENV): Likewise.
43751         (testmb2-ENV): Likewise./
43752         * string/Makefile (tst-strxfrm-ENV): Likewise.
43753         (tst-strxfrm2-ENV): Likewise.
43754         (bug-strcoll1-ENV): Likewise.
43755         (test-strcasecmp-ENV): Likewise.
43756         (test-strncasecmp-ENV): Likewise.
43757         * time/Makefile (tst-strptime-ENV): Likewise.
43758         (tst-ftime_l-ENV): Likewise.
43759         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
43760         (tst-mbrtowc-ENV): Likewise.
43761         (tst-wcrtomb-ENV): Likewise.
43762         (tst-mbrtowc2-ENV): Likewise.
43763         (tst-c16c32-1-ENV): Likewise.
43764         (tst-mbsnrtowcs-ENV): Likewise.
43766 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43768         * manual/resource.texi (How to get information about the memory
43769         subsystem?): Fix typo.
43770         Reported by Peon de la Parra Ivan <peon@keba.com>
43772 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
43774         [BZ #16882]
43775         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
43776         (pthread_spin_lock): Branch out of spin loop to proper location.
43777         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
43778         (pthread_spin_lock): Likewise.
43780         * nptl/tst-spin4.c: New test.
43781         * nptl/Makefile (tests): Add tst-spin4.
43783 2014-06-03  Andreas Schwab  <schwab@suse.de>
43785         [BZ #15946]
43786         * resolv/res_send.c (send_dg): Reload file descriptor after
43787         calling reopen.
43789 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
43791         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43793 2014-06-03  Richard Henderson  <rth@redhat.com>
43795         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
43796         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
43797         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
43798         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
43799         in the SAVE_PID block.
43800         (__libc_vfork): New alias.
43801         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
43803         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
43804         child in registers, not on the stack.  Remove RESET_PID conditionals.
43805         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
43807 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43809         * sysdeps/aarch64/libm-test-ulps: Regenerate.
43811 2014-06-03  Wilco  <wdijkstr@arm.com>
43813         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
43814         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
43815         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43816         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
43817         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
43818         Likewise.
43820 2014-06-03  Wilco  <wdijkstr@arm.com>
43822         * sysdeps/aarch64/fpu/math_private.h
43823         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
43824         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
43825         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
43826         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43827         Fix declarations.
43829 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43831         * crypt/crypt-private.h: Include ufc-crypt.h.
43832         (__b64_from_24bit): Declare extern.
43833         * crypt/crypt_util.c(__b64_from_24bit): New function.
43834         (b64t): New static const variable.
43835         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
43836         (b64t): Remove variable.
43837         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
43838         * crypt/sha256-crypt.c: Include crypt-private.h.
43839         (b64t): Remove variable.
43840         (__sha256_crypt_r): Remove b64_from_24bit and replace
43841         with __b64_from_24bit.
43842         * crypt/sha512-crypt.c: Likewise.
43844 2014-06-02  Roland McGrath  <roland@hack.frob.com>
43846         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
43847         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
43848         Label the code __libc_vfork rather than __vfork.
43849         [!NOT_IN_libc] (vfork): Define as weak alias.
43850         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
43851         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
43852         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
43854 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43856         * malloc/malloc.c (malloc_info): Fix format specifier for
43857         n_mmaps.
43859 2014-06-02  Wilco  <wdijkstr@arm.com>
43861         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
43862         FPCR write.
43864 2014-06-02  Wilco  <wdijkstr@arm.com>
43866         [BZ #17009]
43867         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
43868         Rewrite to reduce FPCR/FPSR accesses.
43870 2014-06-01  David S. Miller  <davem@davemloft.net>
43872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43874 2014-05-31  David S. Miller  <davem@davemloft.net>
43876         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
43877         to occur in round to nearest mode when |x| >= 2.0
43879 2014-05-30  Richard Henderson  <rth@twiddle.net>
43881         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
43882         (PSEUDO_RET_NOERRNO): Remove.
43883         (ret): Don't redefine.
43884         (ret_NOERRNO): Define in terms of ret.
43885         (ret_ERRVAL): Likewise.
43887         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
43888         use of PSEUDO_RET; perform the error check directly.
43890 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
43892         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
43893         with __int128_t.
43895 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43897         * malloc/malloc (malloc_info): Fix formatting.
43899 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43900             Roland McGrath  <roland@hack.frob.com>
43902         * malloc/malloc (malloc_info): Also print mmapped statistics.
43904 2014-05-30  Roland McGrath  <roland@hack.frob.com>
43906         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
43907         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
43909 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
43911         * malloc/malloc.c (malloc_info): Inline mi_arena.
43913 2014-05-29  Richard Henderson  <rth@twiddle.net>
43915         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
43916         Remove comma before expanding ASM_ARGS_##nr.
43917         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
43918         Make _x0 a strict output; make _x8 a strict input; adjust expansion
43919         of ASM_ARGS_##nr.
43920         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
43921         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
43922         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
43923         (ASM_ARGS_1): Add leading comma.
43925         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
43926         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
43927         to __errno_location.
43928         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
43929         Remove the expected plt for __errno_location.
43931         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43932         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
43933         call to __read_tp.
43935         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43936         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
43937         it and break it down.
43938         (DOCARGS_0, DOCARGS_1): Do nothing.
43939         (DOCARGS_2): Update to store into the new stack frame.
43940         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
43941         (UNDOCARGS_1): Update to restore from the new stack frame.
43942         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
43943         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
43945         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43946         (SINGLE_THREAD_P): New parameter for result regno.
43947         (PSEUDO): Update to match; use cbz instead of beq.
43949         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43950         Use ENTRY to define the _nocancel entry point.  Share the syscall
43951         and syscall error check paths with the cancel path.
43952         (PSEUDO_END): New.
43954         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
43955         whitespace; tabs before and after asm mnemonics.
43957 2014-05-29  Eric Wong  <normalperson@yhbt.net>
43959         [BZ #15132]
43960         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43961         Call fstat64 or stat64 internally, depending on arguments passed.
43962         Replace stat buffer argument with file descriptor argument.
43963         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
43964         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43965         Pass fd to __internal_statvfs instead of calling fstat64.
43966         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
43967         Pass fd to __internal_statvfs64 instead of calling fstat64.
43968         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
43969         Pass -1 to __internal_statvfs instead of calling stat64.
43970         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
43971         Pass -1 to __internal_statvfs64 instead of calling stat64.
43973 2014-05-28  Roland McGrath  <roland@hack.frob.com>
43975         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
43976         that was previously under [RESET_PID].
43977         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
43979         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
43980         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
43982 2014-05-27  Roland McGrath  <roland@hack.frob.com>
43984         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
43986         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
43987         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
43989 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
43991         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
43993 2014-05-27  Andreas Schwab  <schwab@suse.de>
43995         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
43996         TLS_INIT_TP macro.
43997         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
43998         * elf/rtld.c (init_tls, dl_main): Likewise.
43999         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
44000         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
44001         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
44002         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
44003         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
44004         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
44005         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
44006         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
44007         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
44008         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
44009         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
44010         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
44011         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
44012         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
44013         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
44014         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
44015         * sysdeps/generic/tls.h: Update description.
44017 2014-05-27  Will Newton  <will.newton@linaro.org>
44019         [BZ #16990]
44020         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
44021         and restore r2 rather than just restoring.
44023 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44025         [BZ #16724]
44026         * libio/tst-ftell-append.c: New test case.
44027         * libio/Makefile (tests): Add test case.
44028         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
44029         append mode.
44030         * libio/wfileops.c (do_ftell_wide): Likewise.
44032 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44036         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
44037         ...
44038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
44039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44040         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
44041         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
44042         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
44043         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
44044         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
44045         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
44046         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
44047         Moved ...
44048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
44049         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
44050         Moved ...
44051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
44052         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
44053         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
44054         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
44055         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
44056         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
44057         ...
44058         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
44059         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
44060         Moved ...
44061         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
44062         here.
44063         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
44064         ...
44065         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
44066         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
44067         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
44069         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
44070         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
44071         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
44072         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
44074         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
44075         merge into ...
44076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
44077         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
44078         ...
44079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
44080         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
44081         ...
44082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
44083         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44084         Moved ...
44085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
44086         here.
44087         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44088         Moved ...
44089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
44090         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44091         Moved ...
44092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
44094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
44095         conditional [RESET_PID].
44096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
44097         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
44098         removed.
44099         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
44100         removed.
44102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
44103         <tcb-offsets.h>.
44104         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44105         (__libc_vfork): New strong alias.
44106         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
44107         removed.
44108         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
44109         Removed.
44111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
44112         <tcb-offsets.h>.
44113         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
44114         (__libc_vfork): New strong alias.
44115         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
44116         removed.
44117         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
44118         removed.
44120 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
44122         * malloc/malloc.c (mi_arena): New function.
44123         (malloc_info): Remove nested function mi_arena. Call non-nosted
44124         function mi_arena.
44126 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44128         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
44129         by insrwi.
44130         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
44131         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
44132         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
44133         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
44134         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
44135         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
44136         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
44138 2014-05-26  Andreas Schwab  <schwab@suse.de>
44140         [BZ #16984]
44141         * locale/programs/repertoire.c (repertoire_read): Add slash
44142         between I18NPATH element and file name.
44143         * locale/programs/locfile.c (locfile_read): Likewise.
44145 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44147         * nptl/pthread_mutexattr_settype.c
44148         (__pthread_mutexattr_settype):
44149         Disable lock elision for PTHREAD_MUTEX_NORMAL.
44151 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44153         * nptl/tst-mutex5 (do_test):
44154         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
44156 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44158         * benchtests/README: Document 'init' directive.
44159         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
44160         BENCH_INIT.
44161         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
44162         (parse_file): Recognize 'init' directive.
44164 2014-05-26  Kyle McMartin  <kyle@redhat.com>
44166         [BZ #16796]
44167         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
44168         alignment of struct pthread.
44170 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44172         [BZ #16878]
44173         * nscd/netgroupcache.c (addgetnetgrentX): Look for
44174         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44175         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
44176         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44178 2014-05-25  Richard Henderson  <rth@twiddle.net>
44180         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44181         (SINGLE_THREAD_P_PIC): Remove.
44182         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
44183         (SINGLE_THREAD_P_PIC): Remove.
44185         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
44186         branch to syscall error ...
44187         (PSEUDO): ... here.
44188         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
44189         from __local_syscall_error to .Lsyscall_error.
44190         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
44191         (SYSCALL_ERROR): Update label name.
44193         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44194         Do not use DOARGS/UNDOARGS.
44195         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
44196         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
44197         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
44198         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
44199         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
44201         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
44202         block comment.
44204         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
44205         define if !NOT_IN_libc.
44206         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
44207         define with non-default symbol versions.
44209 2014-05-23  Richard Henderson  <rth@twiddle.net>
44211         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
44212         (vfork, __vfork): Define via compat_symbol.
44214         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
44215         [!HAVE_IFUNC] (vfork_compat): Remove.
44216         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
44218 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44220         [BZ #16978]
44221         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
44222         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
44223         variable.
44225 2014-05-23  Richard Henderson  <rth@twiddle.net>
44227         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
44228         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
44229         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
44230         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
44232         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
44233         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
44234         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
44235         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
44236         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
44237         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
44238         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
44239         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
44240         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
44241         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
44242         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
44243         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
44244         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
44245         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
44246         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
44247         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
44248         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
44249         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
44250         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
44251         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
44252         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
44253         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
44254         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
44255         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
44256         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
44257         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
44258         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
44259         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
44260         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
44261         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
44262         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
44263         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
44264         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
44265         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
44266         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
44267         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
44268         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
44269         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
44270         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
44271         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
44272         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
44273         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
44274         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
44275         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
44276         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
44277         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
44278         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
44279         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
44280         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
44281         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
44282         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
44283         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
44284         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
44285         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
44286         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
44287         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
44289         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
44290         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
44291         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
44292         before exiting on error.
44293         (__libc_vfork): New strong alias.
44294         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
44295         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
44297         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
44298         that was previously under [RESET_PID].
44299         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
44301         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
44303 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44305         [BZ #16977]
44306         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
44307         value when x - 1 is zero.
44308         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
44309         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
44310         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
44311         0.0L for an argument of 1.0L.
44312         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
44313         Likewise.
44314         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
44315         value when x - 1 is zero.
44316         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
44317         * sysdeps/i386/fpu/libm-test-ulps: Update.
44318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44320 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44322         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
44323         alphasort and versionsort.
44325 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44327         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
44328         macro.
44329         [copysignf]: Likewise.
44331 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44333         * crypt/md5-crypt.c: Fix formatting.
44335 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44337         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
44338         (b64_from_24bit): New function.
44340 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44342         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
44343         libc_hidden_builtin_def to ifunc.
44344         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44345         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
44347 2014-05-21  Roland McGrath  <roland@hack.frob.com>
44349         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
44350         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
44352 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
44354         * nscd/Depend (linuxthreads): Remove.
44355         (nptl): Add.
44356         * resolv/Depend (linuxthreads): Remove.
44357         * rt/Depend (linuxthreads): Remove.
44359         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
44360         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
44361         $(common-objpfx)elf/.
44362         (link-libc-before-gnulib): Likewise.
44363         (elfobjdir): Remove variable.
44364         * Makefile (install): Use $(elf-objpfx) instead of
44365         $(common-objpfx)elf/.
44366         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
44367         $(elfobjdir)/.
44368         (link-libc-deps): Likewise.
44369         ($(common-objpfx)libc.so): Likewise.
44370         ($(common-objpfx)linkobj/libc.so): Likewise.
44371         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
44372         instead of $(common-objpfx)elf/.
44373         (symbolic-link-list): Likewise.
44374         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44375         [$(cross-compiling) = no]: Likewise.
44376         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
44377         $(elfobjdir)/.
44378         (static-gnulib-arch): Likewise.
44379         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44380         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
44381         $(common-objpfx)elf/.
44383 2014-05-21  Richard Henderson  <rth@redhat.com>
44385         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44386         (SINGLE_THREAD_P): Use the correct width load.  Fold
44387         into the ldr offset.
44389         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
44390         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
44392 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
44394         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
44395         (libgcc_s_resume): Use __attribute_used__.
44396         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
44397         Likewise.
44399 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44401         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
44402         optimization when used with float constants.
44404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44406 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
44408         [BZ #16915]
44409         * locale/nl_langinfo_l.c: Make direct reference to every
44410         _nl_current_CATEGORY symbol.
44411         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
44412         (tests-static): Add tst-langinfo-static.
44413         (tests-special): Add tst-langinfo-static.out.
44414         ($(objpfx)tst-langinfo.out): Redirect output.
44415         ($(objpfx)tst-langinfo-static.out): New.
44416         * localedata/tst-langinfo.sh: Send output to stdout.
44417         * localedata/tst-langinfo-static.c: New file.
44419         [BZ #16965]
44420         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
44421         when the shift amount is modulo the limb size.
44423 2014-05-20  Richard Henderson  <rth@redhat.com>
44425         [BZ #16967]
44426         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
44427         Change type of sa_flags from unsigned int to int.
44429         [BZ #16966]
44430         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
44432         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
44434 2014-05-20  Will Newton  <will.newton@linaro.org>
44436         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44437         Test the return value of the system call in the nocancel case.
44439 2014-05-20  Will Newton  <will.newton@linaro.org>
44440             Yvan Roux  <yvan.roux@linaro.org>
44442         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
44443         #include of asm/ptrace.h.
44444         (PTRACE_GET_THREAD_AREA): Remove #undef.
44445         (PTRACE_GETHBPREGS): Likewise.
44446         (PTRACE_SETHBPREGS): Likewise.
44447         (struct user_regs_struct): New structure.
44448         (struct user_fpsimd_struct): New structure.
44449         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
44450         #include of asm/ptrace.h and second #include of sys/user.h.
44451         (PTRACE_GET_THREAD_AREA): Remove #undef.
44452         (PTRACE_GETHBPREGS): Likewise.
44453         (PTRACE_SETHBPREGS): Likewise.
44454         (ELF_NGREG): Use new struct user_regs_struct.
44455         (elf_fpregset_t): Use new struct user_fpsimd_struct.
44457 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44459         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
44460         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
44462 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
44464         [BZ #16958]
44465         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
44466         membar to avoid block loads/stores to overlap previous stores.
44468 2014-05-17  Richard Henderson  <rth@redhat.com>
44470         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
44471         Create the __##syscall_name##_nocancel entry point.
44472         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
44473         Remove; let the sysdep-cancel.h code create it.
44475 2014-05-17  David S. Miller  <davem@davemloft.net>
44477         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
44478         Protect with __USE_GNU.
44479         (TIOCSET_TEMPT): Likewise.
44480         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44481         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
44482         these are already provided in bits/ioctl-types.h
44484 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44486         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
44487         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
44489         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
44490         Use wait4 regardless of [__NR_waitpid].
44492 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44494         PR libgcc/60166
44495         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44496         (_FP_NANSIGN_Q): Set the quiet bit.
44498 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
44500         * benchtests/Makefile
44501         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
44502         not $(common-objpfx)math/libm.so.
44503         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
44504         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
44505         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
44506         $(common-objpfx)dlfcn/libdl.so.
44507         ($(objpfx)tst-audit8): Depend on $(libm), not
44508         $(common-objpfx)math/libm.so.
44509         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
44510         not $(common-objpfx)dlfcn/libdl.so.
44511         * math/Makefile
44512         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44513         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
44514         [$(build-shared) = yes].
44515         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
44516         $(common-objpfx)nptl/libpthread.so.
44517         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
44518         $(common-objpfx)math/libm.so$(libm.so-version) or
44519         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
44520         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
44521         $(common-objpfx)dlfcn/libdl.so.
44522         * setjmp/Makefile (link-libm): Remove variable.
44523         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
44524         * stdio-common/Makefile (link-libm): Remove variable.
44525         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
44526         * stdlib/Makefile (link-libm): Remove variable.
44527         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
44528         ($(objpfx)tst-strtod-round): Likewise.
44529         ($(objpfx)tst-tininess): Likewise.
44530         ($(objpfx)tst-strtod-underflow): Likewise.
44531         ($(objpfx)tst-strtod6): Likewise.
44532         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
44533         $(libdl), not $(common-objpfx)nptl/libpthread.so and
44534         $(common-objpfx)dlfcn/libdl.so.
44536 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44538         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
44539         BSD terminal modes definitions.
44541 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44543         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
44544         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
44546         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
44547         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
44548         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
44549         Don't do #include_next.
44550         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
44551         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
44552         Don't do #include_next.
44553         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
44554         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
44555         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
44556         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
44558 2014-05-16  Allan McRae  <allan@archlinux.org>
44560         * po/sv.po: Update Swedish translation from translation project.
44562         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
44563         in sed expression.
44565 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
44567         [BZ #16917]
44568         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
44569         errno if the TIOCGPTN ioctl fails with an error different than
44570         EINVAL.
44571         * login/tst-ptsname.c: New file.
44572         * login/Makefile (tests): Add tst-ptsname.
44574         [BZ #16943]
44575         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
44576         and prlimit64.
44578 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44580         [BZ #16849]
44581         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
44582         herrno to return EAI_AGAIN.
44584 2014-05-14  Roland McGrath  <roland@hack.frob.com>
44586         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
44587         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
44588         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
44589         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
44590         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
44591         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
44592         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
44593         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
44594         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
44595         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
44596         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
44597         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
44598         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
44599         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
44600         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
44601         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
44602         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
44603         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
44604         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
44605         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
44606         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
44607         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
44608         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
44609         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
44610         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
44611         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
44612         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
44613         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
44614         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
44615         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
44616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
44617         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
44618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
44619         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
44620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44621         Moved ...
44622         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
44623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
44624         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
44625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
44626         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
44627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
44628         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
44629         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
44630         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
44631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
44632         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
44633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
44634         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
44635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
44636         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
44637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
44638         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
44639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
44640         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
44641         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
44642         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
44643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
44644         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
44645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
44646         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
44647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
44648         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
44649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44650         Moved ...
44651         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
44652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
44653         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
44654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
44655         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
44656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
44657         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
44658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
44659         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
44660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
44661         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
44662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
44663         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
44664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
44665         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
44666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
44667         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
44668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
44669         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
44670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44671         Moved ...
44672         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
44673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
44674         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
44676         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
44677         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
44678         (libpthread-sysdep_routines): Add elision-related stuff here instead.
44679         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
44680         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
44681         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
44682         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
44683         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
44684         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
44685         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
44686         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
44687         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
44688         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
44689         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
44690         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
44691         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
44692         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
44693         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
44694         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
44695         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
44696         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
44697         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
44698         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
44699         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
44700         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
44701         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
44702         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
44703         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
44704         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
44705         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
44706         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
44708         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
44709         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
44711         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
44712         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
44713         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
44714         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
44715         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
44716         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
44717         Moved ...
44718         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
44719         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
44720         Moved ...
44721         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
44722         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
44723         Moved ...
44724         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
44725         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
44726         Moved ...
44727         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
44728         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
44729         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
44730         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
44731         Moved ...
44732         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
44733         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
44734         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
44735         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
44736         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
44737         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
44738         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
44739         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
44740         Moved ...
44741         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
44742         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44743         Moved ...
44744         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44745         ... here.
44746         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
44747         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
44748         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
44749         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
44750         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44751         Moved ...
44752         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44753         ... here.
44754         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
44755         Moved ...
44756         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
44757         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
44758         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
44759         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
44760         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
44761         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
44762         Moved ...
44763         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
44764         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
44765         Moved ...
44766         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
44767         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
44768         Moved ...
44769         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
44770         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
44771         Moved ...
44772         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
44773         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
44774         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
44775         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
44776         Moved ...
44777         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
44778         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
44779         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
44780         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
44781         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
44782         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
44783         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
44784         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
44785         Moved ...
44786         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
44787         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44788         Moved ...
44789         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44790         ... here.
44791         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
44792         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
44793         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
44794         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
44795         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44796         Moved ...
44797         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44798         ... here.
44799         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
44800         Moved ...
44801         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
44802         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
44803         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
44804         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
44805         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
44806         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
44807         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
44808         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
44809         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
44810         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
44811         Moved ...
44812         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
44813         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
44814         Moved ...
44815         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
44816         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
44817         Moved ...
44818         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
44819         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
44820         Moved ...
44821         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
44822         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
44823         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
44824         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
44825         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
44826         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
44827         Moved ...
44828         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
44829         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
44830         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
44831         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
44832         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
44833         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
44834         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
44835         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
44836         Moved ...
44837         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
44838         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44839         Moved ...
44840         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44841         ... here.
44842         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
44843         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
44844         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
44845         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
44846         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44847         Moved ...
44848         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44849         ... here.
44850         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
44851         Moved ...
44852         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
44853         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
44854         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
44855         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
44856         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
44857         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
44858         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
44859         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
44860         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
44861         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
44862         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
44864         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
44865         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
44867         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
44868         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
44870         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
44871         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
44872         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
44873         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
44874         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
44875         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
44876         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
44877         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
44878         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
44879         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
44880         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
44881         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
44882         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
44883         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
44884         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
44885         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
44886         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
44887         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
44888         Moved ...
44889         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
44890         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
44891         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
44892         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
44893         Moved ...
44894         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
44895         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
44896         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
44897         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
44898         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
44899         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
44900         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
44901         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
44902         Moved ...
44903         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
44904         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
44905         Moved ...
44906         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
44907         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
44908         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
44909         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
44910         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
44911         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
44912         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
44913         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
44914         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
44915         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
44916         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
44917         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
44918         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
44919         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
44920         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
44921         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
44922         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
44924         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
44925         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
44926         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
44927         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
44928         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
44930         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
44931         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
44932         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
44933         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
44934         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
44935         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
44936         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
44937         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
44938         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
44939         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
44941         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
44942         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
44944         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
44945         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
44946         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
44947         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
44948         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
44949         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
44950         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
44951         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
44952         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
44953         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
44954         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
44955         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
44956         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
44957         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
44958         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
44959         Update #include.
44960         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
44961         Likewise.
44962         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44963         Likewise.
44964         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44965         Likewise.
44966         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44967         Likewise.
44968         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
44969         Likewise.
44970         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
44971         Likewise.
44972         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44973         Likewise.
44974         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
44975         Likewise.
44976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
44977         Likewise.
44978         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
44979         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
44980         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
44981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
44982         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
44983         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
44984         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
44985         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
44986         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
44987         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
44988         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
44989         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
44990         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
44991         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
44992         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
44994         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
44995         that was previously under [RESET_PID].
44996         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44997         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
44998         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
45000         * sysdeps/i386/nptl/Implies: New file.
45001         * sysdeps/x86_64/nptl/Implies: New file.
45002         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
45003         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
45004         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
45005         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
45007         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
45008         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45009         (__libc_vfork): New strong alias.
45010         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
45011         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
45013         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
45014         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45015         (__libc_vfork): New strong alias.
45016         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
45017         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
45019         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
45020         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45021         (__libc_vfork): New strong alias.
45022         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
45023         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
45024         * nptl/pt-vfork.c: New file.
45025         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
45026         (libpthread: GLIBC_2.20): New version set (empty).
45028 2014-05-14  Will Newton  <will.newton@linaro.org>
45030         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
45031         rather than #if.
45033 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45035         [BZ #16564]
45036         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
45037         arguments with exponent 65 or above.
45038         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
45039         arguments 0x1p113L or above.
45040         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
45041         to arguments 0x1p107L or above.
45042         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
45043         positive arguments with exponent 65 or above.
45044         * math/auto-libm-test-in: Add more tests of log1p.
45045         * math/auto-libm-test-out: Regenerated.
45047         [BZ #16928]
45048         * math/s_cacos.c (__cacos): Ensure zero real part of result from
45049         non-finite arguments is +0.
45050         * math/s_cacosf.c (__cacosf): Likewise.
45051         * math/s_cacosl.c (__cacosl): Likewise.
45052         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
45053         * sysdeps/i386/fpu/libm-test-ulps: Update.
45054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45056         [BZ #16927]
45057         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
45058         value.
45059         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
45060         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
45061         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
45062         for explicit high bit of mantissa when testing for argument equal
45063         to 1.
45064         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
45065         * sysdeps/i386/fpu/libm-test-ulps: Update.
45066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45068         [BZ #16516]
45069         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
45070         (__erf): Scale by 16 instead of 8 in potentially underflowing
45071         case.  Ensure exception if result actually underflows.
45072         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
45073         (__erff): Scale by 16 instead of 8 in potentially underflowing
45074         case.  Ensure exception if result actually underflows.
45075         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
45076         (efx8): Remove variable.
45077         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45078         case.  Ensure exception if result actually underflows.
45079         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
45080         (efx8): Remove variable.
45081         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45082         case.  Ensure exception if result actually underflows.
45083         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
45084         (efx8): Remove variable.
45085         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45086         case.  Ensure exception if result actually underflows.
45087         * math/auto-libm-test-in: Add more tests of erf.
45088         * math/auto-libm-test-out: Regenerated.
45090 2014-05-14  Andreas Schwab  <schwab@suse.de>
45092         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
45093         Remove code conditionalized on USE___THREAD.
45095         * config.h.in (HAVE_PT_CHOWN): Define as 0.
45096         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
45097         not definedness.
45099 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45101         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
45102         Define unconditionally.
45103         (__ASSUME_O_CLOEXEC): Likewise.
45104         (__ASSUME_SOCK_CLOEXEC): Likewise.
45105         (__ASSUME_IN_NONBLOCK): Likewise.
45106         (__ASSUME_PIPE2): Likewise.
45107         (__ASSUME_EVENTFD2): Likewise.
45108         (__ASSUME_SIGNALFD4): Likewise.
45109         (__ASSUME_DUP3): Likewise.
45110         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45111         (__ASSUME_DUP3): Do not define.
45112         (__ASSUME_EVENTFD2): Likewise.
45113         (__ASSUME_IN_NONBLOCK): Likewise.
45114         (__ASSUME_O_CLOEXEC): Likewise.
45115         (__ASSUME_PIPE2): Likewise.
45116         (__ASSUME_SIGNALFD4): Likewise.
45117         (__ASSUME_SOCK_CLOEXEC): Likewise.
45118         (__ASSUME_UTIMES): Undefine.
45119         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45120         (__ASSUME_UTIMES): Do not define.
45121         (__ASSUME_O_CLOEXEC): Likewise.
45122         (__ASSUME_SOCK_CLOEXEC): Likewise.
45123         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
45124         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
45125         0x020621].
45126         (__ASSUME_PIPE2): Likewise.
45127         (__ASSUME_EVENTFD2): Likewise.
45128         (__ASSUME_SIGNALFD4): Likewise.
45129         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
45130         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
45131         Do not define.
45132         (__ASSUME_EVENTFD2): Likewise.
45133         (__ASSUME_SIGNALFD4): Likewise.
45134         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
45135         (__ASSUME_32BITUIDS): Likewise.
45136         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45137         (__ASSUME_IPC64): Likewise.
45138         (__ASSUME_ST_INO_64_BIT): Likewise.
45139         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
45140         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
45141         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45142         (__ASSUME_UTIMES): Do not define.
45143         (__ASSUME_PSELECT): Likewise.
45144         (__ASSUME_PPOLL): Likewise.
45145         (__ASSUME_O_CLOEXEC): Likewise.
45146         (__ASSUME_SOCK_CLOEXEC): Likewise.
45147         (__ASSUME_IN_NONBLOCK): Likewise.
45148         (__ASSUME_PIPE2): Likewise.
45149         (__ASSUME_EVENTFD2): Likewise.
45150         (__ASSUME_SIGNALFD4): Likewise.
45151         (__ASSUME_DUP3): Likewise.
45152         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45153         (__ASSUME_UTIMES): Likewise.
45154         (__ASSUME_O_CLOEXEC): Likewise.
45155         (__ASSUME_SOCK_CLOEXEC): Likewise.
45156         (__ASSUME_IN_NONBLOCK): Likewise.
45157         (__ASSUME_PIPE2): Likewise.
45158         (__ASSUME_EVENTFD2): Likewise.
45159         (__ASSUME_SIGNALFD4): Likewise.
45160         (__ASSUME_DUP3): Likewise.
45161         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45162         (__ASSUME_UTIMES): Likewise.
45163         (__ASSUME_O_CLOEXEC): Likewise.
45164         (__ASSUME_SOCK_CLOEXEC): Likewise.
45165         (__ASSUME_IN_NONBLOCK): Likewise.
45166         (__ASSUME_PIPE2): Likewise.
45167         (__ASSUME_EVENTFD2): Likewise.
45168         (__ASSUME_SIGNALFD4): Likewise.
45169         (__ASSUME_DUP3): Likewise.
45170         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
45171         Likewise.
45172         (__ASSUME_UTIMES): Likewise.
45173         (__ASSUME_EVENTFD2): Likewise.
45174         (__ASSUME_SIGNALFD4): Likewise.
45175         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45176         (__ASSUME_O_CLOEXEC): Likewise.
45177         (__ASSUME_SOCK_CLOEXEC): Likewise.
45178         (__ASSUME_IN_NONBLOCK): Likewise.
45179         (__ASSUME_PIPE2): Likewise.
45180         (__ASSUME_EVENTFD2): Likewise.
45181         (__ASSUME_SIGNALFD4): Likewise.
45182         (__ASSUME_DUP3): Likewise.
45183         (__ASSUME_UTIMES): Undefine.
45185         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
45186         feclearexcept.  Remove symbol versioning code.
45187         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
45188         symbol versioning code.
45189         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
45190         symbol versioning code.
45191         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
45192         feupdateenv.  Remove symbol versioning code.
45193         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
45194         fegetexceptflag.  Remove symbol versioning code.
45195         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
45196         fesetexceptflag.  Remove symbol versioning code.
45197         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
45198         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
45199         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
45200         (__posix_fadvise64_l32): Remove prototype.
45201         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
45202         code.
45204 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45206         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
45207         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
45208         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
45209         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
45211 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
45213         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
45214         current working directory
45216 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45218         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
45219         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
45220         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
45221         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
45222         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
45223         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
45224         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
45225         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
45226         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
45227         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
45228         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
45229         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
45230         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
45231         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
45232         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
45233         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
45234         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
45235         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
45236         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
45237         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
45238         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
45239         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
45240         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
45241         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
45242         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
45243         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
45244         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
45245         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
45246         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
45247         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
45248         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
45249         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
45250         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
45251         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
45252         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
45253         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
45254         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
45255         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
45256         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
45257         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
45258         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
45259         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
45261         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
45262         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
45264         * sysdeps/unix/sysv/linux/arm/Makefile
45265         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
45266         Add rt-aeabi_unwind_cpp_pr1.
45267         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
45268         Add nptl-aeabi_unwind_cpp_pr1.
45269         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
45270         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
45271         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
45272         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45273         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
45274         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45276         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
45277         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
45278         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
45279         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
45281         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
45282         Deconditionalize the code that was previously under [RESET_PID].
45283         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
45285         * sysdeps/generic/exit-thread.h: New file.
45286         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
45287         * include/unistd.h (__exit_thread): Remove declaration.
45288         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
45289         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
45290         * csu/libc-start.c: Include <exit-thread.h>.
45291         (LIBC_START_MAIN): Pass no argument to __exit_thread.
45292         * nptl/pthread_create.c: Include <exit-thread.h>.
45293         (start_thread): Call __exit_thread in place of __exit_thread_inline.
45294         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
45295         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
45296         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
45297         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
45298         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
45299         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
45300         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
45301         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
45302         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
45303         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
45304         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
45305         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
45306         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
45307         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
45308         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
45309         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
45311 2014-05-13  Andreas Schwab  <schwab@suse.de>
45313         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
45315 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
45317         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45318         (__ASSUME_UTIMES): Do not condition on kernel version.
45319         (__ASSUME_PSELECT): Define unconditionally.
45320         (__ASSUME_PPOLL): Likewise.
45321         (__ASSUME_ATFCTS): Likewise.
45322         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
45323         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
45324         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
45325         (__ASSUME_UTIMENSAT): Define unconditionally.
45326         (__ASSUME_PRIVATE_FUTEX): Likewise.
45327         (__ASSUME_FALLOCATE): Likewise.
45328         (__ASSUME_O_CLOEXEC): Likewise.
45329         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
45330         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
45331         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
45332         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
45333         (__ASSUME_IN_NONBLOCK): Likewise.
45334         (__ASSUME_PIPE2): Likewise.
45335         (__ASSUME_EVENTFD2): Likewise.
45336         (__ASSUME_SIGNALFD4): Likewise.
45337         (__ASSUME_DUP3): Likewise.
45338         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45339         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
45340         (__ASSUME_AT_RANDOM): Likewise.
45341         (__ASSUME_PREADV): Likewise.
45342         (__ASSUME_PWRITEV): Likewise.
45343         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
45344         (__ASSUME_F_GETOWN_EX): Define unconditionally.
45345         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
45346         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45347         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
45348         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45349         (__ASSUME_O_CLOEXEC): Define unconditionally.
45350         (__ASSUME_PSELECT): Do not undefine conditionally.
45351         (__ASSUME_PPOLL): Likewise.
45352         (__ASSUME_ATFCTS): Likewise.
45353         (__ASSUME_SET_ROBUST_LIST): Likewise.
45354         (__ASSUME_UTIMENSAT): Likewise.
45355         (__ASSUME_FDATASYNC): Define unconditionally.
45356         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45357         (__ASSUME_SIGFRAME_V2): Likewise.
45358         )__ASSUME_EVENTFD2): Likewise.
45359         (__ASSUME_SIGNALFD4): Likewise.
45360         (__ASSUME_PSELECT): Do not undefine conditionally.
45361         (__ASSUME_PPOLL): Likewise.
45362         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45363         (__ASSUME_PSELECT): Define unconditionally.
45364         (__ASSUME_PPOLL): Likewise.
45365         (__ASSUME_O_CLOEXEC): Likewise.
45366         (__ASSUME_SOCK_CLOEXEC): Likewise.
45367         (__ASSUME_IN_NONBLOCK): Likewise.
45368         (__ASSUME_PIPE2): Likewise.
45369         (__ASSUME_EVENTFD2): Likewise.
45370         (__ASSUME_SIGNALFD4): Likewise.
45371         (__ASSUME_DUP3): Likewise.
45372         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45373         (__ASSUME_O_CLOEXEC): Likewise.
45374         (__ASSUME_SOCK_CLOEXEC): Likewise.
45375         (__ASSUME_IN_NONBLOCK): Likewise.
45376         (__ASSUME_PIPE2): Likewise.
45377         (__ASSUME_EVENTFD2): Likewise.
45378         (__ASSUME_SIGNALFD4): Likewise.
45379         (__ASSUME_DUP3): Likewise.
45380         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45381         (__ASSUME_EVENTFD2): Likewise.
45382         (__ASSUME_SIGNALFD4): Likewise.
45383         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45385 2014-05-12  Andreas Schwab  <schwab@suse.de>
45387         [BZ #16932]
45388         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
45389         (_nss_nis_gethostbyname4_r): Return error if item length is larger
45390         than maximum RPC packet size.
45391         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
45392         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
45393         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
45394         (_nss_nis_getservbyport_r): Likewise.
45396 2014-05-12  Will Newton  <will.newton@linaro.org>
45398         * malloc/Makefile (tests): Add tst-mallopt.
45399         * malloc/tst-mallopt.c: New file.
45401 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45403         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
45404         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
45406 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45408         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
45409         (tst-tlsmod6.so): Likewise.
45411 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45413         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
45415 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
45417         [BZ #16064]
45418         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
45419         and <dl-procinfo.h>.
45420         (__fegetenv): Save SSE state in envp->__eip if supported.
45421         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
45422         envp->__eip if supported.
45423         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
45424         and <dl-procinfo.h>.
45425         (__fesetenv): Always set __eip, __cs_selector, __opcode,
45426         __data_offset and __data_selector in environment to 0.  Set SSE
45427         state if supported.
45428         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
45429         test-fenv-sse.
45430         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
45431         -mfpmath=sse.
45432         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
45434 2014-05-09  Will Newton  <will.newton@linaro.org>
45436         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
45437         and libc_relro_required for ARM.
45438         * sysdeps/arm/preconfigure: Regenerate.
45440 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
45441             Stefan Liebler  <stli@linux.vnet.ibm.com>
45443         * config.make.in (enable-lock-elision): New Makefile variable.
45444         * configure.ac: Likewise.
45445         * configure: Regenerate.
45446         * sysdeps/s390/configure.ac:
45447         Add check for gcc transactions support.
45448         * sysdeps/s390/configure: Regenerate.
45449         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
45450         Build elision files if enabled.
45451         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
45452         Add lock elision support for s390.
45453         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
45454         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
45455         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
45456         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
45457         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
45458         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
45459         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45460         Likewise.
45461         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
45462         Likewise.
45463         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
45464         Likewise.
45465         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
45466         Likewise.
45467         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
45468         (__lll_timedlock_elision, __lll_lock_elision)
45469         (__lll_unlock_elision, __lll_trylock_elision)
45470         (lll_timedlock_elision, lll_lock_elision)
45471         (lll_unlock_elision, lll_trylock_elision): Add.
45472         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45473         (pthread_mutex_t): Add lock elision support for s390.
45475 2014-05-14  Wilco  <wdijkstr@arm.com>
45477         * sysdeps/arm/fclrexcpt.c: Cleanup.
45478         * sysdeps/arm/fedisblxcpt.c: Cleanup.
45479         * sysdeps/arm/feenablxcpt.c: Cleanup.
45480         * sysdeps/arm/fegetenv.c: Cleanup.
45481         * sysdeps/arm/fegetexcept.c: Cleanup.
45482         * sysdeps/arm/fegetround.c: Cleanup.
45483         * sysdeps/arm/feholdexcpt.c: Cleanup.
45484         * sysdeps/arm/fesetenv.c: Cleanup.
45485         * sysdeps/arm/fesetround.c: Cleanup.
45486         * sysdeps/arm/feupdateenv.c: Cleanup.
45487         * sysdeps/arm/fgetexcptflg.c: Cleanup.
45488         * sysdeps/arm/fraiseexcpt.c: Cleanup.
45489         * sysdeps/arm/fsetexcptflg.c: Cleanup.
45490         * sysdeps/arm/ftestexcept.c: Cleanup.
45491         * sysdeps/arm/get-rounding-mode.h: Cleanup.
45492         * sysdeps/arm/setfpucw.c: Cleanup.
45494 2014-05-09  Will Newton  <will.newton@linaro.org>
45496         * sysdeps/arm/armv7/strcmp.S: New file.
45497         * NEWS: Mention addition of ARMv7 optimized strcmp.
45499 2014-05-08  Roland McGrath  <roland@hack.frob.com>
45501         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
45502         look for %.ac rather than %.in.
45504         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
45505         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
45506         * sysdeps/mach/hurd/configure: Regenerated.
45507         * sysdeps/unix/sysv/linux/configure: Regenerated.
45509         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
45511 2014-05-07  Steve Ellcey  <sellcey@mips.com>
45513         [BZ# 16922]
45514         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
45515         (LONG_SUB): Ditto.
45516         (PTR_SUB): Ditto.
45518 2014-05-07  Andreas Schwab  <schwab@suse.de>
45520         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
45521         when skipping over non-matching result from nscd.
45523 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
45525         [BZ #16876]
45526         * nptl/sockperf.c (client): Check socket return value.
45528         [BZ #16877]
45529         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
45530         nscd security class.
45532 2014-05-06  Roland McGrath  <roland@hack.frob.com>
45534         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
45535         * sysdeps/arm/unwind.h: ... here.
45537 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
45539         [BZ# 16916]
45540         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
45541         Define.
45543 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45545         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
45546         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
45547         multiarch strncpy for PPC64.
45548         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
45549         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
45550         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
45551         multiarch optimizations.
45552         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45553         (__libc_ifunc_impl_list): Likewise.
45554         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
45555         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
45556         multiarch stpncpy for PPC64.
45557         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
45558         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
45560 2014-05-06  Andreas Schwab  <schwab@suse.de>
45562         [BZ #16912]
45563         * gmon/mcount.c (_MCOUNT_DECL): Use
45564         atomic_compare_and_exchange_bool_acq instead of
45565         catomic_compare_and_exchange_bool_acq.
45567 2014-05-05  Roland McGrath  <roland@hack.frob.com>
45569         * elf/Makefile (others, install-bin): Remove pldd.
45570         (pldd-modules): Variable removed.
45571         ($(objpfx)pldd): Target removed.
45572         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
45573         (others, install-bin): Append pldd here.
45574         ($(objpfx)pldd): New target.
45576         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
45577         to 0, so the first #if test emitted later doesn't see it undefined.
45578         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
45579         * sysdeps/gnu/errlist.c: Regenerated.
45581 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45583         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45584         [libc_hidden_builtin_def]: Define to empty value.
45585         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
45586         [libc_hidden_builtin_def]: Likewise.
45587         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
45588         [libc_hidden_builtin_def]: Likewise.
45589         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
45590         [libc_hidden_builtin_def]: Likewise.
45591         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
45592         __redirect_memcpy and define ifunc as default hidden symbol.
45593         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
45594         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
45596 2014-05-04  Adam Conrad  <adconrad@0c3.net>
45598         * locale/iso-4217.def: Reintroduce XDR currency.
45600 2014-05-04  Allan McRae  <allan@archlinux.org>
45602         * po/eo.po: Update Esperanto translation from translation project.
45604 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
45606         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
45607         and FEATURE_INDEX_MAX to 1.
45608         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
45610 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45612         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
45613         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
45614         * iconvdata/big5.c (ONE_DIRECTION): Define.
45615         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
45616         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
45617         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
45618         * iconvdata/cp932.c (ONE_DIRECTION): Define.
45619         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
45620         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
45621         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
45622         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
45623         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
45624         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
45625         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
45626         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
45627         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
45628         * iconvdata/gbk.c (ONE_DIRECTION): Define.
45629         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
45630         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
45631         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
45632         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
45633         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
45634         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
45635         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
45636         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
45637         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
45638         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
45639         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
45640         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
45641         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
45642         * iconvdata/iso646.c (ONE_DIRECTION): Define.
45643         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
45644         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
45645         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
45646         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
45647         * iconvdata/johab.c (ONE_DIRECTION): Define.
45648         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
45649         * iconvdata/sjis.c (ONE_DIRECTION): Define.
45650         * iconvdata/t.61.c (ONE_DIRECTION): Define.
45651         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
45652         * iconvdata/tscii.c (ONE_DIRECTION): Define.
45653         * iconvdata/uhc.c (ONE_DIRECTION): Define.
45654         * iconvdata/unicode.c (ONE_DIRECTION): Define.
45655         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
45656         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
45657         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
45659 2014-05-01  Roland McGrath  <roland@hack.frob.com>
45661         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
45662         (_IO_JUMPS_OFFSET): Define to 0.
45664         * nptl/sysdeps/pthread/bits/libc-lock.h
45665         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45666         (__libc_lock_define_initialized_recursive): Always define using
45667         initializer.  Modern compilers treat uninitialized (implicit zero) and
45668         explicit zero initializers the same (i.e. put the datum in bss).
45670 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45672         * nscd/nscd-client.h: Include <string.h>.
45674 2014-05-01  David S. Miller  <davem@davemloft.net>
45676         [BZ #16885]
45677         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
45678         multiple zero bytes exist at the end of a string.
45679         Reported by Aurelien Jarno <aurelien@aurel32.net>
45681         * string/test-strcmp.c (check): Add explicit test for situations where
45682         there are multiple zero bytes after the first.
45684 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45686         [BZ #16890]
45687         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
45688         when compiling wprintf.
45689         * stdio-common/tstdiomisc.c (t3): New function.
45690         (main): Call it.
45692 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45694         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
45695         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
45696         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
45697         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
45699 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45701         * stdlib/longlong.h: Updated from GCC.
45703 2014-05-01  Will Newton  <will.newton@linaro.org>
45704             Bernard Ogden  <bernie.ogden@linaro.org>
45706         * NEWS: Update fixed bug list.
45708         [BZ #15119]
45709         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
45711 2014-04-30  David S. Miller  <davem@davemloft.net>
45713         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
45714         (libc_feholdexcept_setround_sparc_ctx): New function.
45715         (libc_fesetenv_sparc_ctx): Likewise.
45716         (libc_feupdateenv_sparc_ctx): Likewise.
45717         (libc_feholdsetround_sparc_ctx): Likewise.
45718         (libc_feholdexcept_setround_ctx): Define.
45719         (libc_feholdexcept_setroundf_ctx): Likewise.
45720         (libc_feholdexcept_setroundl_ctx): Likewise.
45721         (libc_fesetenv_ctx): Likewise.
45722         (libc_fesetenvf_ctx): Likewise.
45723         (libc_fesetenvl_ctx): Likewise.
45724         (libc_feupdateenv_ctx): Likewise.
45725         (libc_feupdateenvf_ctx): Likewise.
45726         (libc_feupdateenvl_ctx): Likewise.
45727         (libc_feresetround_ctx): Likewise.
45728         (libc_feresetroundf_ctx): Likewise.
45729         (libc_feresetroundl_ctx): Likewise.
45730         (libc_feholdsetround_ctx): Likewise.
45731         (libc_feholdsetroundf_ctx): Likewise.
45732         (libc_feholdsetroundl_ctx): Likewise.
45734         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45735         with __USE_GNU instead of XOPEN cpp guards.
45737         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
45738         0.
45740         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45741         with XOPEN cpp guards.
45743 2014-04-30  Julian Brown  <julian@codesourcery.com>
45745         [BZ #16888]
45746         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
45747         handling.
45749 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
45751         [BZ #9894]
45752         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
45753         Change to 2.6.32.
45754         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
45755         * sysdeps/unix/sysv/linux/configure: Regenerated.
45756         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
45757         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
45758         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
45759         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
45760         * README: Update reference to required Linux kernel version.
45761         * manual/install.texi (Linux): Update reference to required Linux
45762         kernel headers version.
45763         * INSTALL: Regenerated.
45765         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
45766         header inclusion.
45767         [POSIX] (limits.h): Likewise.
45768         [POSIX] (math.h): Likewise.
45769         [POSIX] (sys/wait.h): Likewise.
45770         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
45771         function.
45772         [POSIX] (stddef.h): Do not allow header inclusion.
45774 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45776         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
45778 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
45780         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
45781         Return immediately after lll_futex_wake.
45783 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45785         [BZ #16791]
45786         * nscd/nscd-client.h (datahead_init_common): Initialize entire
45787         structure.
45788         (datahead_init_pos): Call datahead_init_common early.
45789         (datahead_init_neg): Likewise.
45791         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
45792         datahead_init_neg): New functions.
45793         * nscd/aicache.c (addhstaiX): Use them.
45794         * nscd/grpcache.c (cache_addgr): Likewise.
45795         * nscd/hstcache.c (cache_addhst): Likewise.
45796         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45797         * nscd/netgroupcache.c (do_notfound): Likewise.
45798         (addgetnetgrentX): Likewise.
45799         (addinnetgrX): Likewise.
45800         * nscd/pwdcache.c (cache_addpw): Likewise.
45801         * nscd/servicescache.c (cache_addserv): Likewise.
45803 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45804             Atsushi Onoe  <atsushi@onoe.org>
45806         [BZ #14308]
45807         [BZ #12994]
45808         [BZ #13651]
45809         * resolv/res_query.c (__libc_res_nsearch): Return if at least
45810         one response is valid.
45811         * resolv/res_send.c (send_dg): Check for validity of other
45812         response if the current response is a referral.
45814 2014-04-29  Steve Ellcey  <sellcey@mips.com>
45816         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
45818 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
45820         [BZ #16823]
45821         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
45822         Always divide by positive zero when computing -Inf result.
45823         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
45824         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
45826 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45828         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
45829         FPSCR if value do not change.
45830         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45831         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
45832         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
45833         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45834         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
45835         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
45836         function.
45838 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
45840         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
45841         * sysdeps/unix/sysv/linux/hppa: Move directory from
45842         ports/systeps/unix/sysv/linux/hppa.
45843         * README: Update listing for hppa-*-linux-gnu.
45845 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
45847         [BZ #16754]
45848         * manual/stdio.texi (Hook functions): Fix types of stream hook
45849         functions.
45850         [BZ #16854]
45851         * socket/sys/socket.h: Fix typo in comment.
45853 2014-04-28  Wilco  <wdijkstr@arm.com>
45855         * sysdeps/arm/fenv_private.h: New file.
45856         * sysdeps/arm/math_private.h: New file.
45857         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
45859 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
45861         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
45862         with __int128_t.
45863         (La_x86_64_retval): Likewise.
45865 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
45867         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
45868         fpsr if value didn't change.
45869         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
45870         to fpcr if value didn't change.
45871         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
45872         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
45873         fpsr or fpcr if value didn't change.
45874         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
45875         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
45876         fpcr if value didn't change.
45877         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
45878         to fpsr if value didn't change.
45880 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45882         * nptl/tst-sem3.c: Use test-skeleton.c
45883         (main): Rename to do_test.  Use return instead of
45884         exit.
45885         * nptl/tst-sem4.c: Use test-skeleton.c
45886         (main): Rename to do_test.
45888 2014-04-22  David S. Miller  <davem@davemloft.net>
45890         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
45891         (struct sigaction): New struct member __glibc_reserved0, change
45892         type of sa_flags to int.
45894 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
45896         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
45897         (COUNT_LEADING_ZEROS_0): Define for AArch64.
45899 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45901         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
45902         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
45904 2014-04-22  Will Newton  <will.newton@linaro.org>
45905             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
45907         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
45908         (__longjmp): Add longjmp and longjmp_target SystemTap
45909         probes.
45910         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
45911         (__sigsetjmp): Add setjmp SystemTap probe.
45913 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
45915         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
45916         match manual order.
45918 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45920         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
45922         * sysdeps/powerpc/fpu/fenv_private.h
45923         (libc_feholdexcept_setroundl_ctx): Define to
45924         libc_feholdexcept_setround_ppc_ctx.
45925         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
45926         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
45927         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
45928         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
45930 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45932         * sysdeps/aarch64/math-tests.h: New file.
45934 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
45936         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
45937         New.
45938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45939         Check and set bit_AVX2_Usable.
45940         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
45941         macro.
45942         (bit_AVX2): Likewise.
45943         (index_AVX2_Usable): Likewise.
45944         (CPUID_AVX2): Likewise.
45945         (HAS_AVX2): Likewise.
45947 2014-04-17  Will Newton  <will.newton@linaro.org>
45949         * manual/setjmp.texi (System V contexts): Add note that
45950         calling setcontext on a context created by a call to a
45951         signal handler is undefined.  Update text to note that
45952         setcontext from a signal handler is possible but not
45953         recommended.
45955         [BZ #16629]
45956         * stdlib/tst-setcontext.c: Include signal.h.
45957         (main): Check that the signal stack before and
45958         after swapcontext is the same.
45960         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
45961         Re-implement to restore registers in user code and avoid
45962         rt_sigreturn system call.
45964 2014-04-17  Wilco  <wdijkstr@arm.com>
45966         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
45967         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
45968         * math/test-fenv.c: Skip exception trap tests on targets which only
45969         support non-stop mode.
45971 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45972             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45974         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
45975         (libc_feholdsetround_aarch64_ctx)
45976         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
45977         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
45978         (libc_feresetround_ctx, libc_feresetroundf_ctx)
45979         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
45980         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
45981         (libc_feresetround_noexl_ctx): Define.
45983 2014-04-16  Richard Henderson  <rth@redhat.com>
45985         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
45987         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
45988         unwind tables.
45990         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
45991         const from the non-libc, non-ldso copy.
45993         * sysdeps/alpha/libm-test-ulps: Regenerate.
45995 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
45996             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45998         * sysdeps/aarch64/fpu/math_private.h: New file.
46000 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46002         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46004 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
46006         [BZ #16275]
46007         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
46008         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
46009         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
46010         Intel MPX bound registers before _dl_profile_fixup.
46011         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
46012         registers after _dl_profile_fixup.  Save and restore bound
46013         registers bnd0/bnd1 when calling _dl_call_pltexit.
46014         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
46015         (LR_BND_OFFSET): Likewise.
46016         (LRV_BND0_OFFSET): Likewise.
46017         (LRV_BND1_OFFSET): Likewise.
46019 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46021         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
46022         to...
46023         * sysdeps/mach/hurd/i386/tls.h: ... here.
46024         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
46025         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
46026         fields.
46028 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46030         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
46032 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46034         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46036 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46038         [BZ #14770]
46039         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
46040         * sysdeps/s390/configure: Regenerate.
46042         [BZ #16824]
46043         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
46044         Set round-to-nearest internally to reduce error accumulation.
46046 2014-04-16  Alan Modra  <amodra@gmail.com>
46048         [BZ #16740]
46049         [BZ #16619]
46050         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
46051         * math/libm-test.inc (frexp_test_data): Add tests.
46052         * NEWS: Update fixed bug list.
46054 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46056         * benchtests/Makefile: Depend on libraries in build directory.
46057         (bench-math): Separate out math tests.
46058         (bench-pthread): Separate out pthread tests.
46059         (bench): Include math and pthread tests.
46061 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
46063         [BZ #16831]
46064         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
46065         _dl_debug_initialize.
46067         * configure.ac: Remove SELinux header check.
46068         * configure: Regenerate.
46069         * nscd/selinux.c (perms): Array of const char* to permission names.
46070         (nscd_request_avc_has_perm): Call security_deny_unknown to find
46071         default policy. Call string_to_security_class and string_to_av_perm to
46072         translate strings. Enforce default policy and call avs_has_perm with
46073         results of translated strings.
46075 2014-04-13  David S. Miller  <davem@davemloft.net>
46077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46079 2014-04-12  Allan McRae  <allan@archlinux.org>
46081         [BZ #16838]
46082         * manual/string.texi (Collation Functions): Fix qsort argument
46083         order in example.
46084         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46086 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
46088         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
46089         Make the test a no-op if there are no exceptions defined.
46091 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
46093         * elf/Makefile (tests): make tst-dlopen-aout conditional on
46094         enable-hardcoded-path-in-tests
46096 2014-04-11  Will Newton  <will.newton@linaro.org>
46098         * benchtests/Makefile (extra-objs): Add json-lib.o.
46099         (bench-func): Tidy up JSON output.
46100         * benchtests/bench-skeleton.c: Include json-lib.h.
46101         (main): Use JSON library functions to do output of
46102         benchmark results.
46103         * benchtests/bench-timing-type.c (main): Output the
46104         timing type simply, leaving formatting to the user.
46105         * benchtests/json-lib.c: New file.
46106         * benchtests/json-lib.h: Likewise.
46108 2014-04-11  Torvald Riegel  <triegel@redhat.com>
46110         [BZ #15215]
46111         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
46112         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
46113         memory barriers.  Add comments.
46114         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
46115         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
46116         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
46117         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
46118         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
46119         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
46121 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46123         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
46124         * sysdeps/s390/s390-64/configure.ac: ... this ...
46125         * sysdeps/s390/configure.ac: ... to here.
46126         * sysdeps/s390/s390-32/configure: Delete file.
46127         * sysdeps/s390/s390-64/configure: Delete file.
46128         * sysdeps/s390/configure: Regenerate.
46130 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
46132         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
46134 2014-04-11  Will Newton  <will.newton@linaro.org>
46136         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
46137         to zero if it is not defined elsewhere.  (mtrim): Test
46138         the value of MALLOC_DEBUG with #if rather than #ifdef.
46140 2014-04-10 Torvald Riegel  <triegel@redhat.com>
46142         * benchtests/pthread_once-inputs: New file.
46143         * benchtests/pthread_once-source.c: New file.
46144         * benchtests/README: Update documentation.
46146 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
46147             H.J. Lu  <hongjiu.lu@intel.com>
46149         [BZ #16275]
46150         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
46151         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
46152         * sysdeps/x86_64/configure: Regenerated.
46153         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
46154         macro.
46155         (REGISTER_SAVE_RAX): Likewise.
46156         (REGISTER_SAVE_RCX): Likewise.
46157         (REGISTER_SAVE_RDX): Likewise.
46158         (REGISTER_SAVE_RSI): Likewise.
46159         (REGISTER_SAVE_RDI): Likewise.
46160         (REGISTER_SAVE_R8): Likewise.
46161         (REGISTER_SAVE_R9): Likewise.
46162         (REGISTER_SAVE_BND0): Likewise.
46163         (REGISTER_SAVE_BND1): Likewise.
46164         (REGISTER_SAVE_BND2): Likewise.
46165         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
46166         bound registers when calling _dl_fixup.
46168 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46170         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
46171         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
46172         of its definition.
46173         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
46174         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
46175         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
46176         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
46177         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
46178         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
46179         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
46181 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
46183         [BZ #15514]
46184         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
46185         pathconf(_PC_NAME_MAX).
46187 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46189         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
46190         Remove macro usage.
46191         (__PTHREAD_SPINS): Move definition to ...
46192         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46193         (__PTHREAD_SPINS): ... here.
46194         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46195         (__PTHREAD_SPIN): Likewise.
46196         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
46197         (__PTHREAD_SPIN): Likewise.
46198         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
46199         (__PTHREAD_SPIN): Likewise.
46200         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
46201         (__PTHREAD_SPIN): Likewise.
46202         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46203         (__PTHREAD_SPIN): Likewise.
46204         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46205         (__PTHREAD_SPIN): Likewise.
46206         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
46207         (__PTHREAD_SPIN): Likewise.
46208         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46209         (__PTHREAD_SPIN): Likewise.
46210         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46211         (__PTHREAD_SPIN): Likewise.
46212         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46213         (__PTHREAD_SPIN): Likewise.
46214         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46215         (__PTHREAD_SPIN): Likewise.
46216         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
46217         (__PTHREAD_SPIN): Likewise.
46219         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
46220         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
46221         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
46222         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
46223         imply folder.
46224         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
46225         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
46226         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
46227         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
46228         correct imply path.
46229         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
46230         strlen symbol for non multi-arch builds.
46231         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
46232         missing hidden_def and weak_alias.
46234 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
46236         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
46238 2014-04-07  Will Newton  <will.newton@linaro.org>
46240         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
46241         and contents.  [!_LIBC] Remove #ifndef and contents.
46242         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
46243         * string/memccpy.c (__memccpy): Use ANSI prototype.
46244         * string/memfrob.c (memfrob): Likewise.
46245         * string/strcoll.c (STRCOLL): Likewise.
46246         * string/strlen.c (strlen): Likewise.
46247         * string/strtok.c (STRTOK): Likewise.
46248         * string/strcat.c: Remove unused #include of memcopy.h.
46249         (strcat): Use ANSI prototype.
46250         * string/strchr.c: Remove unused #include of memcopy.h.
46251         (strchr): Use ANSI prototype.
46252         * string/strcmp.c: Remove unused #include of memcopy.h.
46253         (strcmp): Use ANSI prototype.
46254         * string/strcpy.c: Remove unused #include of memcopy.h.
46255         (strcpy): Use ANSI prototype.
46257 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46259         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
46260         * config.make.in (config-extra-cppflags): Set it from
46261         libc_extra_cppflags.
46262         * configure.ac (libc_extra_cflags): Make it accumulate over
46263         configure fragments.
46264         (libc_extra_cppflags): New flag.
46265         * configure. Regenerate.
46266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46267         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
46268         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
46269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
46271         [BZ #16815]
46272         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
46273         result for FE_DOWNWARD rounding mode.
46274         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
46275         Likewise.
46276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46278 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
46280         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
46281         in function argument name.
46283 2014-04-03  David Svoboda  <svoboda@cert.org>
46285         [BZ #5666]
46286         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
46287         explicitly.
46289 2014-04-03  Roland McGrath  <roland@hack.frob.com>
46291         * elf/dl-unmap-segments.h: New file.
46292         * sysdeps/generic/ldsodefs.h
46293         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
46294         * elf/dl-close.c: Include <dl-unmap-segments.h>.
46295         * elf/dl-fptr.c: Likewise.
46296         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
46297         * sysdeps/aarch64/tlsdesc.c: Likewise.
46298         * sysdeps/arm/tlsdesc.c: Likewise.
46299         * sysdeps/i386/tlsdesc.c: Likewise.
46300         * sysdeps/tile/dl-runtime.c: Likewise.
46301         * sysdeps/x86_64/tlsdesc.c: Likewise.
46302         * elf/dl-load.h: New file.
46303         * elf/dl-load.c: Include it.
46304         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
46305         Macros moved to dl-load.h.
46306         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
46307         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
46308         Use _dl_unmap_segments in place of __munmap.
46309         Break out segment-mapping loop into ...
46310         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
46312 2014-04-03  Will Newton  <will.newton@linaro.org>
46314         * elf/dl-lookup.c (do_lookup_x): Remove comment
46315         referring to nested function and move variable
46316         declarations down to before first use.
46318 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
46320         [BZ #16799]
46321         [BZ #16800]
46322         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
46323         with 0 numerator.
46324         * math/s_catanf.c (__catanf): Likewise.
46325         * math/s_catanh.c (__catanh): Likewise.
46326         * math/s_catanhf.c (__catanhf): Likewise.
46327         * math/s_catanhl.c (__catanhl): Likewise.
46328         * math/s_catanl.c (__catanl): Likewise.
46329         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
46330         by positive zero when computing -Inf result.
46331         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
46332         (catanh_test): Likewise.
46333         * sysdeps/i386/fpu/libm-test-ulps: Update.
46334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46336         [BZ #16789]
46337         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
46338         instead of using underflowing value in computing result.
46339         * math/s_clog10.c (__clog10): Likewise.
46340         * math/s_clog10f.c (__clog10f): Likewise.
46341         * math/s_clog10l.c (__clog10l): Likewise.
46342         * math/s_clogf.c (__clogf): Likewise.
46343         * math/s_clogl.c (__clogl): Likewise.
46344         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
46345         (clog10_test): Likewise.
46346         * sysdeps/i386/fpu/libm-test-ulps: Update.
46347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46349 2014-04-02  Alan Modra  <amodra@gmail.com>
46351         [BZ #16739]
46352         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
46353         output when value is near a power of two.  Use int64_t for lx and
46354         remove casts.  Use decimal rather than hex exponent constants.
46355         Don't use long double multiplication when double will suffice.
46356         * math/libm-test.inc (nextafter_test_data): Add tests.
46357         * NEWS: Add 16739 and 16786 to bug list.
46359         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
46361         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
46363 2014-04-01  Will Newton  <will.newton@linaro.org>
46365         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
46366         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
46368 2014-04-01  Florian Weimer  <fweimer@redhat.com>
46370         [BZ #13347]
46371         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
46372         * nptl/tst-setuid2.c: New file.
46373         * nptl/Makefile (xtests): Add tst-setuid2.
46375 2014-04-01  Alan Modra  <amodra@gmail.com>
46377         [BZ #16786]
46378         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
46380 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46382         [BZ #6803]
46383         [BZ #6804]
46384         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
46385         set errno as appropriate.
46386         * math/w_scalbf.c (__scalbf): Likewise.
46387         * math/w_scalbl.c (__scalbl): Likewise.
46388         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
46389         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
46390         * math/libm-test.inc (scalb_test_data): Add errno expectations.
46391         Add more NaN tests.
46393         [BZ #16349]
46394         * math/w_atan2.c: Include <errno.h>.
46395         (__atan2): Set errno for result underflowing to zero.
46396         * math/w_atan2f.c: Include <errno.h>.
46397         (__atan2f): Set errno for result underflowing to zero.
46398         * math/w_atan2l.c: Include <errno.h>.
46399         (__atan2l): Set errno for result underflowing to zero.
46400         * math/auto-libm-test-in: Don't allow missing errno for some atan2
46401         tests.
46402         * math/auto-libm-test-out: Regenerated.
46404 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46406         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
46407         Encode instruction correctly in little endian.
46408         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
46409         Likewise.
46410         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
46411         Likewise.
46412         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
46413         Likewise.
46414         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
46415         Likewise.
46417 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46419         [BZ #9894]
46420         * sysdeps/unix/sysv/linux/kernel-features.h
46421         [__sparc__ && !__arch64__ && !__sparc_v9__]
46422         (__ASSUME_SET_ROBUST_LIST): Do not define.
46423         [__sparc__ && !__arch64__ && !__sparc_v9__]
46424         (__ASSUME_FUTEX_LOCK_PI): Likewise.
46425         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
46426         Likewise.
46427         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46428         (__ASSUME_FUTEX_LOCK_PI): Undefine.
46429         (__ASSUME_REQUEUE_PI): Likewise.
46430         (__ASSUME_SET_ROBUST_LIST): Likewise.
46431         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46432         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
46433         Undefine.
46434         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46435         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
46436         Likewise.
46437         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
46438         Likewise.
46439         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
46440         Likewise.
46441         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46442         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
46443         Undefine.
46444         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
46445         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
46446         Likewise.
46448         [BZ #16648]
46449         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46450         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
46451         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
46453 2014-03-31  Will Newton  <will.newton@linaro.org>
46455         * benchtests/Makefile (bench): Add ffs and ffsll to list
46456         of tests.
46457         * benchtests/ffs-inputs: New file.
46458         * benchtests/ffsll-inputs: Likewise.
46460 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
46462         [BZ #16770]
46463         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
46464         too large before casting to int.
46465         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
46466         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
46467         * math/libm-test.inc (scalb_test_data): Add more tests.
46469 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46471         * benchtests/Makefile (DETAILED_OPT): New make option.
46472         (bench-func): Run benchmark program with -d if DETAILED_OPT is
46473         set.
46474         * benchtests/bench-skeleton.c: Include stdbool.h.
46475         (main): Store and print timings per input.
46476         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
46477         member to each argument value.
46478         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
46479         (_print_arg_data): Initialize per-input timing to 0.
46481         * benchtests/Makefile (timing-type): New binary.
46482         (bench-clean): Also remove bench-timing-type.
46483         (bench): New target for timing-type.
46484         (bench-func): Print output in JSON format.
46485         * benchtests/bench-skeleton.c (main): Print output in JSON
46486         format.
46487         * benchtests/bench-timing-type.c: New file.
46488         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
46489         (TIMING_PRINT_STATS): Remove.
46490         * benchtests/scripts/bench.py (_print_arg_data): Store variant
46491         name separately.
46493         * benchtests/bench-modf.c: Remove.
46494         * benchtests/modf-inputs: New inputs file.
46496 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
46498         [BZ #16362]
46499         * math/s_clog10.c (M_PI_LOG10E): New macro.
46500         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
46501         imaginary parts are 0.
46502         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
46503         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
46504         imaginary parts are 0.
46505         * math/s_clog10l.c (M_PI_LOG10El): New macro.
46506         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
46507         imaginary parts are 0.
46508         * math/libm-test.inc (clog10_test_data): Update expected results
46509         for when real and imaginary parts are 0.
46511 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
46513         * elf/dl-load.c: Finish conversion of __builtin_expect into
46514         __glibc_{un}likely.
46516 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
46518         [BZ #16348]
46519         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
46520         1+x for argument with exponent below -67.
46521         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
46522         Likewise.
46523         * math/auto-libm-test-in: Add more tests of exp.
46524         * math/auto-libm-test-out: Regenerated.
46526 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46528         [BZ #16759]
46529         * inet/getnetgrent_r.c (get_nonempty_val): New function.
46530         (nscd_getnetgrent): Use it.
46532         [BZ #16760]
46533         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
46534         of stpcpy.
46536 2014-03-27  Andi Kleen  <ak@linux.intel.com>
46538         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
46539         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46540         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46541         (lll_robust_unlock): Remove out of line section. Use cfi
46542         intrinsics.
46543         (LLL_STUB_UNWIND_INFO*): Remove.
46544         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
46545         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46546         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46547         (lll_robust_unlock): Remove out of line section. Use cfi
46548         intrinsics.
46549         (LLL_STUB_UNWIND_INFO*): Remove.
46551 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46553         [BZ #16758]
46554         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
46555         blank values.
46557 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
46559         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
46561 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
46563         [BZ #16198]
46564         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
46565         fnstenv.
46566         * math/test-fenv-preserve.c: New file.
46567         * math/Makefile (tests): Add test-fenv-preserve.
46569 2014-03-26  Will Newton <will.newton@linaro.org>
46571         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
46573 2014-03-25  Roland McGrath  <roland@hack.frob.com>
46575         * scripts/versionlist.awk: Partition the version sets and emit all
46576         GLIBC_* (sorted) before all others (sorted).
46578 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46580         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
46581         GLIBC_2.2.5 version.
46583 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46585         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
46586         calls.
46588         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
46589         previous change.
46591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46593 2014-03-25  Andreas Schwab  <schwab@suse.de>
46595         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
46596         label to be used after in6ailist is initialized.
46598 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46600         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46601         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46603 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46605         [BZ #16357]
46606         [BZ #16599]
46607         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
46608         min_plus_half.
46609         (fp_formats): Update initializers.
46610         (init_fp_formats): Initialize new field.
46611         (output_for_one_input_case): Allow underflow for results up to
46612         min_plus_half.
46613         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
46614         * math/auto-libm-test-in: Don't mark some underflows from asin and
46615         atanh as spurious.
46616         * math/auto-libm-test-out: Regenerated.
46617         * sysdeps/i386/fpu/libm-test-ulps: Update.
46618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46620 2014-03-25  Andreas Schwab  <schwab@suse.de>
46622         * libio/Makefile (tst-ftell-partial-wide-ENV)
46623         (tst-ftell-active-handler-ENV): Define.
46625 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
46627         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
46629 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46631         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
46633 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46635         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
46636         * sysdeps/x86_64/fpu/multiarch/e_exp.c
46637         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
46639 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46641         [BZ #16634]
46642         * elf/dl-load.c (open_verify): Add mode parameter.
46643         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
46644         (open_path): Change from boolean 'secure' to complete flag 'mode'
46645         (_dl_map_object): Adjust.
46646         * elf/Makefile (tests): Add tst-dlopen-aout.
46647         * elf/tst-dlopen-aout.c: New test.
46649 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
46651         [BZ #16714]
46652         * sysdeps/unix/sysv/linux/s390/bits/stat.h
46653         (struct stat): Rename member pad0 to __glibc_reserved0.
46655         [BZ #16712]
46656         * sysdeps/s390/s390-32/bits/wordsize.h
46657         (__WORDSIZE32_SIZE_ULONG): New define.
46658         * sysdeps/s390/s390-64/bits/wordsize.h
46659         (__WORDSIZE32_SIZE_ULONG): Likewise.
46660         * sysdeps/generic/stdint.h (SIZE_MAX):
46661         Define as UL if __WORDSIZE32_SIZE_ULONG.
46663         [BZ #16713]
46664         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
46665         (__glibc_reserved0): New variable.
46666         (sa_flags): Change type to int.
46668         * posix/Makefile (before-compile): Use += before-compile instead
46669         of a :=.
46671         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46672         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46674 2014-03-20  Andreas Schwab  <schwab@suse.de>
46676         [BZ #16743]
46677         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
46678         non-matching result from nscd.
46680 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46682         * scripts/bench.py: Moved to ...
46683         * benchtests/scripts/bench.py: ... here.
46684         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
46686 2014-03-24  Andreas Schwab  <schwab@suse.de>
46688         [BZ #16002]
46689         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
46690         alloca_account and account alloca use for struct in6ailist.
46692 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46694         [BZ #16284]
46695         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
46696         rounding mode to recompute results that overflow to infinity or
46697         underflow to zero.
46698         * math/auto-libm-test-in: Don't mark tests as expected to fail for
46699         bug 16284.
46700         * math/auto-libm-test-out: Regenerated.
46701         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
46702         (ccosh_test): Likewise.
46703         (csin_test_data): Use plus_oflow.
46704         (csin_test): Use ALL_RM_TEST.
46705         (csinh_test_data): Use plus_oflow.
46706         (csinh_test): Use ALL_RM_TEST.
46707         * sysdeps/i386/fpu/libm-test-ulps: Update.
46708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46710 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
46712         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
46713         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
46714         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
46716         [BZ #16731]
46717         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
46718         when x - 1 is zero.
46719         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
46720         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
46721         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46722         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
46723         argument is 1.
46724         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
46725         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
46726         zero.
46727         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
46728         * sysdeps/i386/fpu/libm-test-ulps: Update.
46729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46731 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46733         * scripts/bench.pl: Remove file.
46734         * scripts/bench.py: New benchmark script.
46735         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
46736         * benchtests/README: Mention python dependency.
46737         * scripts/pylintrc: New file.
46738         * scripts/pylint: New file.
46740         * bits/mathdef.h: Use #ifdef instead of #if.
46741         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
46742         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46743         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
46744         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46745         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
46746         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46748 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46749             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46751         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
46752         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
46753         and strpbrk-ppc64 objects.
46754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46755         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
46756         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
46757         multiarch strpbrk for POWER7.
46758         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
46759         multiarch strpbrk for PPC64.
46760         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
46761         ifunc selector.
46762         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
46763         strpbrk for POWER7.
46765 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46767         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
46768         (atan_test): Likewise.
46769         (atanh_test_data): Use NO_TEST_INLINE for two tests.
46770         (atanh_test): Use ALL_RM_TEST.
46771         (atan2_test_data): Likewise.
46772         (cabs_test): Likewise.
46773         (cacosh_test): Likewise.
46774         (carg_test): Likewise.
46775         (casin_test): Likewise.
46776         (casinh_test): Likewise.
46777         (cbrt_test): Likewise.
46778         (csqrt_test): Likewise.
46779         (erf_test): Likewise.
46780         (erfc_test): Likewise.
46781         (pow10_test): Likewise.
46782         (exp2_test): Likewise.
46783         (hypot_test): Likewise.
46784         (j0_test): Likewise.
46785         (j1_test): Likewise.
46786         (lgamma_test): Likewise.
46787         (gamma_test): Likewise.
46788         (sincos_test): Likewise.
46789         (tanh_test): Likewise.
46790         (y0_test): Likewise.
46791         (y1_test): Likewise.
46792         * sysdeps/i386/fpu/libm-test-ulps: Update.
46793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46795 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46797         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
46798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
46799         and strcspn-ppc64 objects.
46800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46801         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
46802         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
46803         multiarch strcspn for POWER7.
46804         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
46805         multiarch strcspn for PPC64.
46806         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
46807         ifunc selector.
46808         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
46809         strcspn for POWER7.
46811 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46813         * math/gen-libm-test.pl (generate_testfile): Expect only function
46814         name as argument to AUTO_TESTS_* and pass results for all rounding
46815         modes to parse_args.
46816         (parse_auto_input): Separate inputs of automatic tests from
46817         outputs before storing in %auto_tests.
46818         * math/libm-test.inc (acos_test_data): Update call to
46819         AUTO_TESTS_f_f.
46820         (acos_test): Use ALL_RM_TEST.
46821         (acos_tonearest_test_data): Remove.
46822         (acos_test_tonearest): Likewise.
46823         (acos_towardzero_test_data): Likewise.
46824         (acos_test_towardzero): Likewise.
46825         (acos_downward_test_data): Likewise.
46826         (acos_test_downward): Likewise.
46827         (acos_upward_test_data): Likewise.
46828         (acos_test_upward): Likewise.
46829         (acosh_test_data): Update call to AUTO_TESTS_f_f.
46830         (asin_test_data): Likewise.
46831         (asin_test): Use ALL_RM_TEST.
46832         (asin_tonearest_test_data): Remove.
46833         (asin_test_tonearest): Likewise.
46834         (asin_towardzero_test_data): Likewise.
46835         (asin_test_towardzero): Likewise.
46836         (asin_downward_test_data): Likewise.
46837         (asin_test_downward): Likewise.
46838         (asin_upward_test_data): Likewise.
46839         (asin_test_upward): Likewise.
46840         (asinh_test_data): Update call to AUTO_TESTS_f_f.
46841         (atan_test_data): Likewise.
46842         (atanh_test_data): Likewise.
46843         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
46844         (cabs_test_data): Update call to AUTO_TESTS_c_f.
46845         (carg_test_data): Likewise.
46846         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
46847         (ccos_test_data): Update call to AUTO_TESTS_c_c.
46848         (ccosh_test_data): Likewise.
46849         (cexp_test_data): Likewise.
46850         (clog_test_data): Likewise.
46851         (clog10_test_data): Likewise.
46852         (cos_test_data): Update call to AUTO_TESTS_f_f.
46853         (cos_test): Use ALL_RM_TEST.
46854         (cos_tonearest_test_data): Remove.
46855         (cos_test_tonearest): Likewise.
46856         (cos_towardzero_test_data): Likewise.
46857         (cos_test_towardzero): Likewise.
46858         (cos_downward_test_data): Likewise.
46859         (cos_test_downward): Likewise.
46860         (cos_upward_test_data): Likewise.
46861         (cos_test_upward): Likewise.
46862         (cosh_test_data): Update call to AUTO_TESTS_f_f.
46863         (cosh_test): Use ALL_RM_TEST.
46864         (cosh_tonearest_test_data): Remove.
46865         (cosh_test_tonearest): Likewise.
46866         (cosh_towardzero_test_data): Likewise.
46867         (cosh_test_towardzero): Likewise.
46868         (cosh_downward_test_data): Likewise.
46869         (cosh_test_downward): Likewise.
46870         (cosh_upward_test_data): Likewise.
46871         (cosh_test_upward): Likewise.
46872         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
46873         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
46874         (ctan_test_data): Likewise.
46875         (ctan_test): Use ALL_RM_TEST.
46876         (ctan_tonearest_test_data): Remove.
46877         (ctan_test_tonearest): Likewise.
46878         (ctan_towardzero_test_data): Likewise.
46879         (ctan_test_towardzero): Likewise.
46880         (ctan_downward_test_data): Likewise.
46881         (ctan_test_downward): Likewise.
46882         (ctan_upward_test_data): Likewise.
46883         (ctan_test_upward): Likewise.
46884         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
46885         (ctanh_test): Use ALL_RM_TEST.
46886         (ctanh_tonearest_test_data): Remove.
46887         (ctanh_test_tonearest): Likewise.
46888         (ctanh_towardzero_test_data): Likewise.
46889         (ctanh_test_towardzero): Likewise.
46890         (ctanh_downward_test_data): Likewise.
46891         (ctanh_test_downward): Likewise.
46892         (ctanh_upward_test_data): Likewise.
46893         (ctanh_test_upward): Likewise.
46894         (erf_test_data): Update call to AUTO_TESTS_f_f.
46895         (erfc_test_data): Likewise.
46896         (exp_test_data): Likewise.
46897         (exp_test): Use ALL_RM_TEST.
46898         (exp_tonearest_test_data): Remove.
46899         (exp_test_tonearest): Likewise.
46900         (exp_towardzero_test_data): Likewise.
46901         (exp_test_towardzero): Likewise.
46902         (exp_downward_test_data): Likewise.
46903         (exp_test_downward): Likewise.
46904         (exp_upward_test_data): Likewise.
46905         (exp_test_upward): Likewise.
46906         (exp10_test_data): Update call to AUTO_TESTS_f_f.
46907         (exp10_test): Use ALL_RM_TEST.
46908         (exp10_tonearest_test_data): Remove.
46909         (exp10_test_tonearest): Likewise.
46910         (exp10_towardzero_test_data): Likewise.
46911         (exp10_test_towardzero): Likewise.
46912         (exp10_downward_test_data): Likewise.
46913         (exp10_test_downward): Likewise.
46914         (exp10_upward_test_data): Likewise.
46915         (exp10_test_upward): Likewise.
46916         (exp2_test_data): Update call to AUTO_TESTS_f_f.
46917         (expm1_test_data): Likewise.
46918         (expm1_test): Use ALL_RM_TEST.
46919         (expm1_tonearest_test_data): Remove.
46920         (expm1_test_tonearest): Likewise.
46921         (expm1_towardzero_test_data): Likewise.
46922         (expm1_test_towardzero): Likewise.
46923         (expm1_downward_test_data): Likewise.
46924         (expm1_test_downward): Likewise.
46925         (expm1_upward_test_data): Likewise.
46926         (expm1_test_upward): Likewise.
46927         (fma_test_data): Update call to AUTO_TESTS_fff_f.
46928         (fma_test): Use ALL_RM_TEST.
46929         (fma_towardzero_test_data): Remove.
46930         (fma_test_towardzero): Likewise.
46931         (fma_downward_test_data): Likewise.
46932         (fma_test_downward): Likewise.
46933         (fma_upward_test_data): Likewise.
46934         (fma_test_upward): Likewise.
46935         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
46936         (j0_test_data): Update call to AUTO_TESTS_f_f.
46937         (j1_test_data): Likewise.
46938         (jn_test_data): Update call to AUTO_TESTS_if_f.
46939         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
46940         (log_test_data): Update call to AUTO_TESTS_f_f.
46941         (log10_test_data): Likewise.
46942         (log1p_test_data): Likewise.
46943         (log2_test_data): Likewise.
46944         (pow_test_data): Update call to AUTO_TESTS_ff_f.
46945         (pow_tonearest_test_data): Likewise.
46946         (sin_test_data): Update call to AUTO_TESTS_f_f.
46947         (sin_test): Use ALL_RM_TEST.
46948         (sin_tonearest_test_data): Remove.
46949         (sin_test_tonearest): Likewise.
46950         (sin_towardzero_test_data): Likewise.
46951         (sin_test_towardzero): Likewise.
46952         (sin_downward_test_data): Likewise.
46953         (sin_test_downward): Likewise.
46954         (sin_upward_test_data): Likewise.
46955         (sin_test_upward): Likewise.
46956         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
46957         (sinh_test_data): Update call to AUTO_TESTS_f_f.
46958         (sinh_test): Use ALL_RM_TEST.
46959         (sinh_tonearest_test_data): Remove.
46960         (sinh_test_tonearest): Likewise.
46961         (sinh_towardzero_test_data): Likewise.
46962         (sinh_test_towardzero): Likewise.
46963         (sinh_downward_test_data): Likewise.
46964         (sinh_test_downward): Likewise.
46965         (sinh_upward_test_data): Likewise.
46966         (sinh_test_upward): Likewise.
46967         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
46968         (sqrt_test): Use ALL_RM_TEST.
46969         (sqrt_tonearest_test_data): Remove.
46970         (sqrt_test_tonearest): Likewise.
46971         (sqrt_towardzero_test_data): Likewise.
46972         (sqrt_test_towardzero): Likewise.
46973         (sqrt_downward_test_data): Likewise.
46974         (sqrt_test_downward): Likewise.
46975         (sqrt_upward_test_data): Likewise.
46976         (sqrt_test_upward): Likewise.
46977         (tan_test_data): Update call to AUTO_TESTS_f_f.
46978         (tan_test): Use ALL_RM_TEST.
46979         (tan_tonearest_test_data): Remove.
46980         (tan_test_tonearest): Likewise.
46981         (tan_towardzero_test_data): Likewise.
46982         (tan_test_towardzero): Likewise.
46983         (tan_downward_test_data): Likewise.
46984         (tan_test_downward): Likewise.
46985         (tan_upward_test_data): Likewise.
46986         (tan_test_upward): Likewise.
46987         (tanh_test_data): Update call to AUTO_TESTS_f_f.
46988         (tgamma_test_data): Likewise.
46989         (y0_test_data): Likewise.
46990         (y1_test_data): Likewise.
46991         (yn_test_data): Update call to AUTO_TESTS_if_f.
46992         (main): Do not call removed functions.
46994 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
46996         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
46997         (ldexp_test_data): Remove.
46998         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
46999         scalbn_test_data.
47000         (scalb_test): Use ALL_RM_TEST.
47002 2014-03-19  Andreas Schwab  <schwab@suse.de>
47004         * nscd/nscd.service: Also invalidate netgroup cache on reload.
47006 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47008         [BZ #16649]
47009         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47010         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
47011         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
47012         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47013         (__ASSUME_PREADV): Undefine.
47014         (__ASSUME_PWRITEV): Likewise.
47016 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47018         * bits/mman-linux.h: Add comment about non-Linux use.
47019         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
47020         bits/mman-linux.h resting place.
47022         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
47023         * bits/mman-linux.h: ... here.
47025 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47027         * conform/conformtest.pl: Add standard definition when calling C
47028         preprocessor on data files.
47029         (checknamespace): Remove unused variable.
47031 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47033         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
47034         minus_oflow, plus_uflow and minus_uflow in expected results.
47035         * math/libm-test.inc (scalbn_test_data): Add more tests of
47036         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
47037         minus_uflow.
47038         (scalbn_test): Use ALL_RM_TEST.
47039         (scalbln_test_data): Add more tests of negative arguments.  Use
47040         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
47041         (scalbln_test): Use ALL_RM_TEST.
47043 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47045         * scripts/abilist.awk: Ignore symbols marked with .hidden.
47047 2014-03-18  Will Newton  <will.newton@linaro.org>
47049         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
47050         inaccurate comment.
47052 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47054         * Makerules [!subdir] (check-abi): Exit with error status if a
47055         test failed.
47057 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47059         * math/libm-test.inc (nearbyint_test_data): Include all tests used
47060         for rint.  Include results for all rounding modes.
47061         (nearbyint_test): Use ALL_RM_TEST.
47062         (rint_test_data): Include all tests used for nearbyint.
47064 2014-03-17  Will Newton  <will.newton@linaro.org>
47066         * nptl/sysdeps/pthread/pthread.h: Revert previous
47067         change.
47069         * sysdeps/generic/ldsodefs.h: Revert previous
47070         change.
47072         * libio/genops.c: Revert previous change.
47073         * libio/libioP.h: Likewise.
47074         * stdio-common/vfprintf.c: Likewise.
47076         * sysdeps/generic/math_private.h: Revert previous
47077         change.
47079         * sysdeps/generic/math_private.h: Check whether
47080         HAVE_RM_CTX is defined with #ifdef rather
47081         than #if.
47083         * argp/argp-fmtstream.h: Check whether
47084         __STRICT_ANSI__ is defined with #ifdef rather
47085         than #if.
47086         * argp/argp.h: Likewise.
47088         * libio/genops.c: Check whether
47089         _IO_JUMPS_OFFSET is defined with #ifdef rather
47090         than #if.
47091         * libio/libioP.h: Likewise.
47092         * stdio-common/vfprintf.c: Likewise.
47094         * sysdeps/generic/ldsodefs.h: Check whether
47095         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
47096         than #if.
47098         * nptl/sysdeps/pthread/pthread.h: Check
47099         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
47100         its value.
47102 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47104         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
47105         setting O_APPEND.
47106         * libio/tst-ftell-active-handler.c (do_append_test): Add a
47107         test case.
47109         [BZ #16680]
47110         * libio/fileops.c (_IO_file_open): Seek to end of file but
47111         don't cache the offset.
47112         (get_file_offset): Remove function.
47113         (do_ftell): Use cached offset when available.
47114         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
47115         don't cache the offset.
47116         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
47117         case.
47118         (do_one_test): Call it.
47119         (do_ftell_test): Fix up expected old offset for a+ mode.
47120         * libio/wfileops.c (do_ftell_wide): Used cached offset when
47121         available.
47123         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
47124         up test status with function return status.
47125         (do_write_test): Likewise.
47126         (do_append_test): Likewise.
47128         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
47129         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
47130         Remove.
47132 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47134         * math/gen-libm-test.pl (parse_args): Handle results specified for
47135         each rounding mode separately.
47136         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
47137         tests and results from lrint_tonearest_test_data,
47138         lrint_towardzero_test_data, lrint_downward_test_data and
47139         lrint_upward_test_data.
47140         (lrint_test): Use ALL_RM_TEST.
47141         (lrint_tonearest_test_data): Remove.
47142         (lrint_test_tonearest): Likewise.
47143         (lrint_towardzero_test_data): Likewise.
47144         (lrint_test_towardzero): Likewise.
47145         (lrint_downward_test_data): Likewise.
47146         (lrint_test_downward): Likewise.
47147         (lrint_upward_test_data): Likewise.
47148         (lrint_test_upward): Likewise.
47149         (llrint_test_data): Merge in per-rounding-mode tests and results
47150         from llrint_tonearest_test_data, llrint_towardzero_test_data,
47151         llrint_downward_test_data and llrint_upward_test_data.
47152         (llrint_test): Use ALL_RM_TEST.
47153         (llrint_tonearest_test_data): Remove.
47154         (llrint_test_tonearest): Likewise.
47155         (llrint_towardzero_test_data): Likewise.
47156         (llrint_test_towardzero): Likewise.
47157         (llrint_downward_test_data): Likewise.
47158         (llrint_test_downward): Likewise.
47159         (llrint_upward_test_data): Likewise.
47160         (llrint_test_upward): Likewise.
47161         (rint_test_data): Merge in per-rounding-mode tests and results
47162         from rint_tonearest_test_data, rint_towardzero_test_data,
47163         rint_downward_test_data and rint_upward_test_data.  Add
47164         per-rounding-mode results for tests not in those arrays.
47165         (rint_test): Use ALL_RM_TEST.
47166         (rint_tonearest_test_data): Remove.
47167         (rint_test_tonearest): Likewise.
47168         (rint_towardzero_test_data): Likewise.
47169         (rint_test_towardzero): Likewise.
47170         (rint_downward_test_data): Likewise.
47171         (rint_test_downward): Likewise.
47172         (rint_upward_test_data): Likewise.
47173         (rint_test_upward): Likewise.
47174         (main): Don't call removed functions.
47176 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47178         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
47179         "Compiled on ..." crapola.  It is anti-useful.
47181 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
47183         * scripts/evaluate-test.sh: Handle fourth argument to determine
47184         whether test run should stop on failure.
47185         * Makeconfig (stop-on-test-failure): New variable.
47186         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
47187         $(stop-on-test-failure).
47188         * Makefile (tests): Give a summary of results from testing and
47189         exit with failure status if they include an ERROR or FAIL.
47190         (xtests): Likewise.
47191         * manual/install.texi (Configuring and compiling): Mention
47192         stop-on-test-failure=y.
47193         * INSTALL: Regenerated.
47195 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47197         * scripts/versionlist.awk: New file.
47198         * Makerules [$(build-shared) = yes]
47199         (postclean-generated): Add Versions.def, not Versions.def.v and
47200         Versions.def.v.i.
47201         ($(common-objpfx)Versions.def.v.i): Target removed.
47202         ($(common-objpfx)Versions.def): New target.
47203         ($(common-objpfx)Versions.all): Depend on that rather that
47204         $(common-objpfx)Versions.def.v.
47205         * Versions.def: File removed.
47207         * Makeconfig (+gccwarn): Add -Wundef.
47208         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
47209         a dl-sysdep.h breaking its contract.
47210         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
47211         * include/stackinfo.h: New file.
47212         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
47213         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
47214         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
47215         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
47216         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
47217         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
47218         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47219         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47220         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47221         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47222         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47223         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
47224         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47225         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47226         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47228 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47230         [BZ #16707]
47231         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
47232         implementation.
47233         * math/libm-test.inc (round_test_data): Add more tests.
47235         [BZ #16706]
47236         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
47237         implementation.
47238         * math/libm-test.inc (nearbyint_test_data): Add more tests.
47240         [BZ #16701]
47241         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
47242         implementation.
47243         * math/libm-test.inc (ceil_test_data): Add more tests.
47245         * math/libm-test.inc (trunc_test_data): Add more tests related to
47246         BZ#16414.
47248 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47250         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
47251         with #if rather than #ifdef.
47252         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
47254 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
47256         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
47257         first.  Disable AVX-512 GCC support if assembler doesn't support
47258         it.
47259         * sysdeps/x86_64/configure: Regenerated.
47261 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
47263         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
47264         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
47265         (__old_pthread_attr_setstack): Likewise.
47266         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
47267         [!_STACK_GROWS_DOWN]: Likewise.
47269 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
47271         * config.make.in (have-bash2): Delete.
47272         * configure.ac (libc_cv_have_bash2): Delete.
47273         * configure: Regenerate.
47274         * elf/Makefile (common-ldd-rewrite): Rename to ...
47275         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
47276         (sh-ldd-rewrite): Delete.
47277         (bash-ldd-rewrite): Delete.
47278         (have-bash2): Delete checks.
47279         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
47280         ldd-rewrite.
47282         * config.make.in (have-ksh): Delete.
47283         (KSH): Delete.
47284         * configure.ac (libc_cv_have_ksh): Delete.
47285         * configure: Regenerate.
47287         * elf/Makefile: Delete $(have-ksh) check.
47288         ($(objpfx)sotruss): Change KSH to BASH.
47289         * elf/sotruss.ksh: Rename to ...
47290         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
47291         function style to match POSIX.  Drop ksh vim mode setting.
47293         * manual/time.texi (Specifying the Time Zone with TZ): Change
47294         Tuesday to Thursday.
47296         * debug/tst-longjmp_chk2.c: Update header comment.
47297         (stackoverflow_handler): Add comment.  Call assert on pass value.
47299 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
47301         [BZ #16194]
47302         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
47303         (HAVE_AVX512_ASM_SUPPORT): Likewise.
47304         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
47305         (La_x86_64_vector): Add zmm.
47306         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
47307         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
47308         ($(objpfx)tst-audit10): New target.
47309         ($(objpfx)tst-audit10.out): Likewise.
47310         (tst-audit10-ENV): New.
47311         (AVX512-CFLAGS): Likewise.
47312         (CFLAGS-tst-audit10.c): Likewise.
47313         (CFLAGS-tst-auditmod10a.c): Likewise.
47314         (CFLAGS-tst-auditmod10b.c): Likewise.
47315         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
47316         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
47317         * sysdeps/x86_64/configure: Regenerated.
47318         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
47319         AVX-512 zmm register support.
47320         (_dl_x86_64_save_sse): Likewise.
47321         (_dl_x86_64_restore_sse): Likewise.
47322         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
47323         size vector registers.
47324         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
47325         (ZMM_SIZE): Likewise.
47326         * sysdeps/x86_64/tst-audit10.c: New file.
47327         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
47328         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
47330 2014-03-13  Roland McGrath  <roland@hack.frob.com>
47332         * configure.ac (HAVE_EHDR_START): New check.
47333         * configure: Regenerated.
47334         * config.h.in (HAVE_EHDR_START): New #undef.
47335         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
47336         assuming the lowest-addressed segment maps the start of the file.
47338 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
47340         * INSTALL: Regenerated.
47342 2014-03-13  Will Newton  <will.newton@linaro.org>
47344         * manual/setjmp.texi (System V contexts): Improve
47345         clarity and grammar of documentation.
47347 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
47349         [BZ #16381]
47350         * elf/Makefile (tests): Add tst-pie2.
47351         (tests-pie): Add tst-pie2.
47352         * elf/tst-pie2.c: New file.
47353         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
47354         for ET_EXEC.
47355         * elf/rtld.c (map_doit): Load executable as lt_executable.
47356         (dl_main): Likewise.
47358 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
47360         [BZ #16642]
47361         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47362         (__ASSUME_PSELECT): Undefine.
47364 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47366         [BZ #16689]
47367         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
47368         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
47369         static build.
47370         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
47371         selector for static builds.
47373 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47375         [BZ #16695]
47376         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
47377         key in the buffer.
47379 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47381         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
47382         IFUNC selector for static builds.
47384 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
47386         * sysdeps/mips/math_private.h [__mips_hard_float]
47387         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
47388         libc_feresetround_mips_ctx.
47389         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
47390         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
47391         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
47393         [BZ #16677]
47394         * math/s_nextafter.c (__nextafter): Do not return value from
47395         overflowing computation.
47396         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
47397         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
47398         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
47399         Likewise.
47400         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
47401         Likewise.
47402         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
47403         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
47405 2014-03-11  Roland McGrath  <roland@hack.frob.com>
47407         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
47408         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
47409         Move sfi_sp use from the load-multiple (that no longer sets sp) to
47410         the new mov targetting sp.
47412 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47414         [BZ #16683]
47415         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
47416         Define it for static builds as well.
47417         (NO_BZERO_IMPL): Likewise.
47419 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47421         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
47422         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
47423         multiarch strspn for PPC64.
47424         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
47425         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
47426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47427         (__libc_ifunc_impl_list): Likewise.
47428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
47429         multiarch optimizations
47430         * string/strspn.c (strspn): Using macro to redefine symbol name.
47432 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47433             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47435         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
47436         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
47437         multiarch strncat for PPC64.
47438         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
47439         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
47440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47441         (__libc_ifunc_impl_list): Likewise.
47442         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
47443         multiarch optimizations
47445 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47447         [BZ #16639]
47448         * nscd/nscd.service: Make service type forking.
47450 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47452         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
47453         sign in non default rounding modes.
47454         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
47456 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
47458         * math/libm-test.inc (ALL_RM_TEST): New macro.
47459         (ceil_test): Use ALL_RM_TEST.
47460         (cimag_test): Likewise.
47461         (conj_test): Likewise.
47462         (copysign_test): Likewise.
47463         (cproj_test): Likewise.
47464         (creal_test): Likewise.
47465         (fabs_test): Likewise.
47466         (floor_test): Likewise.
47467         (fmax_test): Likewise.
47468         (fmin_test): Likewise.
47469         (fmod_test): Likewise.
47470         (fpclassify_test): Likewise.
47471         (frexp_test): Likewise.
47472         (ilogb_test): Likewise.
47473         (isfinite_test): Likewise.
47474         (finite_test): Likewise.
47475         (isgreater_test): Likewise.
47476         (isgreaterequal_test): Likewise.
47477         (isinf_test): Likewise.
47478         (isless_test): Likewise.
47479         (islessequal_test): Likewise.
47480         (islessgreater_test): Likewise.
47481         (isnan_test): Likewise.
47482         (isnormal_test): Likewise.
47483         (issignaling_test): Likewise.
47484         (isunordered_test): Likewise.
47485         (logb_test): Likewise.
47486         (logb_downward_test_data): Remove.
47487         (logb_test_downward): Likewise.
47488         (lround_test): Use ALL_RM_TEST.
47489         (llround_test): Likewise.
47490         (modf_test): Likewise.
47491         (nexttoward_test): Likewise.
47492         (remainder_test): Likewise.
47493         (drem_test): Likewise.
47494         (remainder_tonearest_test_data): Likewise.
47495         (remainder_test_tonearest): Likewise.
47496         (drem_test_tonearest): Likewise.
47497         (remainder_towardzero_test_data): Likewise.
47498         (remainder_test_towardzero): Likewise.
47499         (drem_test_towardzero): Likewise.
47500         (remainder_downward_test_data): Likewise.
47501         (remainder_test_downward): Likewise.
47502         (drem_test_downward): Likewise.
47503         (remainder_upward_test_data): Likewise.
47504         (remainder_test_upward): Likewise.
47505         (drem_test_upward): Likewise.
47506         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
47507         (round_test): Use ALL_RM_TEST.
47508         (signbit_test): Likewise.
47509         (trunc_test): Likewise.
47510         (significand_test): Likewise.
47511         (main): Don't call removed functions.
47513 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47515         [BZ #16674]
47516         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
47517         || __USE_XOPEN2K8].
47518         (ILL_ILLOPN): Likewise.
47519         (ILL_ILLADR): Likewise.
47520         (ILL_ILLTRP): Likewise.
47521         (ILL_PRVOPC): Likewise.
47522         (ILL_PRVREG): Likewise.
47523         (ILL_COPROC): Likewise.
47524         (ILL_BADSTK): Likewise.
47525         (FPE_INTDIV): Likewise.
47526         (FPE_INTOVF): Likewise.
47527         (FPE_FLTDIV): Likewise.
47528         (FPE_FLTOVF): Likewise.
47529         (FPE_FLTUND): Likewise.
47530         (FPE_FLTRES): Likewise.
47531         (FPE_FLTINV): Likewise.
47532         (FPE_FLTSUB): Likewise.
47533         (SEGV_MAPERR): Likewise.
47534         (SEGV_ACCERR): Likewise.
47535         (BUS_ADRALN): Likewise.
47536         (BUS_ADRERR): Likewise.
47537         (BUS_OBJERR): Likewise.
47538         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47539         (TRAP_TRACE): Likewise.
47540         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47541         __USE_XOPEN2K8].
47542         (CLD_KILLED): Likewise.
47543         (CLD_DUMPED): Likewise.
47544         (CLD_TRAPPED): Likewise.
47545         (CLD_STOPPED): Likewise.
47546         (CLD_CONTINUED): Likewise.
47547         (POLL_IN): Likewise.
47548         (POLL_OUT): Likewise.
47549         (POLL_MSG): Likewise.
47550         (POLL_ERR): Likewise.
47551         (POLL_PRI): Likewise.
47552         (POLL_HUP): Likewise.
47553         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
47554         Likewise.
47555         (ILL_ILLOPN): Likewise.
47556         (ILL_ILLADR): Likewise.
47557         (ILL_ILLTRP): Likewise.
47558         (ILL_PRVOPC): Likewise.
47559         (ILL_PRVREG): Likewise.
47560         (ILL_COPROC): Likewise.
47561         (ILL_BADSTK): Likewise.
47562         (FPE_INTDIV): Likewise.
47563         (FPE_INTOVF): Likewise.
47564         (FPE_FLTDIV): Likewise.
47565         (FPE_FLTOVF): Likewise.
47566         (FPE_FLTUND): Likewise.
47567         (FPE_FLTRES): Likewise.
47568         (FPE_FLTINV): Likewise.
47569         (FPE_FLTSUB): Likewise.
47570         (SEGV_MAPERR): Likewise.
47571         (SEGV_ACCERR): Likewise.
47572         (BUS_ADRALN): Likewise.
47573         (BUS_ADRERR): Likewise.
47574         (BUS_OBJERR): Likewise.
47575         (BUS_MCEERR_AR): Likewise.
47576         (BUS_MCEERR_AO): Likewise.
47577         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47578         (TRAP_TRACE): Likewise.
47579         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47580         __USE_XOPEN2K8].
47581         (CLD_KILLED): Likewise.
47582         (CLD_DUMPED): Likewise.
47583         (CLD_TRAPPED): Likewise.
47584         (CLD_STOPPED): Likewise.
47585         (CLD_CONTINUED): Likewise.
47586         (POLL_IN): Likewise.
47587         (POLL_OUT): Likewise.
47588         (POLL_MSG): Likewise.
47589         (POLL_ERR): Likewise.
47590         (POLL_PRI): Likewise.
47591         (POLL_HUP): Likewise.
47592         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
47593         (ILL_ILLOPN): Likewise.
47594         (ILL_ILLADR): Likewise.
47595         (ILL_ILLTRP): Likewise.
47596         (ILL_PRVOPC): Likewise.
47597         (ILL_PRVREG): Likewise.
47598         (ILL_COPROC): Likewise.
47599         (ILL_BADSTK): Likewise.
47600         (FPE_INTDIV): Likewise.
47601         (FPE_INTOVF): Likewise.
47602         (FPE_FLTDIV): Likewise.
47603         (FPE_FLTOVF): Likewise.
47604         (FPE_FLTUND): Likewise.
47605         (FPE_FLTRES): Likewise.
47606         (FPE_FLTINV): Likewise.
47607         (FPE_FLTSUB): Likewise.
47608         (SEGV_MAPERR): Likewise.
47609         (SEGV_ACCERR): Likewise.
47610         (BUS_ADRALN): Likewise.
47611         (BUS_ADRERR): Likewise.
47612         (BUS_OBJERR): Likewise.
47613         (BUS_MCEERR_AR): Likewise.
47614         (BUS_MCEERR_AO): Likewise.
47615         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47616         (TRAP_TRACE): Likewise.
47617         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47618         __USE_XOPEN2K8].
47619         (CLD_KILLED): Likewise.
47620         (CLD_DUMPED): Likewise.
47621         (CLD_TRAPPED): Likewise.
47622         (CLD_STOPPED): Likewise.
47623         (CLD_CONTINUED): Likewise.
47624         (POLL_IN): Likewise.
47625         (POLL_OUT): Likewise.
47626         (POLL_MSG): Likewise.
47627         (POLL_ERR): Likewise.
47628         (POLL_PRI): Likewise.
47629         (POLL_HUP): Likewise.
47630         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
47631         Likewise.
47632         (ILL_ILLOPN): Likewise.
47633         (ILL_ILLADR): Likewise.
47634         (ILL_ILLTRP): Likewise.
47635         (ILL_PRVOPC): Likewise.
47636         (ILL_PRVREG): Likewise.
47637         (ILL_COPROC): Likewise.
47638         (ILL_BADSTK): Likewise.
47639         (ILL_BADIADDR): Likewise.
47640         (ILL_BREAK): Likewise.
47641         (FPE_INTDIV): Likewise.
47642         (FPE_INTOVF): Likewise.
47643         (FPE_FLTDIV): Likewise.
47644         (FPE_FLTOVF): Likewise.
47645         (FPE_FLTUND): Likewise.
47646         (FPE_FLTRES): Likewise.
47647         (FPE_FLTINV): Likewise.
47648         (FPE_FLTSUB): Likewise.
47649         (FPE_DECOVF): Likewise.
47650         (FPE_DECDIV): Likewise.
47651         (FPE_DECERR): Likewise.
47652         (FPE_INVASC): Likewise.
47653         (FPE_INVDEC): Likewise.
47654         (SEGV_MAPERR): Likewise.
47655         (SEGV_ACCERR): Likewise.
47656         (SEGV_PSTKOVF): Likewise.
47657         (BUS_ADRALN): Likewise.
47658         (BUS_ADRERR): Likewise.
47659         (BUS_OBJERR): Likewise.
47660         (BUS_MCEERR_AR): Likewise.
47661         (BUS_MCEERR_AO): Likewise.
47662         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47663         (TRAP_TRACE): Likewise.
47664         (TRAP_BRANCH): Likewise.
47665         (TRAP_HWBKPT): Likewise.
47666         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47667         __USE_XOPEN2K8].
47668         (CLD_KILLED): Likewise.
47669         (CLD_DUMPED): Likewise.
47670         (CLD_TRAPPED): Likewise.
47671         (CLD_STOPPED): Likewise.
47672         (CLD_CONTINUED): Likewise.
47673         (POLL_IN): Likewise.
47674         (POLL_OUT): Likewise.
47675         (POLL_MSG): Likewise.
47676         (POLL_ERR): Likewise.
47677         (POLL_PRI): Likewise.
47678         (POLL_HUP): Likewise.
47679         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
47680         (ILL_ILLOPN): Likewise.
47681         (ILL_ILLADR): Likewise.
47682         (ILL_ILLTRP): Likewise.
47683         (ILL_PRVOPC): Likewise.
47684         (ILL_PRVREG): Likewise.
47685         (ILL_COPROC): Likewise.
47686         (ILL_BADSTK): Likewise.
47687         (FPE_INTDIV): Likewise.
47688         (FPE_INTOVF): Likewise.
47689         (FPE_FLTDIV): Likewise.
47690         (FPE_FLTOVF): Likewise.
47691         (FPE_FLTUND): Likewise.
47692         (FPE_FLTRES): Likewise.
47693         (FPE_FLTINV): Likewise.
47694         (FPE_FLTSUB): Likewise.
47695         (SEGV_MAPERR): Likewise.
47696         (SEGV_ACCERR): Likewise.
47697         (BUS_ADRALN): Likewise.
47698         (BUS_ADRERR): Likewise.
47699         (BUS_OBJERR): Likewise.
47700         (BUS_MCEERR_AR): Likewise.
47701         (BUS_MCEERR_AO): Likewise.
47702         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47703         (TRAP_TRACE): Likewise.
47704         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47705         __USE_XOPEN2K8].
47706         (CLD_KILLED): Likewise.
47707         (CLD_DUMPED): Likewise.
47708         (CLD_TRAPPED): Likewise.
47709         (CLD_STOPPED): Likewise.
47710         (CLD_CONTINUED): Likewise.
47711         (POLL_IN): Likewise.
47712         (POLL_OUT): Likewise.
47713         (POLL_MSG): Likewise.
47714         (POLL_ERR): Likewise.
47715         (POLL_PRI): Likewise.
47716         (POLL_HUP): Likewise.
47717         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
47718         (ILL_ILLOPN): Likewise.
47719         (ILL_ILLADR): Likewise.
47720         (ILL_ILLTRP): Likewise.
47721         (ILL_PRVOPC): Likewise.
47722         (ILL_PRVREG): Likewise.
47723         (ILL_COPROC): Likewise.
47724         (ILL_BADSTK): Likewise.
47725         (FPE_INTDIV): Likewise.
47726         (FPE_INTOVF): Likewise.
47727         (FPE_FLTDIV): Likewise.
47728         (FPE_FLTOVF): Likewise.
47729         (FPE_FLTUND): Likewise.
47730         (FPE_FLTRES): Likewise.
47731         (FPE_FLTINV): Likewise.
47732         (FPE_FLTSUB): Likewise.
47733         (SEGV_MAPERR): Likewise.
47734         (SEGV_ACCERR): Likewise.
47735         (BUS_ADRALN): Likewise.
47736         (BUS_ADRERR): Likewise.
47737         (BUS_OBJERR): Likewise.
47738         (BUS_MCEERR_AR): Likewise.
47739         (BUS_MCEERR_AO): Likewise.
47740         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47741         (TRAP_TRACE): Likewise.
47742         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47743         __USE_XOPEN2K8].
47744         (CLD_KILLED): Likewise.
47745         (CLD_DUMPED): Likewise.
47746         (CLD_TRAPPED): Likewise.
47747         (CLD_STOPPED): Likewise.
47748         (CLD_CONTINUED): Likewise.
47749         (POLL_IN): Likewise.
47750         (POLL_OUT): Likewise.
47751         (POLL_MSG): Likewise.
47752         (POLL_ERR): Likewise.
47753         (POLL_PRI): Likewise.
47754         (POLL_HUP): Likewise.
47755         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
47756         (ILL_ILLOPN): Likewise.
47757         (ILL_ILLADR): Likewise.
47758         (ILL_ILLTRP): Likewise.
47759         (ILL_PRVOPC): Likewise.
47760         (ILL_PRVREG): Likewise.
47761         (ILL_COPROC): Likewise.
47762         (ILL_BADSTK): Likewise.
47763         (FPE_INTDIV): Likewise.
47764         (FPE_INTOVF): Likewise.
47765         (FPE_FLTDIV): Likewise.
47766         (FPE_FLTOVF): Likewise.
47767         (FPE_FLTUND): Likewise.
47768         (FPE_FLTRES): Likewise.
47769         (FPE_FLTINV): Likewise.
47770         (FPE_FLTSUB): Likewise.
47771         (SEGV_MAPERR): Likewise.
47772         (SEGV_ACCERR): Likewise.
47773         (BUS_ADRALN): Likewise.
47774         (BUS_ADRERR): Likewise.
47775         (BUS_OBJERR): Likewise.
47776         (BUS_MCEERR_AR): Likewise.
47777         (BUS_MCEERR_AO): Likewise.
47778         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47779         (TRAP_TRACE): Likewise.
47780         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47781         __USE_XOPEN2K8].
47782         (CLD_KILLED): Likewise.
47783         (CLD_DUMPED): Likewise.
47784         (CLD_TRAPPED): Likewise.
47785         (CLD_STOPPED): Likewise.
47786         (CLD_CONTINUED): Likewise.
47787         (POLL_IN): Likewise.
47788         (POLL_OUT): Likewise.
47789         (POLL_MSG): Likewise.
47790         (POLL_ERR): Likewise.
47791         (POLL_PRI): Likewise.
47792         (POLL_HUP): Likewise.
47793         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
47794         (ILL_ILLOPN): Likewise.
47795         (ILL_ILLADR): Likewise.
47796         (ILL_ILLTRP): Likewise.
47797         (ILL_PRVOPC): Likewise.
47798         (ILL_PRVREG): Likewise.
47799         (ILL_COPROC): Likewise.
47800         (ILL_BADSTK): Likewise.
47801         (ILL_DBLFLT): Likewise.
47802         (ILL_HARDWALL): Likewise.
47803         (FPE_INTDIV): Likewise.
47804         (FPE_INTOVF): Likewise.
47805         (FPE_FLTDIV): Likewise.
47806         (FPE_FLTOVF): Likewise.
47807         (FPE_FLTUND): Likewise.
47808         (FPE_FLTRES): Likewise.
47809         (FPE_FLTINV): Likewise.
47810         (FPE_FLTSUB): Likewise.
47811         (SEGV_MAPERR): Likewise.
47812         (SEGV_ACCERR): Likewise.
47813         (BUS_ADRALN): Likewise.
47814         (BUS_ADRERR): Likewise.
47815         (BUS_OBJERR): Likewise.
47816         (BUS_MCEERR_AR): Likewise.
47817         (BUS_MCEERR_AO): Likewise.
47818         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47819         (TRAP_TRACE): Likewise.
47820         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47821         __USE_XOPEN2K8].
47822         (CLD_KILLED): Likewise.
47823         (CLD_DUMPED): Likewise.
47824         (CLD_TRAPPED): Likewise.
47825         (CLD_STOPPED): Likewise.
47826         (CLD_CONTINUED): Likewise.
47827         (POLL_IN): Likewise.
47828         (POLL_OUT): Likewise.
47829         (POLL_MSG): Likewise.
47830         (POLL_ERR): Likewise.
47831         (POLL_PRI): Likewise.
47832         (POLL_HUP): Likewise.
47833         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
47834         (ILL_ILLOPN): Likewise.
47835         (ILL_ILLADR): Likewise.
47836         (ILL_ILLTRP): Likewise.
47837         (ILL_PRVOPC): Likewise.
47838         (ILL_PRVREG): Likewise.
47839         (ILL_COPROC): Likewise.
47840         (ILL_BADSTK): Likewise.
47841         (FPE_INTDIV): Likewise.
47842         (FPE_INTOVF): Likewise.
47843         (FPE_FLTDIV): Likewise.
47844         (FPE_FLTOVF): Likewise.
47845         (FPE_FLTUND): Likewise.
47846         (FPE_FLTRES): Likewise.
47847         (FPE_FLTINV): Likewise.
47848         (FPE_FLTSUB): Likewise.
47849         (SEGV_MAPERR): Likewise.
47850         (SEGV_ACCERR): Likewise.
47851         (BUS_ADRALN): Likewise.
47852         (BUS_ADRERR): Likewise.
47853         (BUS_OBJERR): Likewise.
47854         (BUS_MCEERR_AR): Likewise.
47855         (BUS_MCEERR_AO): Likewise.
47856         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47857         (TRAP_TRACE): Likewise.
47858         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47859         __USE_XOPEN2K8].
47860         (CLD_KILLED): Likewise.
47861         (CLD_DUMPED): Likewise.
47862         (CLD_TRAPPED): Likewise.
47863         (CLD_STOPPED): Likewise.
47864         (CLD_CONTINUED): Likewise.
47865         (POLL_IN): Likewise.
47866         (POLL_OUT): Likewise.
47867         (POLL_MSG): Likewise.
47868         (POLL_ERR): Likewise.
47869         (POLL_PRI): Likewise.
47870         (POLL_HUP): Likewise.
47871         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
47872         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47874         [BZ #16670]
47875         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
47876         before #include of <time.h>.
47877         [!__USE_XOPEN2K] (__need_timespec): Likewise.
47878         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
47879         (test-xfail-UNIX98/sched.h/conform): Likewise.
47881 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47883         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
47884         error absence of trapping exception support.
47885         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47887 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47889         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
47890         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
47891         * timezone/Makefile (testdata): Move definition above include of
47892         Rules.
47893         (test-zones): New variable.
47894         (tests-special): Add zone files.
47895         (build-testdata): Use $(evaluate-test).
47897         * elf/Makefile (tests-special): Rename tests to end with .out.
47898         ($(objpfx)noload-mem): Likewise.
47899         ($(objpfx)tst-leaks1-mem): Likewise.
47900         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
47901         * iconv/Makefile (xtests-special): Change test-iconvconfig to
47902         $(objpfx)test-iconvconfig.out.
47903         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
47904         set -e inside subshell and redirect output to file.
47905         * iconvdata/Makefile (generated): Rename tests to end with .out.
47906         Correct type.
47907         (tests-special): Rename tests to end with .out.
47908         ($(objpfx)mtrace-tst-loading): Likewise.
47909         * intl/Makefile (generated): Likewise.
47910         (tests-special): Likewise.
47911         ($(objpfx)mtrace-tst-gettext): Likewise.
47912         * misc/Makefile (generated): Likewise.
47913         (tests-special): Likewise.
47914         ($(objpfx)tst-error1-mem): Likewise.
47915         * nptl/Makefile (tests-special): Likewise.
47916         ($(objpfx)tst-stack3-mem): Likewise.
47917         (generated): Likewise.
47918         * posix/Makefile (generated): Likewise.
47919         (tests-special): Likewise.
47920         (xtests-special): Likewise.
47921         ($(objpfx)tst-fnmatch-mem): Likewise.
47922         ($(objpfx)bug-regex2-mem): Likewise.
47923         ($(objpfx)bug-regex14-mem): Likewise.
47924         ($(objpfx)bug-regex21-mem): Likewise.
47925         ($(objpfx)bug-regex31-mem): Likewise.
47926         ($(objpfx)tst-vfork3-mem): Likewise.
47927         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47928         ($(objpfx)tst-pcre-mem): Likewise.
47929         ($(objpfx)tst-boost-mem): Likewise.
47930         ($(objpfx)bug-ga2-mem): Likewise.
47931         ($(objpfx)bug-glob2-mem): Likewise.
47932         * resolv/Makefile (generate): Likewise.
47933         (tests-special): Likewise.
47934         (xtests-special): Likewise.
47935         (generated): Likewise.
47936         ($(objpfx)mtrace-tst-leaks): Likewise.
47937         ($(objpfx)mtrace-tst-leaks2): Likewise.
47939         * scripts/merge-test-results.sh: New file.
47940         * Makefile (tests-special-notdir): New variable.
47941         (tests): Run merge-test-results.sh.
47942         (xtests): Likewise.
47943         * Rules (tests-special-notdir): New variable.
47944         (xtests-special-notdir): Likewise.
47945         (tests): Run merge-test-results.sh
47946         (xtests): Likewise.
47948         * Makeconfig (test-xfail-name): New variable.
47949         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
47950         compute variable name for expected failures.
47951         * conform/Makefile (conformtest-headers-data): New variable.
47952         (conformtest-standards): Likewise.
47953         (conformtest-headers-ISO): Likewise.
47954         (conformtest-headers-ISO99): Likewise.
47955         (conformtest-headers-ISO11): Likewise.
47956         (conformtest-headers-POSIX): Likewise.
47957         (conformtest-headers-XPG3): Likewise.
47958         (conformtest-headers-XPG4): Likewise.
47959         (conformtest-headers-UNIX98): Likewise.
47960         (conformtest-headers-XOPEN2K): Likewise.
47961         (conformtest-headers-POSIX2008): Likewise.
47962         (conformtest-headers-XOPEN2K8): Likewise.
47963         (conformtest-header-list-base): Likewise.
47964         (conformtest-header-list-tests): Likewise.
47965         (conformtest-header-base): Likewise.
47966         (conformtest-header-tests): Likewise.
47967         (tests-special): Add $(conformtest-header-list-tests).  If
47968         [$(fast-check) && !$(cross-compiling)], add
47969         $(conformtest-header-tests) instead of
47970         $(objpfx)run-conformtest.out.
47971         (generated): Add $(conformtest-header-list-base).  If
47972         [$(fast-check) && !$(cross-compiling)], add
47973         $(conformtest-header-base).  Remove previous setting.
47974         ($(conformtest-header-list-tests)): New target.
47975         (test-xfail-run-conformtest): Remove variable.
47976         ($(objpfx)run-conformtest.out): Remove target.
47977         (test-xfail-ISO11/complex.h/conform): New variable.
47978         (test-xfail-ISO11/stdalign.h/conform): Likewise.
47979         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
47980         (test-xfail-XPG3/varargs.h/conform): Likewise.
47981         (test-xfail-XPG4/varargs.h/conform): Likewise.
47982         (test-xfail-UNIX98/varargs.h/conform): Likewise.
47983         (test-xfail-XPG4/ndbm.h/conform): Likewise.
47984         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
47985         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
47986         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
47987         (test-xfail-XPG3/fcntl.h/conform): Likewise.
47988         (test-xfail-XPG3/ftw.h/conform): Likewise.
47989         (test-xfail-XPG3/grp.h/conform): Likewise.
47990         (test-xfail-XPG3/langinfo.h/conform): Likewise.
47991         (test-xfail-XPG3/limits.h/conform): Likewise.
47992         (test-xfail-XPG3/pwd.h/conform): Likewise.
47993         (test-xfail-XPG3/search.h/conform): Likewise.
47994         (test-xfail-XPG3/signal.h/conform): Likewise.
47995         (test-xfail-XPG3/stdio.h/conform): Likewise.
47996         (test-xfail-XPG3/stdlib.h/conform): Likewise.
47997         (test-xfail-XPG3/string.h/conform): Likewise.
47998         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
47999         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
48000         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
48001         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
48002         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
48003         (test-xfail-XPG3/sys/types.h/conform): Likewise.
48004         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
48005         (test-xfail-XPG3/termios.h/conform): Likewise.
48006         (test-xfail-XPG3/time.h/conform): Likewise.
48007         (test-xfail-XPG3/unistd.h/conform): Likewise.
48008         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
48009         (test-xfail-XPG4/fcntl.h/conform): Likewise.
48010         (test-xfail-XPG4/langinfo.h/conform): Likewise.
48011         (test-xfail-XPG4/netdb.h/conform): Likewise.
48012         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
48013         (test-xfail-XPG4/signal.h/conform): Likewise.
48014         (test-xfail-XPG4/stdio.h/conform): Likewise.
48015         (test-xfail-XPG4/stdlib.h/conform): Likewise.
48016         (test-xfail-XPG4/stropts.h/conform): Likewise.
48017         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
48018         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
48019         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
48020         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
48021         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
48022         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
48023         (test-xfail-XPG4/sys/time.h/conform): Likewise.
48024         (test-xfail-XPG4/sys/types.h/conform): Likewise.
48025         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
48026         (test-xfail-XPG4/termios.h/conform): Likewise.
48027         (test-xfail-XPG4/ucontext.h/conform): Likewise.
48028         (test-xfail-XPG4/unistd.h/conform): Likewise.
48029         (test-xfail-XPG4/utmpx.h/conform): Likewise.
48030         (test-xfail-POSIX/sched.h/conform): Likewise.
48031         (test-xfail-POSIX/signal.h/conform): Likewise.
48032         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48033         (test-xfail-POSIX/tar.h/conform): Likewise.
48034         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
48035         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
48036         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
48037         (test-xfail-UNIX98/netdb.h/conform): Likewise.
48038         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
48039         (test-xfail-UNIX98/sched.h/conform): Likewise.
48040         (test-xfail-UNIX98/signal.h/conform): Likewise.
48041         (test-xfail-UNIX98/stdio.h/conform): Likewise.
48042         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
48043         (test-xfail-UNIX98/stropts.h/conform): Likewise.
48044         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
48045         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
48046         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
48047         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
48048         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
48049         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
48050         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
48051         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
48052         (test-xfail-UNIX98/unistd.h/conform): Likewise.
48053         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
48054         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
48055         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
48056         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
48057         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
48058         (test-xfail-XOPEN2K/math.h/conform): Likewise.
48059         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
48060         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
48061         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
48062         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
48063         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
48064         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
48065         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
48066         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
48067         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
48068         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
48069         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
48070         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
48071         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
48072         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
48073         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
48074         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
48075         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
48076         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
48077         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
48078         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
48079         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
48080         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
48081         (test-xfail-POSIX2008/signal.h/conform): Likewise.
48082         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
48083         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
48084         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
48085         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
48086         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
48087         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
48088         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
48089         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
48090         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
48091         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
48092         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
48093         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
48094         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
48095         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
48096         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
48097         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
48098         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
48099         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
48100         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
48101         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
48102         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
48103         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
48104         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
48105         (conformtest-cc-flags): Likewise.
48106         ($(conformtest-header-tests): New target.
48107         * conform/check-header-lists.sh: New file.
48108         * conform/run-conformtest.sh: Remove.
48110         * conform/conformtest.pl: Allow ' and \ in values given for
48111         constants.
48112         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
48113         inclusion.
48114         [POSIX] (sys/types.h): Likewise.
48115         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
48116         inclusion.
48117         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
48118         inclusion.
48119         * conform/data/signal.h-data (SIGIO): Remove expectation.
48120         [XPG3] (SIGBUS): Do not expect.
48121         [POSIX || XPG3] (SIGPOLL): Likewise.
48122         [POSIX || XPG3] (SIGPROF): Likewise.
48123         [POSIX || XPG3] (SIGSYS): Likewise.
48124         [XPG3] (SIGTRAP): Likewise.
48125         [POSIX || XPG3] (SIGURG): Likewise.
48126         [POSIX || XPG3] (SIGVTALRM): Likewise.
48127         [POSIX || XPG3] (SIGXCPU): Likewise.
48128         [POSIX || XPG3] (SIGXFSZ): Likewise.
48129         [POSIX] (SA_SIGINFO): Expect.
48130         [XPG3] (siginfo_t): Do not expect type or contents.
48131         [POSIX] (si_pid): Do not expect element.
48132         [POSIX] (si_uid): Likewise.
48133         [POSIX] (si_addr): Likewise.
48134         [POSIX] (si_status): Likewise.
48135         [POSIX] (si_band): Likewise.
48136         [XPG4] (si_value): Likewise.
48137         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
48138         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
48139         [POSIX || XPG3] (ILL_ILLADR): Likewise.
48140         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
48141         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
48142         [POSIX || XPG3] (ILL_PRVREG): Likewise.
48143         [POSIX || XPG3] (ILL_COPROC): Likewise.
48144         [POSIX || XPG3] (ILL_BADSTK): Likewise.
48145         [POSIX || XPG3] (FPE_INTDIV): Likewise.
48146         [POSIX || XPG3] (FPE_INTOVF): Likewise.
48147         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
48148         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
48149         [POSIX || XPG3] (FPE_FLTUND): Likewise.
48150         [POSIX || XPG3] (FPE_FLTRES): Likewise.
48151         [POSIX || XPG3] (FPE_FLTINV): Likewise.
48152         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
48153         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
48154         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
48155         [POSIX || XPG3] (BUS_ADRALN): Likewise.
48156         [POSIX || XPG3] (BUS_ADRERR): Likewise.
48157         [POSIX || XPG3] (BUS_OBJERR): Likewise.
48158         [POSIX || XPG3] (CLD_EXITED): Likewise.
48159         [POSIX || XPG3] (CLD_KILLED): Likewise.
48160         [POSIX || XPG3] (CLD_DUMPED): Likewise.
48161         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
48162         [POSIX || XPG3] (CLD_STOPPED): Likewise.
48163         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
48164         [POSIX || XPG3] (POLL_IN): Likewise.
48165         [POSIX || XPG3] (POLL_OUT): Likewise.
48166         [POSIX || XPG3] (POLL_MSG): Likewise.
48167         [POSIX || XPG3] (POLL_ERR): Likewise.
48168         [POSIX || XPG3] (POLL_PRI): Likewise.
48169         [POSIX || XPG3] (POLL_HUP): Likewise.
48170         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
48171         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
48172         (SIG*): Do not allow.
48173         [XPG3] (si_*): Likewise.
48174         [XPG3] (SI_*): Likewise.
48175         [XPG3 || XPG4] (sigev_*): Likewise.
48176         [XPG3 || XPG4] (SIGEV_*): Likewise.
48177         [XPG3 || XPG4] (sival_*): Likewise.
48178         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
48179         [POSIX || XPG3] (BUS_*): Likewise.
48180         [POSIX || XPG3] (CLD_*): Likewise.
48181         [POSIX || XPG3] (FPE_*): Likewise.
48182         [POSIX || XPG3] (ILL_*): Likewise.
48183         [POSIX || XPG3] (POLL_*): Likewise.
48184         [POSIX || XPG3] (SEGV_*): Likewise.
48185         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
48186         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
48187         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
48188         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
48189         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
48190         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
48191         Specify type and value.
48192         (TVERSLEN): Likewise.
48193         (REGTYPE): Likewise.
48194         (AREGTYPE): Likewise.
48195         (LNKTYPE): Likewise.
48196         (SYMTYPE): Likewise.
48197         (CHRTYPE): Likewise.
48198         (BLKTYPE): Likewise.
48199         (DIRTYPE): Likewise.
48200         (FIFOTYPE): Likewise.
48201         (CONTTYPE): Likewise.
48202         (TSUID): Likewise.
48203         (TSGID): Likewise.
48204         (TSVTX): Likewise.
48205         (TUREAD): Likewise.
48206         (TUWRITE): Likewise.
48207         (TUEXEC): Likewise.
48208         (TGREAD): Likewise.
48209         (TGWRITE): Likewise.
48210         (TGEXEC): Likewise.
48211         (TOREAD): Likewise.
48212         (TOWRITE): Likewise.
48213         (TOEXEC): Likewise.
48214         [POSIX] (TSVTX): Expect constant.
48216 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
48218         * Makefile (tests): Change dependencies to ....
48219         (tests-special): ... additions to this variable.
48220         (tests): Depend on $(tests-special).
48221         * Makerules (check-abi-list): New variable.
48222         (check-abi): Depend on $(check-abi-list).
48223         [$(subdir) = elf] (tests-special): Add
48224         $(objpfx)check-abi-libc.out.
48225         [$(build-shared) = yes && subdir] (tests-special): Add
48226         $(check-abi-list).
48227         [$(build-shared) = yes && subdir] (tests): Do not depend on
48228         check-abi.
48229         * Rules (tests): Depend on $(tests-special).
48230         (xtests): Depend on $(xtests-special).
48231         * catgets/Makefile (tests): Change dependencies to ....
48232         (tests-special): ... additions to this variable.
48233         * conform/Makefile (tests): Change dependencies to ....
48234         (tests-special): ... additions to this variable.
48235         * elf/Makefile (tests): Change dependencies to ....
48236         (tests-special): ... additions to this variable.
48237         * grp/Makefile (tests): Change dependencies to ....
48238         (tests-special): ... additions to this variable.
48239         * iconv/Makefile (xtests): Change dependencies to ....
48240         (xtests-special): ... additions to this variable.
48241         * iconvdata/Makefile (tests): Change dependencies to ....
48242         (tests-special): ... additions to this variable.
48243         * intl/Makefile (tests): Change dependencies to ....
48244         (tests-special): ... additions to this variable.  Also add
48245         $(objpfx)tst-gettext.out.
48246         * io/Makefile (tests): Change dependencies to ....
48247         (tests-special): ... additions to this variable.
48248         * libio/Makefile (tests): Change dependencies to ....
48249         (tests-special): ... additions to this variable.
48250         * malloc/Makefile (tests): Change dependencies to ....
48251         (tests-special): ... additions to this variable.
48252         * misc/Makefile (tests): Change dependencies to ....
48253         (tests-special): ... additions to this variable.
48254         * nptl/Makefile (tests): Change dependencies to ....
48255         (tests-special): ... additions to this variable.
48256         * nptl_db/Makefile (tests): Change dependencies to ....
48257         (tests-special): ... additions to this variable.
48258         * posix/Makefile (tests): Change dependencies to ....
48259         (tests-special): ... additions to this variable.
48260         (xtests): Change dependencies to ....
48261         (xtests-special): ... additions to this variable.
48262         * resolv/Makefile (tests): Change dependencies to ....
48263         (tests-special): ... additions to this variable.
48264         (xtests): Change dependencies to ....
48265         (xtests-special): ... additions to this variable.
48266         * stdio-common/Makefile (tests): Change dependencies to ....
48267         (tests-special): ... additions to this variable.
48268         (do-tst-unbputc): Remove target.
48269         (do-tst-printf): Likewise.
48270         * stdlib/Makefile (tests): Change dependencies to ....
48271         (tests-special): ... additions to this variable.
48272         * string/Makefile (tests): Change dependencies to ....
48273         (tests-special): ... additions to this variable.
48274         * sysdeps/x86/Makefile (tests): Change dependencies to ....
48275         (tests-special): ... additions to this variable.
48277         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
48278         whole file.
48279         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
48280         whole file.
48281         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
48282         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
48284         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
48285         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
48286         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
48287         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
48288         * conform/data/libgen.h-data [XPG3]: Likewise.
48289         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
48290         * conform/data/ndbm.h-data [XPG3]: Likewise.
48291         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48292         * conform/data/netdb.h-data [XPG3]: Likewise.
48293         * conform/data/netinet/in.h-data [XPG3]: Likewise.
48294         * conform/data/poll.h-data [XPG3]: Likewise.
48295         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48296         * conform/data/strings.h-data [XPG3]: Likewise.
48297         * conform/data/stropts.h-data [XPG3]: Likewise.
48298         * conform/data/sys/mman.h-data [XPG3]: Likewise.
48299         * conform/data/sys/resource.h-data [XPG3]: Likewise.
48300         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
48301         Likewise.
48302         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
48303         * conform/data/sys/time.h-data [XPG3]: Likewise.
48304         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
48305         * conform/data/sys/uio.h-data [XPG3]: Likewise.
48306         * conform/data/sys/un.h-data [XPG3]: Likewise.
48307         * conform/data/syslog.h-data [XPG3]: Likewise.
48308         * conform/data/ucontext.h-data [XPG3]: Likewise.
48309         * conform/data/utmpx.h-data [XPG3]: Likewise.
48310         * conform/data/varargs.h-data [UNIX98]: Enable file.
48312         * manual/Makefile (INSTALL_INFO): Remove variable setting.
48314         * math/libm-test.inc (struct test_f_f_data): Move expected results
48315         into structure for each rounding mode.
48316         (struct test_ff_f_data): Likewise.
48317         (struct test_ff_f_data_nexttoward): Likewise.
48318         (struct test_fi_f_data): Likewise.
48319         (struct test_fl_f_data): Likewise.
48320         (struct test_if_f_data): Likewise.
48321         (struct test_fff_f_data): Likewise.
48322         (struct test_c_f_data): Likewise.
48323         (struct test_f_f1_data): Likewise.
48324         (struct test_fF_f1_data): Likewise.
48325         (struct test_ffI_f1_data): Likewise.
48326         (struct test_c_c_data): Likewise.
48327         (struct test_cc_c_data): Likewise.
48328         (struct test_f_i_data): Likewise.
48329         (struct test_ff_i_data): Likewise.
48330         (struct test_f_l_data): Likewise.
48331         (struct test_f_L_data): Likewise.
48332         (struct test_fFF_11_data): Likewise.
48333         (RM_): New macro.
48334         (RM_FE_DOWNWARD): Likewise.
48335         (RM_FE_TONEAREST): Likewise.
48336         (RM_FE_TOWARDZERO): Likewise.
48337         (RM_FE_UPWARD): Likewise.
48338         (RUN_TEST_LOOP_f_f): Update references to expected results.
48339         (RUN_TEST_LOOP_2_f): Likewise.
48340         (RUN_TEST_LOOP_fff_f): Likewise.
48341         (RUN_TEST_LOOP_c_f): Likewise.
48342         (RUN_TEST_LOOP_f_f1): Likewise.
48343         (RUN_TEST_LOOP_fF_f1): Likewise.
48344         (RUN_TEST_LOOP_fI_f1): Likewise.
48345         (RUN_TEST_LOOP_ffI_f1): Likewise.
48346         (RUN_TEST_LOOP_c_c): Likewise.
48347         (RUN_TEST_LOOP_cc_c): Likewise.
48348         (RUN_TEST_LOOP_f_i): Likewise.
48349         (RUN_TEST_LOOP_f_i_tg): Likewise.
48350         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48351         (RUN_TEST_LOOP_f_b): Likewise.
48352         (RUN_TEST_LOOP_f_b_tg): Likewise.
48353         (RUN_TEST_LOOP_f_l): Likewise.
48354         (RUN_TEST_LOOP_f_L): Likewise.
48355         (RUN_TEST_LOOP_fFF_11): Likewise.
48356         * math/gen-libm-test.pl (parse_args): Output four copies of
48357         expected results for each test.
48359         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48360         (__ASSUME_UTIMES): Remove.
48361         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48362         (__ASSUME_UTIMES): Likewise.
48364         * math/gen-auto-libm-tests.c: Update comment on output format.
48365         (output_for_one_input_case): Generate before-rounding and
48366         after-rounding information as conditions on output flags not
48367         floating-point format.
48368         * math/auto-libm-test-out: Regenerated.
48369         * math/gen-libm-test.pl (cond_value): New function.
48370         (or_cond_value): Use cond_value.
48371         (generate_testfile): Handle conditional exceptions.
48373 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
48375         * math/libm-test.inc (max_valid_error): New variable.
48376         (init_max_error): Take new argument specifying whether function
48377         results are exactly determined.  Set max_valid_error and bound
48378         other variables for errors based on this argument.
48379         (set_max_error): Do not record results above max_valid_error.
48380         (check_float_internal): Only accept errors of up to 0.5ulps if
48381         also at most max_valid_error.
48382         (START): Take new argument EXACT and pass it to init_max_error.
48383         (acos_test): Update call to START.
48384         (acos_test_tonearest): Likewise.
48385         (acos_test_towardzero): Likewise.
48386         (acos_test_downward): Likewise.
48387         (acos_test_upward): Likewise.
48388         (acosh_test): Likewise.
48389         (asin_test): Likewise.
48390         (asin_test_tonearest): Likewise.
48391         (asin_test_towardzero): Likewise.
48392         (asin_test_downward): Likewise.
48393         (asin_test_upward): Likewise.
48394         (asinh_test): Likewise.
48395         (atan_test): Likewise.
48396         (atanh_test): Likewise.
48397         (atan2_test): Likewise.
48398         (cabs_test): Likewise.
48399         (cacos_test): Likewise.
48400         (cacosh_test): Likewise.
48401         (carg_test): Likewise.
48402         (casin_test): Likewise.
48403         (casinh_test): Likewise.
48404         (catan_test): Likewise.
48405         (catanh_test): Likewise.
48406         (cbrt_test): Likewise.
48407         (ccos_test): Likewise.
48408         (ccosh_test): Likewise.
48409         (ceil_test): Likewise.
48410         (cexp_test): Likewise.
48411         (cimag_test): Likewise.
48412         (clog_test): Likewise.
48413         (clog10_test): Likewise.
48414         (conj_test): Likewise.
48415         (copysign_test): Likewise.
48416         (cos_test): Likewise.
48417         (cos_test_tonearest): Likewise.
48418         (cos_test_towardzero): Likewise.
48419         (cos_test_downward): Likewise.
48420         (cos_test_upward): Likewise.
48421         (cosh_test): Likewise.
48422         (cosh_test_tonearest): Likewise.
48423         (cosh_test_towardzero): Likewise.
48424         (cosh_test_downward): Likewise.
48425         (cosh_test_upward): Likewise.
48426         (cpow_test): Likewise.
48427         (cproj_test): Likewise.
48428         (creal_test): Likewise.
48429         (csin_test): Likewise.
48430         (csinh_test): Likewise.
48431         (csqrt_test): Likewise.
48432         (ctan_test): Likewise.
48433         (ctan_test_tonearest): Likewise.
48434         (ctan_test_towardzero): Likewise.
48435         (ctan_test_downward): Likewise.
48436         (ctan_test_upward): Likewise.
48437         (ctanh_test): Likewise.
48438         (ctanh_test_tonearest): Likewise.
48439         (ctanh_test_towardzero): Likewise.
48440         (ctanh_test_downward): Likewise.
48441         (ctanh_test_upward): Likewise.
48442         (erf_test): Likewise.
48443         (erfc_test): Likewise.
48444         (exp_test): Likewise.
48445         (exp_test_tonearest): Likewise.
48446         (exp_test_towardzero): Likewise.
48447         (exp_test_downward): Likewise.
48448         (exp_test_upward): Likewise.
48449         (exp10_test): Likewise.
48450         (exp10_test_tonearest): Likewise.
48451         (exp10_test_towardzero): Likewise.
48452         (exp10_test_downward): Likewise.
48453         (exp10_test_upward): Likewise.
48454         (pow10_test): Likewise.
48455         (exp2_test): Likewise.
48456         (expm1_test): Likewise.
48457         (expm1_test_tonearest): Likewise.
48458         (expm1_test_towardzero): Likewise.
48459         (expm1_test_downward): Likewise.
48460         (expm1_test_upward): Likewise.
48461         (fabs_test): Likewise.
48462         (fdim_test): Likewise.
48463         (floor_test): Likewise.
48464         (fma_test): Likewise.
48465         (fma_test_towardzero): Likewise.
48466         (fma_test_downward): Likewise.
48467         (fma_test_upward): Likewise.
48468         (fmax_test): Likewise.
48469         (fmin_test): Likewise.
48470         (fmod_test): Likewise.
48471         (fpclassify_test): Likewise.
48472         (frexp_test): Likewise.
48473         (hypot_test): Likewise.
48474         (ilogb_test): Likewise.
48475         (isfinite_test): Likewise.
48476         (finite_test): Likewise.
48477         (isgreater_test): Likewise.
48478         (isgreaterequal_test): Likewise.
48479         (isinf_test): Likewise.
48480         (isless_test): Likewise.
48481         (islessequal_test): Likewise.
48482         (islessgreater_test): Likewise.
48483         (isnan_test): Likewise.
48484         (isnormal_test): Likewise.
48485         (issignaling_test): Likewise.
48486         (isunordered_test): Likewise.
48487         (j0_test): Likewise.
48488         (j1_test): Likewise.
48489         (jn_test): Likewise.
48490         (ldexp_test): Likewise.
48491         (lgamma_test): Likewise.
48492         (gamma_test): Likewise.
48493         (lrint_test): Likewise.
48494         (lrint_test_tonearest): Likewise.
48495         (lrint_test_towardzero): Likewise.
48496         (lrint_test_downward): Likewise.
48497         (lrint_test_upward): Likewise.
48498         (llrint_test): Likewise.
48499         (llrint_test_tonearest): Likewise.
48500         (llrint_test_towardzero): Likewise.
48501         (llrint_test_downward): Likewise.
48502         (llrint_test_upward): Likewise.
48503         (log_test): Likewise.
48504         (log10_test): Likewise.
48505         (log1p_test): Likewise.
48506         (log2_test): Likewise.
48507         (logb_test): Likewise.
48508         (logb_test_downward): Likewise.
48509         (lround_test): Likewise.
48510         (llround_test): Likewise.
48511         (modf_test): Likewise.
48512         (nearbyint_test): Likewise.
48513         (nextafter_test): Likewise.
48514         (nexttoward_test): Likewise.
48515         (pow_test): Likewise.
48516         (pow_test_tonearest): Likewise.
48517         (pow_test_towardzero): Likewise.
48518         (pow_test_downward): Likewise.
48519         (pow_test_upward): Likewise.
48520         (remainder_test): Likewise.
48521         (drem_test): Likewise.
48522         (remainder_test_tonearest): Likewise.
48523         (drem_test_tonearest): Likewise.
48524         (remainder_test_towardzero): Likewise.
48525         (drem_test_towardzero): Likewise.
48526         (remainder_test_downward): Likewise.
48527         (drem_test_downward): Likewise.
48528         (remainder_test_upward): Likewise.
48529         (drem_test_upward): Likewise.
48530         (remquo_test): Likewise.
48531         (rint_test): Likewise.
48532         (rint_test_tonearest): Likewise.
48533         (rint_test_towardzero): Likewise.
48534         (rint_test_downward): Likewise.
48535         (rint_test_upward): Likewise.
48536         (round_test): Likewise.
48537         (scalb_test): Likewise.
48538         (scalbn_test): Likewise.
48539         (scalbln_test): Likewise.
48540         (signbit_test): Likewise.
48541         (sin_test): Likewise.
48542         (sin_test_tonearest): Likewise.
48543         (sin_test_towardzero): Likewise.
48544         (sin_test_downward): Likewise.
48545         (sin_test_upward): Likewise.
48546         (sincos_test): Likewise.
48547         (sinh_test): Likewise.
48548         (sinh_test_tonearest): Likewise.
48549         (sinh_test_towardzero): Likewise.
48550         (sinh_test_downward): Likewise.
48551         (sinh_test_upward): Likewise.
48552         (sqrt_test): Likewise.
48553         (sqrt_test_tonearest): Likewise.
48554         (sqrt_test_towardzero): Likewise.
48555         (sqrt_test_downward): Likewise.
48556         (sqrt_test_upward): Likewise.
48557         (tan_test): Likewise.
48558         (tan_test_tonearest): Likewise.
48559         (tan_test_towardzero): Likewise.
48560         (tan_test_downward): Likewise.
48561         (tan_test_upward): Likewise.
48562         (tanh_test): Likewise.
48563         (tgamma_test): Likewise.
48564         (trunc_test): Likewise.
48565         (y0_test): Likewise.
48566         (y1_test): Likewise.
48567         (yn_test): Likewise.
48568         (significand_test): Likewise.
48570         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
48571         individual tests in comment.
48572         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
48573         (prev_max_error): New variable.
48574         (prev_real_max_error): Likewise.
48575         (prev_imag_max_error): Likewise.
48576         (compare_ulp_data): Don't refer to test names in comment.
48577         (find_test_ulps): Remove function.
48578         (find_function_ulps): Likewise.
48579         (find_complex_function_ulps): Likewise.
48580         (init_max_error): Take function name as argument.  Look up ulps
48581         for that function.
48582         (print_ulps): Remove function.
48583         (print_max_error): Use prev_max_error instead of calling
48584         find_function_ulps.
48585         (print_complex_max_error): Use prev_real_max_error and
48586         prev_imag_max_error instead of calling find_complex_function_ulps.
48587         (check_float_internal): Take max_ulp parameter instead of calling
48588         find_test_ulps.  Don't call print_ulps.
48589         (check_float): Update call to check_float_internal.
48590         (check_complex): Update calls to check_float_internal.
48591         (START): Pass argument to init_max_error.
48592         * math/gen-libm-test.pl (%results): Don't include "kind"
48593         information.
48594         (parse_ulps): Don't handle ulps of individual tests.
48595         (print_ulps_file): Likewise.
48596         (output_ulps): Likewise.
48597         * math/README.libm-test: Update.
48598         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
48599         individual tests.
48600         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
48601         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
48602         * sysdeps/arm/libm-test-ulps: Likewise.
48603         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
48604         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
48605         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
48606         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
48607         * sysdeps/microblaze/libm-test-ulps: Likewise.
48608         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
48609         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48610         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48611         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
48612         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48613         * sysdeps/sh/libm-test-ulps: Likewise.
48614         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48615         * sysdeps/tile/libm-test-ulps: Likewise.
48616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48618 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
48620         * math/libm-test.inc (print_complex_max_error): Check separately
48621         whether real and imaginary errors are within allowed range and
48622         pass 0 to print_complex_function_ulps instead of value within
48623         allowed range.
48625 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48627         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
48628         formatting.
48629         (get_handles_fopen): Likewise.
48630         (do_write_test): Likewise.
48632         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
48634         * libio/fileops.c (do_ftell): Use cached offset when
48635         available.
48636         * libio/iofwide.c (do_ftell_wide): Likewise.
48637         * libio/iofdopen.c (_IO_new_fdopen): Don't use
48638         _IO_file_attach.
48639         * libio/wfileops.c (_IO_fwide): Don't cache offset.
48641         [BZ #16532]
48642         * libio/libioP.h (get_file_offset): New function.
48643         * libio/fileops.c (get_file_offset): Likewise.
48644         (do_ftell): Likewise.
48645         (_IO_new_file_seekoff): Split out ftell logic.
48646         * libio/wfileops.c (do_ftell_wide): Likewise.
48647         (_IO_wfile_seekoff): Split out ftell logic.
48648         * libio/tst-ftell-active-handler.c: New test case.
48649         * libio/Makefile (tests): Add it.
48651 2014-03-03  Roland McGrath  <roland@hack.frob.com>
48653         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
48654         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
48656 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48658         [BZ #16639]
48659         * nscd/connections.c (nscd_init): Call do_exit.
48660         (start_threads): Call do_exit and notify_parent.
48661         (begin_drop_privileges): Call do_exit.
48662         (finish_drop_privileges): Likewise.
48663         * nscd/selinux.c (preserve_capabilities): Likewise.
48664         (install_real_capabilities): Likewise.
48665         (nscd_selinux_enabled): Likewise.
48666         (avc_create_thread): Likewise.
48667         (avc_alloc_lock): Likewise.
48668         (nscd_avc_init): Likewise.
48669         * nscd/nscd.c (parent_fd): New static variable.
48670         (main): Create a pipe between parent and child processes.
48671         Skip closing parent_fd.
48672         (monitor_child): New function.
48673         (do_exit): Likewise.
48674         (notify_parent): Likewise.
48675         * nscd/nscd.h (notify_parent): Likewise.
48676         (do_exit): Likewise.
48678 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
48680         * malloc/malloc.c (__libc_calloc): Revert last change.
48682 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48686 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48688         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
48689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
48690         implementation.
48691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48692         (__libc_ifunc_impl_list): Likewise.
48693         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
48694         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
48695         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
48696         * string/strrchr.c: Define STRRCHR.
48698 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
48700         * benchtest/bench-strtok.c (simple_strtok): Delete.
48701         (strtok_string): Use as benchmark.
48702         * string/strtok (STRTOK): New macro.
48704 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
48706         * manual/threads.texi: Add header and standard comments to all
48707         functions.
48709         * elf/dl-lookup.c (check_match): New function.
48710         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
48711         (do_lookup_x): Remove nested function check_match. Use non-nested
48712         function check_match.
48714 2014-02-28  Roland McGrath  <roland@hack.frob.com>
48716         * csu/Makefile (generated, before-compile): Use += rather than =.
48717         * catgets/Makefile (generated, generated-dirs): Likewise.
48718         * debug/Makefile (generated): Likewise.
48719         * dlfcn/Makefile (generated): Likewise.
48720         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
48721         * iconvdata/Makefile (before-compile, generated): Likewise.
48722         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
48723         * libio/Makefile (generated): Likewise.
48724         * malloc/Makefile (generated): Likewise.
48725         * manual/Makefile (generated, generated-dirs): Likewise.
48726         * misc/Makefile (generated): Likewise.
48727         * posix/Makefile (generated): Likewise.
48728         * resolv/Makefile (generated): Likewise.
48729         * sunrpc/Makefile (generated, generated-dirs): Likewise.
48730         * timezone/Makefile (generated, generated-dirs): Likewise.
48732         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
48734 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48736         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48737         power8 implementation.
48738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
48739         file: POWER8 llround ifunc implementation.
48740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
48741         (__lllround): Add POWER8 implementation.
48742         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
48743         POWER8 llround implementation.
48745         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
48746         power8 implementation.
48747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
48748         file: POWER8 llrint ifunc implementation.
48749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
48750         Add POWER8 implementation.
48751         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
48752         POWER8 llrint implementation.
48754         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
48755         power8 implementation.
48756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
48757         file: POWER8 finite ifunc implementation.
48758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
48759         Add POWER8 implementation.
48760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
48761         Likewise.
48762         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
48763         POWER8 finite implementation.
48764         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
48766         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
48767         power8 implementation.
48768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
48769         file: POWER8 isinf ifunc implementation.
48770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
48771         POWER8 implementation.
48772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
48773         Likewise.
48774         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
48775         isinf implementation.
48776         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
48778         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
48779         (INIT_ARCH): Add hwcap2 initialization.
48780         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48781         power8 implementation.
48782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
48783         file: POWER8 isnan ifunc implementation.
48784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
48785         POWER8 implementation.
48786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
48787         Likewise.
48788         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
48789         isnan implementation.
48790         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
48792 2014-02-27  Joey Ye  <joey.ye@arm.com>
48794         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48795         (_FP_NANFRAC_Q): Set to zero.
48797 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48799         [BZ #16623]
48800         * math/auto-libm-test-in: New test inputs.
48801         * math/auto-libm-test-out: Regenerate.
48802         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
48803         and DA.
48804         (__cos): Likewise.
48805         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48807 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
48809         * scripts/evaluate-test.sh: Take new argument indicating whether
48810         failure is expected.
48811         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
48812         indicating whether failure is expected.
48813         * conform/Makefile (test-xfail-run-conformtest): New variable.
48814         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
48815         level.
48816         * posix/Makefile (test-xfail-annexc): New variable.
48817         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
48819 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
48821         * argp/Makefile: Include Makeconfig immediately after defining
48822         subdir.
48823         * assert/Makefile: Likewise.
48824         * benchtests/Makefile: Likewise.
48825         * catgets/Makefile: Likewise.
48826         * conform/Makefile: Likewise.
48827         * crypt/Makefile: Likewise.
48828         * csu/Makefile: Likewise.
48829         (all): Remove target.
48830         * ctype/Makefile: Include Makeconfig immediately after defining
48831         subdir.
48832         * debug/Makefile: Likewise.
48833         * dirent/Makefile: Likewise.
48834         * dlfcn/Makefile: Likewise.
48835         * gmon/Makefile: Likewise.
48836         * gnulib/Makefile: Likewise.
48837         * grp/Makefile: Likewise.
48838         * gshadow/Makefile: Likewise.
48839         * hesiod/Makefile: Likewise.
48840         * hurd/Makefile: Likewise.
48841         (all): Remove target.
48842         * iconvdata/Makefile: Include Makeconfig immediately after
48843         defining subdir.
48844         * inet/Makefile: Likewise.
48845         * intl/Makefile: Likewise.
48846         * io/Makefile: Likewise.
48847         * libio/Makefile: Likewise.
48848         (all): Remove target.
48849         * locale/Makefile: Include Makeconfig immediately after defining
48850         subdir.
48851         * login/Makefile: Likewise.
48852         * mach/Makefile: Likewise.
48853         (all): Remove target.
48854         * malloc/Makefile: Include Makeconfig immediately after defining
48855         subdir.
48856         (all): Remove target.
48857         * manual/Makefile: Include Makeconfig immediately after defining
48858         subdir.
48859         * math/Makefile: Likewise.
48860         * misc/Makefile: Likewise.
48861         * nis/Makefile: Likewise.
48862         * nss/Makefile: Likewise.
48863         * po/Makefile: Likewise.
48864         (all): Remove target.
48865         * posix/Makefile: Include Makeconfig immediately after defining
48866         subdir.
48867         * pwd/Makefile: Likewise.
48868         * resolv/Makefile: Likewise.
48869         * resource/Makefile: Likewise.
48870         * rt/Makefile: Likewise.
48871         * setjmp/Makefile: Likewise.
48872         * shadow/Makefile: Likewise.
48873         * signal/Makefile: Likewise.
48874         * socket/Makefile: Likewise.
48875         * soft-fp/Makefile: Likewise.
48876         * stdio-common/Makefile: Likewise.
48877         * stdlib/Makefile: Likewise.
48878         * streams/Makefile: Likewise.
48879         * string/Makefile: Likewise.
48880         * sunrpc/Makefile: Likewise.
48881         (all): Remove target.
48882         * sysvipc/Makefile: Include Makeconfig immediately after defining
48883         subdir.
48884         * termios/Makefile: Likewise.
48885         * time/Makefile: Likewise.
48886         * timezone/Makefile: Likewise.
48887         (all): Remove target.
48888         * wcsmbs/Makefile: Include Makeconfig immediately after defining
48889         subdir.
48890         * wctype/Makefile: Likewise.
48892 2014-02-26  Steve Ellcey  <sellcey@mips.com>
48894         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
48895         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
48896         (libc_feholdexcept_setround_mips): Ditto.
48897         (libc_feholdsetround): New.
48898         (libc_feholdsetroundf): New.
48899         (libc_feholdsetroundl): New.
48900         (libc_feupdateenv_test_mips): New.
48901         (libc_feupdateenv_test): New.
48902         (libc_feupdateenv_testf): New.
48903         (libc_feupdateenv_testl): New.
48904         (libc_feresetround): New.
48905         (libc_feresetroundf): New.
48906         (libc_feresetroundl): New.
48907         (libc_fetestexcept_mips): New.
48908         (libc_fetestexcept): New.
48909         (libc_fetestexceptf): New.
48910         (libc_fetestexceptl): New.
48911         (HAVE_RM_CTX): New.
48912         (libc_feholdexcept_setround_mips_ctx): New.
48913         (libc_feholdexcept_setround_ctx): New.
48914         (libc_feholdexcept_setroundf_ctx): New.
48915         (libc_feholdexcept_setroundl_ctx): New.
48916         (libc_fesetenv_mips_ctx): New.
48917         (libc_fesetenv_ctx): New.
48918         (libc_fesetenv_ctxf): New.
48919         (libc_fesetenv_ctxl): New.
48920         (libc_feupdateenv_mips_ctx): New.
48921         (libc_feupdateenv_ctx): New.
48922         (libc_feupdateenvf_ctx): New.
48923         (libc_feupdateenvl_ctx): New.
48924         (libc_feholdsetround_mips_ctx): New.
48925         (libc_feholdsetround_ctx): New.
48926         (libc_feholdsetroundf_ctx): New.
48927         (libc_feholdsetroundl_ctx): New.
48928         (libc_feresetround_mips_ctx): New.
48929         (libc_feresetround_ctx): New.
48930         (libc_feresetroundf_ctx): New.
48931         (libc_feresetroundl_ctx): New.
48933 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
48935         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
48937         * manual/ipc.texi: New file.
48938         * manual/Makefile (chapters): Add ipc.
48939         * manual/job.texi: Add "Inter-Process Communication" to next.
48940         * manual/process.texi: Add "Inter-Process Communication" to prev.
48942 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48946 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
48948         * malloc/malloc.c (__libc_calloc): Simplify implementation.
48950         * manual/arith.texi: Fix spaces after sentences.
48951         * manual/charset.texi: Likewise.
48952         * manual/errno.texi: Likewise.
48953         * manual/install.texi: Likewise.
48954         * manual/llio.texi: Likewise.
48955         * manual/locale.texi: Likewise.
48956         * manual/maint.texi: Likewise.
48957         * manual/math.texi: Likewise.
48958         * manual/memory.texi: Likewise.
48959         * manual/message.texi: Likewise.
48960         * manual/probes.texi: Likewise.
48961         * manual/resource.texi: Likewise.
48962         * manual/signal.texi: Likewise.
48963         * manual/socket.texi: Likewise.
48964         * manual/stdio.texi: Likewise.
48965         * manual/string.texi: Likewise.
48966         * manual/time.texi: Likewise.
48967         * manual/users.texi: Likewise.
48969 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
48971         [BZ #16632]
48972         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
48973         _DEFAULT_SOURCE is defined.
48975 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
48976             Carlos O'Donell  <carlos@redhat.com>
48978         [BZ #16613]
48979         * elf/dl-tls.c (_dl_count_modids): New function.
48980         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
48981         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
48982         audit library and increment generation counter.
48983         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
48984         * elf/tst-audit9.c: New file.
48985         * elf/tst-auditmod9a.c: New file.
48986         * elf/tst-auditmod9b.c: New file.
48987         * elf/Makefile: Add rules to build and run tst-audit9.
48989 2014-02-25  Florian Weimer  <fweimer@redhat.com>
48991         [BZ #15347]
48992         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
48994 2014-02-25  Will Newton  <will.newton@linaro.org>
48996         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
48997         (__longjmp): Restore sp and lr before restoring callee
48998         saved registers.  Add longjmp and longjmp_target
48999         SystemTap probe point.
49000         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
49001         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
49002         Define to zero to match jmpbuf layout.
49003         * sysdeps/arm/setjmp.S: Include stap-probe.h.
49004         (__sigsetjmp): Save sp and lr before saving callee
49005         saved registers.  Add setjmp SystemTap probe point.
49007 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
49009         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49011 2014-02-24  Andreas Schwab  <schwab@suse.de>
49013         [BZ #15804]
49014         * elf/pldd.c (wait_for_ptrace_stop): New function.
49015         (main): Call it after attaching.
49017 2014-02-22  Roland McGrath  <roland@hack.frob.com>
49019         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
49020         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
49021         Versions files is now verboten.
49022         * hurd/Versions (libc: GLIBC_2.0):
49023         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
49024         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
49025         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
49026         * mach/Versions: Likewise.
49028         * csu/Versions: Remove unused %include.
49029         * resolv/Versions: Likewise.
49031 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
49033         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
49034         ($(objpfx)check-local-headers.out): Likewise.
49035         ($(objpfx)begin-end-check.out): Likewise.
49036         * Makerules (check-abi-%.out): Likewise.
49037         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
49038         ($(objpfx)test2.cat): Likewise.
49039         ($(objpfx)de/libc.cat): Likewise.
49040         ($(objpfx)test-gencat.out): Likewise.
49041         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
49042         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
49043         ($(objpfx)noload-mem): Likewise.
49044         ($(objpfx)tst-pathopt.out): Likewise.
49045         ($(objpfx)tst-rtld-load-self.out): Likewise.
49046         ($(objpfx)tst-array1-cmp.out): Likewise.
49047         ($(objpfx)tst-array1-static-cmp.out): Likewise.
49048         ($(objpfx)tst-array2-cmp.out): Likewise.
49049         ($(objpfx)tst-array3-cmp.out): Likewise.
49050         ($(objpfx)tst-array4-cmp.out): Likewise.
49051         ($(objpfx)tst-array5-cmp.out): Likewise.
49052         ($(objpfx)tst-array5-static-cmp.out): Likewise.
49053         ($(objpfx)check-textrel.out): Likewise.
49054         ($(objpfx)check-execstack.out): Likewise.
49055         ($(objpfx)check-localplt.out): Likewise.
49056         ($(objpfx)order2-cmp.out): Likewise.
49057         ($(objpfx)tst-leaks1-mem): Likewise.
49058         ($(objpfx)tst-leaks1-static-mem): Likewise.
49059         ($(objpfx)tst-initorder-cmp.out): Likewise.
49060         ($(objpfx)tst-initorder2-cmp.out): Likewise.
49061         ($(objpfx)tst-unused-dep.out): Likewise.
49062         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
49063         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
49064         * iconv/Makefile (test-iconvconfig): Likewise.
49065         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
49066         ($(objpfx)iconv-test.out): Likewise.
49067         ($(objpfx)tst-tables.out): Likewise.
49068         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
49069         ($(objpfx)tst-gettext.out): Likewise.
49070         ($(objpfx)tst-translit.out): Likewise.
49071         ($(objpfx)tst-gettext2.out): Likewise.
49072         ($(objpfx)tst-gettext4.out): Likewise.
49073         ($(objpfx)tst-gettext6.out): Likewise.
49074         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
49075         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
49076         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
49077         ($(objpfx)tst-fopenloc-mem.out): Likewise.
49078         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
49079         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
49080         * posix/Makefile ($(objpfx)globtest.out): Likewise.
49081         ($(objpfx)wordexp-tst.out): Likewise.
49082         ($(objpfx)annexc.out): Likewise.
49083         ($(objpfx)tst-fnmatch-mem): Likewise.
49084         ($(objpfx)bug-regex2-mem): Likewise.
49085         ($(objpfx)bug-regex14-mem): Likewise.
49086         ($(objpfx)bug-regex21-mem): Likewise.
49087         ($(objpfx)bug-regex31-mem): Likewise.
49088         ($(objpfx)tst-vfork3-mem): Likewise.
49089         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49090         ($(objpfx)tst-pcre-mem): Likewise.
49091         ($(objpfx)tst-boost-mem): Likewise.
49092         ($(objpfx)tst-getconf.out): Likewise.
49093         ($(objpfx)bug-ga2-mem): Likewise.
49094         ($(objpfx)bug-glob2-mem): Likewise.
49095         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
49096         ($(objpfx)mtrace-tst-leaks2): Likewise.
49097         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
49098         ($(objpfx)tst-printf.out): Likewise.
49099         ($(objpfx)tst-setvbuf1.out): Likewise.
49100         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
49101         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
49102         ($(objpfx)tst-fmtmsg.out): Likewise.
49103         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
49104         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
49106         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
49107         * bits/sigaction.h [__USE_MISC]: Likewise.
49108         * bits/waitstatus.h: Update #endif comments.
49109         * ctype/ctype.h: Likewise.
49110         * dirent/dirent.h: Likewise.
49111         [__USE_MISC]: Remove redundant conditionals.
49112         * grp/grp.h: Update #endif comments.
49113         [__USE_GNU]: Remove redundant conditionals.
49114         [__USE_MISC]: Likewise.
49115         * inet/netinet/in.h [__USE_GNU]: Likewise.
49116         * io/sys/stat.h [__USE_MISC]: Likewise.
49117         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
49118         * libio/bits/stdio.h: Update #endif comments.
49119         [__USE_MISC]: Remove redundant conditionals.
49120         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
49121         * libio/stdio.h: Update #endif comments.
49122         [__USE_MISC]: Remove redundant conditionals.
49123         * math/bits/math-finite.h [__USE_MISC]: Likewise.
49124         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
49125         * math/math.h: Update #else and #endif comments.
49126         [__USE_MISC]: Remove redundant conditionals.
49127         * misc/sys/uio.h: Update #endif comments.
49128         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
49129         * posix/glob.h [__USE_MISC]: Likewise.
49130         * posix/sys/types.h: Update #endif comments.
49131         [__USE_MISC]: Remove redundant conditionals.
49132         * posix/sys/wait.h: Update #endif comments.
49133         [__USE_MISC]: Remove redundant conditionals.
49134         * posix/unistd.h: Update #endif comments.
49135         [__USE_MISC]: Remove redundant conditionals.
49136         * pwd/pwd.h [__USE_GNU]: Likewise.
49137         [__USE_MISC]: Likewise.
49138         * resolv/netdb.h [__USE_GNU]: Likewise.
49139         * signal/signal.h: Update #endif comments.
49140         [__USE_MISC]: Remove redundant conditionals.
49141         * stdlib/stdlib.h: Update #else and #endif comments.
49142         [__USE_MISC]: Remove redundant conditionals.
49143         [__USE_GNU]: Likewise.
49144         * string/bits/string2.h [__USE_MISC]: Likewise.
49145         * string/string.h: Update #endif comments.
49146         [__USE_MISC]: Remove redundant conditionals.
49147         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
49148         Likewise.
49149         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
49150         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
49151         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
49152         Likewise.
49153         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
49154         Likewise.
49155         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
49156         comments.
49157         [__USE_MISC]: Remove redundant conditionals.
49158         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
49159         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
49160         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
49161         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
49162         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
49163         Likewise.
49164         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
49165         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
49166         Likewise.
49167         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
49168         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
49169         Likewise.
49170         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
49171         Likewise.
49172         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
49173         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
49174         Likewise.
49175         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
49176         Likewise.
49177         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
49178         * sysdeps/x86/bits/string.h: Update #endif comments.
49179         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
49180         conditionals.
49181         * time/sys/time.h: Update #endif comments.
49182         * time/time.h: Likewise.
49183         [__USE_MISC]: Remove redundant conditionals.
49185 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
49187         [BZ #16600]
49188         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
49190 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
49192         * Versions.def (librt): Add GLIBC_2.17.
49194 2014-02-21  Adam Conrad  <adconrad@0c3.net>
49196         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
49197         synonym for _SYS_AUXV_H to allow direct inclusion.
49198         * sysdeps/sparc/bits/hwcap.h: Likewise.
49199         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
49200         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
49201         * sysdeps/sparc/sysdep.h: Likewise.
49203 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49205         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
49207 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49209         * benchtests/bench-strrchr.c: Print length instead of position.
49211 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
49213         [BZ #16611]
49214         * sysdeps/unix/sysv/linux/kernel-features.h
49215         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
49216         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
49217         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
49218         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
49219         Likewise.
49220         [__i386__ || __powerpc__ || __sh__ || __sparc__]
49221         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49222         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
49223         (__ASSUME_SENDMMSG): Define instead of using previous
49224         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
49225         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49226         (__ASSUME_SENDMMSG_SYSCALL): Define.
49227         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49228         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
49229         Likewise.
49230         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49231         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49232         Likewise.
49233         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49234         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49235         Likewise.
49236         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
49237         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49238         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49239         [__ASSUME_SENDMMSG]: Change conditionals to
49240         [__ASSUME_SENDMMSG_SOCKETCALL].
49241         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49242         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
49243         Define.
49244         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49245         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
49246         Likewise.
49247         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
49248         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49249         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49250         [!__ASSUME_SENDMMSG]: Change conditional to
49251         [!__ASSUME_SENDMMSG_SOCKETCALL].
49252         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49253         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49254         Define.
49256         [BZ #16610]
49257         * sysdeps/unix/sysv/linux/kernel-features.h
49258         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
49259         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
49260         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
49261         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
49262         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
49263         [__i386__ || __sparc__]
49264         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49265         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
49266         (__ASSUME_RECVMMSG): Define instead of using previous
49267         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
49268         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49269         (__ASSUME_RECVMMSG_SYSCALL): Define.
49270         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49271         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49272         Likewise.
49273         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49274         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49275         Likewise.
49276         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49277         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49278         Likewise.
49279         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
49280         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49281         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49282         [__ASSUME_RECVMMSG]: Change condition to
49283         [__ASSUME_RECVMMSG_SOCKETCALL].
49284         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49285         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49286         Define.
49287         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49288         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49289         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49290         Likewise.
49291         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
49292         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49293         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49294         [!__ASSUME_RECVMMSG]: Change condition to
49295         [!__ASSUME_RECVMMSG_SOCKETCALL].
49296         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49297         (__ASSUME_RECVMMSG_SYSCALL): Define.
49299         [BZ #16609]
49300         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
49301         __powerpc__ || __s390__ || __sh__ || __sparc__]
49302         (__ASSUME_SOCKETCALL): Define.
49303         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
49304         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
49305         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
49306         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
49307         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49308         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
49309         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
49310         (__ASSUME_ACCEPT4): Define instead of using previous
49311         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
49312         __powerpc__ || __sparc__ || __s390__)] condition.
49313         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49314         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49315         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
49316         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49317         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49318         [!__ASSUME_ACCEPT4]: Change condition to
49319         [!__ASSUME_ACCEPT4_SOCKETCALL].
49320         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49321         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
49322         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
49323         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49324         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
49325         __ASSUME_ACCEPT4_SYSCALL.
49326         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
49327         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
49328         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49329         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
49330         __ASSUME_ACCEPT4_SYSCALL.
49331         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
49332         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49333         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49334         [__ASSUME_ACCEPT4]: Change condition to
49335         [__ASSUME_ACCEPT4_SOCKETCALL].
49336         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49337         (__ASSUME_SOCKETCALL): Define.
49338         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
49339         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49340         (__ASSUME_SOCKETCALL): Define.
49341         (__ASSUME_ACCEPT4): Remove.
49342         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
49343         Define.
49344         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49345         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
49346         Likewise.
49347         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49348         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49350         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
49351         macro.
49352         (HWCAP_ARM_LPAE): Likewise.
49353         (HWCAP_ARM_EVTSTRM): Likewise.
49354         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
49355         Add vpfd32, lpae and evtstrm.
49356         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
49357         Increase to 22.
49359 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
49361         * math/auto-libm-test-in: Add tests of clog10.
49362         * math/auto-libm-test-out: Regenerated.
49363         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
49364         * sysdeps/i386/fpu/libm-test-ulps: Update.
49365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49367 2014-02-18  Andreas Schwab  <schwab@suse.de>
49369         [BZ #16574]
49370         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
49371         Store non-zero if the second buffer was newly allocated.
49372         (send_dg): Likewise.
49373         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
49374         to send_vc and send_dg.
49375         (res_nsend): Pass NULL for ansp2_malloced.
49376         * resolv/res_query.c (__libc_res_nquery): Add parameter
49377         answerp2_malloced and pass it down to __libc_res_nsend.
49378         (res_nquery): Pass additional NULL to __libc_res_nquery.
49379         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
49380         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
49381         second answer buffer if answerp2_malloced was set.
49382         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
49383         (__libc_res_nquerydomain): Add parameter
49384         answerp2_malloced and pass it down to __libc_res_nquery.
49385         (res_nquerydomain): Pass additional NULL to
49386         __libc_res_nquerydomain.
49387         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
49388         additional NULL to __libc_res_nsend and __libc_res_nquery.
49389         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
49390         additional NULL to __libc_res_nsearch.
49391         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
49392         parameter of __libc_res_nsearch to check for separately allocated
49393         second buffer.
49394         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
49395         __libc_res_nquery.
49396         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
49397         additional NULL to __libc_res_nquery.
49398         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
49399         __libc_res_nsearch.
49400         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
49401         * include/resolv.h: Update prototypes of __libc_res_nquery,
49402         __libc_res_nsearch, __libc_res_nsend.
49404 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
49406         * math/auto-libm-test-in: Add tests of fma.
49407         * math/auto-libm-test-out: Regenerated.
49408         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
49409         (fma_towardzero_test_data): Likewise.
49410         (fma_downward_test_data): Likewise.
49411         (fma_upward_test_data): Likewise.
49412         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
49413         mpc_mode.
49414         (rounding_modes): Add values for new field.
49415         (func_calc_method): Add value mpfr_fff_f.
49416         (func_calc_desc): Add mpfr_fff_f union field.
49417         (test_function): Add field exact_args.
49418         (FUNC): Add macro argument EXACT_ARGS.
49419         (FUNC_mpfr_f_f): Update call to FUNC.
49420         (FUNC_mpfr_f_f): Likewise.
49421         (FUNC_mpfr_ff_f): Likewise.
49422         (FUNC_mpfr_if_f): Likewise.
49423         (FUNC_mpc_c_f): Likewise.
49424         (FUNC_mpc_c_c): Likewise.
49425         (test_functions): Add fma.  Update calls to FUNC.
49426         (handle_input_arg): Add argument exact_args.
49427         (add_test): Update call to handle_input_arg.
49428         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
49429         (output_for_one_input_case): Update call to calc_generic_results.
49430         Recalculate exact zero results in each rounding mode.
49432         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
49433         non-negative before setting low bit.
49434         * math/auto-libm-test-in: Mark one asin test possibly having
49435         spurious underflow.
49436         * math/auto-libm-test-out: Regenerated.
49437         * sysdeps/i386/fpu/libm-test-ulps: Update.
49438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49440 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
49442         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
49443         * sysdeps/unix/sysv/linux/microblaze: Move directory from
49444         ports/sysdeps/unix/sysv/linux/microblaze.
49445         * README: Add missing listing for microblaze*-*-linux-gnu.
49447 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
49449         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
49450         duplicate code
49452 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
49454         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
49455         * sysdeps/unix/sysv/linux/ia64: Move directory from
49456         ports/sysdeps/unix/sysv/linux/ia64.
49457         * README: Update listing for ia64-*-linux-gnu.
49459 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
49460             Joseph Myers  <joseph@codesourcery.com>
49462         * Makeconfig (test-name): New variable.
49463         (evaluate-test): Likewise.
49464         * Makerules (do-test-clean): Remove .test-result files.
49465         (common-mostlyclean): Likewise.
49466         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
49467         * scripts/evaluate-test.sh: New file.
49469 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
49471         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
49472         separate $(objpfx)tst-fopenloc-cmp.out and
49473         $(objpfx)tst-fopenloc-mem.out targets.
49474         (tests): Update dependencies.
49475         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
49476         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
49477         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
49478         (tst-rxspencer-no-utf8-ARGS): New variable.
49479         (tst-rxspencer-no-utf8-ENV): Likewise.
49480         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
49481         instead of $(objpfx)tst-rxspencer-mem.
49482         ($(objpfx)tst-rxspencer-mem): Change target to
49483         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
49484         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
49485         * posix/tst-rxspencer-no-utf8.c: New file.
49487         * elf/Makefile ($(objpfx)order.out): Remove rule.
49488         [$(run-built-tests) = yes] (tests): Depend on
49489         $(objpfx)order-cmp.out.
49490         ($(objpfx)order-cmp.out): New rule.
49491         [$(run-built-tests) = yes] (tests): Depend on
49492         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
49493         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
49494         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
49495         $(objpfx)tst-array5-static-cmp.out.
49496         ($(objpfx)tst-array1.out): Remove rule.
49497         ($(objpfx)tst-array1-cmp.out): New rule.
49498         ($(objpfx)tst-array1-static.out): Remove rule.
49499         ($(objpfx)tst-array1-static-cmp.out): New rule.
49500         ($(objpfx)tst-array2.out): Remove rule.
49501         ($(objpfx)tst-array2-cmp.out): New rule.
49502         ($(objpfx)tst-array3.out): Remove rule.
49503         ($(objpfx)tst-array3-cmp.out): New rule.
49504         ($(objpfx)tst-array4.out): Remove rule.
49505         ($(objpfx)tst-array4-cmp.out): New rule.
49506         ($(objpfx)tst-array5.out): Remove rule.
49507         ($(objpfx)tst-array5-cmp.out): New rule.
49508         ($(objpfx)tst-array5-static.out): Remove rule.
49509         ($(objpfx)tst-array5-static-cmp.out): New rule.
49510         [$(run-built-tests) = yes] (tests): Depend on
49511         $(objpfx)order2-cmp.out.
49512         ($(objpfx)order2.out): Remove rule.
49513         ($(objpfx)order2-cmp.out): New rule.
49514         ($(objpfx)tst-initorder.out): Remove rule.
49515         [$(run-built-tests) = yes] (tests): Depend on
49516         $(objpfx)tst-initorder-cmp.out.
49517         ($(objpfx)tst-initorder-cmp.out): New rule.
49518         ($(objpfx)tst-initorder2.out): Remove rule.
49519         [$(run-built-tests) = yes] (tests): Depend on
49520         $(objpfx)tst-initorder2-cmp.out.
49521         ($(objpfx)tst-initorder2-cmp.out): New rule.
49522         [$(run-built-tests) = yes] (tests): Depend on
49523         $(objpfx)tst-unused-dep-cmp.out.
49524         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
49525         ($(objpfx)tst-unused-dep-cmp.out): New rule.
49526         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
49527         on $(objpfx)tst-setvbuf1-cmp.out.
49528         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
49529         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
49530         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
49531         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
49532         ($(objpfx)tst-svc.out): Remove rule.
49533         ($(objpfx)tst-svc-cmp.out): New rule.
49535 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
49537         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
49538         * ctype/ctype.h [__USE_MISC]: Likewise.
49539         * dirent/dirent.h [__USE_MISC]: Likewise.
49540         * grp/grp.h [__USE_MISC]: Likewise.
49541         * io/fcntl.h [__USE_MISC]: Likewise.
49542         * io/sys/stat.h [__USE_MISC]: Likewise.
49543         * libio/stdio.h [__USE_MISC]: Likewise.
49544         * posix/unistd.h [__USE_MISC]: Likewise.
49545         * pwd/pwd.h [__USE_MISC]: Likewise.
49546         * stdlib.h [__USE_MISC]: Likewise.
49547         * string/bits/string2.h [__USE_MISC]: Likewise.
49548         * string/string.h [__USE_MISC]: Likewise.
49549         * time/time.h [__USE_MISC]: Likewise.
49551 2014-02-13  Andreas Schwab  <schwab@suse.de>
49553         [BZ #16574]
49554         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
49555         second answer buffer if it was separately allocated.
49557 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
49559         * sysdeps/mips/math-tests.h: Include <features.h>.
49560         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49561         (ROUNDING_TESTS_long_double): Do not define.
49562         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49563         (EXCEPTION_TESTS_long_double): Likewise.
49564         * sysdeps/mips/mips64/libm-test-ulps: Update.
49566         * include/features.h (__USE_BSD): Remove macro definitions.
49567         (__USE_SVID): Likewise.
49568         (_BSD_SOURCE): Likewise.
49569         (_SVID_SOURCE): Likewise.
49570         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
49571         from definition of _DEFAULT_SOURCE.
49572         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
49573         [_DEFAULT_SOURCE].
49574         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
49575         * bits/mman.h [__USE_BSD]: Likewise.
49576         * bits/termios.h [__USE_BSD]: Likewise.
49577         * bits/waitstatus.h [__USE_BSD]: Likewise.
49578         * ctype/ctype.h [__USE_SVID]: Likewise.
49579         * dirent/dirent.h [__USE_BSD]: Likewise.
49580         * grp/grp.h [__USE_SVID]: Likewise.
49581         [__USE_BSD]: Likewise.
49582         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
49583         * io/fcntl.h [__USE_BSD]: Likewise.
49584         * io/ftw.h [__USE_BSD]: Likewise.
49585         * io/sys/stat.h [__USE_BSD]: Likewise.
49586         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
49587         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
49588         * libio/stdio.h [__USE_SVID]: Likewise.
49589         [__USE_BSD]: Likewise.
49590         * math/math.h [__USE_SVID]: Likewise.
49591         [__USE_BSD]: Likewise.
49592         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
49593         * misc/bits/syslog.h [__USE_BSD]: Likewise.
49594         * misc/search.h [__USE_SVID]: Likewise.
49595         * misc/sys/mman.h [__USE_BSD]: Likewise.
49596         * misc/sys/syslog.h [__USE_BSD]: Likewise.
49597         * misc/sys/uio.h [__USE_BSD]: Likewise.
49598         * posix/bits/unistd.h [__USE_BSD]: Likewise.
49599         * posix/glob.h [__USE_BSD]: Likewise.
49600         * posix/regex.h [__USE_BSD]: Likewise.
49601         * posix/sys/types.h [__USE_BSD]: Likewise.
49602         [__USE_SVID]: Likewise.
49603         * posix/sys/utsname.h [__USE_SVID]: Likewise.
49604         * posix/sys/wait.h [__USE_BSD]: Likewise.
49605         [__USE_SVID]: Likewise.
49606         * posix/unistd.h [__USE_BSD]: Likewise.
49607         [__USE_SVID]: Likewise.
49608         * pwd/pwd.h [__USE_SVID]: Likewise.
49609         * resolv/netdb.h [__USE_BSD]: Likewise.
49610         * setjmp/setjmp.h [__USE_BSD]: Likewise.
49611         * signal/signal.h [__USE_BSD]: Likewise.
49612         [__USE_SVID]: Likewise.
49613         * socket/sys/socket.h [__USE_BSD]: Likewise.
49614         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
49615         * stdlib/stdlib.h [__USE_BSD]: Likewise.
49616         [__USE_SVID]: Likewise.
49617         * string/bits/string2.h [__USE_BSD]: Likewise.
49618         [__USE_SVID]: Likewise.
49619         * string/bits/string3.h [__USE_BSD]: Likewise.
49620         * string/endian.h [__USE_BSD]: Likewise.
49621         * string/string.h [__USE_SVID]: Likewise.
49622         [__USE_BSD]: Likewise.
49623         * string/strings.h [__USE_BSD]: Likewise.
49624         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
49625         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
49626         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
49627         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
49628         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
49629         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
49630         Likewise.
49631         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
49632         Likewise.
49633         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
49634         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
49635         Likewise.
49636         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
49637         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
49638         Likewise.
49639         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
49640         Likewise.
49641         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
49642         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
49643         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
49644         Likewise.
49645         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
49646         Likewise.
49647         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
49648         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
49649         * termios/termios.h [__USE_BSD]: Likewise.
49650         * time/sys/time.h [__USE_BSD]: Likewise.
49651         * time/time.h [__USE_BSD]: Likewise.
49652         [__USE_SVID]: Likewise.
49654         * Makefile (subdir_targets): Remove subdir_lint.out.
49656         * stdio-common/Makefile (do-tst-unbputc): Remove target.
49657         (do-tst-printf): Likewise.
49658         (tests): Depend directly on $(objpfx)tst-unbputc.out and
49659         $(objpfx)tst-printf.out.
49661         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
49663         * Makerules (check-abi-%): Change target to
49664         $(objpfx)check-abi-%.out.
49665         (check-abi target): Update dependencies.
49666         (check-abi-pattern variable): Redirect output of diff to $@.
49667         (check-abi variable): Likewise.
49668         * elf/Makefile (check-abi): Update dependencies.
49670         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
49671         unused.
49672         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
49673         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
49674         subnormal range.
49675         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
49676         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
49677         value has largest subnormal exponent.
49678         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
49679         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
49680         * sysdeps/aarch64/soft-fp/sfp-machine.h
49681         (_FP_TININESS_AFTER_ROUNDING): New macro.
49682         * sysdeps/alpha/soft-fp/sfp-machine.h
49683         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49684         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49685         Likewise.
49686         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
49687         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49688         * sysdeps/mips/soft-fp/sfp-machine.h
49689         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49690         * sysdeps/powerpc/soft-fp/sfp-machine.h
49691         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49692         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49693         Likewise.
49694         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49695         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49696         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49697         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49698         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49699         Likewise.
49701 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
49703         [BZ #16545]
49704         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
49705         model 1.
49707 2014-02-12  Richard Henderson  <rth@redhat.com>
49709         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
49710         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
49711         * sysdeps/unix/sysv/linux/alpha: Move directory from
49712         ports/sysdeps/unix/sysv/linux/alpha.
49713         * README: Update listing for alpha-*-linux-gnu.
49715 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
49717         * include/features.h: Update comment documenting feature test
49718         macros.
49719         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
49720         _DEFAULT_SOURCE.
49721         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
49722         (_SVID_SOURCE): Likewise.
49723         (_DEFAULT_SOURCE): Update description of default features.
49724         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
49725         with _GNU_SOURCE.
49726         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
49727         (S_ISVTX): Likewise.
49728         * manual/math.texi (Mathematical Constants): Likewise.
49729         * manual/signal.texi (Interrupted Primitives): Likewise.
49730         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
49731         * math/test-matherr.c (_SVID_SOURCE): Do not define.
49732         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
49733         Don't refer to _SVID_SOURCE in warning text.
49735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49737         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
49738         already defined.
49739         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
49740         * sysdeps/mips/dl-lookup.c: Remove.
49741         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
49743 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49745         [BZ #16447]
49746         * math/auto-libm-test-in: Add testcase for expl.
49747         * math/auto-libm-test-out: Regenerate.
49748         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
49749         calculation of unsafe.
49750         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
49752 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49754         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
49755         * sysdeps/unix/sysv/linux/aarch64: Move directory from
49756         ports/sysdeps/unix/sysv/linux/aarch64.
49757         * README: Update listing for aarch64*-*-linux-gnu.
49759 2014-02-11  Will Newton  <will.newton@linaro.org>
49761         * manual/probes.texi (Mathematical Function Probes): Use
49762         "triggered" instead of "hit".
49764         * manual/probes.texi (Internal Probes): Add documentation
49765         of setjmp, longjmp and longjmp_target probes.
49767         * include/stap-probe.h: Add comment about probe argument
49768         format.
49770         * malloc/mtrace.c (attribute_hidden): Remove unused macro
49771         definition.  (tr_where, tr_freehook, tr_mallochook,
49772         tr_reallochook, tr_memalignhook): Use ANSI protoype.
49774 2014-02-11  David S. Miller  <davem@davemloft.net>
49776         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
49777         processing int_tests.
49779 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
49781         * sysdeps/mips: Move directory from ports/sysdeps/mips.
49782         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
49783         * sysdeps/unix/sysv/linux/mips: Move directory from
49784         ports/sysdeps/unix/sysv/linux/mips.
49785         * README: Update listing for mips-*-linux-gnu and
49786         mips64-*-linux-gnu.
49788 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
49790         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
49791         * sysdeps/unix/sysv/linux/m68k: Move directory from
49792         ports/sysdeps/unix/sysv/linux/m68k.
49793         * README: Update listing for m68k-*-linux-gnu.
49795 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
49797         * sysdeps/tile: Move directory from ports/sysdeps/tile.
49798         * sysdeps/unix/sysv/linux/generic: Move directory from
49799         ports/sysdeps/unix/sysv/linux/generic.
49800         * sysdeps/unix/sysv/linux/tile: Move directory from
49801         ports/sysdeps/unix/sysv/linux/tile.
49802         * README: Update listing for tile*-*-linux-gnu.
49804 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
49806         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
49807         __builtin_expect.
49808         * benchtests/bench-memmem.c (simple_memmem): Likewise.
49809         * catgets/open_catalog.c (__open_catalog): Likewise.
49810         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
49811         * debug/confstr_chk.c: Likewise.
49812         * debug/fread_chk.c (__fread_chk): Likewise.
49813         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
49814         * debug/getgroups_chk.c: Likewise.
49815         * debug/mbsnrtowcs_chk.c: Likewise.
49816         * debug/mbsrtowcs_chk.c: Likewise.
49817         * debug/mbstowcs_chk.c: Likewise.
49818         * debug/memcpy_chk.c: Likewise.
49819         * debug/memmove_chk.c: Likewise.
49820         * debug/mempcpy_chk.c: Likewise.
49821         * debug/memset_chk.c: Likewise.
49822         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49823         * debug/strcat_chk.c (__strcat_chk): Likewise.
49824         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
49825         * debug/strncat_chk.c (__strncat_chk): Likewise.
49826         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
49827         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
49828         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
49829         * debug/wcpncpy_chk.c: Likewise.
49830         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49831         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
49832         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
49833         * debug/wcsncpy_chk.c: Likewise.
49834         * debug/wcsnrtombs_chk.c: Likewise.
49835         * debug/wcsrtombs_chk.c: Likewise.
49836         * debug/wcstombs_chk.c: Likewise.
49837         * debug/wmemcpy_chk.c: Likewise.
49838         * debug/wmemmove_chk.c: Likewise.
49839         * debug/wmempcpy_chk.c: Likewise.
49840         * debug/wmemset_chk.c: Likewise.
49841         * dirent/scandirat.c (SCANDIRAT): Likewise.
49842         * dlfcn/dladdr1.c (dladdr1): Likewise.
49843         * dlfcn/dladdr.c (dladdr): Likewise.
49844         * dlfcn/dlclose.c (dlclose_doit): Likewise.
49845         * dlfcn/dlerror.c (__dlerror): Likewise.
49846         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
49847         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
49848         * dlfcn/dlopen.c (dlopen_doit): Likewise.
49849         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
49850         * dlfcn/dlsym.c (dlsym_doit): Likewise.
49851         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
49852         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
49853         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
49854         Likewise.
49855         * elf/dl-conflict.c: Likewise.
49856         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
49857         * elf/dl-dst.h: Likewise.
49858         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
49859         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
49860         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
49861         * elf/dl-init.c (call_init, _dl_init): Likewise.
49862         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
49863         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
49864         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
49865         Likewise.
49866         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
49867         Likewise.
49868         * elf/dl-minimal.c (__libc_memalign): Likewise.
49869         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
49870         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49871         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
49872         * elf/dl-sym.c (do_sym): Likewise.
49873         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
49874         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
49875         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
49876         * elf/dl-writev.h (_dl_writev): Likewise.
49877         * elf/ldconfig.c (search_dir): Likewise.
49878         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
49879         (dl_main): Likewise.
49880         * elf/setup-vdso.h (setup_vdso): Likewise.
49881         * grp/compat-initgroups.c (compat_call): Likewise.
49882         * grp/fgetgrent.c (fgetgrent): Likewise.
49883         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
49884         * grp/putgrent.c (putgrent): Likewise.
49885         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49886         Likewise.
49887         * hurd/hurdinit.c: Likewise.
49888         * iconvdata/8bit-gap.c (struct): Likewise.
49889         * iconvdata/ansi_x3.110.c : Likewise.
49890         * iconvdata/big5.c : Likewise.
49891         * iconvdata/big5hkscs.c : Likewise.
49892         * iconvdata/cp1255.c: Likewise.
49893         * iconvdata/cp1258.c : Likewise.
49894         * iconvdata/cp932.c : Likewise.
49895         * iconvdata/euc-cn.c: Likewise.
49896         * iconvdata/euc-jisx0213.c : Likewise.
49897         * iconvdata/euc-jp.c: Likewise.
49898         * iconvdata/euc-jp-ms.c : Likewise.
49899         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
49900         * iconvdata/gb18030.c : Likewise.
49901         * iconvdata/gbbig5.c (const): Likewise.
49902         * iconvdata/gbgbk.c: Likewise.
49903         * iconvdata/gbk.c : Likewise.
49904         * iconvdata/ibm1364.c : Likewise.
49905         * iconvdata/ibm930.c : Likewise.
49906         * iconvdata/ibm932.c: Likewise.
49907         * iconvdata/ibm933.c : Likewise.
49908         * iconvdata/ibm935.c : Likewise.
49909         * iconvdata/ibm937.c : Likewise.
49910         * iconvdata/ibm939.c : Likewise.
49911         * iconvdata/ibm943.c: Likewise.
49912         * iconvdata/iso_11548-1.c: Likewise.
49913         * iconvdata/iso-2022-cn.c : Likewise.
49914         * iconvdata/iso-2022-cn-ext.c : Likewise.
49915         * iconvdata/iso-2022-jp-3.c: Likewise.
49916         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
49917         * iconvdata/iso-2022-kr.c : Likewise.
49918         * iconvdata/iso646.c (gconv_end): Likewise.
49919         * iconvdata/iso_6937-2.c : Likewise.
49920         * iconvdata/iso_6937.c : Likewise.
49921         * iconvdata/iso8859-1.c: Likewise.
49922         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
49923         * iconvdata/shift_jisx0213.c : Likewise.
49924         * iconvdata/sjis.c : Likewise.
49925         * iconvdata/t.61.c : Likewise.
49926         * iconvdata/tcvn5712-1.c : Likewise.
49927         * iconvdata/tscii.c: Likewise.
49928         * iconvdata/uhc.c : Likewise.
49929         * iconvdata/unicode.c (gconv_end): Likewise.
49930         * iconvdata/utf-16.c (gconv_end): Likewise.
49931         * iconvdata/utf-32.c (gconv_end): Likewise.
49932         * iconvdata/utf-7.c (base64): Likewise.
49933         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
49934         * iconv/gconv_close.c (__gconv_close): Likewise.
49935         * iconv/gconv_open.c (__gconv_open): Likewise.
49936         * iconv/gconv_simple.c (internal_ucs4_loop_single)
49937         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
49938         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
49939         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
49940         (ucs4le_internal_loop_single): Likewise.
49941         * iconv/iconv.c (iconv): Likewise.
49942         * iconv/iconv_close.c: Likewise.
49943         * iconv/loop.c (SINGLE): Likewise.
49944         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
49945         * include/atomic.h: Likewise.
49946         * inet/inet6_option.c (option_alloc): Likewise.
49947         * intl/bindtextdom.c (set_binding_values): Likewise.
49948         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
49949         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
49950         * intl/localealias.c (read_alias_file): Likewise.
49951         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
49952         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
49953         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
49954         * libio/fmemopen.c (fmemopen): Likewise.
49955         * libio/iofgets.c (_IO_fgets): Likewise.
49956         * libio/iofgets_u.c (fgets_unlocked): Likewise.
49957         * libio/iofgetws.c (fgetws): Likewise.
49958         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
49959         * libio/iogetdelim.c (_IO_getdelim): Likewise.
49960         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
49961         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
49962         * locale/findlocale.c (_nl_find_locale): Likewise.
49963         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
49964         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
49965         Likewise.
49966         * locale/setlocale.c (setlocale): Likewise.
49967         * login/programs/pt_chown.c (main): Likewise.
49968         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
49969         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
49970         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
49971         (mmap, mmap64, mremap, munmap): Likewise.
49972         * math/e_exp2l.c: Likewise.
49973         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
49974         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
49975         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
49976         * math/s_catan.c (__catan): Likewise.
49977         * math/s_catanf.c (__catanf): Likewise.
49978         * math/s_catanh.c (__catanh): Likewise.
49979         * math/s_catanhf.c (__catanhf): Likewise.
49980         * math/s_catanhl.c (__catanhl): Likewise.
49981         * math/s_catanl.c (__catanl): Likewise.
49982         * math/s_ccosh.c (__ccosh): Likewise.
49983         * math/s_ccoshf.c (__ccoshf): Likewise.
49984         * math/s_ccoshl.c (__ccoshl): Likewise.
49985         * math/s_cexp.c (__cexp): Likewise.
49986         * math/s_cexpf.c (__cexpf): Likewise.
49987         * math/s_cexpl.c (__cexpl): Likewise.
49988         * math/s_clog10.c (__clog10): Likewise.
49989         * math/s_clog10f.c (__clog10f): Likewise.
49990         * math/s_clog10l.c (__clog10l): Likewise.
49991         * math/s_clog.c (__clog): Likewise.
49992         * math/s_clogf.c (__clogf): Likewise.
49993         * math/s_clogl.c (__clogl): Likewise.
49994         * math/s_csin.c (__csin): Likewise.
49995         * math/s_csinf.c (__csinf): Likewise.
49996         * math/s_csinh.c (__csinh): Likewise.
49997         * math/s_csinhf.c (__csinhf): Likewise.
49998         * math/s_csinhl.c (__csinhl): Likewise.
49999         * math/s_csinl.c (__csinl): Likewise.
50000         * math/s_csqrt.c (__csqrt): Likewise.
50001         * math/s_csqrtf.c (__csqrtf): Likewise.
50002         * math/s_csqrtl.c (__csqrtl): Likewise.
50003         * math/s_ctan.c (__ctan): Likewise.
50004         * math/s_ctanf.c (__ctanf): Likewise.
50005         * math/s_ctanh.c (__ctanh): Likewise.
50006         * math/s_ctanhf.c (__ctanhf): Likewise.
50007         * math/s_ctanhl.c (__ctanhl): Likewise.
50008         * math/s_ctanl.c (__ctanl): Likewise.
50009         * math/w_pow.c: Likewise.
50010         * math/w_powf.c: Likewise.
50011         * math/w_powl.c: Likewise.
50012         * math/w_scalb.c (sysv_scalb): Likewise.
50013         * math/w_scalbf.c (sysv_scalbf): Likewise.
50014         * math/w_scalbl.c (sysv_scalbl): Likewise.
50015         * misc/error.c (error_tail): Likewise.
50016         * misc/pselect.c (__pselect): Likewise.
50017         * nis/nis_callback.c (__nis_create_callback): Likewise.
50018         * nis/nis_call.c (__nisfind_server): Likewise.
50019         * nis/nis_creategroup.c (nis_creategroup): Likewise.
50020         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
50021         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
50022         * nis/nis_getservlist.c (nis_getservlist): Likewise.
50023         * nis/nis_lookup.c (nis_lookup): Likewise.
50024         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
50025         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
50026         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
50027         * nis/nis_xdr.c (xdr_endpoint): Likewise.
50028         * nis/nss_compat/compat-grp.c (getgrent_next_file)
50029         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
50030         * nis/nss_compat/compat-initgroups.c (add_group)
50031         (internal_getgrent_r): Likewise.
50032         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
50033         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
50034         * nis/nss_compat/compat-spwd.c (getspent_next_file)
50035         (internal_getspnam_r): Likewise.
50036         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
50037         (_nss_nis_getaliasbyname_r): Likewise.
50038         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
50039         (_nss_nis_getntohost_r): Likewise.
50040         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
50041         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
50042         (_nss_nis_getgrgid_r): Likewise.
50043         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
50044         (internal_nis_gethostent_r, internal_gethostbyname2_r)
50045         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
50046         (_nss_nis_gethostbyname4_r): Likewise.
50047         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
50048         (initgroups_netid): Likewise.
50049         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
50050         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
50051         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
50052         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
50053         (_nss_nis_getprotobynumber_r): Likewise.
50054         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
50055         (_nss_nis_getsecretkey): Likewise.
50056         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
50057         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
50058         (_nss_nis_getpwuid_r): Likewise.
50059         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
50060         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
50061         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
50062         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
50063         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
50064         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
50065         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
50066         Likewise.
50067         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
50068         (_nss_nisplus_getntohost_r): Likewise.
50069         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
50070         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
50071         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
50072         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
50073         Likewise.
50074         * nis/nss_nisplus/nisplus-initgroups.c
50075         (_nss_nisplus_initgroups_dyn): Likewise.
50076         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
50077         (_nss_nisplus_getnetbyaddr_r): Likewise.
50078         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
50079         (_nss_nisplus_getprotobynumber_r): Likewise.
50080         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
50081         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
50082         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
50083         Likewise.
50084         * nis/nss_nisplus/nisplus-service.c
50085         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
50086         (_nss_nisplus_getservbyport_r): Likewise.
50087         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
50088         (_nss_nisplus_getspnam_r): Likewise.
50089         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
50090         Likewise.
50091         * nscd/aicache.c (addhstaiX): Likewise.
50092         * nscd/cache.c (cache_search, prune_cache): Likewise.
50093         * nscd/connections.c (register_traced_file, send_ro_fd)
50094         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
50095         (main_loop_epoll): Likewise.
50096         * nscd/grpcache.c (addgrbyX): Likewise.
50097         * nscd/hstcache.c (addhstbyX): Likewise.
50098         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50099         * nscd/mem.c (gc, mempool_alloc): Likewise.
50100         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
50101         (addinnetgrX): Likewise.
50102         * nscd/nscd-client.h (__nscd_acquire_maplock)
50103         (__nscd_drop_map_ref): Likewise.
50104         * nscd/nscd_getai.c (__nscd_getai): Likewise.
50105         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
50106         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
50107         Likewise.
50108         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
50109         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50110         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
50111         (__nscd_get_map_ref): Likewise.
50112         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
50113         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
50114         Likewise.
50115         * nscd/pwdcache.c (addpwbyX): Likewise.
50116         * nscd/selinux.c (preserve_capabilities): Likewise.
50117         * nscd/servicescache.c (addservbyX): Likewise.
50118         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
50119         * posix/fnmatch.c (fnmatch): Likewise.
50120         * posix/getopt.c (_getopt_internal_r): Likewise.
50121         * posix/glob.c (glob, glob_in_dir): Likewise.
50122         * posix/wordexp.c (exec_comm_child): Likewise.
50123         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
50124         (getanswer_r, gaih_getanswer_slice): Likewise.
50125         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
50126         * resolv/res_init.c: Likewise.
50127         * resolv/res_mkquery.c (res_nmkquery): Likewise.
50128         * resolv/res_query.c (__libc_res_nquery): Likewise.
50129         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
50130         Likewise.
50131         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
50132         * stdio-common/perror.c (perror): Likewise.
50133         * stdio-common/printf_fp.c (___printf_fp): Likewise.
50134         * stdio-common/tmpnam.c (tmpnam): Likewise.
50135         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50136         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
50137         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
50138         Likewise.
50139         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
50140         * stdlib/putenv.c (putenv): Likewise.
50141         * stdlib/setenv.c (__add_to_environ): Likewise.
50142         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50143         * stdlib/strtol_l.c (INTERNAL): Likewise.
50144         * string/memmem.c (memmem): Likewise.
50145         * string/strerror.c (strerror): Likewise.
50146         * string/strnlen.c (__strnlen): Likewise.
50147         * string/test-memmem.c (simple_memmem): Likewise.
50148         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
50149         * sunrpc/pm_getport.c (__get_socket): Likewise.
50150         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
50151         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
50152         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
50153         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
50154         Likewise.
50155         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
50156         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
50157         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
50158         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
50159         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
50160         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
50161         Likewise.
50162         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
50163         Likewise.
50164         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
50165         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
50166         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50167         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
50168         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
50169         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
50170         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50171         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
50172         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
50173         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
50174         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50175         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
50176         Likewise.
50177         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
50178         Likewise.
50179         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
50180         Likewise.
50181         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
50182         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50183         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
50184         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
50185         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
50186         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
50187         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50188         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
50189         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
50190         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
50191         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
50192         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50193         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50194         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
50195         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50196         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
50197         Likewise.
50198         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
50199         Likewise.
50200         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
50201         Likewise.
50202         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
50203         Likewise.
50204         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50205         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50206         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
50207         Likewise.
50208         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
50209         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
50210         * sysdeps/posix/opendir.c (__opendirat): Likewise.
50211         * sysdeps/posix/sleep.c: Likewise.
50212         * sysdeps/posix/tempname.c: Likewise.
50213         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
50214         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50215         Likewise.
50216         * sysdeps/powerpc/powerpc32/dl-machine.h
50217         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
50218         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50219         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50220         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
50221         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
50222         Likewise.
50223         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
50224         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
50225         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50226         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
50227         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50228         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
50229         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
50230         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
50231         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50232         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
50233         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
50234         (elf_machine_lazy_rel): Likewise.
50235         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50236         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
50237         (elf_machine_lazy_rel): Likewise.
50238         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
50239         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
50240         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
50241         * sysdeps/unix/grantpt.c (grantpt): Likewise.
50242         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
50243         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
50244         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
50245         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50246         Likewise.
50247         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
50248         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
50249         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
50250         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
50251         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50252         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50253         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
50254         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
50255         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
50256         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50257         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50258         Likewise.
50259         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
50260         (__posix_fallocate64_l64): Likewise.
50261         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
50262         (posix_fallocate): Likewise.
50263         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
50264         Likewise.
50265         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50266         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
50267         (getifaddrs_internal): Likewise.
50268         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
50269         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
50270         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
50271         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
50272         * sysdeps/unix/sysv/linux/posix_fallocate64.c
50273         (__posix_fallocate64_l64): Likewise.
50274         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
50275         Likewise.
50276         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
50277         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
50278         (__get_clockfreq): Likewise.
50279         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
50280         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
50281         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
50282         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50283         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50284         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
50285         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
50286         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
50287         Likewise.
50288         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
50289         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
50290         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
50291         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
50292         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50293         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
50294         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
50295         Likewise.
50296         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50297         (posix_fallocate): Likewise.
50298         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50299         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
50300         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
50301         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
50302         (elf_machine_rela, elf_machine_rela_relative)
50303         (elf_machine_lazy_rel): Likewise.
50304         * time/asctime.c (asctime_internal): Likewise.
50305         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
50306         * time/tzset.c (__tzset_parse_tz): Likewise.
50307         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
50308         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
50309         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
50310         * wcsmbs/wcsmbsload.h: Likewise.
50312         [BZ #15894]
50313         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
50315         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
50316         (arena_get2): Remove THREAD_STATS conditionals.
50317         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
50318         (__malloc_stats, int): Likewise.
50320 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
50322         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
50323         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
50325         * manual/setjmp.texi: Fix typos/grammar errors.
50327         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
50328         Only return early when n is <= 0.  Delete unused return statement.
50330         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
50331         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
50332         * debug/tst-longjmp_chk3.c: New file.
50334         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
50335         (test_main): Replace code with set_fortify_handler call.
50336         * debug/test-strcpy_chk.c: Likewise.
50337         * debug/tst-chk1.c: Likewise.
50338         * debug/tst-longjmp_chk.c: Likewise.
50339         * test-skeleton.c: Include fcntl.h & paths.h
50340         (set_fortify_handler): Define.
50342         * debug/tst-longjmp_chk.c: Add header comment and include
50343         ../test-skeleton.c.
50344         (do_test): Mark static.
50345         (TEST_FUNCTION): Define.
50347         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
50348         (IP_PMTUDISC_INTERFACE): Likewise.
50349         (IP_MULTICAST_IF): Likewise.
50350         (IP_MULTICAST_TTL): Likewise.
50351         (IP_MULTICAST_LOOP): Likewise.
50352         (IP_ADD_MEMBERSHIP): Likewise.
50353         (IP_DROP_MEMBERSHIP): Likewise.
50354         (IP_UNBLOCK_SOURCE): Likewise.
50355         (IP_BLOCK_SOURCE): Likewise.
50356         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
50357         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
50358         (IP_MSFILTER): Likewise.
50359         (MCAST_JOIN_GROUP): Likewise.
50360         (MCAST_BLOCK_SOURCE): Likewise.
50361         (MCAST_UNBLOCK_SOURCE): Likewise.
50362         (MCAST_LEAVE_GROUP): Likewise.
50363         (MCAST_JOIN_SOURCE_GROUP): Likewise.
50364         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
50365         (MCAST_MSFILTER): Likewise.
50366         (IP_MULTICAST_ALL): Likewise.
50367         (IP_UNICAST_IF): Likewise.
50369         * timezone/Makefile: Delete $(have-ksh) check.
50370         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
50371         * timezone/tzselect.ksh: Add +x mode bits.
50373         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
50374         (ANON_INODE_FS_MAGIC): Likewise.
50375         (BDEVFS_MAGIC): Likewise.
50376         (BINFMTFS_MAGIC): Likewise.
50377         (BTRFS_TEST_MAGIC): Likewise.
50378         (CRAMFS_MAGIC_WEND): Likewise.
50379         (DEBUGFS_MAGIC): Likewise.
50380         (ECRYPTFS_SUPER_MAGIC): Likewise.
50381         (EXT3_SUPER_MAGIC): Likewise.
50382         (EXT4_SUPER_MAGIC): Likewise.
50383         (FUTEXFS_SUPER_MAGIC): Likewise.
50384         (HOSTFS_SUPER_MAGIC): Likewise.
50385         (HUGETLBFS_MAGIC): Likewise.
50386         (MINIX3_SUPER_MAGIC): Likewise.
50387         (MTD_INODE_FS_MAGIC): Likewise.
50388         (NILFS_SUPER_MAGIC): Likewise.
50389         (OPENPROM_SUPER_MAGIC): Likewise.
50390         (PIPEFS_MAGIC): Likewise.
50391         (PSTOREFS_MAGIC): Likewise.
50392         (QNX6_SUPER_MAGIC): Likewise.
50393         (RAMFS_MAGIC): Likewise.
50394         (REISERFS_SUPER_MAGIC_STRING): Likewise.
50395         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
50396         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
50397         (SECURITYFS_MAGIC): Likewise.
50398         (SELINUX_MAGIC): Likewise.
50399         (SMACK_MAGIC): Likewise.
50400         (SOCKFS_MAGIC): Likewise.
50401         (SQUASHFS_MAGIC): Likewise.
50402         (STACK_END_MAGIC): Likewise.
50403         (TMPFS_MAGIC): Likewise.
50404         (USBDEVICE_SUPER_MAGIC): Likewise.
50405         (V9FS_MAGIC): Likewise.
50406         (XENFS_SUPER_MAGIC): Likewise.
50407         (CRAMFS_MAGIC): Fix typo in comment.
50408         (EXT2_SUPER_MAGIC): Update comment.
50409         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
50411 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
50413         * sysdeps/arm: Move directory from ports/sysdeps/arm.
50414         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
50415         * sysdeps/unix/sysv/linux/arm: Move directory from
50416         ports/sysdeps/unix/sysv/linux/arm.
50417         * README: Update listing for arm-*-linux-gnueabi.
50419         * README: Remove mention of am33.
50421 2014-02-07  Roland McGrath  <roland@hack.frob.com>
50423         * bits/sigset.h (__sigemptyset): Use a statement expression rather
50424         than the comma operator, to avoid "rhs of comma has no effect"
50425         compiler warnings.
50426         (__sigfillset, __sigandset, __sigorset): Likewise.
50427         * include/signal.h (__sigemptyset): Likewise.
50428         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
50430 2014-02-07  Allan McRae  <allan@archlinux.org>
50432         * version.h (RELEASE): Set to "development".
50433         (VERSION): Set to "2.19.90"
50434         * NEWS: Add 2.20 section.
50436 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
50438         [BZ #16529]
50439         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
50441 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50443         * manual/contrib.texi: Update entry for Carlos O'Donell,
50444         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
50446 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
50448         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
50450         * sysdeps/unix/sysv/linux/kernel-features.h
50451         [__LINUX_KERNEL_VERSION >= 0x020621]
50452         (__ASSUME_PROC_PID_TASK_COMM): Define.
50454 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50456         [BZ #16398]
50457         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
50458         conversion when destination buffer does not have enough space.
50459         * libio/tst-ftell-partial-wide.c: New test case.
50460         * libio/Makefile (tests): Add tst-ftell-partial-wide.
50462         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
50463         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
50464         Leonard and Allan McRae.
50466 2014-02-04  David S. Miller  <davem@davemloft.net>
50468         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
50469         32-bit.
50471 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
50474         New file
50475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
50476         New file
50477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
50478         New file.
50479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
50480         New file.
50481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
50482         New file.
50483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
50484         New file.
50485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
50486         New file.
50487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
50488         New file.
50489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
50490         New file.
50491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
50492         New file.
50493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
50494         New file.
50495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
50496         New file.
50497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
50498         New file.
50500 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50502         * nptl/shlib-versions: Change powerpc*le start to 2.17.
50503         * shlib-versions: Likewise.
50505 2014-02-04  Roland McGrath  <roland@hack.frob.com>
50506             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50508         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
50509         (abilist-pattern): New variable, set to %-le.abilist.
50511         * Makerules (abilist-pattern): New variable.
50512         (vpath): Use $(abilist-pattern) in place of %.abilist.
50513         (check-abi-% pattern rule): Likewise.
50514         (check-abi, update-abi): Likewise.
50516 2014-02-04  Eric Wong  <normalperson@yhbt.net>
50518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50520 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
50522         * manual/startup.texi: Add next, previous, and top entries for
50523         the `Program Arguments' and `Environment Variables' nodes.
50525 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
50527         * manual/macros.texi: Add comments before MTASC-safety macros.
50529         * manual/users.texi: Document MTASC-safety properties.
50531         * manual/threads.texi (pthread_key_create, pthread_key_delete)
50532         (pthread_getspecific, pthread_setspecific): Format with
50533         @deftypefun, and add @safety note.
50534         * manual/signal.texi: Move comments that analyze the above
50535         functions to their home place.
50537 2014-02-03  Allan McRae  <allan@archlinux.org>
50539         * po/sl.po: Update Slovenian translation from translation project.
50541 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
50543         * manual/time.texi (timegm): Add missing blank after @c.
50544         Reported by Joseph Myers <joseph@codesourcery.com>.
50546 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
50548         * manual/check-safety.sh: New.
50549         * manual/Makefile ($(objpfx)stamp-summary): Run it.
50551         * manual/terminal.texi: Document MTASC-safety properties.
50553         * manual/filesys.texi: Document MTASC-safety properties.
50555         * manual/errno.texi: Document MTASC-safety properties.
50557         * manual/intro.texi: Document safety identifiers and
50558         conditionals.
50560         * manual/string.texi (wcstok): Fix prototype.
50561         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
50563         * manual/time.texi: Document MTASC-safety properties.
50565         * manual/string.texi: Document MTASC-safety properties.
50567         * manual/threads.texi: Document MTASC-safety properties.
50569         * manual/stdio.texi: Document MTASC-safety properties.
50571         * manual/syslog.texi: Document MTASC-safety properties.
50573         * manual/sysinfo.texi: Document MTASC-safety properties.
50575         * manual/startup.texi: Document MTASC-safety properties.
50577         * manual/socket.texi: Document MTASC-safety properties.
50579         * manual/signal.texi: Document MTASC-safety properties.
50581 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
50583         * manual/setjmp.texi: Document MTASC-safety properties.
50585         * manual/search.texi: Document MTASC-safety properties.
50587         * manual/resource.texi: Document MTASC-safety properties.
50589         * manual/process.texi: Document MTASC-safety properties.
50591         * manual/platform.texi: Document MTASC-safety properties.
50593         * manual/pipe.texi: Document MTASC-safety properties.
50595         * manual/pattern.texi: Document MTASC-safety properties.
50597         * manual/message.texi: Document MTASC-safety properties.
50599         [BZ #12751]
50600         * manual/memory.texi: Document MTASC-safety properties.
50602         * manual/math.texi: Document MTASC-safety properties.
50604         * manual/locale.texi: Document MTASC-safety properties.
50606         * manual/llio.texi: Document MTASC-safety properties.
50608         * manual/libdl.texi: New.
50610         * manual/lang.texi: Document MTASC-safety properties.
50612         * manual/job.texi: Document MTASC-safety properties.
50614         * manual/getopt.texi: Document MTASC-safety properties.
50616         * manual/ctype.texi: Document MTASC-safety properties.
50618 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
50620         [BZ #16046]
50621         * csu/libc-tls.c (static_map): Remove variable.
50622         (__libc_setup_tls): Use main executable's link map for TLS data.
50623         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
50624         casing for LM_ID_BASE and GL(dl_nns).
50625         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
50626         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
50627         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
50628         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
50629         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
50630         member.
50631         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
50632         l_phnum members.
50634 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
50636         * manual/debug.texi: Document MTASC-safety properties.
50638 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
50640         [BZ #16510]
50641         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
50642         of __x86_64__ when disabling x87 inline functions.
50644 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
50646         * manual/charset.texi: Document MTASC-safety properties.
50648         * manual/crypt.texi: Document MTASC-safety properties.
50650         * manual/conf.texi: Document MTASC-safety properties.
50652         * manual/arith.texi: Document MTASC-safety properties.
50654         * manual/argp.texi: Document MTASC-safety properties.
50656         * manual/macros.texi: Introduce macros to document multi
50657         thread, asynchronous signal and asynchronous cancellation
50658         safety properties.
50659         * manual/intro.texi: Introduce the properties themselves.
50661 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50663         * sysdeps/sh/sh4/Makefile: New file.
50665 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
50667         * math/gen-libm-test.pl ($srcdir): New variable.
50668         ($auto_input): Use it.
50670 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50672         [BZ #16506]
50673         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
50674         access beyond array bounds when parsing netgroups file.
50676         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
50677         the old buffer before realloc.
50679 2014-01-27  Allan McRae  <allan@archlinux.org>
50681         * po/fr.po: Update French translation from translation project.
50683 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50685         * sysdeps/sh/libm-test-ulps: Regenerate.
50687 2014-01-24  David S. Miller  <davem@davemloft.net>
50689         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
50691 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50693         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
50694         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
50696 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50698         [BZ #16474]
50699         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
50700         string pointers after reallocation.
50702 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50704         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
50705         __SH4A__ instead of __SH_FPU_ANY__.
50707 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50709         * sysdeps/sh/fpu_control.h: New file.
50710         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
50711         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
50712         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
50713         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
50714         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
50715         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
50716         * sysdeps/sh/sys/ucontext.h: Remove.
50717         * sysdeps/sh/sys: Remove directory.
50719 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50721         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
50722         s390/sys/ucontext.h.
50723         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
50724         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
50726 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
50728         [BZ #15605]
50729         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
50731 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50733         [BZ#16431]
50734         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50735         Adjust the vDSO correctly for internal calls.
50736         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
50738 2014-01-20  Allan McRae  <allan@archlinux.org>
50740         * po/ca.po: Update Catalan translation from translation project.
50742 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
50744         * sysdeps/s390/sotruss-lib.c: New file.
50746 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50748         [BZ#16430]
50749         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
50750         (__GI___gettimeofday): Alias for a different internal symbol to avoid
50751         local calls issues by not having a PLT stub required for IFUNC calls.
50752         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
50754 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
50756         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
50757         * math/test-fpucw-static.c: Likewise.
50759 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50761         [BZ #16453]
50762         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
50764 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50766         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
50767         implementation for powerpc.
50769 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
50771         [BZ #14782]
50772         * sysdeps/posix/system.c (__libc_system): Do not enable
50773         asynchronous cancellation.
50775 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50777         [BZ #16427]
50778         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
50779         handling only for numbers special also in the IEEE case.
50781 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50783         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50785 2014-01-11  Allan McRae  <allan@archlinux.org>
50787         * po/bg.po: Update Bulgarian translation from translation project.
50789         * po/de.po: Update German translation from translation project.
50791 2014-01-10  Roland McGrath  <roland@hack.frob.com>
50793         * sysdeps/generic/gcc-compat.h: New file.
50795 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50797         * benchtests/asin-inputs: Correct slow inputs.
50798         * benchtests/acos-inputs: Likewise.
50800 2014-01-10  Allan McRae  <allan@archlinux.org>
50802         * po:sv.po: Update Swedish translation from translation project.
50804         * po/vi.po: Update Vietnamese translation from translation project.
50806         * po/eo.po: Update Esperanto translation from translation project.
50808         * po/cs.po: Update Czech translation from translation project.
50810         * po/nl.po: Update Dutch translation from translation project.
50812         * po/pl.po: Update Polish translation from translation project.
50814         * po/ru.po: Update Russian translation from translation project.
50816         * po/uk.po: Update Ukrainian translation from translation project.
50818 2014-01-08  Brooks Moses  <bmoses@google.com>
50820         * elf/dl-load.c: Fix comment typo.
50822 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
50824         * po/header.pot: Rename to...
50825         * po/pot.header: ... this.
50826         * po/Makefile: Use pot.header.
50828 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
50829             Maxim Kuvyrkov  <maxim@kugelworks.com>
50831         [BZ #16394]
50832         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
50833         SRC and DEST against LEN.
50835 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50837         [BZ #16414]
50838         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
50839         implementation.
50840         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
50842 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50846 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
50848         [BZ #16408]
50849         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
50850         for large positive arguments.
50852 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
50854         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50856         * math/auto-libm-test-in: Mark various tests with
50857         xfail-rounding:ldbl-128ibm.
50858         * math/auto-libm-test-out: Regenerated.
50860         [BZ #16407]
50861         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
50862         Increase overflow threshold.
50864 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
50866         [BZ #14286]
50867         * stdio-common/vfprintf.c: Check for integer overflow.
50869 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50871         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
50872         the first argument and return value of __tls_get_addr_internal.
50874 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50876         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
50877         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
50879 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50881         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
50882         * sysdeps/s390/rtld-global-offsets.sym: New file.
50883         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
50884         GLIBC_2.19 symbol.
50885         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
50886         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
50887         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
50888         ... this.
50889         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
50890         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
50891         ... this.
50892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50893         Regenerate.
50894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50895         Regenerate.
50896         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
50897         halfs of GPRs for high_gprs contexts.
50898         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
50899         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
50900         field.
50901         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
50902         uc_flags field.
50903         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
50904         64 bit versions:
50905         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
50906         for high GPRs (uc_high_gprs) and for future extensions
50907         (__reserved).
50908         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
50909         for future extensions (__reserved).
50910         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
50911         64 bit versions:
50912         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
50913         SC_HIGHGPRS offset definition.
50914         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
50915         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
50917         * Versions.def: Add GLIBC_2.19 for libpthread.
50918         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
50919         siglongjmp for libpthread with GLIBC_2.19 symver.
50920         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
50921         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
50922         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
50923         * sysdeps/s390/__longjmp.c: New file.
50924         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
50925         * sysdeps/s390/longjmp.c: New file.
50926         * sysdeps/s390/setjmp.S: New file.
50927         * sysdeps/s390/sigjmp.S: New file.
50928         * sysdeps/s390/v1-longjmp.c: New file.
50929         * sysdeps/s390/v1-setjmp.h: New file.
50930         * sysdeps/s390/v1-sigjmp.c: New file.
50931         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
50932         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
50933         GLIBC_2.19 version.
50934         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
50935         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
50936         versioned symbols for ____longjmp_chk.
50937         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
50938         Likewise.
50939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50940         Regenerate.
50941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50942         Regenerate.
50943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50944         Regenerate.
50945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50946         Regenerate.
50947         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
50948         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
50949         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
50950         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
50951         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
50952         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
50953         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
50954         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
50955         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
50956         * sysdeps/s390/rtld-__longjmp.c: New file.
50957         * sysdeps/s390/rtld-setjmp.S: New file.
50959 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
50961         [BZ #16400]
50962         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50963         Return -__logl (x) for small positive arguments without evaluating
50964         a polynomial.
50966 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
50968         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
50969         Rename to ...
50970         (__ptrace_peeksiginfo_args): ... this.
50971         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50972         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50973         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50975 2014-01-06  Allan McRae  <allan@archlinux.org>
50977         * inet/netinet/in.h: Fix typo in comment.
50979 2014-01-05  Andreas Jaeger  <aj@suse.de>
50981         * sysdeps/i386/fpu/libm-test-ulps: Update.
50983 2014-01-05  Allan McRae  <allan@archlinux.org>
50985         * po/libc.pot: Regenerated.
50987         * malloc/memusagestat.c: Fix gettext call formatting.
50989 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
50991         * nscd/nscd.c: Improve usage() output.
50993 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
50995         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
50996         * sysdeps/unix/sysv/linux/configure: Regenerated.
50997         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
50998         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
51000 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51002         [BZ #16390]
51003         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51004         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
51006 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51008         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
51009         extra tokens at end of #undef directive.
51010         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
51011         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
51012         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
51014 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51016         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51018         * math/auto-libm-test-in: Mark various tests with
51019         xfail-rounding:ldbl-128ibm.
51020         * math/auto-libm-test-out: Regenerated.
51022 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
51024         [BZ #16386]
51025         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
51026         numbers with subnormal high part when calculating exponent.
51028         [BZ #16385]
51029         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
51030         fabs.
51032         [BZ #16384]
51033         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
51034         M_LN2l.
51035         (__ieee754_acoshl): Use __log1pl not __log1p.
51037 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
51039         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
51040         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
51041         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
51042         (grow_heap, heap_trim, _int_new_arena, get_free_list)
51043         (reused_arena, arena_get2): Convert to GNU style.
51044         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
51045         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
51046         (memalign_check, __malloc_set_state): Likewise.
51047         * malloc/mallocbug.c (main): Likewise.
51048         * malloc/malloc.c (__malloc_assert, malloc_init_state)
51049         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
51050         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
51051         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
51052         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
51053         (__posix_memalign, malloc_info): Likewise.
51054         * malloc/malloc.h: Likewise.
51055         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
51056         (mallochook, memalignhook, reallochook, mabort): Likewise.
51057         * malloc/mcheck.h: Likewise.
51058         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
51059         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
51060         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
51061         * malloc/morecore.c (__default_morecore): Likewise.
51062         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
51063         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
51064         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
51065         (print_and_abort): Likewise.
51066         * malloc/obstack.h: Likewise.
51067         * malloc/set-freeres.c (__libc_freeres): Likewise.
51068         * malloc/tst-mallocstate.c (main): Likewise.
51069         * malloc/tst-mtrace.c (main): Likewise.
51070         * malloc/tst-realloc.c (do_test): Likewise.
51072 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51074         [BZ #16366]
51075         * nscd/netgroupcache.c (do_notfound): New function.
51076         (addgetnetgrentX): Use it.
51078         [BZ # 16365]
51079         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
51080         NSS_STATUS_NOTFOUND.
51082 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
51084         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51087 2014-01-01  Allan McRae  <allan@archlinux.org>
51089         * scripts/update-copyrights: Update configure input file suffix.
51091         * NEWS: Update copyright year.
51092         * catgets/gencat.c: Likewise.
51093         * csu/version.c: Likewise.
51094         * debug/catchsegv.sh: Likewise.
51095         * debug/pcprofiledump.c: Likewise.
51096         * debug/xtrace.sh: Likewise.
51097         * elf/ldconfig.c: Likewise.
51098         * elf/ldd.bash.in: Likewise.
51099         * elf/pldd.c: Likewise.
51100         * elf/sotruss.ksh: Likewise.
51101         * elf/sprof.c: Likewise.
51102         * iconv/iconv_prog.c: Likewise.
51103         * iconv/iconvconfig.c: Likewise.
51104         * locale/programs/locale.c: Likewise.
51105         * locale/programs/localedef.c: Likewise.
51106         * login/programs/pt_chown.c: Likewise.
51107         * malloc/memusage.sh: Likewise.
51108         * malloc/memusagestat.c: Likewise.
51109         * malloc/mtrace.pl: Likewise.
51110         * manual/libc.texinfo: Likewise.
51111         * nscd/nscd.c: Likewise.
51112         * nss/getent.c: Likewise.
51113         * nss/makedb.c: Likewise.
51114         * posix/getconf.c: Likewise.
51115         * scripts/test-installation.pl: Likewise.
51117         * All files with FSF copyright notices: Update copyright dates
51118         using scripts/update-copyrights.
51119         * intl/plural.c: Regenerated.
51120         * locale/programs/charmap-kw.h: Likewise.
51121         * locale/programs/locfile-kw.h: Likewise.
51123 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
51125         * sysdeps/unix/sysv/linux/configure: Regenerated.
51126         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
51127         the linux/fanotify.h header.
51128         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
51129         HAVE_LINUX_FANOTIFY_H is defined.
51131 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51133         * benchtests/cos-inputs: New inputs.
51134         * benchtests/sin-inputs: Likewise.
51136         * benchtests/atan-inputs: New inputs. Fix name of multiple
51137         precision fallback inputs.
51139         * benchtests/atanh-inputs: New inputs.
51140         * benchtests/tanh-inputs: Likewise.
51142         * benchtests/acosh-inputs: New inputs.
51143         * benchtests/asinh-inputs: Likewise.
51145         * benchtests/cosh-inputs: New inputs.
51146         * benchtests/sinh-inputs: Likewise.
51148         * benchtests/acos-inputs: Add more inputs.
51149         * benchtests/asin-inputs: Likewise.
51151 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
51153         [BZ #16375]
51154         * manual/arith.texi: Fix spelling.
51155         * manual/charset.texi: Likewise.
51156         * manual/errno.texi: Likewise.
51157         * manual/filesys.texi: Likewise.
51158         * manual/lang.texi: Likewise.
51159         * manual/llio.texi: Likewise.
51160         * manual/locale.texi: Likewise.
51161         * manual/message.texi: Likewise.
51162         * manual/resource.texi: Likewise.
51163         * manual/search.texi: Likewise.
51164         * manual/setjmp.texi: Likewise.
51165         * manual/stdio.texi: Likewise.
51166         * manual/string.texi: Likewise.
51167         * manual/sysinfo.texi: Likewise.
51168         * manual/time.texi: Likewise.
51170 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
51172         * po/sl.po: New file.
51174 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
51176         * .gitignore: Add core/.gdbinit/.gdb_history.
51178 2013-12-27  Allan McRae  <allan@archlinux.org>
51180         [BZ #16369]
51181         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
51182         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
51184 2013-12-24  Brooks Moses  <bmoses@google.com>
51186         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
51187         all compilers that claim C++98 compliance, not just GCC.
51188         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
51189         Likewise.
51191 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51193         * NEWS: Restore accidentally deleted bug-fix entries.
51195 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51196             Ondřej Bílka  <neleai@seznam.cz>
51198         [BZ #15073]
51199         * malloc/malloc.c (_int_free): Perform sanity check only if we
51200         have_lock.
51202 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
51204         [BZ #12986]
51205         * manual/stdio.texi (String Input Conversions): Clarify that character
51206         classes are not supported.
51208 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51212 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
51214         [BZ #16337]
51215         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51216         Calculate results for small negative arguments directly rather
51217         than using reflection formula with special underflow handling.
51219         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
51220         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
51221         sysdeps/unix/bsd/bsd4.4/syscalls.list.
51222         (fchflags): Likewise.
51223         (revoke): Likewise.
51224         (setlogin): Likewise.
51225         (sigaltstack): Likewise.
51226         (wait4): Likewise.
51227         (sigblock): Remove.
51228         (sigsetmask): Likewise.
51229         (wait3): Likewise.
51230         (waitpid): Likewise.
51231         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
51232         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
51233         file.
51234         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
51235         * sysdeps/unix/bsd/Makefile: ... here.
51236         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
51237         * sysdeps/unix/bsd/Versions: ... here.
51238         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
51239         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
51240         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
51241         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
51242         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
51243         * sysdeps/unix/bsd/sigblock.c: ... here.
51244         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
51245         * sysdeps/unix/bsd/sigsetmask.c: ... here.
51246         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
51247         * sysdeps/unix/bsd/sigvec.c: ... here.
51248         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
51249         * sysdeps/unix/bsd/tcdrain.c: ... here.
51250         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
51251         * sysdeps/unix/bsd/tcgetattr.c: ... here.
51252         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
51253         * sysdeps/unix/bsd/tcsetattr.c: ... here.
51254         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
51255         * sysdeps/unix/bsd/wait.c: ... here.
51256         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
51257         * sysdeps/unix/bsd/wait3.c: ... here.
51258         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
51259         * sysdeps/unix/bsd/waitpid.c: ... here.
51261 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
51263         [BZ #16356]
51264         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
51265         round-to-nearest for [!USE_AS_EXPM1L].
51266         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
51267         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
51268         more tests of exp and exp10.  Expect some exp10 tests to miss
51269         exceptions or fail in directed rounding modes.
51270         * math/auto-libm-test-out: Regenerated.
51271         * math/libm-test.inc (exp10_tonearest_test_data): New array.
51272         (exp10_test_tonearest): New function.
51273         (exp10_towardzero_test_data): New array.
51274         (exp10_test_towardzero): New function.
51275         (exp10_downward_test_data): New array.
51276         (exp10_test_downward): New function.
51277         (exp10_upward_test_data): New array.
51278         (exp10_test_upward): New function.
51279         (main): Call the new functions.
51280         * sysdeps/i386/fpu/libm-test-ulps: Update.
51281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51283 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
51285         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
51286         asinh, atan, atan2, atanh, cbrt, cos and cosh.
51287         * math/auto-libm-test-out: Regenerated.
51288         * math/libm-test.inc (acosh_test_data): Add more tests.
51289         (atanh_test_data): Likewise.
51290         (ceil_test_data): Likewise.
51291         (copysign_test_data): Likewise.
51292         * sysdeps/i386/fpu/libm-test-ulps: Update.
51293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51295         * timezone/checktab.awk: Update from tzcode 2013i.
51296         * timezone/private.h: Likewise.
51297         * timezone/scheck.c: Likewise.
51298         * timezone/tzfile.h: Likewise.
51299         * timezone/tzselect.ksh: Likewise.
51300         * timezone/zdump.c: Likewise.
51301         * timezone/zic.c: Likewise.
51303         * math/auto-libm-test-in: Add tests of cpow.
51304         * math/auto-libm-test-out: Regenerated.
51305         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
51306         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51307         mpc_cc_c.
51308         (func_calc_desc): Add mpc_cc_c union field.
51309         (test_functions): Add cpow.
51310         (special_fill_2pi): New function.
51311         (special_real_inputs): Add 2pi.
51312         (calc_generic_results): Handle mpc_cc_c.
51313         * sysdeps/i386/fpu/libm-test-ulps: Update.
51314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51316         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
51317         csqrt, ctan and ctanh.
51318         * math/auto-libm-test-out: Regenerated.
51319         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51320         (TEST_COND_x86): Likewise.
51321         (ccos_test_data): Use AUTO_TESTS_c_c.
51322         (ccosh_test_data): Likewise.
51323         (cexp_test_data): Likewise.
51324         (clog_test_data): Likewise.
51325         (csqrt_test_data): Likewise.
51326         (ctan_test_data): Likewise.
51327         (ctan_tonearest_test_data): Likewise.
51328         (ctan_towardzero_test_data): Likewise.
51329         (ctan_downward_test_data): Likewise.
51330         (ctan_upward_test_data): Likewise.
51331         (ctanh_test_data): Likewise.
51332         (ctanh_tonearest_test_data): Likewise.
51333         (ctanh_towardzero_test_data): Likewise.
51334         (ctanh_downward_test_data): Likewise.
51335         (ctanh_upward_test_data): Likewise.
51336         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51337         mpc_c_c.
51338         (func_calc_desc): Add mpc_c_c union field.
51339         (FUNC_mpc_c_c): New macro.
51340         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
51341         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
51342         ctanh.
51343         (special_fill_min_subnorm_p120): New function.
51344         (special_real_inputs): Add min_subnorm_p120.
51345         (calc_generic_results): Handle mpc_c_c.
51346         * sysdeps/i386/fpu/libm-test-ulps: Update.
51347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51349 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51351         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
51352         (do_sin_slow): New functions.
51353         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
51354         (cslow2, csloww1, csloww2): Use the new functions.
51356         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
51357         Use M to change sign of result instead of X.  Assume X is
51358         positive.
51359         (csloww1): Likewise.
51360         (__sin): Adjust.
51361         (__cos): Adjust.
51363         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
51364         arguments A and DA.
51365         (__sin): Adjust.
51366         (__cos): Likewise.
51368         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
51369         (__cos): Likewise.
51370         (sloww1): Don't adjust sign of DX.
51371         (csloww1): Likewise.
51372         (sloww2): Use X directly and don't adjust sign of DX.
51373         (csloww2): Likewise.
51375 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51377         * math/auto-libm-test-in: Add tests of cabs and carg.
51378         * math/auto-libm-test-out: Regenerated.
51379         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
51380         (carg_test_data): Likewise.
51381         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51382         mpc_c_f.
51383         (func_calc_desc): Add mpc_c_f union field.
51384         (test_functions): Add cabs and carg.
51385         (calc_generic_results): Handle mpc_c_f.
51387         * sysdeps/powerpc/powerpc32/libgcc-compat.S
51388         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
51389         as a macro and a compat symbol.
51390         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
51391         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
51392         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
51393         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
51394         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
51395         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
51396         not use .hidden.
51397         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
51398         Likewise.
51399         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
51400         Likewise.
51401         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
51402         Likewise.
51403         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
51404         Likewise.
51405         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
51406         Likewise.
51407         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
51408         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
51409         from GLIBC_2.3.2.
51411 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51415 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51417         * manual/texinfo.tex: Update to version 2013-11-26.10 with
51418         trailing whitespace removed.
51419         * scripts/config.guess: Update to version 2013-11-29.
51420         * scripts/config.sub: Update to version 2013-10-01.
51422         * math/auto-libm-test-in: Add tests of sincos.
51423         * math/auto-libm-test-out: Regenerated.
51424         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
51425         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51426         mpfr_f_11.
51427         (func_calc_desc): Add mpfr_f_11 union field.
51428         (test_functions): Add sincos.
51429         (calc_generic_results): Handle mpfr_f_11.
51430         * sysdeps/i386/fpu/libm-test-ulps: Update.
51431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51433 2013-12-19  Andreas Schwab  <schwab@suse.de>
51435         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
51436         CALL_MCOUNT.
51437         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51438         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
51439         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
51441 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51443         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
51444         * sysdeps/i386/fpu/libm-test-ulps: Update.
51445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51447         [BZ #16293]
51448         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
51449         round-to-nearest mode when using frndint.
51450         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
51451         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
51452         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
51453         Likewise.
51454         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
51455         sinh test to fail.
51456         * math/auto-libm-test-out: Regenerated.
51457         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
51458         (TEST_COND_x86): Likewise.
51459         (expm1_tonearest_test_data): New array.
51460         (expm1_test_tonearest): New function.
51461         (expm1_towardzero_test_data): New array.
51462         (expm1_test_towardzero): New function.
51463         (expm1_downward_test_data): New array.
51464         (expm1_test_downward): New function.
51465         (expm1_upward_test_data): New array.
51466         (expm1_test_upward): New function.
51467         (main): Run the new test functions.
51468         * sysdeps/i386/fpu/libm-test-ulps: Update.
51469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51471         * include/features.h: Update comment documenting feature test
51472         macros.  Mention _DEFAULT_SOURCE in comment.
51473         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
51474         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
51475         _BSD_SOURCE and _SVID_SOURCE.
51476         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
51477         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
51478         !_SVID_SOURCE]: Likewise.
51479         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51480         (__USE_POSIX_IMPLICITLY): Define.
51481         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51482         (_POSIX_SOURCE): Undefine and redefine.
51483         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51484         (_POSIX_C_SOURCE): Likewise.
51485         * manual/creature.texi (_DEFAULT_SOURCE): Document.
51486         (Feature Test Macros): Update documentation of default features.
51488 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51490         * benchtests/Makefile: Add bench-strtok.
51491         * benchtests/bench-strtok.c: New file: strtok benchtest.
51493 2013-12-19  Allan McRae  <allan@archlinux.org>
51495         * manual/install.texi: Suppress menu for plain text output.
51496         * INSTALL: Regenerated.
51498 2013-12-18  Brooks Moses  <bmoses@google.com>
51500         [BZ #15846]
51501         * misc/getauxval.c: Include errno.h.
51502         (__getauxval): Set errno to ENOENT if the requested type is not
51503         found.
51504         * misc/sys/auxv.h (getauxval): Document that it may set errno;
51505         don't declare with __attribute_const__.
51506         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
51507         * manual/startup.texi: Document that getauxval sets errno.
51509 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51511         * math/auto-libm-test-in: Add tests of jn and yn.
51512         * math/auto-libm-test-out: Regenerated.
51513         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
51514         (yn_test_data): Likewise.
51515         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51516         mpfr_if_f.
51517         (func_calc_desc): Add mpfr_if_f union field.
51518         (FUNC_mpfr_if_f): New macro.
51519         (test_functions): Add jn and yn.
51520         (calc_generic_results): Assert type of second input for
51521         mpfr_ff_f.  Handle mpfr_if_f.
51522         (output_for_one_input_case): Disable all checking for arguments
51523         fitting floating-point types in case of an integer argument.
51524         * sysdeps/i386/fpu/libm-test-ulps: Update.
51525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51528         Don't expect fegetround reference in libm.so.
51530 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51532         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
51533         $(config-cflags-nofma).
51535 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51537         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
51538         * math/auto-libm-test-out: Regenerated.
51540         [BZ #16338]
51541         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
51542         to determine exponent and adjust argument to have exponent of -1.
51543         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
51544         log2.
51545         * math/auto-libm-test-out: Regenerated.
51546         * sysdeps/i386/fpu/libm-test-ulps: Update.
51547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51549 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
51551         * manual/probes.texi: Remove cases when per-thread arenas are
51552         disabled.
51554 2013-12-18  Andreas Schwab  <schwab@suse.de>
51556         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
51557         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
51558         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
51559         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
51560         * sysdeps/i386/i686/multiarch/Makefile: Update.
51561         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
51563 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51565         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
51566         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
51568 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
51570         [BZ #15968]
51571         Support TZ transition times < 00:00:00.
51572         This is needed for version-3 tz-format files; it supports time
51573         stamps past 2037 for America/Godthab (the only entry in the tz
51574         database for which this change is relevant).
51575         * manual/time.texi (TZ Variable): Document transition times
51576         from -167:59:59 through -00:00:01.
51577         * time/tzset.c (tz_rule): Time of day is now signed.
51578         (__tzset_parse_tz): Parse negative time of day.
51580         Document TZ transition times >= 25:00:00.
51581         * manual/time.texi (TZ Variable): Document transition times from
51582         25:00:00 through 167:59:59.  These are already supported, and this
51583         support will help with version-3 tz-format files.
51585         * manual/time.texi (TZ Variable): Modernize North America example
51586         to reflect current (i.e., 2007-and-later) daylight saving rules.
51588         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
51590 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51592         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
51593         * sysdeps/unix/bsd/bits/stat.h: Likewise.
51594         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
51595         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51596         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
51597         * sysdeps/unix/bsd/bsdstat.h: Likewise.
51598         * sysdeps/unix/bsd/clock.c: Likewise.
51599         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
51600         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
51601         * sysdeps/unix/bsd/init-posix.c: Likewise.
51602         * sysdeps/unix/bsd/poll.c: Likewise.
51603         * sysdeps/unix/bsd/ptsname.c: Likewise.
51604         * sysdeps/unix/bsd/seekdir.c: Likewise.
51605         * sysdeps/unix/bsd/setegid.c: Likewise.
51606         * sysdeps/unix/bsd/seteuid.c: Likewise.
51607         * sysdeps/unix/bsd/setgid.c: Likewise.
51608         * sysdeps/unix/bsd/setrgid.c: Likewise.
51609         * sysdeps/unix/bsd/setruid.c: Likewise.
51610         * sysdeps/unix/bsd/setsid.c: Likewise.
51611         * sysdeps/unix/bsd/setuid.c: Likewise.
51612         * sysdeps/unix/bsd/sigaction.c: Likewise.
51613         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
51614         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
51615         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
51616         * sysdeps/unix/bsd/telldir.c: Likewise.
51617         * sysdeps/unix/bsd/times.c: Likewise.
51618         * sysdeps/unix/bsd/usleep.c: Likewise.
51620         * misc/Makefile (install-lib): Remove libbsd-compat.a.
51621         ($(objpfx)libbsd-compat.a): Remove rule.
51623         * include/features.h (__FAVOR_BSD): Do not define.
51624         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
51625         features conflicting with POSIX.
51626         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
51627         (_BSD_SOURCE): Remove description of not being a subset of other
51628         feature test macros.
51629         * manual/job.texi (getpgrp): Do not document BSD version.
51630         (getpgid): Do not document by reference to BSD getpgrp.
51631         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
51632         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
51633         * signal/signal.h [__FAVOR_BSD]: Likewise.
51634         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
51635         instead of making contents conditional on [__FAVOR_BSD].
51636         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
51638 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51642 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51644         [BZ #16314]
51645         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
51646         values below 2**-450, not 2**-500.
51647         * math/auto-libm-test-in: Don't allow spurious underflow from
51648         hypot.
51649         * math/auto-libm-test-out: Regenerated.
51651         [BZ #16316]
51652         [BZ #16330]
51653         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
51654         values of ha and hb and sort them after adjusting subnormal
51655         arguments.
51656         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
51657         Likewise.
51658         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
51659         values of ea and eb and sort them after adjusting subnormal
51660         arguments.
51661         * math/auto-libm-test-in: Do not expect some hypot tests of
51662         subnormals to fail.  Add more hypot tests.
51663         * math/auto-libm-test-out: Regenerated.
51665 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51667         [BZ #13304]
51668         * sysdeps/sh/s_fma.c: New file.
51669         * sysdeps/sh/s_fmaf.c: New file.
51670         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
51671         version.
51672         * sysdeps/sh/Implies: Add sh/soft-fp.
51674 2013-12-16  Roland McGrath  <roland@hack.frob.com>
51676         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
51677         level of indirection to members `objname', `errstring', `malloced'.
51678         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
51679         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
51680         it as the __longjmp argument (just pass 1 instead).
51681         (_dl_catch_error): Initialize C with argument pointers and address of
51682         volatile local ERRCODE rather than copying values out of C at return.
51684 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
51686         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
51687         * math/auto-libm-test-out: Regenerated.
51688         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
51689         (hypot_test_data): Likewise.
51690         (pow_test_data): Likewise.
51691         (pow_tonearest_test_data): Likewise.
51692         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51693         mpfr_ff_f.
51694         (func_calc_desc): Add mpfr_ff_f union field.
51695         (FUNC_mpfr_ff_f): New macro.
51696         (test_functions): Add atan2, hypot and pow.
51697         (special_fill_min): New function.
51698         (special_fill_minus_min): Likewise.
51699         (special_fill_min_subnorm): Likewise.
51700         (special_fill_minus_min_subnorm): Likewise.
51701         (special_real_inputs): Add min, -min, min_subnorm and
51702         -min_subnorm.
51703         (calc_generic_results): Handle mpfr_ff_f.
51704         * sysdeps/i386/fpu/libm-test-ulps: Update.
51705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51707 2013-12-16  Will Newton  <will.newton@linaro.org>
51709         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
51710         (Aligned Memory Blocks): Add documentation for aligned_alloc
51711         and suggest it as an alternative to posix_memalign.
51712         (Hooks for Malloc): Document __memalign_hook is also called
51713         for aligned_alloc.  (Summary of Malloc): Add summary for
51714         aligned alloc.  Document __memalign_hook is also called
51715         for aligned_alloc.
51717 2013-12-16  Will Newton  <will.newton@linaro.org>
51719         * manual/memory.texi (Malloc Examples): Clarify default
51720         alignment documentation.  Suggest posix_memalign rather
51721         than memalign or valloc.
51722         (Aligned Memory Blocks): Remove suggestion to use memalign
51723         or valloc.  Remove obsolete comment about BSD.
51724         Document memalign errno values and mark the function obsolete.
51725         Document posix_memalign returned error codes.  Mark valloc
51726         as obsolete.  (Hooks for Malloc): __memalign_hook is also
51727         called for posix_memalign and valloc.
51728         (Summary of Malloc): Add posix_memalign to function summary.
51729         __memalign_hook is also called for posix_memalign and valloc.
51731 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51733         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
51734         TAYLOR_SIN.
51735         (__sin): Adjust.
51736         (__cos): Likewise.
51737         (sloww): Use mynumber union.  Expand ternary operator into
51738         if-else statements.
51739         (cslow): use mynumber union.
51741 2013-12-16  Allan McRae  <allan@archlinux.org>
51743         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
51744         * configure: Regenerated.
51746         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
51748         [BZ #14120]
51749         * configure.ac: Added --enable-maintainer-mode. Check for
51750         autoconf when enabled.
51751         * configure: Regenerated.
51753         * nscd/nscd.service: New file.
51754         * nscd/nscd.tmpfiles: New file.
51756 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
51758         [BZ #12100]
51759         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
51760         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
51761         * sysdeps/x86_64/multiarch/strstr.c: ... here.
51762         (strstr): Add __strstr_sse2_unaligned ifunc.
51763         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
51764         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
51765         (strcasestr): Remove __strcasestr_sse42 ifunc.
51766         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
51767         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51770 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51772         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
51773         * sysdeps/sh/bits/fenv.h: ... here.
51774         * sysdeps/sh/sh4/fpu/bits: Remove directory.
51776 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51778         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
51780         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
51781         hypotf multiarch implementations.
51782         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
51783         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
51784         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
51785         multiarch hypot for PPC64.
51786         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
51787         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
51788         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
51789         multiarch hypotf for PPC64.
51791         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
51792         modff multiarch implementations.
51793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
51794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
51795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
51796         multiarch modf for PPC64.
51797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
51798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
51799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
51800         multiarch modff for PPC64.
51802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
51803         and logl multiarch implementations.
51804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
51805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
51806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
51807         multiarch logb for PPC64.
51808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
51809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
51810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
51811         multiarch logb for PPC64.
51812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
51813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
51814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
51815         multiarch logb for PPC64.
51817         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
51818         isinff multiarch implementation.
51819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
51820         file.
51821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
51822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
51823         multiarch isinf for PPC64.
51824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
51825         file.
51826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
51827         multiarch isinff for PPC64.
51829         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
51830         finitef multiarch implementation.
51831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
51832         file.
51833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
51834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
51835         multiarch finite for PPC64.
51836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
51837         file.
51838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
51839         multiarch finitef for PPC64.
51841         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
51842         lrint multiarch implementation.
51843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
51844         file.
51845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
51846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
51847         multiarch llrint for PPC64.
51848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
51849         multiarch lrint for PPC64.
51851         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
51852         copysignf multiarch implementation.
51853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
51854         file.
51855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
51856         file.
51857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
51858         multiarch copysign for PPC64.
51859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
51860         multiarch copysignf for PPC64.
51862         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
51863         multiarch implementation.
51864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
51865         file.
51866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
51867         file.
51868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
51869         file.
51870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
51871         file.
51872         multiarch llround for PPC64.
51873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
51874         multiarch trunc for PPC64.
51875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
51876         multiarch truncf for PPC64.
51878         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
51879         multiarch implementation.
51880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
51881         file.
51882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
51883         file.
51884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
51885         file.
51886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
51887         file.
51888         multiarch llround for PPC64.
51889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
51890         multiarch round for PPC64.
51891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
51892         multiarch roundf for PPC64.
51894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
51895         multiarch implementation.
51896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
51897         file.
51898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
51899         file.
51900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
51901         file.
51902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
51903         file.
51904         multiarch llround for PPC64.
51905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
51906         multiarch floor for PPC64.
51907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
51908         multiarch floorf for PPC64.
51910         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
51911         multiarch implementation.
51912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
51913         file.
51914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
51915         file.
51916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
51917         file.
51918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
51919         file.
51920         multiarch llround for PPC64.
51921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
51922         multiarch ceil for PPC64.
51923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
51924         multiarch ceilf for PPC64.
51926         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51927         multiarch implementation.
51928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
51929         file.
51930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
51931         file.
51932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
51933         file.
51934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
51935         multiarch llround for PPC64.
51936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
51937         multiarch lround for PPC64.
51939         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51940         multiarch implementation.
51941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
51942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
51943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
51944         file.
51945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
51946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
51947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
51948         multiarch isnan for PPC64.
51949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
51950         multiarch isnanf for PPC64.
51952         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
51953         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
51954         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
51955         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
51956         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
51957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
51959         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
51960         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51961         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51962         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
51965         multiarch implementations.
51966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51967         (__libc_ifunc_impl_list): Likewise.
51968         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
51969         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
51970         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
51971         multiarch stpcpy for PPC64.
51973         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
51974         multiarch implementations.
51975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51976         (__libc_ifunc_impl_list): Likewise.
51977         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
51978         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
51979         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
51980         multiarch strcpy for PPC64.
51982         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
51983         redefine function name.
51984         (_wordcopy_fwd_dest_aligned): Likewise.
51985         (_wordcopy_bwd_aligned): Likewise.
51986         (_wordcopy_bwd_dest_aligned): Likewise.
51987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
51988         multiarch implementations.
51989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51990         (__libc_ifunc_impl_list): Likewise.
51991         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
51992         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
51993         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
51994         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
51995         multiarch wcscpy for PPC64.
51997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
51998         multiarch implementations.
51999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52000         (__libc_ifunc_impl_list): Likewise.
52001         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
52002         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
52003         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
52004         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
52005         multiarch wcscpy for PPC64.
52007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
52008         multiarch implementations.
52009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52010         (__libc_ifunc_impl_list): Likewise.
52011         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
52012         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
52013         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
52014         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
52015         multiarch wcsrchr for PPC64.
52017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
52018         multiarch implementations.
52019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52020         (__libc_ifunc_impl_list): Likewise.
52021         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
52022         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
52023         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
52024         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
52025         multiarch wcschr for PPC64.
52027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
52028         multiarch implementations.
52029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52030         (__libc_ifunc_impl_list): Likewise.
52031         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
52032         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
52033         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
52034         multiarch strchrnul for PPC64.
52036         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
52037         implementations.
52038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52039         (__libc_ifunc_impl_list): Likewise.
52040         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
52041         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
52042         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
52043         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
52044         strchr for PPC64.
52046         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
52047         implementations.
52048         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52049         (__libc_ifunc_impl_list): Likewise.
52050         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
52051         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
52052         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
52053         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
52054         strncmp for PPC64.
52056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
52057         multiarch implementations.
52058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52059         (__libc_ifunc_impl_list): Likewise.
52060         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
52061         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
52062         strncasecmp for PPC64.
52063         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
52064         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
52065         multiarch strncasecmp_l for PPC64.
52067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
52068         multiarch implementations.
52069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52070         (__libc_ifunc_impl_list): Likewise.
52071         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
52072         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
52073         multiarch strcasecmp for PPC64.
52074         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
52075         file.
52076         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
52077         multiarch strcasecmp_l for PPC64.
52079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
52080         implementations.
52081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52082         (__libc_ifunc_impl_list): Likewise.
52083         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
52084         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
52085         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
52086         strnlen for PPC64.
52088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
52089         implementations.
52090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52091         (__libc_ifunc_impl_list): Likewise.
52092         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
52093         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
52094         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
52095         strlen for PPC64.
52097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
52098         implementations.
52099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52100         (__libc_ifunc_impl_list): Likewise.
52101         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
52102         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
52103         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
52104         rawmemrchr for PPC64.
52106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
52107         implementation.
52108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52109         (__libc_ifunc_impl_list): Likewise.
52110         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
52111         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
52112         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
52113         memrchr for PPC64.
52115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
52116         implementation.
52117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52118         (__libc_ifunc_impl_list): Likewise.
52119         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
52120         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
52121         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
52122         memchr for PPC64.
52124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
52125         implementation.
52126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52127         (__libc_ifunc_impl_list): Likewise.
52128         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
52129         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
52130         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
52131         mempcpy for PPC64.
52133         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
52134         avoid cretion of __bzero symbol.
52135         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
52136         Likewise.
52137         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
52138         Likewise.
52139         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
52140         Likewise.
52141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
52142         multiarch implementations.
52143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52144         (__libc_ifunc_impl_list): Likewise.
52145         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
52146         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
52147         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
52148         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
52149         bzero for PPC32.
52150         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
52151         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
52152         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
52153         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
52154         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
52155         memset for PPC64.
52156         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
52158         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
52159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
52160         implementations.
52161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52162         (__libc_ifunc_impl_list): Likewise.
52163         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
52164         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
52165         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
52166         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
52167         memcmp for PPC64.
52169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
52170         multiarch for POWER/PPC64.
52171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
52172         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
52173         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
52174         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
52175         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
52176         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
52177         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
52178         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
52179         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
52180         memcpy for PPC64.
52182         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
52183         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
52184         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
52185         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
52186         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
52187         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
52188         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
52189         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
52190         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
52191         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
52192         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
52193         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
52194         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
52195         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
52196         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
52197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
52198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
52199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
52200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
52201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
52202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
52203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
52205 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52207         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
52209 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52211         * benchtests/Makefile (bench): Add exp2 and log2.
52212         (LDLIBS-bench-exp2): Add -lm.
52213         (LDLIBS-bench-log2): Likewise.
52214         * benchtests/exp2-inputs: New inputs file.
52215         * benchtests/log2-inputs: New inputs file.
52216         * benchtests/log-inputs: Add new inputs.
52217         * benchtests/tan-inputs: Likewise.
52219 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52221         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
52222         definition...
52223         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
52224         (csloww2): ... from here.
52226         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
52227         instead of structures.
52228         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
52229         (POLYNOMIAL): Likewise.
52230         (TAYLOR_SLOW): Likewise.
52231         (__sin): Likewise.
52232         (__cos): Likewise.
52233         (slow1): Likewise.
52234         (slow2): Likewise.
52235         (sloww): Likewise.
52236         (sloww1); Likewise.
52237         (sloww2): Likewise.
52238         (bsloww1): Likewise.
52239         (bsloww2): Likewise.
52240         (cslow2): Likewise.
52241         (csloww): Likewise.
52242         (csloww1): Likewise.
52243         (csloww2): Likewise.
52245 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
52247         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
52248         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
52249         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
52250         * malloc/hooks.c (realloc_check): Likewise.
52252         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
52253         * malloc/arena.c: Remove PER_THREAD conditional.
52254         [!PER_THREAD]: Remove code.
52255         (ptmalloc_unlock_all2): Likewise.
52256         (ptmalloc_init): Likewise.
52257         (_int_new_arena): Likewise.
52258         (arena_get2): Likewise.
52259         * malloc/hooks.c (__malloc_get_state): Likewise.
52260         (__malloc_set_state): Likewise.
52261         * malloc/malloc.c: Likewise.
52262         (struct malloc_state): Likewise.
52263         (struct malloc_par): Likewise.
52264         (__libc_realloc): Likewise.
52265         (__libc_mallopt): Likewise.
52267 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52269         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
52271 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
52273         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
52274         macro to a function.  Check for zero perturb_byte.
52275         (_int_malloc, _int_free): Remove zero perturb_byte checks.
52277         * malloc/malloc.c: (force_reg): Remove.
52278         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
52279         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
52280         force_reg by atomic_forced_read.
52281         * malloc/arena.c (ptmalloc_init): Likewise.
52282         * malloc/hooks.c (top_check): Likewise.
52284 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52288 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
52290         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52292 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
52294         * math/auto-libm-test-in: Add tests of lgamma.
52295         * math/auto-libm-test-out: Regenerated.
52296         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
52297         (M_LOG_2_SQRT_PIl): Likewise.
52298         (lgamma_test_data): Use AUTO_TESTS_f_f1.
52299         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52300         mpfr_f_f1.
52301         (func_calc_desc): Add mpfr_f_f1 union field.
52302         (ARGS1): New macro.
52303         (ARGS2): Likewise.
52304         (ARGS3): Likewise.
52305         (ARGS4): Likewise.
52306         (RET1): Likewise.
52307         (RET2): Likewise.
52308         (CALC): Likewise.
52309         (FUNC): Likewise.
52310         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
52311         (test_functions): Add lgamma.
52312         (calc_generic_results): Handle mpfr_f_f1.
52313         * sysdeps/i386/fpu/libm-test-ulps: Update.
52314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52316 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52318         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
52319         __mpn_add_n for PowerPC64/POWER7.
52320         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
52321         __mpn_sub_n for PowerPC64/POWER7.
52323         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
52324         __mpn_addmul_1 for PowerPC64.
52325         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
52326         __mpn_submul_1 for PowerPC64.
52327         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
52328         for PowerPC64.
52329         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
52330         for PowerPC64.
52332 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
52334         [BZ #15089]
52335         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
52337 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52339         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
52341         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
52342         add multiarch folders.
52343         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
52344         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
52345         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
52346         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
52347         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
52348         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
52349         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
52350         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
52351         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
52352         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
52353         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
52354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
52355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
52356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
52357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
52358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
52359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
52361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52362         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
52363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
52364         New file.
52365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
52366         New file.
52367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
52368         multiarch __ieee754_hypot for PowerPC32.
52369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
52370         New file.
52371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
52372         New file.
52373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
52374         multiarch __ieee754_hypotf for PowerPC32.
52376         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
52377         long_double_symbol only if __logbl is defined.
52378         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
52379         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
52380         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
52381         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
52382         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
52383         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
52384         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
52385         path for implementation.
52386         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
52387         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
52388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
52389         logb, and logbl multiarch implementations for PowerPC32.
52390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
52391         file.
52392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
52393         file.
52394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
52395         multiarch logb for PowerPC32.
52396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
52397         file.
52398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
52399         file.
52400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
52401         multiarch logbf for PowerPC32.
52402         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
52403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
52404         file.
52405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
52406         multiarch logbl implementation for PowerPC32.
52408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
52409         and modff multiarch implementations.
52410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
52411         New file.
52412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
52413         New file.
52414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
52415         multiarch modf for PowerPC32.
52416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
52417         New file.
52418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
52419         New file.
52420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
52421         multiarch modff for PowerPC32.
52423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
52424         and lrintf multiarch implementations.
52425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
52426         New file.
52427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
52428         New file.
52429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
52430         multiarch lrint for PowerPC32.
52431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
52432         file: multiarch lrintf for PowerPC32.
52434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
52435         and lroundf multiarch implementations.
52436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
52437         New file.
52438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
52439         New file.
52440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
52441         New file.
52442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
52443         multiarch lround for PowerPC32.
52444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
52445         file: multiarch lroundf for PowerPC32.
52447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52448         copysign and copysignf multiarch implementations.
52449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
52450         New file.
52451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
52452         New file.
52453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
52454         file: multiarch copysign for PowerPC32.
52455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
52456         file: multiarch copysignf for PowerPC32.
52458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
52459         and truncf multiarch implementations.
52460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
52461         New file.
52462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
52463         file.
52464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
52465         multiarch trunc for PowerPC32.
52466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
52467         New file.
52468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
52469         New file.
52470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
52471         multiarch truncf for PowerPC32.
52473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
52474         and roundf multiarch implementations.
52475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
52476         New file.
52477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
52478         file.
52479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
52480         multiarch round for PowerPC32.
52481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
52482         New file.
52483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
52484         New file.
52485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
52486         multiarch roundf for PowerPC32.
52488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
52489         and floorf multiarch implementations.
52490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
52491         New file.
52492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
52493         file.
52494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
52495         multiarch floor for PowerPC32.
52496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
52497         New file.
52498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
52499         New file.
52500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
52501         multiarch floorf for PowerPC32.
52503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
52504         and ceilf multiarch implementations.
52505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
52506         New file.
52507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
52508         file.
52509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
52510         multiarch ceil for PowerPC32.
52511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
52512         New file.
52513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
52514         file.
52515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
52516         multiarch ceilf for PowerPC32.
52518         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
52519         is defined.
52520         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
52521         FINITEF is defined.
52522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
52523         and finitef multiarch implementations.
52524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
52525         New file.
52526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
52527         file.
52528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
52529         multiarch finite for PowerPC32.
52530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
52531         New file.
52532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
52533         file: multiarch finitef for PowerPC32.
52535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
52536         and isinff multiarch implementations.
52537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
52538         file.
52539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
52540         file.
52541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
52542         multiarch isinf for PowerPC32.
52543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
52544         New file.
52545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
52546         multiarch isinff for PowerPC32.
52548         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
52549         alias when __isnan is defined.
52550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
52551         and isnanf multiarch implementations.
52552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
52553         file.
52554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
52555         file.
52556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
52557         file.
52558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
52559         file.
52560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
52561         multiarch isnan for PowerPC32.
52562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
52563         New file.
52564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
52565         New file.
52566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
52567         multiarch isnanf for PowerPC32.
52569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
52570         and sqrtf multiarch implementations.
52571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
52572         file.
52573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
52574         file.
52575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
52576         multiarch sqrt for PowerPC32.
52577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
52578         file.
52579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
52580         file.
52581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
52582         multiarch sqrtf for PowerPC32.
52584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
52585         and llroundf multiarch implementations.
52586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
52587         New file.
52588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
52589         New file.
52590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
52591         New file.
52592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
52593         file: multiarch llround for PowerPC32.
52594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
52595         file: multiarch llroundf for PowerPC32.
52597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
52598         multiarch PowerPC32 fpu implementations.
52599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
52600         New file.
52601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
52602         New file.
52603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
52604         multiarch llrint for PowerPC32.
52605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
52606         New file.
52607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
52608         New file.
52609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
52610         file.
52612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
52614         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
52615         file.
52616         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
52617         file.
52618         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
52619         file.
52620         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
52621         multiarch wordcopy for PPC32.
52622         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52623         wordcopy objects.
52624         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52625         (__libc_ifunc_impl_list): Likewise.
52626         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
52627         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
52628         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
52629         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
52630         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
52631         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
52633         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
52634         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
52635         file.
52636         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
52637         file.
52638         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
52639         file.
52640         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
52641         multiarch wcscpy for PPC32.
52642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52643         multiarch objects.
52644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52645         (__libc_ifunc_impl_list): Likewise.
52646         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52647         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52648         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
52649         sysdeps/powerpc/power6/wcscpy.c.
52651         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
52652         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
52653         file.
52654         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
52655         file.
52656         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
52657         file.
52658         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
52659         multiarch wcsrchr for PPC32.
52660         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52661         multiarch objects.
52662         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52663         (__libc_ifunc_impl_list): Likewise.
52664         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52665         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52666         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
52667         sysdeps/powerpc/power6/wcsrchr.c.
52669         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
52670         file.
52671         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
52672         file.
52673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
52674         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
52675         multiarch wcschr for PPc32.
52676         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52677         multiarch objects.
52678         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52679         (__libc_ifunc_impl_list): Likewise.
52680         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
52681         * sysdeps/powerpc/power6/wcschr.c: ... to here.
52682         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
52683         sysdeps/powerpc/power6/wcschr.c.
52685         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
52686         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
52687         file.
52688         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
52689         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
52690         file: multiarch strchr for PPC32.
52691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
52692         multiarch objects.
52693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52694         (__libc_ifunc_impl_list): Likewise.
52696         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
52697         name.
52698         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
52699         file.
52700         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
52701         file.
52702         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
52703         multiarch strchrnul for PPC32.
52704         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
52705         multiarch objects.
52706         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52707         (__libc_ifunc_impl_list): Likewise.
52709         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
52710         file.
52711         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
52712         multiarch strncasecmp for PPC32.
52713         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
52714         file.
52715         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
52716         multiarch strncasecmp_l for PPC32.
52717         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
52718         strncasecmp multiarch objects.
52719         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52720         (__libc_ifunc_impl_list): Likewise.
52722         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
52723         file.
52724         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
52725         multiarch strncasecmp for PPC32.
52726         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
52727         New file.
52728         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
52729         multiarch strcasecmp_l for PPC32.
52730         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
52731         multiarch objects.
52732         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52733         (__libc_ifunc_impl_list): Likewise.
52735         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
52736         file.
52737         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
52738         file.
52739         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
52740         multiarch strncmp for PPC32.
52741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
52742         multiarch objects.
52743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52744         (__libc_ifunc_impl_list): Likewise.
52746         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
52747         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
52748         file.
52749         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
52750         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
52751         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
52752         multiarch objects.
52753         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52754         (__libc_ifunc_impl_list): Likewise.
52756         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
52757         file.
52758         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
52759         file.
52760         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
52761         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
52762         multiarch objects.
52763         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52764         (__libc_ifunc_impl_list): Likewise.
52766         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
52767         file.
52768         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
52769         file.
52770         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
52771         multiarch rawmemchr for PPC32.
52772         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
52773         multiarch objects.
52774         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52775         (__libc_ifunc_impl_list): Likewise.
52777         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
52778         file.
52779         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
52780         file.
52781         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
52782         file: memrchr multiarch for PPC32.
52783         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
52784         multiarch objects.
52785         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52786         (__libc_ifunc_impl_list): Likewise.
52788         * string/memchr.c (__memchr): Using macro to redefine symbol name.
52789         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
52790         file.
52791         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
52792         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
52793         multiarch memchr for PPC32.
52794         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
52795         multiarch objects.
52796         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52797         (__libc_ifunc_impl_list): Likewise.
52799         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
52800         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
52801         file.
52802         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
52803         file.
52804         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
52805         file: multiarch mempcpy for PPC32.
52806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
52807         multiarch objects.
52808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52809         (__libc_ifunc_impl_list): Likewise.
52811         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
52812         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
52813         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
52814         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
52815         multiarch bzero for PPC32.
52816         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
52817         file.
52818         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
52819         file.
52820         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
52821         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
52822         file: multiarch memset for PPC32.
52823         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
52824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
52825         memset multiarch objects.
52826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52827         (__libc_ifunc_impl_list): Likewise.
52829         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
52830         file.
52831         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
52832         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
52833         memcmp for PPC32.
52834         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
52835         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
52836         multiarch objects.
52837         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52838         (__libc_ifunc_impl_list): Likewise.
52840         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
52841         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
52842         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
52843         file.
52844         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
52845         file.
52846         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
52847         file.
52848         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
52849         multiarch memcpy for PPC32.
52850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
52851         multiarch objects.
52852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52853         (__libc_ifunc_impl_list): Likewise.
52855         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
52856         support multiarch for POWER/PPC32.
52857         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
52858         Likewise.
52859         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
52860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
52861         Implies file to make multiarch folder appers before the fpu and
52862         default folder for power4 configuration.
52864 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52866         * scripts/bench.pl: Append volatile keyword to type.
52868 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52870         * sysdeps/sh/sotruss-lib.c: New file.
52871         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
52873 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52877 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
52879         [BZ #6810]
52880         * math/w_tgamma.c: Include <errno.h>.
52881         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
52882         * math/w_tgammaf.c: Include <errno.h>.
52883         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
52884         * math/w_tgammal.c: Include <errno.h>.
52885         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
52886         * math/auto-libm-test-in: Do not allow missing errno on tgamma
52887         underflow.  Add more tgamma tests.
52888         * math/auto-libm-test-out: Regenerated.
52889         * sysdeps/i386/fpu/libm-test-ulps: Update.
52890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52892         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
52893         sin, sinh, tan, tanh, tgamma, y0 and y1.
52894         * math/auto-libm-test-out: Regenerated.
52895         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52896         (TEST_COND_x86): Likewise.
52897         (M_E2l): Remove macro.
52898         (M_E3l): Likewise.
52899         (M_2_SQRT_PIl): Likewise.
52900         (M_SQRT_PIl): Likewise.
52901         (M_1_DIV_El): Likewise.
52902         (log_test_data): Use AUTO_TESTS_f_f.
52903         (log10_test_data): Likewise.
52904         (log1p_test_data): Likewise.
52905         (log2_test_data): Likewise.
52906         (sin_test_data): Likewise.
52907         (sin_tonearest_test_data): Likewise.
52908         (sin_towardzero_test_data): Likewise.
52909         (sin_downward_test_data): Likewise.
52910         (sin_upward_test_data): Likewise.
52911         (sinh_test_data): Likewise.
52912         (sinh_tonearest_test_data): Likewise.
52913         (sinh_towardzero_test_data): Likewise.
52914         (sinh_downward_test_data): Likewise.
52915         (sinh_upward_test_data): Likewise.
52916         (tan_test_data): Likewise.
52917         (tan_tonearest_test_data): Likewise.
52918         (tan_towardzero_test_data): Likewise.
52919         (tan_downward_test_data): Likewise.
52920         (tan_upward_test_data): Likewise.
52921         (tanh_test_data): Likewise.
52922         (tgamma_test_data): Likewise.
52923         (y0_test_data): Likewise.
52924         (y1_test_data): Likewise.
52925         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
52926         (special_real_inputs): Add pi/4.
52927         * sysdeps/i386/fpu/libm-test-ulps: Update.
52928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52930 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52932         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
52933         "longjmp_target" static probes.
52934         (__longjmp): Rename to __longjmp_symbol.
52935         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52936         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
52937         on which longjmp to generate.
52938         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52939         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
52940         probe.
52941         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52942         (__sigjmp_save): Rename to __sigjmp_save_symbol.
52943         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
52944         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
52945         and __sigjmp_save_symbol based on which sigsetjmp to generated.
52946         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
52948         __longjmp_symbol based on which __longjmp to generate.
52949         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
52950         probe.
52951         (setjmp): Rename to setjmp_symbol.
52952         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52953         (_setjmp): Rename to _setjmp_symbol.
52954         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52955         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
52956         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
52957         which setjmp to generate.
52958         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
52959         "longjmp_target" static probes.
52961 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52963         * benchtests/README: Add note about output arguments.
52964         * benchtests/bench-sincos.c: Remove file.
52965         * benchtests/sincos-inputs: New file.
52966         * scripts/bench.pl: Identify output arguments and define
52967         static variables for them.
52969         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
52971         [BZ #15941]
52972         * Makefile (INSTALL): Add install-plain.texi as the primary
52973         dependency.
52974         * manual/install-plain.texi: New file.
52975         * manual/install.texi: Include node directive only for
52976         non-plaintext output.
52978 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
52980         * stdlib/longlong.h: Update from GCC.
52982         [BZ #6807]
52983         [BZ #15901]
52984         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
52985         * math/w_j0f.c (y0f): Likewise.
52986         * math/w_j0l.c (__y0l): Likewise.
52987         * math/w_j1.c (y1): Likewise.
52988         * math/w_j1f.c (y1f): Likewise.
52989         * math/w_j1l.c (__y1l): Likewise.
52990         * math/w_jn.c (yn): Likewise.
52991         * math/w_jnf.c (ynf): Likewise.
52992         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
52993         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
52994         value for Bessel function domain errors outside _SVID_ mode.
52995         Adjust sign of return value for yn (negative integer, 0).
52996         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
52997         by zero in return for negative x and set sign appropriately for
52998         negative n.
52999         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
53000         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53001         * math/libm-test.inc (y0_test_data): Add more tests and adjust
53002         expectations in error cases.
53003         (y1_test_data): Likewise.
53004         (yn_test_data): Likewise.
53005         * sysdeps/i386/fpu/libm-test-ulps: Update.
53006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53008 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53010         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
53011         "64" to "64-v1".  Add "64-v2".
53012         (abi-64-options): Rename to ...
53013         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
53014         (abi-64-condition): Rename to ...
53015         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
53016         (abi-64-ld-soname): Rename to ...
53017         (abi-64-v1-ld-soname): ... this.
53018         (abi-64-v2-options): Define.
53019         (abi-64-v2-condition): Likewise.
53020         (abi-64-v2-ld-soname): Likewise.
53021         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
53022         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
53023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
53024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
53025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
53027 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53028             Alan Modra  <amodra@gmail.com>
53030         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
53031         New versions for use with the ELFv2 ABI.
53032         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
53033         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
53034         declaration.
53035         (struct La_ppc64v2_retval): Likewise.
53036         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
53037         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
53038         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
53039         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
53040         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
53041         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53042         Do not save or restore CR.
53043         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
53044         (_dl_profile_resolve): Do no save or restore CR.  Support extended
53045         return values for ELFv2 ABI.  Fix location of FPR return registers.
53046         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
53047         updated values for _CALL_ELF == 2.
53048         (La_regs, La_retval, int_retval): Likewise.
53050 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53052         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
53053         (FRAME_MIN_SIZE_PARM): Likewise.
53054         (FRAME_BACKCHAIN): Likewise.
53055         (FRAME_CR_SAVE): Likewise.
53056         (FRAME_LR_SAVE): Likewise.
53057         (FRAME_TOC_SAVE): Likewise.
53058         (FRAME_PARM_SAVE): Likewise.
53059         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
53060         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
53061         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53062         (call_mcount_parm_offset): New macro.
53063         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
53064         (PROF): Use symbolic stack frame offsets.
53065         (TAIL_CALL_SYSCALL_ERROR): Likewise.
53066         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
53067         Redefine in terms of FRAME_MIN_SIZE.
53068         (_dl_runtime_resolve): Use symbolic stack frame offsets.
53069         (_dl_profile_resolve): Likewise.  Update comment.
53070         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
53071         symbols stack frame offsets.
53072         (__sigsetjmp): Likewise.
53073         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
53074         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
53075         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
53076         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
53078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
53079         (FRAME_BACKCHAIN): Remove.
53080         (FRAME_CR_SAVE): Likewise.
53081         (FRAME_LR_SAVE): Likewise.
53082         (FRAME_COMPILER_DW): Likewise.
53083         (FRAME_LINKER_DW): Likewise.
53084         (FRAME_TOC_SAVE): Likewise.
53085         (FRAME_PARM_SAVE): Likewise.
53086         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
53087         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
53088         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
53090         (CHECK_SP): Use symbolic stack frame offsets.
53091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
53092         zone" instead of caller's parameter save area for temp storage.
53093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53094         Likewise.  Also, use symbolic stack frame offsets.
53095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
53096         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
53097         our own stack frame instead of the caller's.
53098         (__socket): Use symbolic stack frame offsets.
53100 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53101             Alan Modra  <amodra@gmail.com>
53103         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
53104         Define.
53105         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
53106         (PPC64_LOCAL_ENTRY_OFFSET): Define.
53107         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
53108         New function.
53109         (elf_machine_fixup_plt): Call it.
53110         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
53111         reloc arguments.
53112         (elf_machine_rela): Update call to elf_machine_plt_conflict.
53113         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53114         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
53115         r2 before calling target.
53117 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53118             Alan Modra  <amodra@gmail.com>
53120         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
53121         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
53122         versions of macros to support ELFv2 ABI.
53123         (LOCALENTRY): New macro.
53124         (ENTRY, EALIGN): Use it.
53125         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
53126         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
53127         fall through into ENTRY entry point.
53128         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
53129         Only define if _CALL_ELF != 2.
53131         (elf_machine_matches_host): Verify ABI version matches.
53132         (RTLD_START): Use LOCALENTRY.
53133         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
53134         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
53135         (PLT_ENTRY_WORDS): New macro.
53136         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
53137         (elf_machine_runtime_setup): Support ELFv2 ABI.
53138         (elf_machine_fixup_plt): Likewise.
53139         (elf_machine_plt_conflict): Likewise.
53140         (resolve_ifunc): Likewise.
53141         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53142         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53143         Likewise.
53144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
53145         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
53146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53147         (makecontext): Support ELFv2 ABI.
53148         * elf/elf.h (EF_PPC64_ABI): Define.
53150 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53152         * sysdeps/powerpc/powerpc64/sysdep.h
53153         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
53154         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
53155         (ENTRY) [ASSEMBLER]: ... but instead here ...
53156         (EALIGN) [ASSEMBLER]: ... and here.
53157         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
53158         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
53159         (ENTRY_2) [!ASSEMBLER]: Use it.
53160         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
53161         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
53162         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53163         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
53164         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
53165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
53166         Use PPC64_LOAD_FUNCPTR.
53168         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
53170 2013-12-04  Alan Modra  <amodra@gmail.com>
53172         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
53173         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
53174         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
53175         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
53177         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
53178         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
53179         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
53180         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
53181         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
53182         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
53184 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53187         (__makecontext): Fix incorrect CFI when backtracing out of
53188         context created via makecontext.
53189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
53190         (__setcontext): Fix incorrect CFI during switch to new context.
53191         (__novec_setcontext): Likewise.
53193 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53195         [BZ #4772]
53196         * time/strptime_l.c (__strptime_internal): Allow modifiers
53197         in strptime.
53198         * time/tst-strptime.c (day_tests): Add testcase.
53200 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53202         * scripts/bench.pl: Skip over blank lines.
53204 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
53206         [BZ #926]
53207         * manual/time.texi (Calendar Time): Clarify what timezone functions
53208         use.
53210 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53214 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53216         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
53217         implementation.
53218         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
53219         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
53220         * debug/memset_chk.c (__memset_chk): Likewise.
53221         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
53222         * debug/strncpy_chk.c: Likewise.
53224 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53226         [BZ #15268]
53227         [BZ #15425]
53228         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
53229         (__ieee754_exp): For possibly underflowing results, check size of
53230         result and force underflow exception if required.
53231         * math/auto-libm-test-in: Add more tests of exp.
53232         * math/auto-libm-test-out: Regenerated.
53233         * sysdeps/i386/fpu/libm-test-ulps: Update.
53234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53236         [BZ #16283]
53237         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
53238         * math/w_exp2f.c (__exp2f): Likewise.
53239         * math/w_exp2l.c (__exp2l): Likewise.
53240         * math/auto-libm-test-in: Do not allow missing errno on exp2
53241         underflow.
53242         * math/auto-libm-test-out: Regenerated.
53244 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
53246         [BZ #16274]
53247         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
53248         handle filename validation.
53249         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
53250         (do_open): Delete.
53252 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53254         [BZ #6786]
53255         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
53256         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
53257         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
53258         <float.h>.
53259         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
53260         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
53261         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53262         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
53263         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53264         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
53265         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53266         * math/auto-libm-test-in: Don't allow missing errno from erfc.
53267         Add more erfc tests.
53268         * math/auto-libm-test-out: Regenerated.
53269         * sysdeps/i386/fpu/libm-test-ulps: Update.
53270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53272         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
53273         exp2, expm1, j0 and j1.
53274         * math/auto-libm-test-out: Regenerated.
53275         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
53276         (erfc_test_data): Likewise.
53277         (exp_test_data): Likewise.
53278         (exp_tonearest_test_data): Likewise.
53279         (exp_towardzero_test_data): Likewise.
53280         (exp_downward_test_data): Likewise.
53281         (exp_upward_test_data): Likewise.
53282         (exp10_test_data): Likewise.
53283         (exp2_test_data): Likewise.
53284         (expm1_test_data): Likewise.
53285         (j0_test_data): Likewise.
53286         (j1_test_data): Likewise.
53287         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
53288         (input_flag_type): Add flag_xfail_rounding.
53289         (input_flags): Add xfail-rounding.
53290         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
53291         (output_for_one_input_case): Handle flag_xfail_rounding.
53292         * sysdeps/i386/fpu/libm-test-ulps: Update.
53293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53295 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
53297         [BZ #16289]
53298         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
53299         division by 0.
53301 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53303         [BZ #16195]
53304         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
53305         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
53306         (STAP_PROBE0): New macro.
53307         (STAP_PROBE1): Likewise.
53308         (STAP_PROBE2): Likewise.
53309         (STAP_PROBE3): Likewise.
53310         (STAP_PROBE4): Likewise.
53312 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
53314         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
53316 2013-12-02  Steve Ellcey  <sellcey@mips.com>
53318         * benchtests/Makefile (bench): Add sqrt.
53319         (LDLIBS-bench-sqrt): New.
53320         * benchtests/sqrt-input: New.
53322 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
53324         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
53325         (GAIH_EAI): Likewise.
53326         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
53327         (gaih_inet): Likewise.
53328         (getaddrinfo): Don't use GAIH_EAI.
53330         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
53331         (struct gaih): Remove definition.
53333 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53335         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
53336         Use HERRNOP directly.
53338 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53342 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
53344         * math/gen-auto-libm-tests.c (test_functions): Add more
53345         single-argument functions.
53346         (special_fill_pi_2): New function.
53347         (special_fill_minus_pi_2): Likewise.
53348         (special_fill_pi_6): Likewise.
53349         (special_fill_minus_pi_6): Likewise.
53350         (special_fill_pi_3): Likewise.
53351         (special_fill_2pi_3): Likewise.
53352         (special_fill_e): Likewise.
53353         (special_fill_1_e): Likewise.
53354         (special_fill_e_minus_1): Likewise.
53355         (special_real_inputs): Add more special inputs.
53356         (output_for_one_input_case): Do not require ERANGE on underflow to
53357         zero if round-to-nearest result does not underflow to zero, unless
53358         exact results required.
53359         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
53360         atan, atanh, cbrt, cos and cosh.
53361         * math/auto-libm-test-out: Regenerated.
53362         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
53363         (acos_tonearest_test_data): Likewise.
53364         (acos_towardzero_test_data): Likewise.
53365         (acos_downward_test_data): Likewise.
53366         (acos_upward_test_data): Likewise.
53367         (acosh_test_data): Likewise.
53368         (asin_test_data): Likewise.
53369         (asin_tonearest_test_data): Likewise.
53370         (asin_towardzero_test_data): Likewise.
53371         (asin_upward_test_data): Likewise.
53372         (asinh_test_data): Likewise.
53373         (atan_test_data): Likewise.
53374         (atanh_test_data): Likewise.
53375         (cbrt_test_data): Likewise.
53376         (cos_test_data): Likewise.
53377         (cos_tonearest_test_data): Likewise.
53378         (cos_towardzero_test_data): Likewise.
53379         (cos_downward_test_data): Likewise.
53380         (cos_upward_test_data): Likewise.
53381         (cosh_test_data): Likewise.
53382         (cosh_tonearest_test_data): Likewise.
53383         (cosh_towardzero_test_data): Likewise.
53384         (cosh_downward_test_data): Likewise.
53385         (cosh_upward_test_data): Likewise.
53386         * sysdeps/i386/fpu/libm-test-ulps: Update.
53387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53389 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
53391         [BZ #6787]
53392         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
53393         * math/w_exp10f.c (__exp10f): Likewise.
53394         * math/w_exp10l.c (__exp10l): Likewise.
53395         * math/libm-test.inc (exp10_test_data): Add more tests and expect
53396         errno settings in existing tests.
53398         [BZ #14032]
53399         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
53400         precision control set to double precision.
53401         * sysdeps/i386/fpu/w_sqrt.c: New file.
53402         * math/auto-libm-test-in: Add more tests.
53403         * math/auto-libm-test-out: Update.
53405         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
53406         (sqrt_test_tonearest): New function.
53407         (sqrt_towardzero_test_data): New variable.
53408         (sqrt_test_towardzero): New function.
53409         (sqrt_downward_test_data): New variable.
53410         (sqrt_test_downward): New function.
53411         (sqrt_upward_test_data): New variable.
53412         (sqrt_test_upward): New function.
53413         (main): Call the new functions.
53415         * math/gen-auto-libm-tests.c: New file.
53416         * math/auto-libm-test-in: Likewise.
53417         * math/auto-libm-test-out: New generated file.
53418         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
53419         variables.
53420         (%beautify): Add generated representations of zero.
53421         (top level): Set $auto_input and call parse_auto_input.
53422         (beautify): Remove trailing "f" from hex float constants.
53423         (parse_args): Handle XFAIL_TEST.
53424         (convert_condition): New function.
53425         (or_value): Likewise.
53426         (or_cond_value): Likewise.
53427         (generate_testfile): Handle AUTO_TESTS_* lines.
53428         (parse_auto_input): New function.
53429         * math/libm-test.inc (XFAIL_TEST): New macro.
53430         (ERRNO_UNCHANGED): Update value.
53431         (ERRNO_EDOM): Likewise.
53432         (ERRNO_ERANGE): Likewise.
53433         (IGNORE_RESULT): Likewise.
53434         (TEST_COND_flt_32): New macro.
53435         (TEST_COND_dbl_64): Likewise.
53436         (TEST_COND_ldbl_96_intel): Likewise.
53437         (TEST_COND_ldbl_96_m68k): Likewise.
53438         (TEST_COND_ldbl_128): Likewise.
53439         (TEST_COND_ldbl_128ibm): Likewise.
53440         (TEST_COND_long32): Likewise.
53441         (TEST_COND_long64): Likewise.
53442         (TEST_COND_before_rounding): Likewise.
53443         (TEST_COND_after_rounding): Likewise.
53444         (enable_test): Handle XFAIL_TEST flag.
53445         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
53446         with finite results.
53447         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
53448         auto-libm-test-out.
53450 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53451             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53453         [BZ #16214]
53454         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
53455         __tls_get_addr_internal instead of __tls_get_offset in order to
53456         avoid GOT pointer dependency.  Make rtld export
53457         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
53458         __tls_get_addr since we are a __tls_get_offset platform.
53459         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
53460         GOT pointer being set up before.
53461         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
53463 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
53465         * manual/math.texi (Errors in Math Functions): Document accuracy
53466         goals.
53468         [BZ #15004]
53469         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
53470         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
53471         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53472         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53473         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53474         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53475         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53476         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53477         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53478         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53479         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53480         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53481         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53482         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53483         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53484         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53486         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
53487         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
53488         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
53489         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
53490         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
53491         Likewise.
53492         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
53493         Likewise.
53494         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
53495         Likewise.
53496         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
53497         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
53498         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
53499         atomic-feupdateenv and flt-rounds.
53500         * sysdeps/powerpc/nofpu/Versions (libc): Add
53501         __atomic_feholdexcept, __atomic_feclearexcept,
53502         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
53503         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
53504         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
53505         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
53506         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
53507         here.
53508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
53509         Update.
53511         * manual/arith.texi (FP Exceptions): Document that exceptions may
53512         not be raised when matherr is used.
53513         (Math Error Reporting): Document overflow in directed rounding
53514         modes.  Document that errno may not be set when finite values are
53515         returned on overflow.  Document intent to set errno on underflow
53516         only for underflow to zero.
53518         [BZ #16271]
53519         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
53520         round-to-nearest then adjust result for other rounding modes.
53521         * include/fenv.h (fegetround): Use libm_hidden_proto.
53522         * math/fegetround.c (fegetround): Use libm_hidden_def.
53523         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
53524         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
53525         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53526         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
53527         Likewise.
53528         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
53529         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53530         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
53531         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
53533 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53535         [BZ #16077]
53536         * nss/Versions (libnss_files): Add
53537         _nss_files_gethostbyname3_r.
53538         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
53539         New function.
53540         (HOST_DB_LOOKUP): Remove macro.
53541         (_nss_files_gethostbyname_r): Implement function without the
53542         HOST_DB_LOOKUP macro.
53543         (_nss_files_gethostbyname2_r): Likewise.
53545 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
53547         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
53549 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
53551         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
53552         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
53553         warning.
53555 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53557         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
53558         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
53559         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53560         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
53561         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
53562         __fe_nomask_env_priv and attribute_hidden.
53563         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
53564         (libc_feupdateenv_test_ppc): Likewise.
53565         (libc_feresetround_ppc): Likewise.
53566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53567         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
53568         compat_symbol macro.
53569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53570         (__fe_nomask_env): Likewise.
53571         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
53573 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53575         * string/Makefile: Remove ifunc tests.
53576         * string/test-string.h: Define TEST_IFUNC.
53577         * string/test-bcopy-ifunc.c: Remove.
53578         * string/test-bzero-ifunc.c: Likewise.
53579         * string/test-memccpy-ifunc.c: Likewise.
53580         * string/test-memchr-ifunc.c: Likewise.
53581         * string/test-memcmp-ifunc.c: Likewise.
53582         * string/test-memcpy-ifunc.c: Likewise.
53583         * string/test-memmem-ifunc.c: Likewise.
53584         * string/test-memmove-ifunc.c: Likewise.
53585         * string/test-mempcpy-ifunc.c: Likewise.
53586         * string/test-memrchr-ifunc.c: Likewise.
53587         * string/test-memset-ifunc.c: Likewise.
53588         * string/test-rawmemchr-ifunc.c: Likewise.
53589         * string/test-stpcpy-ifunc.c: Likewise.
53590         * string/test-stpncpy-ifunc.c: Likewise.
53591         * string/test-strcasecmp-ifunc.c: Likewise.
53592         * string/test-strcasestr-ifunc.c: Likewise.
53593         * string/test-strcat-ifunc.c: Likewise.
53594         * string/test-strchr-ifunc.c: Likewise.
53595         * string/test-strchrnul-ifunc.c: Likewise.
53596         * string/test-strcmp-ifunc.c: Likewise.
53597         * string/test-strcpy-ifunc.c: Likewise.
53598         * string/test-strcspn-ifunc.c: Likewise.
53599         * string/test-strlen-ifunc.c: Likewise.
53600         * string/test-strncasecmp-ifunc.c: Likewise.
53601         * string/test-strncat-ifunc.c: Likewise.
53602         * string/test-strncmp-ifunc.c: Likewise.
53603         * string/test-strncpy-ifunc.c: Likewise.
53604         * string/test-strnlen-ifunc.c: Likewise.
53605         * string/test-strpbrk-ifunc.c: Likewise.
53606         * string/test-strrchr-ifunc.c: Likewise.
53607         * string/test-strspn-ifunc.c: Likewise.
53608         * string/test-strstr-ifunc.c: Likewise.
53610 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53612         * benchtests/Makefile: Remove ifunc tests.
53613         * benchtests/bench-string.h: Define TEST_IFUNC.
53614         * benchtests/bench-bcopy-ifunc.c: Remove.
53615         * benchtests/bench-bzero-ifunc.c: Likewise.
53616         * benchtests/bench-memccpy-ifunc.c: Likewise.
53617         * benchtests/bench-memchr-ifunc.c: Likewise.
53618         * benchtests/bench-memcmp-ifunc.c: Likewise.
53619         * benchtests/bench-memcpy-ifunc.c: Likewise.
53620         * benchtests/bench-memmem-ifunc.c: Likewise.
53621         * benchtests/bench-memmove-ifunc.c: Likewise.
53622         * benchtests/bench-mempcpy-ifunc.c: Likewise.
53623         * benchtests/bench-memrchr-ifunc.c: Likewise.
53624         * benchtests/bench-memset-ifunc.c: Likewise.
53625         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
53626         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
53627         * benchtests/bench-stpcpy-ifunc.c: Likewise.
53628         * benchtests/bench-stpncpy-ifunc.c: Likewise.
53629         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
53630         * benchtests/bench-strcasestr-ifunc.c: Likewise.
53631         * benchtests/bench-strcat-ifunc.c: Likewise.
53632         * benchtests/bench-strchr-ifunc.c: Likewise.
53633         * benchtests/bench-strchrnul-ifunc.c: Likewise.
53634         * benchtests/bench-strcmp-ifunc.c: Likewise.
53635         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
53636         * benchtests/bench-strcpy-ifunc.c: Likewise.
53637         * benchtests/bench-strcspn-ifunc.c: Likewise.
53638         * benchtests/bench-strlen-ifunc.c: Likewise.
53639         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
53640         * benchtests/bench-strncat-ifunc.c: Likewise.
53641         * benchtests/bench-strncmp-ifunc.c: Likewise.
53642         * benchtests/bench-strncpy-ifunc.c: Likewise.
53643         * benchtests/bench-strnlen-ifunc.c: Likewise.
53644         * benchtests/bench-strpbrk-ifunc.c: Likewise.
53645         * benchtests/bench-strrchr-ifunc.c: Likewise.
53646         * benchtests/bench-strsep-ifunc.c: Likewise.
53647         * benchtests/bench-strspn-ifunc.c: Likewise.
53648         * benchtests/bench-strstr-ifunc.c: Likewise.
53650 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53652         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
53654 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53656         * resolv/netdb.h: Use __glibc_reserved instead __unused.
53657         * rt/aio.h: Likewise.
53658         * sysdeps/gnu/bits/utmp.h: Likewise.
53659         * sysdeps/gnu/bits/utmpx.h: Likewise.
53660         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53661         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
53662         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
53663         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
53664         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
53665         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
53666         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
53667         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
53668         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
53669         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
53670         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
53671         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
53672         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
53673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
53674         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53675         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
53676         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
53677         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
53678         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
53679         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
53680         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
53681         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
53682         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
53683         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53684         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
53685         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53686         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
53687         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
53688         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
53689         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
53690         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
53691         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
53692         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
53693         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
53694         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
53695         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
53696         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
53697         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
53698         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
53699         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
53700         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
53701         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53703 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
53705         [BZ #16245]
53706         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
53707         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
53709 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
53711         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
53712         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
53713         Likewise.
53715 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53717         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
53718         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
53719         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
53720         (__fesetround): Remove define.
53721         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
53722         rounding and exceptions handling.
53723         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
53724         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
53725         (__fe_nomask_env): Likewise.
53726         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
53727         __fegetround instead of fegetround.
53728         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53729         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
53731 2013-11-21  Roland McGrath  <roland@hack.frob.com>
53733         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
53734         it's there.
53736         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
53738 2013-11-21  Meador Inge  <meadori@codesourcery.com>
53740         [BZ #11157]
53741         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
53742         (encrypt_r): Likewise.
53743         * malloc/obstack.h (obstack_free): Likewise.
53744         * posix/unistd.h (encrypt): Likewise.
53746 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
53748         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
53749         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
53750         DL_CALL_DT_FINI() that call the functions directly.
53751         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
53752         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
53753         * elf/dl-fini.c: Likewise.
53755 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
53757         * malloc/hooks.c (memalign_check): Add alignment rounding.
53758         * malloc/malloc.c (_mid_memalign): New function.
53759         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
53760         Implement by calling _mid_memalign.
53761         * manual/probes.texi (Memory Allocation Probes): Remove
53762         memory_valloc_retry and memory_pvalloc_retry.
53764 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53766         * locale/programs/locarchive.c (open_archive): Add const
53767         qualifier to ARCHIVEFNAME and copy default fname to
53768         DEFAULT_FNAME.
53770         [BZ #15601]
53771         * libio/tst-widetext.input: Rename Oriya to Odia.
53772         * locale/iso-639.def: Likewise.
53774         * manual/probes.texi (Mathematical Function Probes): Add
53775         documentation for sin, cos, asin and acos probes.
53776         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
53777         (__sin32): Add slowasin probe.
53778         (__cos32): Add slowacos probe.
53779         (__mpsin): Add slowsin probe.
53780         (__mpcos): Add slowcos probe.
53782 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
53784         [BZ #15483]
53785         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
53786         thread-local __sim_exceptions_thread and global
53787         __sim_exceptions_global.
53788         (__sim_disabled_exceptions): Change to thread-local
53789         __sim_disabled_exceptions_thread and global
53790         __sim_disabled_exceptions_global.
53791         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53792         and global __sim_round_mode_global.
53793         (__simulate_exceptions): Use thread-local floating-point state and
53794         set global state from it as needed.
53795         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
53796         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
53797         __sim_round_mode_thread.
53798         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
53799         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
53800         and global __sim_exceptions_global.
53801         (__sim_disabled_exceptions): Change to thread-local
53802         __sim_disabled_exceptions_thread and global
53803         __sim_disabled_exceptions_global.
53804         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53805         and global __sim_round_mode_global.
53806         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
53807         (SIM_SET_GLOBAL): Likewise.
53808         * sysdeps/powerpc/soft-fp/sfp-machine.h
53809         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
53810         __sim_round_mode_thread.
53811         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
53812         __sim_disabled_exceptions_thread.
53813         (__sim_exceptions): Change to __sim_exceptions_thread.
53814         (__sim_disabled_exceptions): Change to
53815         __sim_disabled_exceptions_thread.
53816         (__sim_round_mode): Change to __sim_round_mode_thread.
53817         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
53818         thread-local floating-point state and set global state from it as
53819         needed.
53820         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
53821         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
53822         (__sim_disabled_exceptions): Remove extern declaration.
53823         (feenableexcept): Use thread-local floating-point state and set
53824         global state from it as needed.
53825         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
53826         extern declaration.
53827         (__sim_disabled_exceptions): Likewise.
53828         (__sim_round_mode): Likewise.
53829         (__fegetenv): Use thread-local floating-point state.
53830         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
53831         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53832         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
53833         floating-point state and set global state from it as needed.
53834         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
53835         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
53836         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
53837         Likewise.
53838         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
53839         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
53840         Likewise.
53841         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
53842         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
53843         Use __sim_round_mode_thread.
53844         * math/test-fenv-tls.c: New file.
53845         * math/Makefile (tests): Add test-fenv-tls.
53846         ($(objpfx)test-fenv-tls): Depend on
53847         $(common-objpfx)nptl/libpthread.so.
53849 2013-11-19  Andreas Schwab  <schwab@suse.de>
53851         * locale/programs/locale.c (show_info): Decode wordarray elements.
53852         * locale/categories.def (LC_MONETARY): Add element for
53853         _NL_MONETARY_CRNCYSTR.
53854         * locale/C-monetary.c (conversion_rate): New variable.
53855         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
53856         element.
53858 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
53860         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
53861         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
53863 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53865         * elf/Makefile (tst-auxv): New test.
53866         * elf/tst-auxv.c: New
53867         * elf/rtld.c (dl_main): Adjust AT_EXECFN
53869 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
53871         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
53872         (hidden_proto): Caller changed.
53873         (hidden_tls_proto): New macro.
53874         (libc_hidden_tls_proto): Likewise.
53875         (rtld_hidden_tls_proto): Likewise.
53876         (libm_hidden_tls_proto): Likewise.
53877         (libresolv_hidden_tls_proto): Likewise.
53878         (librt_hidden_tls_proto): Likewise.
53879         (libdl_hidden_tls_proto): Likewise.
53880         (libnss_files_hidden_tls_proto): Likewise.
53881         (libnsl_hidden_tls_proto): Likewise.
53882         (libnss_nisplus_hidden_tls_proto): Likewise.
53883         (libutil_hidden_tls_proto): Likewise.
53885 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
53887         [BZ #10253]
53888         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
53889         (decompose_rpath): Defer expansion to fillin_rpath.
53890         (_dl_init_paths): Pass linkmap to fillin_rpath.
53892 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53894         * benchtests/Makefile: Add strsep.
53895         * benchtests/bench-strsep.c: New file: strsep benchtest.
53896         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
53898 2013-11-18  Andreas Schwab  <schwab@suse.de>
53900         * locale/programs/locale.c (show_info) [case byte]: Check for
53901         '\377' instead of '\177'.
53902         * locale/C-monetary.c (not_available): Always use "\377".
53903         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
53904         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
53905         detect unavailable sign_posn locale elements.
53906         * locale/localeconv.c (__localeconv): For grouping and
53907         mon_grouping handle "\177" and "\377" like no grouping.
53908         (INT_ELEM): New macro.  Use it to set all numeric members.
53909         * locale/programs/ld-monetary.c (monetary_read)
53910         <tok_mon_grouping>: Normalize single -1 to the empty string.
53911         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
53912         Likewise.
53914 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
53916         [BZ #16055]
53917         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
53918         when we match (nil).
53919         * stdio-common/tst-sscanf.c (struct test): Add testcase.
53921 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
53923         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
53924         (NO_TEST_INLINE): Update value.
53925         (ERRNO_UNCHANGED): Likewise.
53926         (ERRNO_EDOM): Likewise.
53927         (ERRNO_ERANGE): Likewise.
53928         (IGNORE_RESULT): Likewise.
53929         (check_float_internal): Check signs of NaN results if
53930         TEST_NAN_SIGN used.
53931         (check_complex): Pass TEST_NAN_SIGN flag through to second
53932         check_float_internal call.
53933         (copysign_test_data): Add tests with quiet NaNs as second
53934         argument.  Use TEST_NAN_SIGN.
53935         (fabs_test_data): Add test of negative quiet NaN argument.  Use
53936         TEST_NAN_SIGN.
53937         (signbit_test_data): Add tests of quiet NaN argument.
53938         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
53940         * math/gen-libm-test.pl (show_exceptions): Take extra argument
53941         $ignore_result.
53942         (parse_args): Handle function results specified as IGNORE.
53943         * math/libm-test.inc (IGNORE_RESULT): New macro.
53944         (check_float_internal): Do not check numerical result if flag
53945         IGNORE_RESULT set.
53946         (check_complex): Pass through IGNORE_RESULT to second
53947         check_float_internal call.
53948         (check_int): Do not check numerical result if flag IGNORE_RESULT
53949         set.
53950         (check_long): Likewise.
53951         (check_bool): Likewise.
53952         (check_longlong): Likewise.
53953         (lrint_test_data): Add tests of infinite and NaN arguments.
53954         (lrint_tonearest_test_data): Likewise.
53955         (lrint_towardzero_test_data): Likewise.
53956         (lrint_downward_test_data): Likewise.
53957         (lrint_upward_test_data): Likewise.
53958         (llrint_test_data): Likewise.
53959         (llrint_tonearest_test_data): Likewise.
53960         (llrint_towardzero_test_data): Likewise.
53961         (llrint_downward_test_data): Likewise.
53962         (llrint_upward_test_data): Likewise.
53963         (lround_test_data): Likewise.
53964         (llround_test_data): Likewise.
53966         * math/libm-test.inc (NO_TEST_INLINE): New macro.
53967         (ERRNO_UNCHANGED): Update value.
53968         (ERRNO_EDOM): Likewise.
53969         (ERRNO_ERANGE): Likewise.
53970         (NO_TEST_INLINE_FLOAT): New macro.
53971         (NO_TEST_INLINE_DOUBLE): Likewise.
53972         (enable_test): New function.
53973         (RUN_TEST_f_f): Check enable_test before running test.
53974         (RUN_TEST_2_f): Likewise.
53975         (RUN_TEST_fff_f): Likewise.
53976         (RUN_TEST_c_f): Likewise.
53977         (RUN_TEST_f_f1): Likewise.
53978         (RUN_TEST_fF_f1): Likewise.
53979         (RUN_TEST_fI_f1): Likewise.
53980         (RUN_TEST_ffI_f1): Likewise.
53981         (RUN_TEST_c_c): Likewise.
53982         (RUN_TEST_cc_c): Likewise.
53983         (RUN_TEST_f_i): Likewise.
53984         (RUN_TEST_f_i_tg): Likewise.
53985         (RUN_TEST_ff_i_tg): Likewise.
53986         (RUN_TEST_f_b): Likewise.
53987         (RUN_TEST_f_b_tg): Likewise.
53988         (RUN_TEST_f_l): Likewise.
53989         (RUN_TEST_f_L): Likewise.
53990         (RUN_TEST_fFF_11): Likewise.
53991         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
53992         conditionals.
53993         (cosh_test_data): Likewise.
53994         (exp_test_data): Likewise.
53995         (expm1_test_data): Likewise.
53996         (hypot_test_data): Likewise.
53997         (pow_test_data): Likewise.
53998         (sinh_test_data): Likewise.
53999         (tanh_test_data): Likewise.
54000         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
54001         flags argument.
54003         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
54004         tests with quiet NaN input and output.
54005         (acosh_test_data): Likewise.
54006         (asin_test_data): Likewise.
54007         (asinh_test_data): Likewise.
54008         (atan_test_data): Likewise.
54009         (atanh_test_data): Likewise.
54010         (atan2_test_data): Likewise.
54011         (cbrt_test_data): Likewise.
54012         (cos_test_data): Likewise.
54013         (cosh_test_data): Likewise.
54014         (erf_test_data): Likewise.
54015         (erfc_test_data): Likewise.
54016         (exp_test_data): Likewise.
54017         (exp10_test_data): Likewise.
54018         (exp2_test_data): Likewise.
54019         (expm1_test_data): Likewise.
54020         (hypot_test_data): Likewise.
54021         (j0_test_data): Likewise.
54022         (j1_test_data): Likewise.
54023         (jn_test_data): Likewise.
54024         (lgamma_test_data): Likewise.
54025         (log_test_data): Likewise.
54026         (log10_test_data): Likewise.
54027         (log1p_test_data): Likewise.
54028         (log2_test_data): Likewise.
54029         (pow_test_data): Likewise.
54030         (scalb_test_data): Likewise.
54031         (sin_test_data): Likewise.
54032         (sincos_test_data): Likewise.
54033         (sinh_test_data): Likewise.
54034         (tan_test_data): Likewise.
54035         (tanh_test_data): Likewise.
54036         (tgamma_test_data): Likewise.
54037         (y0_test_data): Likewise.
54038         (y1_test_data): Likewise.
54039         (yn_test_data): Likewise.
54041         [BZ #16167]
54042         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
54043         argument being NaN and avoid computations with second argument in
54044         that case.
54045         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54046         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
54047         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54049 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
54051         * locale/iso-639.def: Add Chitwani Tharu (the).
54053 2013-11-14  Andreas Schwab  <schwab@suse.de>
54055         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
54056         word instead of empty string.
54058 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54061         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
54062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54063         (__fe_nomask_env): Likewise.
54065 2013-11-13  Steve Ellcey  <sellcey@mips.com>
54067         * benchtests/bench-timing.h: Include time.h.
54069 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
54071         [BZ #15997]
54072         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
54073         to 3.4.0 for x32.
54074         * sysdeps/unix/sysv/linux/configure: Regenerated.
54076 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
54078         [BZ #16151]
54079         * stdlib/strtod_l.c (round_and_return): Do not consider
54080         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
54081         exponent one less than half the least subnormal exponent.
54082         * stdlib/test-strtod-round-data: Add more tests.
54083         * stdlib/tst-strtod-round.c (tests): Regenerated.
54085 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54087         [BZ #14143]
54088         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
54089         (__fe_mask_env): Likewise.
54090         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
54091         libm_hidden_proto and add function prototype.
54092         (__fe_mask_env): Add function prototype.
54093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54094         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
54095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54096         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
54097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54098         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
54100 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54102         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
54103         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
54105 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54107         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
54108         of htab_find_slot().
54110 2013-11-11  David S. Miller  <davem@davemloft.net>
54112         [BZ #16150]
54113         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
54114         symbol in the non-vis3 case in static builds.
54115         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
54116         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
54117         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
54118         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
54120 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
54122         [BZ #387]
54123         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
54124         it is empty.
54126 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54128         * benchtests/Makefile: Add bench-strtod.
54129         * benchtests/bench-strtod.c: New file: strtod benchtest
54131 2013-11-11  Andreas Schwab  <schwab@suse.de>
54133         [BZ #16153]
54134         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
54135         terminating NUL in key length.
54137 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54139         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54140         Add artificial ODP entry for vDSO symbol for PPC64.
54141         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
54142         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
54144 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54146         [BZ #15374]
54147         * nss/getent.c (services_keys): Recognize services starting with digit.
54149 2013-11-06  David S. Miller  <davem@davemloft.net>
54151         [BZ #15985]
54152         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
54153         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
54155 2013-11-06  Will Newton  <will.newton@linaro.org>
54157         * manual/memory.texi (Malloc Examples): Remove register
54158         keyword from examples.
54160 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
54162         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
54164 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
54166         [BZ #6981]
54167         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
54168         depending on [__GCC_IEC_559 > 0].
54169         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
54170         depending on [__GCC_IEC_559_COMPLEX > 0].
54172 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
54174         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
54175         to iso-639.def.
54177 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
54179         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
54181 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
54183         [BZ #16112]
54184         * malloc/malloc (malloc_info): Do not handle first bin as
54185         special case.
54187 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
54189         * locale/iso-639.def: Add Central Nahuatl (nhn).
54191 2013-11-01  Bruno Haible  <bruno@clisp.org>
54193         [BZ #7003]
54194         * manual/math.texi (BSD Random): Specify range upper bound as
54195         in POSIX.
54197 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
54199         * locale/iso-639.def: Add Meadow Mari (mhr).
54201 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
54203         [BZ #14752], [BZ #15763]
54204         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
54205         Validate name.
54206         * rt/tst_shm.c: Add test for escaping directory.
54208 2013-10-31  Andreas Schwab  <schwab@suse.de>
54210         [BZ #15917]
54211         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
54212         followed by 'x' as part of digit sequence.
54213         * stdio-common/tst-sscanf.c (double_tests2): New tests.
54215 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
54217         [BZ #16037]
54218         * configure.ac: allow GNU Make 4.0 and greater.
54219         * configure: Regenerated.
54221 2013-10-30  Will Newton  <will.newton@linaro.org>
54223         [BZ #16038]
54224         * malloc/hooks.c (memalign_check): Limit alignment to the
54225         maximum representable power of two.
54226         * malloc/malloc.c (__libc_memalign): Likewise.
54227         * malloc/tst-memalign.c (do_test): Add test for very
54228         large alignment values.
54229         * malloc/tst-posix_memalign.c (do_test): Likewise.
54231 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54233         [BZ #11087]
54234         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
54235         (munmap_chunk): Likewise.
54236         (mremap_chunk): Likewise.
54238 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54240         [BZ #15799]
54241         * stdlib/div.c (div): Remove obsolete code.
54242         * stdlib/ldiv.c (ldiv): Likewise.
54243         * stdlib/lldiv.c (lldiv): Likewise.
54245 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54247         [BZ #16071]
54248         * nss/nss_files/files-XXX.c (get_contents_ret): New
54249         enumerator.
54250         (get_contents): New function.
54251         (internal_getent): Use it.  Expand size of LINEBUFLEN.
54253 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
54255         * configure.in: Moved to ...
54256         * configure.ac: ... here. Change reference to configure.in
54257         to configure.ac.
54258         * sysdeps/arm/preconfigure.ac: ... here.
54259         configure.in to configure.ac.
54260         * sysdeps/gnu/configure.in: Moved to ...
54261         * sysdeps/gnu/configure.ac: ... here.
54262         * sysdeps/i386/configure.in: Moved to ...
54263         * sysdeps/i386/configure.ac: ... here.
54264         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
54265         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
54266         * sysdeps/mach/configure.in: Moved to ...
54267         * sysdeps/mach/configure.ac: ... here.
54268         * sysdeps/mach/hurd/configure.in: Moved to ...
54269         * sysdeps/mach/hurd/configure.ac: ... here.
54270         * sysdeps/powerpc/configure.in: Moved to ...
54271         * sysdeps/powerpc/configure.ac: ... here.
54272         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
54273         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
54274         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
54275         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
54276         * sysdeps/s390/s390-32/configure.in: Moved to ...
54277         * sysdeps/s390/s390-32/configure.ac: ... here.
54278         * sysdeps/s390/s390-64/configure.in: Moved to ...
54279         * sysdeps/s390/s390-64/configure.ac: ... here.
54280         * sysdeps/sh/configure.in: Moved to ...
54281         * sysdeps/sh/configure.ac: ... here.
54282         * sysdeps/sparc/configure.in: Moved to ...
54283         * sysdeps/sparc/configure.ac: ... here.
54284         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
54285         * sysdeps/unix/sysv/linux/configure.ac: ... here.
54286         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
54287         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
54288         * sysdeps/x86_64/configure.in: Moved to ...
54289         * sysdeps/x86_64/configure.ac: ... here.
54290         * sysdeps/x86_64/preconfigure.in: Moved to ...
54291         * sysdeps/x86_64/preconfigure.ac: ... here.
54292         * aclocal.m4: Change reference to configure.in to configure.ac.
54293         * config.h.in: Likewise.
54294         * manual/install.texi: Likewise.
54295         * manual/maint.texi: Likewise.
54296         * Makefile: Likewise.
54297         * malloc/Makefile: Likewise.
54298         * nscd/Makefile: Likewise.
54299         * Makeconfig: Change reference to configure.in and
54300         preconfigure.in to configure.ac and preconfigure.ac
54301         respectively.
54302         * INSTALL: Regenerated.
54303         * configure: Likewise.
54304         * sysdeps/gnu/configure: Likewise.
54305         * sysdeps/i386/configure: Likewise.
54306         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
54307         * sysdeps/mach/configure: Likewise.
54308         * sysdeps/mach/hurd/configure: Likewise.
54309         * sysdeps/powerpc/configure: Likewise.
54310         * sysdeps/powerpc/powerpc32/configure: Likewise.
54311         * sysdeps/powerpc/powerpc64/configure: Likewise.
54312         * sysdeps/s390/s390-32/configure: Likewise.
54313         * sysdeps/s390/s390-64/configure: Likewise.
54314         * sysdeps/sh/configure: Likewise.
54315         * sysdeps/sparc/configure: Likewise.
54316         * sysdeps/unix/sysv/linux/configure: Likewise.
54317         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
54318         * sysdeps/x86_64/configure: Likewise.
54319         * sysdeps/x86_64/preconfigure: Likewise.
54321 2013-10-29  Andreas Schwab  <schwab@suse.de>
54323         * stdio-common/Makefile (tst-swscanf-ENV): Define.
54325 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54327         * benchtests/pow-inputs: Add new inputs.
54329         * benchtests/exp-inputs: Add new inputs.
54331         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
54332         conditional check for return value.
54333         (__cos32): Likewise.
54335 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54337         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
54338         to provide a boost for large inputs with word alignment.
54339         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
54340         implementation based on optimized PPC64 strcpy.
54341         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
54342         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
54343         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
54344         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
54346 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54348         [BZ #2801]
54349         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
54351 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54353         [BZ #14876]
54354         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
54355         * time/tst-strptime.c (day_tests): Add testcase.
54357 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54359         [BZ #14029]
54360         * manual/pattern.texi: Acknowledge that fnmatch can fail.
54362 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
54364         [BZ #16074]
54365         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
54366         MAP_FAILED on error.
54368 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54370         [BZ #16072]
54371         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
54372         heap for large requests.
54374 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
54376         [BZ #9954]
54377         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
54378         result if the result has no associated interface.
54379         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
54380         interface for all 127.X.Y.Z addresses.
54382 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
54384         * locale/iso-639.def: Add Ligurian (lij)
54386 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
54388         [BZ #15825]
54389         * sunrpc/rpc_main.c: Document rpcgen -5.
54391 2013-10-19  Michael Stahl  <mstahl@redhat.com>
54393         * elf/rtld.c (do_preload): Print the reason why preloading failed.
54395 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54397         [BZ #10278]
54398         * posix/glob.c: Match only directories when trailing slash is present.
54399         * posix/tst-gnuglob.c (my_opendir): Do not open files.
54400         (main): Add testcase.
54402 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54404         [BZ #15670]
54405         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
54407 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
54409         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
54410         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
54411         AUTH_DES and cindex for FIPS 140-2.
54412         (DES Encryption): Add cindex FIPS 46-3.
54414         * locale/locarchive.h (struct locarhandle): Add fname.
54415         * locale/programs/localedef.c (main): Pass ARGV[remaining]
54416         if an optional argument was specified to --list-archive,
54417         otherwise NULL.
54418         * locale/programs/locarchive.c (show_archive_content): Take new
54419         argument fname and pass it via ah.fname to open_archive.
54420         * locale/programs/localedef.h: Update decl.
54421         (open_archive): If AH->fname is non-null, open that file
54422         rather than the default file name, and don't ignore ENOENT.
54423         (create_archive): Set AH.fname to NULL.
54424         (delete_locales_from_archive): Likewise.
54425         (add_locales_to_archive): Likewise.
54426         * locale/programs/locfile.c (write_all_categories): Likewise.
54428 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
54429             Aldy Hernandez  <aldyh@redhat.com>
54431         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
54432         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
54433         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
54434         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
54435         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
54436         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
54437         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
54438         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
54439         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
54440         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
54441         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
54442         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
54443         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
54444         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
54445         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
54446         Likewise.
54447         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
54448         Likewise.
54449         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
54450         Likewise.
54451         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
54452         Likewise.
54453         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
54454         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
54455         Likewise.
54456         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
54457         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
54458         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
54459         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
54460         Likewise.
54461         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
54462         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
54463         * sysdeps/powerpc/preconfigure: Likewise.
54464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
54465         Likewise.
54466         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
54467         Replace contents of file by #include of <fenv_libc.h>.
54468         * sysdeps/powerpc/soft-fp/sfp-machine.h
54469         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
54470         and <sys/prctl.h>.
54471         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
54472         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
54473         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
54474         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
54475         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
54476         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
54477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
54478         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
54479         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
54480         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
54481         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
54482         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
54483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54484         Allow copysignl PLT reference to be missing.
54486 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
54487             Joseph Myers  <joseph@codesourcery.com
54489         [BZ #15948]
54490         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
54491         single character.
54492         (add_to_tablewc): Assert sequence of wide characters is nonempty.
54494 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54496         * elf/tst-tls-dlinfo.c: Don't include tls.h.
54497         * elf/tst-tls1.c: Likewise.
54498         * elf/tst-tls10.h: Likewise.
54499         * elf/tst-tls14.c: Likewise.
54500         * elf/tst-tls2.c: Likewise.
54501         * elf/tst-tls3.c: Likewise.
54502         * elf/tst-tls4.c: Likewise.
54503         * elf/tst-tls5.c: Likewise.
54504         * elf/tst-tls6.c: Likewise.
54505         * elf/tst-tls7.c: Likewise.
54506         * elf/tst-tls8.c: Likewise.
54507         * elf/tst-tls9.c: Likewise.
54508         * elf/tst-tlsmod1.c: Likewise.
54509         * elf/tst-tlsmod13.c: Likewise.
54510         * elf/tst-tlsmod13a.c: Likewise.
54511         * elf/tst-tlsmod14a.c: Likewise.
54512         * elf/tst-tlsmod16a.c: Likewise.
54513         * elf/tst-tlsmod16b.c: Likewise.
54514         * elf/tst-tlsmod2.c: Likewise.
54515         * elf/tst-tlsmod3.c: Likewise.
54516         * elf/tst-tlsmod4.c: Likewise.
54517         * elf/tst-tlsmod5.c: Likewise.
54518         * elf/tst-tlsmod6.c: Likewise.
54520 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
54522         [BZ #12486]
54523         * malloc/malloc.c: remove checks for statistics.
54525 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54527         [BZ #15277]
54528         * inet/inet_net.c (inet_network): Detect additional invalid strings.
54529         * inet/tst-network.c: Add testcase.
54531 2013-10-17  Andreas Schwab  <schwab@suse.de>
54533         [BZ #15218]
54534         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
54535         to determine canonical name.
54537 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54539         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
54540         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
54541         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54542         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54543         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54544         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54545         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54546         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54547         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54548         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54549         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54550         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54551         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54552         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54553         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54554         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54555         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54556         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54557         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54558         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54559         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54560         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54561         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54562         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
54563         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
54564         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54565         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54566         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
54567         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54568         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
54569         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54570         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54571         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54572         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54573         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54574         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54575         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54576         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54577         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54578         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54579         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54580         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54581         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54582         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54583         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54584         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54585         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54586         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54587         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54588         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54589         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54590         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54591         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54592         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54593         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54594         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54595         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54596         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54598 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
54600         [BZ #16041]
54601         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
54602         make result into a quiet NaN.
54604 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
54606         * soft-fp/adddf3.c: Fix horizontal whitespace.
54607         * soft-fp/addsf3.c: Likewise.
54608         * soft-fp/addtf3.c: Likewise.
54609         * soft-fp/divdf3.c: Likewise.
54610         * soft-fp/divsf3.c: Likewise.
54611         * soft-fp/divtf3.c: Likewise.
54612         * soft-fp/double.h: Likewise.
54613         * soft-fp/eqdf2.c: Likewise.
54614         * soft-fp/eqsf2.c: Likewise.
54615         * soft-fp/eqtf2.c: Likewise.
54616         * soft-fp/extenddftf2.c: Likewise.
54617         * soft-fp/extended.h: Likewise.
54618         * soft-fp/extendsfdf2.c: Likewise.
54619         * soft-fp/extendsftf2.c: Likewise.
54620         * soft-fp/extendxftf2.c: Likewise.
54621         * soft-fp/fixdfdi.c: Likewise.
54622         * soft-fp/fixdfsi.c: Likewise.
54623         * soft-fp/fixdfti.c: Likewise.
54624         * soft-fp/fixsfdi.c: Likewise.
54625         * soft-fp/fixsfsi.c: Likewise.
54626         * soft-fp/fixsfti.c: Likewise.
54627         * soft-fp/fixtfdi.c: Likewise.
54628         * soft-fp/fixtfsi.c: Likewise.
54629         * soft-fp/fixtfti.c: Likewise.
54630         * soft-fp/fixunsdfdi.c: Likewise.
54631         * soft-fp/fixunsdfsi.c: Likewise.
54632         * soft-fp/fixunsdfti.c: Likewise.
54633         * soft-fp/fixunssfdi.c: Likewise.
54634         * soft-fp/fixunssfsi.c: Likewise.
54635         * soft-fp/fixunssfti.c: Likewise.
54636         * soft-fp/fixunstfdi.c: Likewise.
54637         * soft-fp/fixunstfsi.c: Likewise.
54638         * soft-fp/fixunstfti.c: Likewise.
54639         * soft-fp/floatdidf.c: Likewise.
54640         * soft-fp/floatdisf.c: Likewise.
54641         * soft-fp/floatditf.c: Likewise.
54642         * soft-fp/floatsidf.c: Likewise.
54643         * soft-fp/floatsisf.c: Likewise.
54644         * soft-fp/floatsitf.c: Likewise.
54645         * soft-fp/floattidf.c: Likewise.
54646         * soft-fp/floattisf.c: Likewise.
54647         * soft-fp/floattitf.c: Likewise.
54648         * soft-fp/floatundidf.c: Likewise.
54649         * soft-fp/floatundisf.c: Likewise.
54650         * soft-fp/floatunditf.c: Likewise.
54651         * soft-fp/floatunsidf.c: Likewise.
54652         * soft-fp/floatunsisf.c: Likewise.
54653         * soft-fp/floatunsitf.c: Likewise.
54654         * soft-fp/floatuntidf.c: Likewise.
54655         * soft-fp/floatuntisf.c: Likewise.
54656         * soft-fp/floatuntitf.c: Likewise.
54657         * soft-fp/fmadf4.c: Likewise.
54658         * soft-fp/fmasf4.c: Likewise.
54659         * soft-fp/fmatf4.c: Likewise.
54660         * soft-fp/gedf2.c: Likewise.
54661         * soft-fp/gesf2.c: Likewise.
54662         * soft-fp/getf2.c: Likewise.
54663         * soft-fp/ledf2.c: Likewise.
54664         * soft-fp/lesf2.c: Likewise.
54665         * soft-fp/letf2.c: Likewise.
54666         * soft-fp/muldf3.c: Likewise.
54667         * soft-fp/mulsf3.c: Likewise.
54668         * soft-fp/multf3.c: Likewise.
54669         * soft-fp/negdf2.c: Likewise.
54670         * soft-fp/negsf2.c: Likewise.
54671         * soft-fp/negtf2.c: Likewise.
54672         * soft-fp/op-1.h: Likewise.
54673         * soft-fp/op-2.h: Likewise.
54674         * soft-fp/op-4.h: Likewise.
54675         * soft-fp/op-8.h: Likewise.
54676         * soft-fp/op-common.h: Likewise.
54677         * soft-fp/quad.h: Likewise.
54678         * soft-fp/single.h: Likewise.
54679         * soft-fp/soft-fp.h: Likewise.
54680         * soft-fp/sqrtdf2.c: Likewise.
54681         * soft-fp/sqrtsf2.c: Likewise.
54682         * soft-fp/sqrttf2.c: Likewise.
54683         * soft-fp/subdf3.c: Likewise.
54684         * soft-fp/subsf3.c: Likewise.
54685         * soft-fp/subtf3.c: Likewise.
54686         * soft-fp/truncdfsf2.c: Likewise.
54687         * soft-fp/trunctfdf2.c: Likewise.
54688         * soft-fp/trunctfsf2.c: Likewise.
54689         * soft-fp/trunctfxf2.c: Likewise.
54690         * soft-fp/unorddf2.c: Likewise.
54691         * soft-fp/unordsf2.c: Likewise.
54692         * soft-fp/unordtf2.c: Likewise.
54694 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
54696         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
54697         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
54699 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
54701         * elf/dl-libc.c: Clear initfini list after freeing.
54703 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
54705         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
54706         * soft-fp/addsf3.c: Likewise.
54707         * soft-fp/addtf3.c: Likewise.
54708         * soft-fp/divdf3.c: Likewise.
54709         * soft-fp/divsf3.c: Likewise.
54710         * soft-fp/divtf3.c: Likewise.
54711         * soft-fp/double.h: Likewise.
54712         * soft-fp/eqdf2.c: Likewise.
54713         * soft-fp/eqsf2.c: Likewise.
54714         * soft-fp/eqtf2.c: Likewise.
54715         * soft-fp/extenddftf2.c: Likewise.
54716         * soft-fp/extended.h: Likewise.
54717         * soft-fp/extendsfdf2.c: Likewise.
54718         * soft-fp/extendsftf2.c: Likewise.
54719         * soft-fp/extendxftf2.c: Likewise.
54720         * soft-fp/fixdfdi.c: Likewise.
54721         * soft-fp/fixdfsi.c: Likewise.
54722         * soft-fp/fixdfti.c: Likewise.
54723         * soft-fp/fixsfdi.c: Likewise.
54724         * soft-fp/fixsfsi.c: Likewise.
54725         * soft-fp/fixsfti.c: Likewise.
54726         * soft-fp/fixtfdi.c: Likewise.
54727         * soft-fp/fixtfsi.c: Likewise.
54728         * soft-fp/fixtfti.c: Likewise.
54729         * soft-fp/fixunsdfdi.c: Likewise.
54730         * soft-fp/fixunsdfsi.c: Likewise.
54731         * soft-fp/fixunsdfti.c: Likewise.
54732         * soft-fp/fixunssfdi.c: Likewise.
54733         * soft-fp/fixunssfsi.c: Likewise.
54734         * soft-fp/fixunssfti.c: Likewise.
54735         * soft-fp/fixunstfdi.c: Likewise.
54736         * soft-fp/fixunstfsi.c: Likewise.
54737         * soft-fp/fixunstfti.c: Likewise.
54738         * soft-fp/floatdidf.c: Likewise.
54739         * soft-fp/floatdisf.c: Likewise.
54740         * soft-fp/floatditf.c: Likewise.
54741         * soft-fp/floatsidf.c: Likewise.
54742         * soft-fp/floatsisf.c: Likewise.
54743         * soft-fp/floatsitf.c: Likewise.
54744         * soft-fp/floattidf.c: Likewise.
54745         * soft-fp/floattisf.c: Likewise.
54746         * soft-fp/floattitf.c: Likewise.
54747         * soft-fp/floatundidf.c: Likewise.
54748         * soft-fp/floatundisf.c: Likewise.
54749         * soft-fp/floatunsidf.c: Likewise.
54750         * soft-fp/floatunsisf.c: Likewise.
54751         * soft-fp/floatuntidf.c: Likewise.
54752         * soft-fp/floatuntisf.c: Likewise.
54753         * soft-fp/floatuntitf.c: Likewise.
54754         * soft-fp/fmadf4.c: Likewise.
54755         * soft-fp/fmasf4.c: Likewise.
54756         * soft-fp/fmatf4.c: Likewise.
54757         * soft-fp/gedf2.c: Likewise.
54758         * soft-fp/gesf2.c: Likewise.
54759         * soft-fp/getf2.c: Likewise.
54760         * soft-fp/ledf2.c: Likewise.
54761         * soft-fp/lesf2.c: Likewise.
54762         * soft-fp/letf2.c: Likewise.
54763         * soft-fp/muldf3.c: Likewise.
54764         * soft-fp/mulsf3.c: Likewise.
54765         * soft-fp/multf3.c: Likewise.
54766         * soft-fp/negdf2.c: Likewise.
54767         * soft-fp/negsf2.c: Likewise.
54768         * soft-fp/negtf2.c: Likewise.
54769         * soft-fp/op-1.h: Likewise.
54770         * soft-fp/op-2.h: Likewise.
54771         * soft-fp/op-4.h: Likewise.
54772         * soft-fp/op-8.h: Likewise.
54773         * soft-fp/op-common.h: Likewise.
54774         * soft-fp/quad.h: Likewise.
54775         * soft-fp/single.h: Likewise.
54776         * soft-fp/soft-fp.h: Likewise.
54777         * soft-fp/sqrtdf2.c: Likewise.
54778         * soft-fp/sqrtsf2.c: Likewise.
54779         * soft-fp/sqrttf2.c: Likewise.
54780         * soft-fp/subdf3.c: Likewise.
54781         * soft-fp/subsf3.c: Likewise.
54782         * soft-fp/subtf3.c: Likewise.
54783         * soft-fp/truncdfsf2.c: Likewise.
54784         * soft-fp/trunctfdf2.c: Likewise.
54785         * soft-fp/trunctfsf2.c: Likewise.
54786         * soft-fp/trunctfxf2.c: Likewise.
54787         * soft-fp/unorddf2.c: Likewise.
54788         * soft-fp/unordsf2.c: Likewise.
54789         * soft-fp/unordtf2.c: Likewise.
54791 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
54793         [BZ #15672]
54794         * misc/error.c (error_tail): Fix possible buffer overflow.
54796 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
54798         [BZ #13028]
54799         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
54800         address.
54802 2013-10-14  P. J. McDermott  <pj@pehjota.net>
54804         [BZ #832]
54805         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
54806         testing pipefail option.
54808 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54810         * soft-fp/double.h: Indent preprocessor directives inside #if.
54811         * soft-fp/extended.h: Likewise.
54812         * soft-fp/op-2.h: Likewise.
54813         * soft-fp/op-4.h: Likewise.
54814         * soft-fp/op-common.h: Likewise.
54815         * soft-fp/quad.h: Likewise.
54816         * soft-fp/single.h: Likewise.
54817         * soft-fp/soft-fp.h: Likewise.
54819 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
54821         * iconv/iconv_prog.c: Fix typos.
54822         * stdio-common/psiginfo-data.h: Likewise.
54824 2013-10-12   Reuben Thomas <rrt@sc3d.org>
54826         [BZ #15764]
54827         * locale/setlocale.c: Fix typo.
54829 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54831         [BZ #16036]
54832         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
54833         signaling NaN arguments.
54834         * soft-fp/unordsf2.c (__unordsf2): Likewise.
54835         * soft-fp/unordtf2.c (__unordtf2): Likewise.
54837         [BZ #14910]
54838         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
54839         unordered operands.
54840         * soft-fp/gesf2.c (__gesf2): Likewise.
54841         * soft-fp/getf2.c (__getf2): Likewise.
54842         * soft-fp/ledf2.c (__ledf2): Likewise.
54843         * soft-fp/lesf2.c (__lesf2): Likewise.
54844         * soft-fp/letf2.c (__letf2): Likewise.
54846         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
54847         * soft-fp/eqsf2.c (__eqsf2): Likewise.
54848         * soft-fp/eqtf2.c (__eqtf2): Likewise.
54849         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
54850         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
54851         * soft-fp/fixdfti.c (__fixdfti): Likewise.
54852         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
54853         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
54854         * soft-fp/fixsfti.c (__fixsfti): Likewise.
54855         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
54856         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
54857         * soft-fp/fixtfti.c (__fixtfti): Likewise.
54858         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
54859         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
54860         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
54861         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
54862         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
54863         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
54864         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
54865         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
54866         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
54867         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
54868         * soft-fp/floatdisf.c (__floatdisf): Likewise.
54869         * soft-fp/floatsisf.c (__floatsisf): Likewise.
54870         * soft-fp/floattidf.c (__floattidf): Likewise.
54871         * soft-fp/floattisf.c (__floattisf): Likewise.
54872         * soft-fp/floattitf.c (__floattitf): Likewise.
54873         * soft-fp/floatundidf.c (__floatundidf): Likewise.
54874         * soft-fp/floatundisf.c (__floatundisf): Likewise.
54875         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
54876         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
54877         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
54878         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
54879         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
54880         * soft-fp/gesf2.c (__gesf2): Likewise.
54881         * soft-fp/getf2.c (__getf2): Likewise.
54882         * soft-fp/ledf2.c (__ledf2): Likewise.
54883         * soft-fp/lesf2.c (__lesf2): Likewise.
54884         * soft-fp/letf2.c (__letf2): Likewise.
54886         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
54887         Undefine and redefine.
54888         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
54889         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
54890         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
54891         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
54892         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54893         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
54894         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54895         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
54896         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54897         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
54898         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54899         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
54900         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54901         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
54902         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54904         [BZ #16032]
54905         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
54906         without decrementing exponent if mantissa >= that for the
54907         denominator, not >.
54908         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
54909         denominator, not >.  Decrement exponent in < case instead of
54910         incrementing in >= case.
54911         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
54912         without decrementing exponent if mantissa >= that for the
54913         denominator, not >.
54915         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
54916         computing saturated result for unsigned overflow.
54918 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54919             Jeff Law  <law@redhat.com>
54921         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
54922         (atan2Mp): Add systemtap probe marker.
54923         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
54924         (__ieee754_log): Add systemtap probe marker.
54925         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
54926         (atanMp): Add systemtap probe marker.
54927         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
54928         (tanMp): Add systemtap probe marker.
54929         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
54930         (__slowexp): Add systemtap probe marker.
54931         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
54932         (__slowpow): Add systemtap probe marker.
54933         * manual/probes.texi: Document probes.
54935 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
54937         [BZ #15362]
54938         * libio/fileops.c (_IO_new_file_write): Return count of bytes
54939         written.
54940         (_IO_new_file_xsputn): Don't return EOF if nothing has been
54941         written.
54942         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
54943         written to buffer but not flushed.
54944         * libio/iofwrite_u.c:  Likewise.
54945         * libio/iopadn.c:  Return bytes returned even if EOF was
54946         encountered.
54947         * libio/iowpadn.c:  Likewise.
54948         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
54949         if _IO_padn does not write the whole buffer.
54950         [!COMPILE_WPRINTF] (PAD): Likewise.
54952 2013-10-10  David S. Miller  <davem@davemloft.net>
54954         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
54955         directory block.
54957 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54959         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
54960         instead of FSF address.
54961         * soft-fp/fixdfti.c: Likewise.
54962         * soft-fp/fixsfti.c: Likewise.
54963         * soft-fp/fixtfti.c: Likewise.
54964         * soft-fp/fixunsdfti.c: Likewise.
54965         * soft-fp/fixunssfti.c: Likewise.
54966         * soft-fp/fixunstfti.c: Likewise.
54967         * soft-fp/floattidf.c: Likewise.
54968         * soft-fp/floattisf.c: Likewise.
54969         * soft-fp/floattitf.c: Likewise.
54970         * soft-fp/floatuntidf.c: Likewise.
54971         * soft-fp/floatuntisf.c: Likewise.
54972         * soft-fp/floatuntitf.c: Likewise.
54973         * soft-fp/trunctfxf2.c: Likewise.
54975         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
54976         * soft-fp/fixdfti.c: Likewise.
54977         * soft-fp/fixsfti.c: Likewise.
54978         * soft-fp/fixtfti.c: Likewise.
54979         * soft-fp/fixunsdfti.c: Likewise.
54980         * soft-fp/fixunssfti.c: Likewise.
54981         * soft-fp/fixunstfti.c: Likewise.
54982         * soft-fp/floattidf.c: Likewise.
54983         * soft-fp/floattisf.c: Likewise.
54984         * soft-fp/floattitf.c: Likewise.
54985         * soft-fp/floatuntidf.c: Likewise.
54986         * soft-fp/floatuntisf.c: Likewise.
54987         * soft-fp/floatuntitf.c: Likewise.
54988         * soft-fp/trunctfxf2.c: Likewise.
54990 2013-10-10  David S. Miller  <davem@davemloft.net>
54992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54994 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
54996         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54997         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
54998         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
54999         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
55000         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
55001         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
55002         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
55004         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
55005         for NaNs before doing comparisons on argument.
55006         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
55007         Likewise.
55009 2013-10-10  Will Newton  <will.newton@linaro.org>
55011         * malloc/hooks.c (memalign_check): Ensure the value of bytes
55012         passed to _int_memalign does not overflow.
55014 2013-10-10  Torvald Riegel  <triegel@redhat.com>
55016         * scripts/bench.pl: Add include-sources directive.
55017         * benchtests/README: Update documentation.
55019 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55021         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
55022         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
55023         instead of FP_INIT_ROUNDMODE.
55024         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
55025         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
55027         [BZ #16034]
55028         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
55029         copy class of input value.
55030         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
55031         not handle exceptions.
55032         * soft-fp/negsf2.c (__negsf2): Likewise.
55033         * soft-fp/negtf2.c (__negtf2): Likewise.
55034         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
55036 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
55038         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
55039         semicolon.  From Linux kernel.
55041 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
55043         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
55045 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
55047         [BZ #156]
55048         * manual/socket.texi: Added statement about buffer
55049         for gethostbyname2_r.
55051 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
55053         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
55054         Use .p2align directive instead, throughout.
55055         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55056         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
55057         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
55058         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55059         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55060         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
55061         * sysdeps/x86_64/strchr.S: Likewise.
55062         * sysdeps/x86_64/strrchr.S: Likewise.
55064 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55066         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
55068         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
55070         * sysdeps/generic/math_private.h (__mpsin1): Remove
55071         declaration.
55072         (__mpcos1): Likewise.
55073         (__mpsin): New argument __range_reduce.
55074         (__mpcos): Likewise.
55075         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55076         (slow): Use __mpsin and __mpcos.
55077         (slow1): Likewise.
55078         (slow2): Likewise.
55079         (sloww): Likewise.
55080         (sloww1): Likewise.
55081         (sloww2): Likewise.
55082         (bsloww): Likewise.
55083         (bsloww1): Likewise.
55084         (bsloww2): Likewise.
55085         (cslow2): Likewise.
55086         (csloww): Likewise.
55087         (csloww1): Likewise.
55088         (csloww2): Likewise.
55089         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
55090         range_reduce.  Merge in __mpsin1.
55091         (__mpcos): Likewise.
55092         (__mpsin1): Remove.
55093         (__mpcos1): Likewise.
55095 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
55097         * locale/loadlocale.c (_nl_intern_locale_data): Use
55098         LOCFILE_ALIGNED_P.
55099         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
55100         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
55101         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
55102         obstack data is appropriately aligned.
55103         (obstack_int32_grow_fast): Likewise.
55104         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
55105         * locale/programs/locfile.c (add_locale_uint32): Likewise.
55106         (add_locale_uint32_array): Likewise.
55108 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55110         * benchtests/Makefile: Remove ARGLIST and RET variables.
55111         ($(objpfx)bench-%.c): Pass only function name to the script.
55112         * benchtests/README: Update documentation.
55113         * benchtests/acos-inputs: Add new directives.
55114         * benchtests/acosh-inputs: Likewise.
55115         * benchtests/asin-inputs: Likewise.
55116         * benchtests/asinh-inputs: Likewise.
55117         * benchtests/atan-inputs: Likewise.
55118         * benchtests/atanh-inputs: Likewise.
55119         * benchtests/cos-inputs: Likewise.
55120         * benchtests/cosh-inputs: Likewise.
55121         * benchtests/exp-inputs: Likewise.
55122         * benchtests/log-inputs: Likewise.
55123         * benchtests/pow-inputs: Likewise.
55124         * benchtests/rint-inputs: Likewise.
55125         * benchtests/sin-inputs: Likewise.
55126         * benchtests/sinh-inputs: Likewise.
55127         * benchtests/tan-inputs: Likewise.
55128         * benchtests/tanh-inputs: Likewise.
55129         * scripts/bench.pl: Add support for new directives.
55131 2013-10-07  Alan Modra  <amodra@gmail.com>
55133         * README: Fix careless merge.
55135 2013-10-05  Alan Modra  <amodra@gmail.com>
55137         * NEWS: Mention powerpc64le support and bugs fixed.
55138         * README: Both big-endian and little-endian powerpc64 supported.
55140 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55142         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
55143         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
55144         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
55145         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
55147 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
55149         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
55150         match prototype.
55152 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
55154         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
55155         Move -mhard-float appending from
55156         ports/sysdeps/powerpc/powerpc32/Makefile.
55157         [$(with-fp) = yes] (ASFLAGS): Likewise.
55158         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
55159         * sysdeps/powerpc/nofpu: Move directory from
55160         ports/sysdeps/powerpc/nofpu.
55161         * sysdeps/powerpc/soft-fp: Move directory from
55162         ports/sysdeps/powerpc/soft-fp.
55163         * sysdeps/powerpc/powerpc32/405: Move directory from
55164         ports/sysdeps/powerpc/powerpc32/405.
55165         * sysdeps/powerpc/powerpc32/440: Move directory from
55166         ports/sysdeps/powerpc/powerpc32/440.
55167         * sysdeps/powerpc/powerpc32/464: Move directory from
55168         ports/sysdeps/powerpc/powerpc32/464.
55169         * sysdeps/powerpc/powerpc32/476: Move directory from
55170         ports/sysdeps/powerpc/powerpc32/476.
55171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
55172         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
55173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
55174         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
55175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
55176         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
55177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
55178         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
55179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
55180         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
55181         * README: Update for powerpc-*-linux-gnu software floating point
55182         support in libc.
55184         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
55185         case to powerpc/powerpc32*.
55186         * sysdeps/unix/sysv/linux/configure: Regenerated.
55188         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
55189         (_FPU_MASK_OM): Define as 0x04.
55190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
55191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
55192         0x00c10080.
55193         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
55194         0x0000003c.
55195         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
55197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
55198         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55199         getcontext_e500.
55200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
55201         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55202         setcontext_e500.
55203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
55204         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
55205         and setcontext_e500.
55207 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
55209         * locale/iso-3166.def: Update iso-1366.def and related occurrences
55211 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55213         * manual/threads.texi (Default Thread Attributes): Fix typo.
55215 2013-10-04  Will Newton  <will.newton@linaro.org>
55217         * malloc/Makefile: Add tst-memalign.
55218         * malloc/tst-memalign.c: New file.
55220         * malloc/tst-posix_memalign.c: Add comments.
55221         (do_test): Add comments and call free on all potentially
55222         allocated pointers. Add space after cast.
55224         * malloc/tst-pvalloc.c: Add comments.
55225         (do_test): Add comments and call free on all potentially
55226         allocated pointers. Remove duplicate check for NULL pointer.
55227         Add space after cast.
55229         * malloc/tst-valloc.c: Add comments.
55230         (do_test): Add comments and call free on all potentially
55231         allocated pointers. Remove duplicate check for NULL pointer.
55232         Add space after cast.
55234 2013-10-04  Alan Modra  <amodra@gmail.com>
55236         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55237         Use stdint types in rather than __attribute__((mode())).
55238         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55240 2013-10-04  Alan Modra  <amodra@gmail.com>
55242         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55243         Correct handling of unaligned relocs for little-endian.
55244         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55246 2013-10-04  Alan Modra  <amodra@gmail.com>
55248         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
55249         * configure: Regenerate.
55250         * nptl/shlib-versions: Powerpc*le starts at 2.18.
55251         * shlib-versions: Likewise.
55253 2013-10-04  Alan Modra  <amodra@gmail.com>
55255         * string/tester.c (test_memrchr): Increment reported test cycle.
55257 2013-10-04  Alan Modra  <amodra@gmail.com>
55259         * string/test-memcpy.c (do_one_test): When reporting errors, print
55260         string address and don't overrun end of string.
55262 2013-10-04  Alan Modra  <amodra@gmail.com>
55264         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
55265         insrdi.  Make better use of reg selection to speed exit slightly.
55266         Schedule entry path a little better.  Remove useless "are we done"
55267         checks on entry to main loop.  Handle wrapping around zero address.
55268         Correct main loop count.  Handle single left-over word from main
55269         loop inline rather than by using loop_small.  Remove extra word
55270         case in loop_small caused by wrong loop count.  Add little-endian
55271         support.
55272         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55273         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
55274         cache hint.
55275         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55276         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
55277         support.  Avoid rlwimi.
55278         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
55280 2013-10-04  Alan Modra  <amodra@gmail.com>
55282         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
55283         insrdi.  Formatting.
55284         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
55285         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55286         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
55287         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55288         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55289         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
55291 2013-10-04  Alan Modra  <amodra@gmail.com>
55293         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
55294         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55295         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
55296         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
55297         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55298         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55299         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55300         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55301         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
55302         use of regs.  Use power7 mtocrf.  Tidy function tails.
55304 2013-10-04  Alan Modra  <amodra@gmail.com>
55306         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
55307         Formatting.  Consistently use rXXX register defines or rN defines.
55308         Use early exit labels that avoid restoring unused non-volatile regs.
55309         Make cr field use more consistent with rWORDn compares.  Rename
55310         regs used as shift registers for unaligned loop, using rN defines
55311         for short lifetime/multiple use regs.
55312         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55313         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
55314         addi 1,1,64 to pop stack frame.  Simplify return value code.
55315         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55317 2013-10-04  Alan Modra  <amodra@gmail.com>
55319         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
55320         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
55321         rather than rlwimi.
55322         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
55323         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
55324         little-endian support.  Correct typos.
55325         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
55326         rather than rlwimi.
55327         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
55328         in loop and entry code to keep "and." results.
55329         (strchr): Add little-endian support.  Comment.  Move cntlzd
55330         earlier in tail.
55331         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
55333 2013-10-04  Alan Modra  <amodra@gmail.com>
55335         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
55336         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
55337         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
55338         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
55340 2013-10-04  Alan Modra  <amodra@gmail.com>
55342         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
55343         (rTMP): Define as r11.
55344         (strcmp): Add little-endian support.  Optimise tail.
55345         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
55346         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55347         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55348         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55349         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55350         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55351         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55353 2013-10-04  Alan Modra  <amodra@gmail.com>
55355         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
55356         little-endian support.  Remove unnecessary "are we done" tests.
55357         Handle "s" wrapping around zero and extremely large "size".
55358         Correct main loop count.  Handle single left-over word from main
55359         loop inline rather than by using small_loop.  Correct comments.
55360         Delete "zero" tail, use "end_max" instead.
55361         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
55363 2013-10-04  Alan Modra  <amodra@gmail.com>
55365         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
55366         support.  Don't branch over align.
55367         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
55368         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
55369         support.  Rearrange tmp reg use to suit.  Comment.
55370         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
55372 2013-10-04  Alan Modra  <amodra@gmail.com>
55374         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
55376 2013-10-04  Alan Modra  <amodra@gmail.com>
55378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
55379         conditional form of branch and link when obtaining pc.
55380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
55382 2013-10-04  Alan Modra  <amodra@gmail.com>
55384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
55385         HIWORD/LOWORD.
55386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
55387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
55389 2013-10-04  Alan Modra  <amodra@gmail.com>
55391         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
55392         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
55393         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
55394         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
55395         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
55396         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55397         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
55398         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55399         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
55400         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
55402 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55403             Alistair Popple <alistair@ozlabs.au.ibm.com>
55404             Alan Modra <amodra@gmail.com>
55406         [BZ #15723]
55407         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
55408         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
55409         _dl_hwcap access for little-endian.
55410         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
55411         destroy vmx regs when saving unaligned.
55412         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
55413         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
55414         destroy vmx regs when saving unaligned.
55416 2013-10-04  Alan Modra  <amodra@gmail.com>
55418         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
55419         Don't use a union to pack hi/low value.
55421 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55423         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
55424         for little-endian.
55425         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55426         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
55427         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55428         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55429         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55431 2013-10-04  Alan Modra  <amodra@gmail.com>
55433         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
55434         constants to usual value for .cst8 section, and remove redundant
55435         high address load.
55436         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
55437         constant for 0x1p52.  Load little-endian words of double from
55438         correct stack offsets.
55440 2013-10-04  Alan Modra  <amodra@gmail.com>
55442         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
55443         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
55444         words of double from correct stack offsets.
55445         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
55446         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
55447         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55448         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55449         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55450         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55451         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55452         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
55453         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
55454         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55455         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55456         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55457         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55458         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55459         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55460         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
55461         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
55463 2013-10-04  Alan Modra  <amodra@gmail.com>
55465         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
55466         64-bit int/double union.
55467         (_FPU_SETCW): Likewise.
55468         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
55469         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
55471 2013-10-04  Alan Modra  <amodra@gmail.com>
55473         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
55474         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
55476 2013-10-04  Alan Modra  <amodra@gmail.com>
55478         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
55479         use vector int constants.
55480         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
55482 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55484         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
55485         array with long long.
55486         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
55487         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
55488         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
55489         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
55490         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
55491         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
55492         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
55493         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
55494         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
55495         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
55496         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
55497         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
55498         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
55500 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55502         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
55503         (__signbit): Likewise.  Correct for little-endian.
55504         (__signbitl): Call __signbit.
55505         (lrint): Correct for little-endian.
55506         (lrintf): Call lrint.
55508 2013-10-04  Alan Modra  <amodra@gmail.com>
55510         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
55511         union 32-bit int array member with 64-bit int array.
55512         (t515, tm256): Double rather than long double.
55513         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
55515 2013-10-04  Alan Modra  <amodra@gmail.com>
55517         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
55518         Delete.
55519         (IEEE854_LONG_DOUBLE_BIAS): Delete.
55520         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
55521         version of math_ldbl.h.
55523 2013-10-04  Alan Modra  <amodra@gmail.com>
55525         [BZ #15734], [BZ #15735]
55526         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
55527         all uses of ieee875 long double macros and unions.  Simplify test
55528         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
55529         ldbl_extract_mantissa value for ix,iy exponents.  Properly
55530         normalize after ldbl_extract_mantissa, and don't add hidden bit
55531         already handled.  Don't treat low word of ieee854 mantissa like
55532         low word of IBM long double and mask off bit when testing for
55533         zero.
55534         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
55535         all uses of ieee875 long double macros and unions.  Simplify tests
55536         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
55537         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
55538         two1022, instead use their values.  Recognise that tests for large
55539         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
55540         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
55541         Rewrite all uses of ieee875 long double macros and unions.  Simplify
55542         test for 0.0L and nan.  Correct negation.
55543         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
55544         ieee875 long double macros and unions.  Correct output for large
55545         magnitude x.  Correct absolute value calculation.
55546         (__erfcl): Likewise.
55547         * math/libm-test.inc: Add tests for errors discovered in IBM long
55548         double versions of fmodl, remainderl, erfl and erfcl.
55550 2013-10-04  Alan Modra  <amodra@gmail.com>
55552         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
55553         all uses of ieee854 long double macros and unions.  Simplify tests
55554         for long doubles that are fully specified by the high double.
55555         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
55556         Likewise.
55557         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
55558         Remove dead code too.
55559         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
55560         (__ieee754_ynl): Likewise.
55561         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
55562         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
55563         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
55564         Remove dead code too.
55565         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
55566         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
55567         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
55568         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
55569         Simplify.
55570         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
55571         Simplify.
55572         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
55573         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
55574         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
55575         Comment on variable precision.
55576         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
55577         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
55578         Likewise.
55579         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
55580         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55581         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55582         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
55583         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
55585 2013-10-04  Alan Modra  <amodra@gmail.com>
55587         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
55588         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
55589         all uses of ieee854 long double macros and unions.
55590         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
55591         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55592         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
55593         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
55594         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
55595         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55596         Likewise.
55597         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
55598         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55599         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
55600         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55601         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
55602         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
55603         Simplify sign and nan test too.
55604         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
55605         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
55606         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
55607         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
55608         Likewise.
55609         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55610         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
55611         Likewise.
55612         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55613         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
55614         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
55615         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
55616         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
55617         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
55619 2013-10-04  Alan Modra  <amodra@gmail.com>
55621         * stdio-common/printf_size.c (__printf_size): Don't use
55622         union ieee854_long_double in fpnum union.
55623         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
55624         signbit macro to retrieve sign from long double.
55625         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
55626         retrieve sign from long double.
55627         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
55628         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
55629         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
55630         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55631         * math/test-misc.c (main): Don't use union ieee854_long_double.
55633 2013-10-04  Alan Modra  <amodra@gmail.com>
55635         [BZ #15680]
55636         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
55637         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
55638         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
55639         calculation.  Remove unnecessary test for denormal exponent.
55640         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
55641         Correct handling of denormals.  Avoid undefined shift behaviour.
55642         Correct normalisation of low mantissa when low double is denormal.
55643         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
55644         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
55645         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
55646         Correct normalisation of low mantissa.  Test for overflow of high
55647         mantissa and normalise.
55648         (ldbl_nearbyint): Use more readable constant for two52.
55649         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
55650         (__mpn_construct_long_double): Fix test for overflow of high
55651         mantissa and correct normalisation.  Avoid undefined shift.
55653 2013-10-04  Alan Modra  <amodra@gmail.com>
55655         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55656         (union ibm_extended_long_double): Define as an array of ieee754_double.
55657         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
55658         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
55659         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
55660         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55661         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55662         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
55663         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55664         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55665         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55666         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
55667         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55669 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
55671         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
55672         page size instead of calling getpagesize.
55674         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
55675         (LOCFILE_ALIGN_MASK): Likewise.
55676         (LOCFILE_ALIGN_UP): Likewise.
55677         (LOCFILE_ALIGNED_P): Likewise.
55678         * locale/programs/ld-collate.c (collate_output): Use the new
55679         macros instead of __alignof__ (int32_t).
55680         * locale/weight.h (findidx): Likewise.
55682 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
55684         [BZ #431]
55685         * manual/string.texi: Fix strncat and wcsncat.
55687 2013-10-03  Brooks Moses  <bmoses@google.com>
55689         [BZ #15915]
55690         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
55691         * Makerules: ...here, and adjust associated comments.
55693 2013-10-02  Will Newton  <will.newton@linaro.org>
55695         * malloc/Makefile: Add tst-pvalloc.
55696         * malloc/tst-pvalloc.c: New file.
55698 2013-10-02  Will Newton  <will.newton@linaro.org>
55700         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
55701         improve test coverage.
55703 2013-10-02  Will Newton  <will.newton@linaro.org>
55705         * malloc/Makefile: Add tst-posix_memalign.
55706         * malloc/tst-posix_memalign.c: New file.
55708 2013-10-01  Eric Blake  <eblake@redhat.com>
55710         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
55711         Use __THROWNL rather than __THROW on static functions.
55713 2013-09-30  Petr Machata  <pmachata@redhat.com>
55715         * elf/elf.h (R_AARCH64_ABS16): New macro.
55716         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
55717         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
55718         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
55719         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
55720         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
55721         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
55722         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
55723         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
55724         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
55725         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
55726         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
55727         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
55728         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
55729         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
55730         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
55731         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
55732         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
55733         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
55734         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
55735         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
55736         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
55737         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
55738         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
55739         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
55740         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
55741         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
55742         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
55743         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
55744         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
55745         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
55746         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
55747         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
55748         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
55749         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
55750         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
55751         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
55752         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
55753         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
55754         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
55755         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
55756         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
55757         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
55758         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
55759         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
55760         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
55761         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
55762         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
55763         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
55764         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
55765         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
55766         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
55767         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
55768         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
55769         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
55770         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
55771         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
55772         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
55773         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
55774         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
55775         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
55776         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
55777         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
55778         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
55779         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
55780         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
55781         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
55782         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
55783         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
55784         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
55785         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
55786         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
55787         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
55788         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
55789         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
55790         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
55791         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
55792         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
55793         (R_AARCH64_TLSDESC_LDR): Likewise.
55794         (R_AARCH64_TLSDESC_ADD): Likewise.
55795         (R_AARCH64_TLSDESC_CALL): Likewise.
55797 2013-09-30  Andreas Schwab  <schwab@suse.de>
55799         [BZ #15048]
55800         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
55801         the nss database lookup.
55802         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55803         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55805 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
55807         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
55809 2013-09-28  P. J. McDermott  <pj@pehjota.net>
55811         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
55812         ${Bash-specific parameter/pattern/string} parameter expansion.
55813         * sysdeps/unix/make-syscalls.sh: Likewise.
55815 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55817         * sysdeps/sh/stackguard-macros.h: New file.
55819 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
55821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55822         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
55823         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
55824         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
55825         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55826         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
55828 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55830         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
55831         Fix thread ID register.
55833 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
55835         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
55836         [POSIX || UNIX98]: Require rather than permitting all symbols from
55837         <time.h>.
55838         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
55839         element of struct sched_param.
55840         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
55841         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
55842         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
55843         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
55844         constant.
55846 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
55848         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
55849         argument calculation.
55851 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55853         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
55854         Expect macro.
55855         [POSIX] (pthread_attr_t): Do not require type.
55856         [POSIX] (pthread_cond_t): Likewise.
55857         [POSIX] (pthread_condattr_t): Likewise.
55858         [POSIX] (pthread_key_t): Likewise.
55859         [POSIX] (pthread_mutex_t): Likewise.
55860         [POSIX] (pthread_mutexattr_t): Likewise.
55861         [POSIX] (pthread_once_t): Likewise.
55862         [POSIX] (pthread_t): Likewise.
55863         [POSIX-based standards] (pthread_atfork): Expect function.
55865 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55866             Richard Sandiford  <richard@codesourcery.com>
55868         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
55869         (swap_endianness_p): New extern variable.
55870         (set_big_endian): New inline function.
55871         (maybe_swap_uint32): Likewise.
55872         (maybe_swap_uint32_array): Likewise.
55873         (maybe_swap_uint32_obstack): Likewise.
55874         * locale/programs/locfile.c: Include <stdbool.h>.
55875         (swap_endianness_p): New variable.
55876         (add_locale_uint32): Call maybe_swap_uint32.
55877         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
55878         (write_locale_data): Call maybe_swap_uint32_array.
55879         * locale/programs/ld-collate.c (obstack_int32_grow): Call
55880         maybe_swap_uint32.
55881         (obstack_int32_grow_fast): Likewise.
55882         (output_weightwc): Call maybe_swap_uint32_obstack.
55883         (collate_output): Likewise.
55884         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
55885         (OPT_LITTLE_ENDIAN): Likewise.
55886         (options): Add --little-endian and --big-endian options.
55887         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
55888         * locale/programs/locarchive.c: Include "locfile.h".
55889         (GET): New macro.
55890         (SET): Likewise.
55891         (INC): Likewise.
55892         (create_archive): Use the new macros to access fields of
55893         structures directly mapped from or written to locale archives.
55894         (oldlocrecentcmp): Likewise.
55895         (enlarge_archive): Likewise.
55896         (insert_name): Likewise.
55897         (add_alias): Likewise.
55898         (add_locale): Likewise.
55899         (delete_locales_from_archive): Likewise.
55900         (show_archive_content): Likewise.
55901         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
55902         locale data.
55904 2013-09-24  Roland McGrath  <roland@hack.frob.com>
55906         * manual/freemanuals.texi: Updated from (newly) canonical copy at
55907         http://www.gnu.org/doc/freemanuals.texi.
55908         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
55910 2013-09-24  Will Newton  <will.newton@linaro.org>
55912         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
55913         macro.
55915 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
55917         * locale/hashval.h (compute_hashval): Interpret bytes of key as
55918         unsigned char.
55920 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
55922         * manual/threads.texi (POSIX Threads): Fix a typo.
55924 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55926         [BZ #14547]
55927         * string/tst-strcoll-overflow.c: New test case.
55928         * string/Makefile (xtests): Add tst-strcoll-overflow.
55929         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
55930         cache if string sizes may cause integer overflow.
55932         [BZ #14547]
55933         * string/strcoll_l.c (coll_seq): New members rule, idx,
55934         save_idx and back_us.
55935         (get_next_seq_nocache): New function.
55936         (do_compare_nocache): New function.
55937         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
55938         when malloc fails.
55940 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
55942         [BZ #15754]
55943         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
55944         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
55945         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
55947         [BZ #15754]
55948         * elf/Makefile (tests): Add tst-ptrguard1.
55949         (tests-static): Add tst-ptrguard1-static.
55950         (tst-ptrguard1-ARGS): Define.
55951         (tst-ptrguard1-static-ARGS): Define.
55952         * elf/tst-ptrguard1.c: New file.
55953         * elf/tst-ptrguard1-static.c: New file.
55954         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
55955         * sysdeps/i386/stackguard-macros.h: Likewise.
55956         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
55957         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55958         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
55959         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
55960         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
55961         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
55963 2013-09-23  Hector Marco  <hecmargi@upv.es>
55964             Ismael Ripoll  <iripoll@disca.upv.es>
55965             Carlos O'Donell  <carlos@redhat.com>
55967         [BZ #15754]
55968         * sysdeps/generic/stackguard-macros.h: Define
55969         __pointer_chk_guard_local and POINTER_CHK_GUARD.
55970         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
55971         Define __pointer_chk_guard_local.
55972         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
55973         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
55975 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
55977         [BZ #15859]
55978         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
55980 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
55982         * include/string.h (__ffs): Declare as hidden.
55983         * string/ffs.c (__ffs): Define as hidden.
55984         * sysdeps/i386/ffs.c (__ffs): Likewise.
55985         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
55986         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
55987         * sysdeps/s390/ffs.c (__ffs): Likewise.
55988         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
55990 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
55992         * NEWS: Mention malloc probes.
55994         * malloc/arena.c (new_heap): New memory_heap_new probe.
55995         (grow_heap): New memory_heap_more probe.
55996         (shrink_heap): New memory_heap_less probe.
55997         (heap_trim): New memory_heap_free probe.
55998         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
55999         (systrim): New memory_sbrk_less probe.
56000         * manual/probes.texi: Document them.
56002         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
56003         * manual/probes.texi: Document it.
56005         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
56006         (__libc_realloc): Add memory_realloc_retry probe.
56007         (__libc_memalign): Add memory_memalign_retry probe.
56008         (__libc_valloc): Add memory_valloc_retry probe.
56009         (__libc_pvalloc): Add memory_pvalloc_retry probe.
56010         (__libc_calloc): Add memory_calloc_retry probe.
56011         * manual/probes.texi: Document them.
56013         * malloc/arena.c (get_free_list): Add probe
56014         memory_arena_reuse_free_list.
56015         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
56016         and memory_arena_reuse.
56017         (arena_get2) [!PER_THREAD]: Likewise.
56018         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
56019         memory_arena_reuse_realloc.
56020         * manual/probes.texi: Document them.
56022         * malloc/malloc.c (__libc_free): Add
56023         memory_mallopt_free_dyn_thresholds probe.
56024         (__libc_mallopt): Add multiple memory_mallopt probes.
56025         * manual/probes.texi: Document them.
56027         * malloc/malloc.c: Include stap-probe.h.
56028         (__libc_mallopt): Add memory_mallopt probe.
56029         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
56030         * manual/probes.texi: New.
56031         * manual/Makefile (chapters): Add probes.
56032         * manual/threads.texi: Set next node.
56034 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
56036         [BZ #15963, #13985]
56037         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
56038         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
56039         Add `Chinese' to `nan' entry name.
56041 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56043         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
56044         (POLYNOMIAL): Likewise.
56045         (TAYLOR_SINCOS): Likewise.
56046         (TAYLOR_SLOW): Likewise.
56047         (__sin): Use TAYLOR_SINCOS.
56048         (__cos): Likewise.
56049         (slow): Use TAYLOR_SLOW.
56050         (sloww): Likewise.
56051         (bsloww): Likewise.
56052         (csloww): Likewise.
56054 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56056         * stdlib/strtod_l.c: Fix buffer overrun.
56058 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56060         * benchtests/Makefile (bench): Add sincos.
56061         * benchtests/bench-sincos.c: New file.
56063         * math/libm-test.inc (cos_test_data): New test inputs.
56064         (sin_test_data): Likewise.
56066         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
56067         macro.
56068         (__sin): Use it.
56069         (__cos): Likewise.
56070         (slow1): Likewise.
56071         (slow2): Likewise.
56072         (sloww1): Likewise.
56073         (sloww2): Likewise.
56074         (bsloww1): Likewise.
56075         (bsloww2): Likewise.
56076         (cslow2): Likewise.
56077         (csloww1): Likewise.
56078         (csloww2): Likewise.
56080         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
56081         function.
56082         (__sin): Use it.
56083         (__cos): Likewise.
56085         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
56086         gotos.
56087         (__cos): Likewise.
56089 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
56091         * config.h.in (HAVE_MIPS_NAN2008): New macro.
56092         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
56093         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
56094         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
56095         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
56096         * elf/cache.c (print_entry): Handle the new cache flags.
56098 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56099             Aldy Hernandez  <aldyh@redhat.com>
56101         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
56102         Change condition to [_SOFT_FLOAT].
56103         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
56104         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
56105         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
56106         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
56107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
56108         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
56109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
56110         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
56111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
56112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
56113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
56114         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
56115         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
56116         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
56117         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
56118         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
56119         declaration.
56121 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56123         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
56124         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56125         (__longjmp): Use LOAD_GP to load saved GPRs.
56126         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
56127         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56128         (__sigsetjmp): Use SAVE_GP to save GPRs.
56130         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
56131         Do not append -msoft-float.
56132         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
56134 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56136         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
56138 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
56140         [BZ #15966]
56141         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
56142         (_FPU_GETCW): Use initial "__" on variable and field names but not
56143         on macro parameter name.
56144         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
56145         parentheses around reference to macro parameter.
56147 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
56149         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
56150         prototype.
56151         (ctype_startup): Use uint32_t in cast and sizeof for
56152         ctype->charnames.
56154 2013-09-11  Jia Liu  <proljc@gmail.com>
56156         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
56157         __daddr_t_defined.
56158         [__FreeBSD__]: Likewise.
56160 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
56162         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
56163         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
56164         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
56165         (strchr): Remove __strchr_sse42 ifunc selection.
56166         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
56167         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
56169 2013-09-11  Will Newton  <will.newton@linaro.org>
56171         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
56172         parameter to RES. Remove hardcoded 1000 value.
56173         * benchtests/bench-skeleton.c (main): Pass RES parameter
56174         to TIMING_INIT and multiply result by 1000.
56176 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56180 2013-09-11  Andreas Schwab  <schwab@suse.de>
56182         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
56183         if not defined.
56184         (O_TMPFILE) [__USE_GNU]: Define.
56185         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
56186         Define.
56188 2013-09-11  Will Newton  <will.newton@linaro.org>
56190         [BZ #15857]
56191         * malloc/malloc.c (__libc_memalign): Check the value of bytes
56192         does not overflow.
56194 2013-09-11  Will Newton  <will.newton@linaro.org>
56196         [BZ #15856]
56197         * malloc/malloc.c (__libc_valloc): Check the value of bytes
56198         does not overflow.
56200 2013-09-11  Will Newton  <will.newton@linaro.org>
56202         [BZ #15855]
56203         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
56204         does not overflow.
56206 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
56208         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
56209         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56210         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56211         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56212         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56214 2013-09-10  Allan McRae  <allan@archlinux.org>
56216         [BZ #15748]
56217         * manual/arith.texi (Parsing of Floats): Clarify
56218         cross-reference.
56220         [BZ #15849]
56221         * manual/install.texi (Running make install): Mention
56222         --enable-pt-chown.
56223         * INSTALL: Regenerated.
56225 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
56227         * csu/init-first.c (_init): Remove the !SHARED condition around
56228         FPU control word initialization.
56229         * elf/dl-support.c (_dl_fpu_control): New variable.
56230         (_dl_aux_init) <AT_FPUCW>: Initialize it.
56231         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
56232         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
56233         * math/test-fpucw-static.c: New file.
56234         * math/test-fpucw-ieee.c: New file.
56235         * math/test-fpucw-ieee-static.c: New file.
56236         * math/Makefile (tests): Add `test-fpucw-ieee' and
56237         `$(tests-static)'.
56238         (tests-static): New variable.
56239         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
56240         dependency to...
56241         [($(build-shared),yes)]
56242         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
56243         ... this.
56244         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
56245         New dependency.
56247 2013-09-09  Allan McRae  <allan@archlinux.org>
56249         [BZ #15939]
56250         * manual/string.texi (Collation Functions): Fix typo in
56251         strcoll example.
56252         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
56254         [BZ #15893]
56255         * stdlib/isomac.c (get_null_defines): Fix memory leak.
56257         [BZ #15892]
56258         * libio/memstream.c (open_memstream): Fix memory leak.
56259         * libio/wmemstream.c (open_wmemstream): Likewise.
56261         [BZ #15895]
56262         * nscd/netgroupcache.c: Fix nesting of ifdefs.
56264 2013-09-09  Will Newton  <will.newton@linaro.org>
56266         * malloc/Makefile: Add tst-realloc to tests.
56267         * malloc/tst-realloc.c: New file.
56269 2013-09-09  Allan McRae  <allan@archlinux.org>
56271         [BZ #15844]
56272         * COPYING: Update from GNU website to fix FSF address.
56273         * COPYING.LIB: Likewise.
56275 2013-09-06  David S. Miller  <davem@davemloft.net>
56277         * po/zh_TW.po: Update Chinese (traditional) translation from
56278         translation project.
56280 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
56281             Joseph Myers  <joseph@codesourcery.com>
56283         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
56284         "localeinfo.h".
56285         (obstack_chunk_alloc): New macro.
56286         (obstack_chunk_free): Likewise.
56287         (record_offset): New function.
56288         (init_locale_data): Likewise.
56289         (align_locale_data): Likewise.
56290         (add_locale_empty): Likewise.
56291         (add_locale_raw_data): Likewise.
56292         (add_locale_raw_obstack): Likewise.
56293         (add_locale_string): Likewise.
56294         (add_locale_wstring): Likewise.
56295         (add_locale_uint32): Likewise.
56296         (add_locale_uint32_array): Likewise.
56297         (add_locale_char): Likewise.
56298         (start_locale_structure): Likewise.
56299         (end_locale_structure): Likewise.
56300         (start_locale_prelude): Likewise.
56301         (end_locale_prelude): Likewise.
56302         (write_locale_data): Take locale_file structure rather than an
56303         iovec.
56304         * locale/programs/locfile.h: Include "obstack.h".
56305         (struct locale_file): Change to store locale file contents instead
56306         of header.
56307         (init_locale_data): New prototype.
56308         (align_locale_data): Likewise.
56309         (add_locale_empty): Likewise.
56310         (add_locale_raw_data): Likewise.
56311         (add_locale_raw_obstack): Likewise.
56312         (add_locale_string): Likewise.
56313         (add_locale_wstring): Likewise.
56314         (add_locale_uint32): Likewise.
56315         (add_locale_uint32_array): Likewise.
56316         (add_locale_char): Likewise.
56317         (start_locale_structure): Likewise.
56318         (end_locale_structure): Likewise.
56319         (start_locale_prelude): Likewise.
56320         (end_locale_prelude): Likewise.
56321         (write_locale_data): Update prototype.
56322         * locale/programs/3level.h (struct TABLE): Remove result field.
56323         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
56324         Use new locale_file interface.
56325         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
56326         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
56327         * locale/programs/ld-address.c (address_output): Use new
56328         locale_file interface.
56329         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
56330         NO_ADD_LOCALE.
56331         (collate_finish): Don't call collseq_table_finalize.
56332         (collate_output): Use new locale_file interface.
56333         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
56334         in file.
56335         (NO_FINALIZE): Change to NO_ADD_LOCALE.
56336         (TABLE): Move defines earlier in file.
56337         (ELEMENT): Likewise.
56338         (DEFAULT): Likewise.
56339         (wctrans_table_add): Move macro and inline function earlier in
56340         file.
56341         (struct wctype_table): Move type earlier in file.
56342         (add_locale_wctype_table): New static prototype.
56343         (struct locale_ctype_t): Use logical types instead of struct iovec
56344         pointers for members.
56345         (ctype_output): Use new locale_file interface.
56346         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
56347         new locale_file interface.
56348         (allocate_arrays): Update for use of new locale_file interface.
56349         * locale/programs/ld-identification.c (identification_output): Use
56350         new locale_file interface.
56351         * locale/programs/ld-measurement.c (measurement_output): Likewise.
56352         * locale/programs/ld-messages.c (messages_output): Likewise.
56353         * locale/programs/ld-monetary.c (monetary_output): Likewise.
56354         * locale/programs/ld-name.c (name_output): Likewise.
56355         * locale/programs/ld-numeric.c (numeric_output): Likewise.
56356         * locale/programs/ld-paper.c (paper_output): Likewise.
56357         * locale/programs/ld-telephone.c (telephone_output): Likewise.
56358         * locale/programs/ld-time.c (time_output): Likewise.
56360 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56362         * benchtests/Makefile: Add memrchr benchmark.
56363         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
56364         benchmark as memrchr.
56365         * benchtests/bench-memrchr-ifunc.c: New file.
56366         * benchtests/bench-memrchr.c: New file.
56368 2013-09-06   Will Newton  <will.newton@linaro.org>
56370         * benchtests/Makefile (string-bench): Add memcpy.
56372 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
56373             Cong Wang  <amwang@redhat.com>
56375         [BZ #15850]
56376         * sysdeps/unix/sysv/linux/bits/in.h
56377         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
56378         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
56379         before __USE_KERNEL_IPV6_DEFS uses.
56380         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
56381         IPPROTO_BEETPH.
56382         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
56383         sockaddr_in6, or ipv6_mreq.
56385 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56387         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
56388         memory access for final bytes in some large inputs.
56389         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
56391 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56393         * string/test-memrchr.c: New file.
56394         * string/test-memrchr-ifunc.c: New file.
56395         * string/Makefile: Add new memrchr testcase.
56397 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
56399         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
56400         fanotify_init returns EPERM.
56402 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56404         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
56405         errors.
56406         (top level): Treat second token from macro or constant entries for
56407         allowed headers as allowed.
56408         * include/complex.h: Condition internal declarations on
56409         [!_ISOMAC].
56410         * include/fenv.h: Condition include of <stdbool.h> and internal
56411         declarations on [!_ISOMAC].
56413 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
56415         [BZ #15923]
56416         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
56418 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56420         * configure.in (--enable-versioning): Remove configure option.
56421         (libc_cv_asm_symver_directive): Remove configure test.
56422         (libc_cv_ld_version_script_option): Likewise.
56423         (VERSIONING): Remove variable and AC_SUBST.
56424         (DO_VERSIONING): Remove AC_DEFINE.
56425         * configure: Regenerated.
56426         * config.h.in (DO_VERSIONING): Remove macro.
56427         * Makerules [$(versioning) = yes]: Change conditionals to
56428         [$(build-shared) = yes].
56429         * config.make.in (versioning): Remove variable.
56430         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
56431         [$(build-shared) = yes].
56432         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
56433         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
56434         * elf/Makefile [$(versioning) = yes]: Change conditionals to
56435         [$(build-shared) = yes].
56436         * extra-lib.mk [$(versioning) = yes]: Likewise.
56437         * hurd/Makefile [$(versioning) = yes]: Likewise.
56438         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
56439         [SHARED].
56440         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
56441         [SHARED].
56442         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56443         [SHARED && !NO_HIDDEN].
56444         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
56445         [SHARED].
56446         [SHARED && DO_VERSIONING]: Likewise..
56447         * libio/Makefile [$(versioning) = yes]: Change conditionals to
56448         [$(build-shared) = yes].
56449         * manual/install.texi (--disable-versioning): Remove
56450         documentation.
56451         * INSTALL: Regenerated.
56452         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
56453         to [SHARED].
56454         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
56455         [$(build-shared) = yes].
56456         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
56457         * sysdeps/i386/i686/multiarch/strstr-c.c
56458         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56459         [SHARED && !NO_HIDDEN].
56460         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
56461         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
56462         * sysdeps/powerpc/powerpc32/dl-machine.c
56463         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
56464         * sysdeps/powerpc/powerpc32/sysdep.h
56465         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
56466         to [SHARED && PIC && !NO_HIDDEN].
56467         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
56468         conditional to [SHARED].
56470 2013-09-04   Will Newton  <will.newton@linaro.org>
56472         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
56473         * benchtests/bench-string.h: Include bench-timing.h instead
56474         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
56475         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
56476         call to HP_TIMING_DIFF_INIT.
56477         * benchtests/bench-memccpy.c: Use bench-timing.h macros
56478         instead of hp-timing.h macros.
56479         * benchtests/bench-memchr.c: Likewise.
56480         * benchtests/bench-memcmp.c: Likewise.
56481         * benchtests/bench-memcpy.c: Likewise.
56482         * benchtests/bench-memmem.c: Likewise.
56483         * benchtests/bench-memmove.c: Likewise.
56484         * benchtests/bench-memset.c: Likewise.
56485         * benchtests/bench-rawmemchr.c: Likewise.
56486         * benchtests/bench-strcasecmp.c: Likewise.
56487         * benchtests/bench-strcasestr.c: Likewise.
56488         * benchtests/bench-strcat.c: Likewise.
56489         * benchtests/bench-strchr.c: Likewise.
56490         * benchtests/bench-strcmp.c: Likewise.
56491         * benchtests/bench-strcpy.c: Likewise.
56492         * benchtests/bench-strcpy_chk.c: Likewise.
56493         * benchtests/bench-strlen.c: Likewise.
56494         * benchtests/bench-strncasecmp.c: Likewise.
56495         * benchtests/bench-strncat.c: Likewise.
56496         * benchtests/bench-strncmp.c: Likewise.
56497         * benchtests/bench-strncpy.c: Likewise.
56498         * benchtests/bench-strnlen.c: Likewise.
56499         * benchtests/bench-strpbrk.c: Likewise.
56500         * benchtests/bench-strrchr.c: Likewise.
56501         * benchtests/bench-strspn.c: Likewise.
56502         * benchtests/bench-strstr.c: Likewise.
56504 2013-09-04  Will Newton  <will.newton@linaro.org>
56506         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
56508 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
56510         [BZ #15427]
56511         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
56512         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
56513         * math/libm-test.inc (lgamma_test_data): Add more tests.
56514         * sysdeps/i386/fpu/libm-test-ulps: Update.
56515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56517 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
56519         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
56520         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56521         Add ifunc.
56522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56523         Add strcmp-sse2-unaligned
56524         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
56526 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56528         * Versions.def (libc): Add GLIBC_2.19.
56530 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56532         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
56533         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
56535 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
56537         [BZ #14155]
56538         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
56539         intermediate calculations in recurrence.
56540         (__ieee754_ynf): Likewise.
56541         * math/libm-test.inc (jn_test_data): Do not allow spurious
56542         underflow exception.  Add more tests.
56543         (yn_test_data): Add more tests.
56544         * sysdeps/i386/fpu/libm-test-ulps: Update.
56545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56547 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
56549         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
56551 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56553         * csu/init-first.c: Fix then/than typos.
56554         * locale/programs/ld-collate.c: Likewise.
56555         * locale/programs/linereader.h: Likewise.
56556         * manual/charset.texi: Likewise.
56557         * manual/filesys.texi: Likewise.
56558         * manual/stdio.texi: Likewise.
56559         * manual/string.texi: Likewise.
56560         * stdlib/fmtmsg.c: Likewise.
56561         * sysdeps/i386/stpncpy.S: Likewise.
56562         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56563         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56564         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56565         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56567 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56569         * elf/dl-open.c: Fix typos.
56570         * iconvdata/gbbig5.c: Likewise.
56571         * iconvdata/iso-2022-jp.c: Likewise.
56572         * iconv/gconv_int.h: Likewise.
56573         * iconv/loop.c: Likewise.
56574         * nis/rpcsvc/nis.h: Likewise.
56575         * resolv/ns_name.c: Likewise.
56576         * stdio-common/vfscanf.c: Likewise.
56577         * streams/stropts.h: Likewise.
56578         * sunrpc/rpc_thread.c: Likewise.
56579         * sysdeps/i386/strpbrk.S: Likewise.
56580         * sysdeps/ieee754/k_standard.c: Likewise.
56581         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56582         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56583         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
56584         * sysdeps/mach/hurd/profil.c: Likewise.
56585         * sysdeps/s390/dl-procinfo.h: Likewise.
56586         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
56587         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
56588         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
56589         * sysdeps/x86_64/dl-trampoline.S: Likewise.
56590         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56592 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
56594         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
56595         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
56597 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
56599         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
56600         aix specific files.
56601         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
56602         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
56603         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
56604         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
56605         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
56606         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
56607         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
56608         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
56610 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56611             Roland McGrath  <roland@hack.frob.com>
56613         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
56614         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
56616 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56618         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
56619         __executable_start symbol instead of _start.
56621 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56623         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
56624         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
56625         Move macros to...
56626         * sysdeps/gnu/ldsodefs.h: ... this new file.
56628         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
56629         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
56630         instead of ELFOSABI_LINUX.
56632         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
56633         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
56634         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
56635         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
56636         Likewise.
56637         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
56638         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
56639         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
56640         Likewise.
56641         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56642         (ibm_extended_long_double): Add ieee_nan member.
56643         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
56644         (do_test): New function.
56646         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
56647         TEST_TRUNC.
56648         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
56649         functions, renamed from truncdfsf_test, trunctfsf_test,
56650         trunctfdf_test.
56651         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
56652         functions.
56653         (do_test): Run all these.
56655 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
56657         * argp/argp-help.c: Fix typos.
56658         * argp/argp-parse.c: Likewise.
56659         * debug/backtracesyms.c: Likewise.
56660         * elf/elf.h: Likewise.
56661         * malloc/malloc.c: Likewise.
56662         * nis/nis_print.c: Likewise.
56663         * resolv/res_comp.c: Likewise.
56664         * stdlib/stdlib.h: Likewise.
56665         * sunrpc/clnt_tcp.c: Likewise.
56666         * sunrpc/clnt_udp.c: Likewise.
56667         * sunrpc/clnt_unix.c: Likewise.
56668         * sysdeps/unix/bsd/ptsname.c: Likewise.
56669         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
56670         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
56671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
56672         Likewise.
56673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
56674         Likewise.
56675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
56676         Likewise.
56677         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56679 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56681         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
56682         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56684 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
56686         [BZ #15897]
56687         * dlfcn/Makefile (tests): Add bug-dl-leaf.
56688         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
56689         ($(objpfx)bug-dl-leaf): New rule.
56690         ($(objpfx)bug-dl-leaf.so): Likewise.
56691         ($(objpfx)bug-dl-leaf.out): Likewise.
56692         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
56693         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
56694         * dlfcn/bug-dl-leaf.c: New test.
56695         * dlfcn/bug-dl-leaf-lib.c: Likewise.
56696         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
56697         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
56698         (dlclose): Likewise.
56699         (dlmopen): Likewise.
56701 2013-08-27  Roland McGrath  <roland@hack.frob.com>
56703         * include/netdb.h [!_ISOMAC]:
56704         Don't include <tls.h>.
56705         (h_errno, __libc_h_errno): Move declaration and macros out of
56706         [_LIBC_REENTRANT].
56708         * include/resolv.h [_RESOLV_H_]:
56709         Don't include <tls.h>.
56710         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
56711         * resolv/res_libc.c: Don't include <tls.h>.
56712         (_res): Use __attribute__ ((nocommon)) in place of
56713         __attribute__ ((section (".bss"))).
56715         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
56716         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
56718         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
56720         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
56721         only under [SIOCGIFCONF && SIOCGIFNETMASK].
56723         * resolv/res_mkquery.c: Include <sys/time.h>.
56725         * inet/ifreq.c: Moved to ...
56726         * sysdeps/unix/ifreq.c: ... here.
56727         * inet/ifreq.c: New file, true stub version.
56729         * socket/sa_len.c: New file.
56730         * socket/Makefile (aux): Add it.
56731         * sysdeps/unix/sysv/linux/Makefile
56732         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
56733         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
56734         and #include <socket/sa_len.c>.
56735         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
56736         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
56738         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
56739         * bits/socket.h: ... here.
56741         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
56742         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
56743         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
56745 2013-08-27  Andreas Schwab  <schwab@suse.de>
56747         [BZ #15736]
56748         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
56749         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
56750         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
56751         * string/test-strcasecmp.c (test_main): Run tests in several
56752         locales.
56753         * string/test-strncasecmp.c (test_main): Likewise.
56755         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
56756         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
56757         to __strcasecmp_nonascii and __strncasecmp_nonascii.
56758         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
56759         (__strncasecmp_ssse3) [PIC]: Likewise.
56761 2013-08-26  Roland McGrath  <roland@hack.frob.com>
56763         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
56765         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
56766         instead of explicitly declaring xdecrypt.
56767         * nis/nss_nis/nis-publickey.c: Likewise.
56769 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56771         [BZ #15890]
56772         * nscd/aicache.c: Include res_hconf.h.
56773         (addhstaiX): Initialize res_hconf.
56775 2013-08-26  Andreas Schwab  <schwab@suse.de>
56777         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
56778         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
56780 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56782         * nscd/aicache.c (addhstaiX): Fix indentation.
56784 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
56786         * configure.ac: Quote $build_pt_chown test.
56787         * configure: Regenerated.
56789 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
56791         [BZ #15532]
56792         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
56793         * math/s_cexpf.c (__cexpf): Likewise.
56794         * math/s_cexpl.c (__cexpl): Likewise.
56795         * math/libm-test.inc (cexp_test_data): Correct expected return
56796         value for NaN + i0.  Add another test.
56798 2013-08-22  David S. Miller  <davem@davemloft.net>
56800         * po/ca.po: Update Catalan translation from translation project.
56801         * po/uk.po: Add Ukrainian translations from translation project.
56803 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
56805         [BZ #15797]
56806         * math/s_fdim.c (__fdim): Check for infinite arguments if result
56807         is infinite, not alongside NaN test.
56808         * math/s_fdimf.c (__fdimf): Likewise.
56809         * math/s_fdiml.c (__fdiml): Likewise.
56810         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
56811         errno is unchanged.
56813 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
56815         * argp/argp-help.c: Fix typos.
56816         * crypt/speeds.c: Likewise.
56817         * csu/check_fds.c: Likewise.
56818         * elf/dl-load.c: Likewise.
56819         * elf/dl-open.c: Likewise.
56820         * elf/reldep3.c: Likewise.
56821         * elf/reldep.c: Likewise.
56822         * elf/sprof.c: Likewise.
56823         * iconv/iconv_charmap.c: Likewise.
56824         * iconv/skeleton.c: Likewise.
56825         * iconv/strtab.c: Likewise.
56826         * io/lockf64.c: Likewise.
56827         * libio/libioP.h: Likewise.
56828         * resolv/gai_notify.c: Likewise.
56829         * resolv/ns_name.c: Likewise.
56830         * resolv/ns_samedomain.c: Likewise.
56831         * resolv/res_send.c: Likewise.
56832         * stdlib/random.c: Likewise.
56833         * sunrpc/rpc/xdr.h: Likewise.
56834         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
56835         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56836         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56837         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56838         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56839         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56840         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56841         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56842         * sysdeps/mach/hurd/check_fds.c: Likewise.
56843         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56844         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56845         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56846         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56847         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56848         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56849         * sysdeps/pthread/aio_notify.c: Likewise.
56850         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
56851         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
56852         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
56853         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56854         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56856 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56858         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
56859         version if bit_Slow_SSE4_2 is set.
56860         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56861         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56863 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56865         [BZ #15867]
56866         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
56867         trampoline stack frame information.
56868         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
56869         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
56870         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
56871         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
56872         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
56873         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56874         (_libc_vdso_platform_setup): Initialize the signal trampolines.
56875         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
56876         sa_flags value.
56877         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
56878         interrupting a syscall and set with option SA_SIGINFO.
56880 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56882         [BZ #15531]
56883         * math/s_cproj.c (__cproj): Only return an infinity if one part of
56884         argument is infinite.
56885         * math/s_cprojf.c (__cprojf): Likewise.
56886         * math/s_cprojl.c (__cprojl): Likewise.
56887         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
56888         * math/libm-test.inc (cproj_test_data): Add more tests.
56890         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
56892         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
56893         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
56894         size.  Use __ffs to determine corresponding shift.
56896 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56897             Roland McGrath  <roland@hack.frob.com>
56899         * Makefile (INSTALL): Remove trailing blank lines from output of
56900         makeinfo.
56902 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56904         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
56905         Align 32 bit compat elf_greg to 8 bytes.
56907 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
56909         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
56911 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56913         * string/strcoll_l.c (coll_seq): New structure.
56914         (get_next_seq_cached): New function.
56915         (get_next_seq): New function.
56916         (do_compare): New function.
56917         (STRCOLL): Use GNU style definition.  Simplify implementation
56918         by using get_next_seq, get_next_seq_cached and do_compare.
56920 2013-08-16  Florian Weimer  <fweimer@redhat.com>
56922         [BZ #14699]
56923         CVE-2013-4237
56924         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
56925         member.
56926         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
56927         member.
56928         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
56929         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
56930         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
56931         conditional.
56932         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
56933         GETDENTS_64BIT_ALIGNED.
56934         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56935         * manual/filesys.texi (Reading/Closing Directory): Document
56936         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
56937         strongly.
56938         * manual/conf.texi (Limits for Files): Add portability note to
56939         NAME_MAX, PATH_MAX.
56940         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
56942 2013-08-13  Andreas Schwab  <schwab@suse.de>
56944         [BZ #15749]
56945         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
56946         of fabs.
56947         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
56948         LDBL_MAX_EXP >= 16384]: Add tests for it.
56950 2013-08-12  David S. Miller  <davem@davemloft.net>
56952         * version.h (RELEASE): Set to "development".
56953         (VERSION): Set to "2.18.90".
56954         * NEWS: Add 2.19 section.
56956 2013-08-03  David S. Miller  <davem@davemloft.net>
56958         * po/ko.po: Update Korean translation from translation project.
56960 2013-08-01  David S. Miller  <davem@davemloft.net>
56962         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
56963         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
56964         Bilka.
56966 2013-07-30  David S. Miller  <davem@davemloft.net>
56968         * po/fr.po: Update French translation from translation project.
56970 2013-07-28  David S. Miller  <davem@davemloft.net>
56972         * po/cs.po: Update Czech translation from translation project.
56974         * po/sv.po: Update Swedish translation from translation project.
56976 2013-07-27  David S. Miller  <davem@davemloft.net>
56978         * po/eo.po: Update Esperanto translation from translation project.
56980         * po/vi.po: Update Vietnamese translation from translation project.
56982         * po/de.po: Update German translation from translation project.
56984 2013-07-26  David S. Miller  <davem@davemloft.net>
56986         * po/bg.po: Update Bulgarian translation from translation project.
56988         * po/nl.po: Update Dutch translation from translation project.
56989         * po/pl.po: Update Polish translation from translation project.
56990         * po/ru.po: Update Russian translation from translation project.
56992 2013-07-24  David S. Miller  <davem@davemloft.net>
56994         * po/libc.pot: Update.
56996 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56998         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
56999         variable page size.
57000         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
57001         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
57002         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
57004 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57006         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
57008 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57009             Andreas Schwab  <schwab@suse.de>
57010             Roland McGrath  <roland@hack.frob.com>
57011             Joseph Myers  <joseph@codesourcery.com>
57012             Carlos O'Donell  <carlos@redhat.com>
57014         [BZ #15755]
57015         * config.h.in: Define HAVE_PT_CHOWN.
57016         * config.make.in (build-pt-chown): New variable.
57017         * configure.in (--enable-pt_chown): New configure option.
57018         * configure: Regenerate.
57019         * login/Makefile: Include Makeconfig.  Build pt_chown only if
57020         build-pt-chown is enabled.
57021         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
57022         pt_chown to fix pty ownership.
57023         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
57024         CLOSE_ALL_FDS.
57025         * manual/install.texi (Configuring and compiling): Mention
57026         --enable-pt_chown. Add @findex for grantpt.
57027         * INSTALL: Regenerate.
57029 2013-07-20  David S. Miller  <davem@davemloft.net>
57031         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
57032         difference between 32-bit and 64-bit.
57034 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
57036         [BZ #15711]
57037         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
57038         Avoid system header dependency with -ffreestanding.
57039         ($(objpfx)bits/syscall%d): Likewise.
57041 2013-07-13  David S. Miller  <davem@davemloft.net>
57043         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
57044         underflows from atanl/atan2l due to bug 15319.
57045         (casinh_test_data): Likewise.
57047 2013-07-07  David S. Miller  <davem@davemloft.net>
57049         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
57051 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
57053         * sysdeps/i386/fpu/libm-test-ulps: Update.
57054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57056 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57058         * configure.in (--enable-lock-elision): Fix message text.
57059         * INSTALL: Regenerate.
57060         * configure: Regenerate.
57062 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57066 2013-07-03  Andreas Jaeger  <aj@suse.de>
57068         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
57069         define.
57070         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
57071         (ptrace_peeksiginfo_args): Add.
57072         (__ptrace_peeksiginfo_flags): Add.
57073         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57074         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57075         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57077 2013-07-03  Allan McRae  <allan@archlinux.org>
57079         * sysdeps/i386/fpu/libm-test-ulps: Update.
57081 2013-07-02  David S. Miller  <davem@davemloft.net>
57083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57085 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
57087         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57089 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57091         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57094 2013-07-02  Andi Kleen <ak@linux.intel.com>
57096         * config.h.in (ENABLE_LOCK_ELISION): Add.
57097         * configure.in (--enable-lock-elision): Add option.
57098         * manual/install.texi: Document --enable lock elision.
57099         * configure: Regenerate
57100         * INSTALL: Regenerate.
57102 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
57104         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
57105         SSE4.2 strcasecmp for libc.a.
57106         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
57108 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57110         [BZ #13304]
57111         * soft-fp/op-common.h (_FP_FMA): New macro.
57112         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
57113         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
57114         (_FP_MUL_MEAT_1_imm): ... here.
57115         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
57116         (_FP_MUL_MEAT_1_wide): ... here.
57117         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
57118         (_FP_MUL_MEAT_1_hard): ... here.
57119         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
57120         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
57121         (_FP_MUL_MEAT_2_wide): ... here.
57122         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
57123         (_FP_MUL_MEAT_2_wide_3mul): ... here.
57124         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
57125         (_FP_MUL_MEAT_2_gmp): ... here.
57126         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
57127         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
57128         (_FP_MUL_MEAT_4_wide): ... here.
57129         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
57130         (_FP_MUL_MEAT_4_gmp): ... here.
57131         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
57132         (_FP_WFRACBITS_DW_S): Likewise.
57133         (_FP_WFRACXBITS_DW_S): Likewise.
57134         (_FP_HIGHBIT_DW_S): Likewise.
57135         (FP_FMA_S): Likewise.
57136         (_FP_FRAC_HIGH_DW_S): Likewise.
57137         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
57138         (_FP_WFRACBITS_DW_D): Likewise.
57139         (_FP_WFRACXBITS_DW_D): Likewise.
57140         (_FP_HIGHBIT_DW_D): Likewise.
57141         (FP_FMA_D): Likewise.
57142         (_FP_FRAC_HIGH_DW_D): Likewise.
57143         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
57144         (_FP_WFRACBITS_DW_E): Likewise.
57145         (_FP_WFRACXBITS_DW_E): Likewise.
57146         (_FP_HIGHBIT_DW_E): Likewise.
57147         (FP_FMA_E): Likewise.
57148         (_FP_FRAC_HIGH_DW_E): Likewise.
57149         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
57150         (_FP_WFRACBITS_DW_Q): Likewise.
57151         (_FP_WFRACXBITS_DW_Q): Likewise.
57152         (_FP_HIGHBIT_DW_Q): Likewise.
57153         (FP_FMA_Q): Likewise.
57154         (_FP_FRAC_HIGH_DW_Q): Likewise.
57155         * soft-fp/fmasf4.c: New file.
57156         * soft-fp/fmadf4.c: Likewise.
57157         * soft-fp/fmatf4.c: Likewise.
57159 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57162         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
57163         Silvermont.
57164         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
57165         macro.
57166         (index_Slow_SSE4_2): Likewise.
57167         (index_Prefer_PMINUB_for_stringop): Likewise.
57168         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
57169         bit_Slow_SSE4_2 is set.
57170         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57171         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57173 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57175         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
57176         rtld_global._dl_hwcap2.
57177         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
57178         POWER8.
57179         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
57180         POWER8 feature descriptions defined in _dl_hwcap2.
57181         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
57182         string handling for POWER8 feature bits.
57183         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
57184         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
57185         _dl_powerpc_cap_flags.
57186         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
57187         * sysdeps/powerpc/rtld-global-offsets.sym
57188         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
57189         _dl_hwcap2 in the rtld_global_ro structure.
57191 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57193         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
57194         hardware capabilities in support of AT_HWCAP2.
57195         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
57196         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
57197         GLRO(dl_hwcap2).
57198         (_dl_show_auxv): Add support for calling _dl_procinfo to display
57199         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
57200         explicitly the unknown a_type display mechanism is used.
57201         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
57202         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
57203         struct member.
57204         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
57205         to macro prototype for AT_HWCAP2 support.
57206         * sysdeps/i386/dl-procinfo.h: Likewise.
57207         * sysdeps/s390/dl-procinfo.h: Likewise.
57208         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
57209         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
57210         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
57211         return -1 for unknown a_type display fallback.
57212         * sysdeps/sparc/dl-procinfo.h: Likewise.
57213         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
57214         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
57216 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
57218         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
57219         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
57221 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
57223         [BZ #12492]
57224         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
57225         mprotect making __stack_prot writable.
57227 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
57228             Joseph Myers  <joseph@codesourcery.com>
57230         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
57231         as being properly aligned.
57233 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
57235         * dlfcn/modstatic5.c: New file.
57236         * dlfcn/tststatic5.c: New file.
57237         * dlfcn/Makefile (tests): Add tststatic5.
57238         (tests-static): Likewise.
57239         (modules-names): Add modstatic5.
57240         (tststatic5-ENV): New variable.
57241         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
57243         [BZ #15022]
57244         * elf/dl-support.c (_dl_main_map): New variable.
57245         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
57246         (_dl_nns, _dl_load_adds): Set to 1.
57247         (_dl_initial_searchlist): Refer to _dl_main_map.
57248         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
57249         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
57250         call to _dl_get_origin.
57251         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
57252         around call_map.
57253         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
57254         * dlfcn/modstatic3.c: New file.
57255         * dlfcn/tststatic3.c: New file.
57256         * dlfcn/tststatic4.c: New file.
57257         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
57258         (tests-static): Likewise.
57259         (modules-names): Add modstatic3.
57260         (tststatic3-ENV, tststatic4-ENV): New variables.
57261         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
57262         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
57264 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
57266         * configure.in (CC): Require GCC version 4.4 or later.
57267         * configure: Regenerated.
57268         * manual/install.texi (Tools for Compilation): Update GCC version
57269         requirement.
57270         * INSTALL: Regenerated.
57272 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57274         [BZ #15674]
57275         * string/test-memcmp.c (check2): New.
57276         (main): Call check2.
57278         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
57280 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
57282         [BZ #15022]
57283         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
57284         over to...
57285         (dl_open_worker) [!SHARED]: ... here.
57287 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57289         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
57291 2013-06-25  Richard Henderson  <rth@redhat.com>
57293         * locale/programs/locarchive.c: Include <libc-internal.h>
57295 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
57297         * manual/texinfo.tex: Update to version 2013-06-21.17, with
57298         trailing whitespace removed.
57300 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57302         [BZ #10283]
57303         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
57304         * locale/programs/locarchive.c: Include libc-mmap.h.
57305         (prepare_address_space): Take two new outputs (the mmap base and len).
57306         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
57307         values.
57308         (create_archive): Declare new mmap base and len values for
57309         prepare_address_space, and store the result in ah.
57310         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
57311         (enlarge_archive): If ah->mmap_base is not NULL, use that and
57312         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57313         Declare new mmap base and len values for
57314         prepare_address_space, and store the result in new_ah.
57315         (open_archive): Declare new mmap base and len values for
57316         prepare_address_space, and store the result in ah.
57317         (close_archive): If ah->mmap_base is not NULL, use that and
57318         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57319         * sysdeps/generic/libc-mmap.h: New file.
57321 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57323         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
57324         (ALIGN_UP): Likewise.
57325         (PTR_ALIGN_DOWN): Likewise.
57326         (PTR_ALIGN_UP): Likewise.
57328 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57330         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
57331         entry mapped to PPC_PLATFORM_POWER8.
57332         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
57333         POWER8.
57334         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
57335         (_dl_string_platform): Add case for exporting platform position for
57336         POWER8.
57337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
57338         search path to sysdeps/powerpc/powerpc32/power8 directory.
57339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
57340         search path to sysdeps/powerpc/powerpc64/power8 directory.
57341         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
57342         power7 directories.
57343         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
57344         power7 directories.
57346 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57348         * INSTALL: Regenerate.
57350         * nscd/connections.c (nscd_init): Fix comment.
57352 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
57354         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
57356         [BZ #15667]
57357         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
57358         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
57360 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57362         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
57363         DL_DST_REQ_STATIC.
57364         (DL_DST_REQ_STATIC): Remove macro.
57366 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
57368         [BZ #7006]
57369         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
57370         with a shift of 0 bits.
57372 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57374         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
57375         $(tststatic-ENV).
57377 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57379         [BZ #15655]
57380         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
57382 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57384         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
57385         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
57386         accepts -fno-tree-loop-distribute-patterns.
57387         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
57388         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
57389         recursive call.
57390         * string/memset.c (memset): Likewise.
57391         * string/test-memmove.c (simple_memmove): Disable loop transformation
57392         to library calls.
57393         * string/test-memset.c (simple_memset): Likewise.
57394         * benchtests/bench-memmove.c (simple_memmove): Likewise.
57395         * benchtests/bench-memset.c (simple_memset): Likewise.
57396         * configure: Regenerated.
57398 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
57400         * math/test-misc.c (main): Ignore fesetround failure when failures
57401         of subsequent rounding tests would be ignored.
57403         [BZ #15654]
57404         * math/fedisblxcpt.c (fedisableexcept): Return 0.
57405         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
57406         * math/fegetenv.c (__fegetenv): Return 0.
57407         * math/fegetexcept.c (fegetexcept): Return 0.
57408         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
57409         FE_TONEAREST.
57410         * math/feholdexcpt.c (feholdexcept): Return 0.
57411         * math/fesetenv.c (__fesetenv): Return 0.
57412         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
57413         argument FE_TONEAREST.
57414         * math/feupdateenv.c (__feupdateenv): Return 0.
57415         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
57417 2013-06-18  Roland McGrath  <roland@hack.frob.com>
57419         * elf/rtld-Rules (rtld-compile-command.S): New variable.
57420         (rtld-compile-command.s, rtld-compile-command.c): New variables.
57421         ($(objpfx)rtld-%.os rules): Use them.
57423 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57425         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
57426         fields.
57428 2013-06-17  Roland McGrath  <roland@hack.frob.com>
57430         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
57431         length of target pattern, then descending length of dependency pattern.
57432         * configure.in (AWK): Require gawk 3.1.2 or newer.
57433         * manual/install.texi (Tools for Compilation): Say that we do.
57434         * configure: Regenerated.
57436         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
57437         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
57438         * scripts/sysd-rules.awk: ... this new script.
57439         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
57440         than a glob-style pattern.
57442 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
57444         * math/test-misc.c (main): Do not treat incorrectly rounded
57445         conversions as failure unless ROUNDING_TESTS passes.
57447 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
57449         [BZ #15631]
57450         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
57451         restore exception state around main square root computation, then
57452         check for inexactness explicitly.
57454         * math/libm-test.inc (fma_test_data): Add another test.
57456 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57458         * manual/threads.texi (Non-POSIX Extensions): New document
57459         node.  Document pthread_getattr_default_np and
57460         pthread_setattr_default_np.
57462         * Versions.def (libpthread): Add GLIBC_2.18.
57463         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
57464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
57465         Likewise.
57466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57467         Likewise.
57468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57469         Likewise.
57470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57471         Likewise.
57472         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
57473         Likewise.
57474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57475         Likewise.
57476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57477         Likewise.
57478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57479         Likewise.
57480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57481         Likewise.
57483 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57485         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57486         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
57488 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57489             H.J. Lu  <hjl.tools@gmail.com>
57491         [BZ #15627]
57492         * sysdeps/x86_64/rtld-memset.c: Remove file.
57493         * sysdeps/x86_64/rtld-memset.S: New file.
57495 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
57497         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
57498         (test_in_one_mode): Take arguments for whether the rounding mode
57499         is supported for each floating-point type.
57500         (do_test): Pass new arguments to test_in_one_mode using
57501         ROUNDING_TESTS.
57503 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57505         * posix/tst-waitid.c (do_test): Distinguish different instances of
57506         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
57507         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
57508         before entering the kernel for waitpid.
57510 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57512         * NEWS: Fix note on clock function precision.  Text by Roland
57513         McGrath.
57515 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57517         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
57518         it into place only when and if the sanity check passes.
57520 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
57522         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
57523         output for whether conversion result is exact.  Take argument
57524         indicating whether type is IBM long double.
57525         (round_for_all): Change need_exact field to ibm_ld.
57526         * stdlib/tst-strtod-round.c (struct exactness): New type.
57527         (struct test): Change bool ld_ok field to struct exactness exact.
57528         (TEST): Update all definitions for change to field.
57529         (tests): Regenerate array contents.
57530         (test_in_one_mode): Take pointer to new field instead of old ld_ok
57531         field value.  Check for IBM long double here.
57532         (do_test): Update calls to test_in_one_mode.
57534 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57536         [BZ #12515]
57537         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
57538         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
57540 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57542         [BZ #15605]
57543         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
57544         generated by the compiler on loop optimizations.
57545         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
57546         general definitions.
57548 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
57550         * math/bug-nextafter.c: Include <math-tests.h>.
57551         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57552         the relevant type.
57553         * math/bug-nexttoward.c: Include <math-tests.h>.
57554         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57555         the relevant type.
57556         * math/test-misc.c: Include <math-tests.h>.
57557         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57558         the relevant type.
57560 2013-06-12  Andreas Jaeger  <aj@suse.de>
57562         * po/ia.po: Update Interlingua translation from translation
57563         project.
57565 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57567         * include/fenv.h: Include stdbool.h.
57568         (struct rm_ctx): New structure.
57569         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
57570         Define macro.
57571         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
57572         (SET_RESTORE_ROUNDF): Likewise.
57573         (SET_RESTORE_ROUNDL): Likewise.
57574         (SET_RESTORE_ROUND_NOEX): Likewise.
57575         (SET_RESTORE_ROUND_NOEXF): Likewise.
57576         (SET_RESTORE_ROUND_NOEXL): Likewise.
57577         (SET_RESTORE_ROUND_53BIT): Likewise.
57578         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
57579         (libc_feresetround_noexf_ctx): Likewise.
57580         (libc_feresetround_noexl_ctx): Likewise.
57581         (libc_feholdsetround_53bit_ctx): Likewise.
57582         (libc_feresetround_53bit_ctx): Likewise.
57583         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
57584         (libc_feholdexcept_setround_sse_ctx): New function.
57585         (libc_fesetenv_sse_ctx): Likewise.
57586         (libc_feupdateenv_sse_ctx): Likewise.
57587         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
57588         (libc_feholdexcept_setround_387_ctx): Likewise.
57589         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
57590         (libc_feholdsetround_387_prec_ctx): Likewise.
57591         (libc_feholdsetround_387_ctx): Likewise.
57592         (libc_feholdsetround_387_53bit_ctx): Likewise.
57593         (libc_feholdsetround_sse_ctx): Likewise.
57594         (libc_feresetround_sse_ctx): Likewise.
57595         (libc_feresetround_387_ctx): Likewise.
57596         (libc_feupdateenv_387_ctx): Likewise.
57597         (libc_feholdexcept_setroundf_ctx): Define macro.
57598         (libc_fesetenvf_ctx): Likewise.
57599         (libc_feupdateenvf_ctx): Likewise.
57600         (libc_feholdsetroundf_ctx): Likewise.
57601         (libc_feresetroundf_ctx): Likewise.
57602         (libc_feholdexcept_setround_ctx): Likewise.
57603         (libc_fesetenv_ctx): Likewise.
57604         (libc_feupdateenv_ctx): Likewise.
57605         (libc_feholdsetround_ctx): Likewise.
57606         (libc_feresetround_ctx): Likewise.
57607         (libc_feholdexcept_setroundl_ctx): Likewise.
57608         (libc_feupdateenvl_ctx): Likewise.
57609         (libc_feholdsetroundl_ctx): Likewise.
57610         (libc_feresetroundl_ctx): Likewise.
57611         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
57612         (libc_feresetround_53bit_ctx): Likewise.
57614 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57616         * locale/iso-639.def: Convert to UTF-8.
57618 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
57620         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
57621         (EXCEPTION_TESTS_double): Likewise.
57622         (EXCEPTION_TESTS_long_double): Likewise.
57623         (EXCEPTION_TESTS): Likewise.
57624         * math/libm-test.inc (test_exceptions): Only test exceptions if
57625         EXCEPTION_TESTS (FLOAT).
57627 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57629         * benchtests/Makefile (string-bench): Add strcpy_chk and
57630         stpcpy_chk.
57631         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
57632         * benchtests/bench-stpcpy_chk.c: New file.
57633         * benchtests/bench-strcpy_chk-ifunc.c: New file.
57634         * benchtests/bench-strcpy_chk.c: New file.
57635         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
57636         code.
57637         (do_test): Likewise.
57639 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57641         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
57642         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
57643         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
57644         with tabs where appropriate.
57645         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
57646         dl-procinfo.h.
57647         [PPC_PLATFORM_PPC440]: Likewise.
57648         [PPC_PLATFORM_PPC464]: Likewise.
57649         [PPC_PLATFORM_PPC476]: Likewise.
57650         (_dl_string_platform): Add support for detecting ppc405, ppc440,
57651         ppc464, and ppc476 platform strings merging from ports/
57652         dl-procinfo.h.
57654 2013-06-11  Andreas Schwab  <schwab@suse.de>
57656         [BZ #14991]
57657         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
57658         (from_ucs4_idx): Regenerate.
57659         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
57660         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
57661         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
57662         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
57663         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
57664         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
57665         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
57666         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
57667         from FROM_LOOP and TO_LOOP specific macros.
57668         (BODY): Handle combining characters.
57669         * iconvdata/BIG5HKSCS.irreversible: Update.
57670         * iconvdata/BIG5HKSCS.precomposed: New file.
57671         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
57672         characters.
57673         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
57675 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57677         * include/sys/time.h: Fix indentation and add copyright header.
57679         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
57680         (do_test): Likewise.
57681         * string/test-memchr.c (do_one_test): Likewise.
57682         (do_test): Likewise.
57683         * string/test-memcmp.c (do_one_test): Likewise.
57684         (do_test): Likewise.
57685         * string/test-memcpy.c (do_one_test): Likewise.
57686         (do_test): Likewise.
57687         * string/test-memmem.c (do_one_test): Likewise.
57688         (do_test): Likewise.
57689         (do_random_tests): Likewise.
57690         * string/test-memmove.c (do_one_test): Likewise.
57691         (do_test): Likewise.
57692         * string/test-memset.c (do_one_test): Likewise.
57693         (do_test): Likewise.
57694         * string/test-rawmemchr.c (do_one_test): Likewise.
57695         (do_test): Likewise.
57696         * string/test-strcasecmp.c (do_one_test): Likewise.
57697         (do_test): Likewise.
57698         * string/test-strcasestr.c (do_one_test): Likewise.
57699         (do_test): Likewise.
57700         * string/test-strcat.c (do_one_test): Likewise.
57701         (do_test): Likewise.
57702         * string/test-strchr.c (do_one_test): Likewise.
57703         (do_test): Likewise.
57704         * string/test-strcmp.c (do_one_test): Likewise.
57705         (do_test): Likewise.
57706         * string/test-strcpy.c (do_one_test): Likewise.
57707         (do_test): Likewise.
57708         * string/test-string.h: Likewise.
57709         (test_init): Likewise.
57710         * string/test-strlen.c (do_one_test): Likewise.
57711         (do_test): Likewise.
57712         * string/test-strncasecmp.c (do_one_test): Likewise.
57713         (do_test): Likewise.
57714         * string/test-strncat.c (do_one_test): Likewise.
57715         (do_test): Likewise.
57716         * string/test-strncmp.c (do_one_test): Likewise.
57717         (do_test_limit): Likewise.
57718         (do_test): Likewise.
57719         * string/test-strncpy.c (do_one_test): Likewise.
57720         (do_test): Likewise.
57721         * string/test-strnlen.c (do_one_test): Likewise.
57722         (do_test): Likewise.
57723         * string/test-strpbrk.c (do_one_test): Likewise.
57724         (do_test): Likewise.
57725         * string/test-strrchr.c (do_one_test): Likewise.
57726         (do_test): Likewise.
57727         * string/test-strspn.c (do_one_test): Likewise.
57728         (do_test): Likewise.
57729         * string/test-strstr.c (do_one_test): Likewise.
57730         (do_test): Likewise.
57732         * benchtests/Makefile (string-bench): Add string benchmarks.
57733         * benchtests/bench-bcopy-ifunc.c: New file.
57734         * benchtests/bench-bcopy.c: New file.
57735         * benchtests/bench-bzero-ifunc.c: New file.
57736         * benchtests/bench-bzero.c: New file.
57737         * benchtests/bench-memccpy-ifunc.c: New file.
57738         * benchtests/bench-memccpy.c: New file.
57739         * benchtests/bench-memchr-ifunc.c: New file.
57740         * benchtests/bench-memchr.c: New file.
57741         * benchtests/bench-memcmp-ifunc.c: New file.
57742         * benchtests/bench-memcmp.c: New file.
57743         * benchtests/bench-memmem-ifunc.c: New file.
57744         * benchtests/bench-memmem.c: New file.
57745         * benchtests/bench-memmove-ifunc.c: New file.
57746         * benchtests/bench-memmove.c: New file.
57747         * benchtests/bench-mempcpy-ifunc.c: New file.
57748         * benchtests/bench-mempcpy.c: New file.
57749         * benchtests/bench-memset-ifunc.c: New file.
57750         * benchtests/bench-memset.c: New file.
57751         * benchtests/bench-rawmemchr-ifunc.c: New file.
57752         * benchtests/bench-rawmemchr.c: New file.
57753         * benchtests/bench-stpcpy-ifunc.c: New file.
57754         * benchtests/bench-stpcpy.c: New file.
57755         * benchtests/bench-stpncpy-ifunc.c: New file.
57756         * benchtests/bench-stpncpy.c: New file.
57757         * benchtests/bench-strcasecmp-ifunc.c: New file.
57758         * benchtests/bench-strcasecmp.c: New file.
57759         * benchtests/bench-strcasestr-ifunc.c: New file.
57760         * benchtests/bench-strcasestr.c: New file.
57761         * benchtests/bench-strcat-ifunc.c: New file.
57762         * benchtests/bench-strcat.c: New file.
57763         * benchtests/bench-strchr-ifunc.c: New file.
57764         * benchtests/bench-strchr.c: New file.
57765         * benchtests/bench-strchrnul-ifunc.c: New file.
57766         * benchtests/bench-strchrnul.c: New file.
57767         * benchtests/bench-strcmp-ifunc.c: New file.
57768         * benchtests/bench-strcmp.c: New file.
57769         * benchtests/bench-strcpy-ifunc.c: New file.
57770         * benchtests/bench-strcpy.c: New file.
57771         * benchtests/bench-strcspn-ifunc.c: New file.
57772         * benchtests/bench-strcspn.c: New file.
57773         * benchtests/bench-strlen-ifunc.c: New file.
57774         * benchtests/bench-strlen.c: New file.
57775         * benchtests/bench-strncasecmp-ifunc.c: New file.
57776         * benchtests/bench-strncasecmp.c: New file.
57777         * benchtests/bench-strncat-ifunc.c: New file.
57778         * benchtests/bench-strncat.c: New file.
57779         * benchtests/bench-strncmp-ifunc.c: New file.
57780         * benchtests/bench-strncmp.c: New file.
57781         * benchtests/bench-strncpy-ifunc.c: New file.
57782         * benchtests/bench-strncpy.c: New file.
57783         * benchtests/bench-strnlen-ifunc.c: New file.
57784         * benchtests/bench-strnlen.c: New file.
57785         * benchtests/bench-strpbrk-ifunc.c: New file.
57786         * benchtests/bench-strpbrk.c: New file.
57787         * benchtests/bench-strrchr-ifunc.c: New file.
57788         * benchtests/bench-strrchr.c: New file.
57789         * benchtests/bench-strspn-ifunc.c: New file.
57790         * benchtests/bench-strspn.c: New file.
57791         * benchtests/bench-strstr-ifunc.c: New file.
57792         * benchtests/bench-strstr.c: New file.
57794         * benchtests/Makefile: Disable parallel execution of targets.
57795         (string-bench): Add memcpy.
57796         (benchset): New variable to store a list of benchmark sets.
57797         (bench-func): Renamed from bench.
57798         (bench-set): New target.
57799         (bench): Depend on bench-func and bench-set.
57800         * benchtests/README: Add section on benchmark sets.
57801         * benchtests/bench-memcpy-ifunc.c: New file.
57802         * benchtests/bench-memcpy.c: New file.
57803         * benchtests/bench-string.h: New file.
57805 2013-06-11  Andreas Schwab  <schwab@suse.de>
57807         [BZ #15577]
57808         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
57809         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
57810         values in the triple.
57811         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
57812         terminator in the group key.
57814 2013-06-11  Andreas Jaeger  <aj@suse.de>
57816         * po/zh_TW.po: Update Chinese (traditional) translation from
57817         translation project.
57819 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57821         * include/time.h (__clock_gettime): Add libc_hidden_proto.
57822         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
57823         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
57824         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57825         (clock_getcpuclockid): Likewise.
57826         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
57827         Add weak_alias and libc_hidden_def.
57828         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
57829         * rt/clock_gettime.c (clock_gettime): Rename to
57830         __clock_gettime.  Add weak_alias and libc_hidden_def.
57831         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
57832         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
57833         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
57834         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
57835         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
57836         Likewise.
57837         * rt/clock_settime.c (clock_settime): Rename to
57838         __clock_settime.  Add weak_alias and libc_hidden_def.
57839         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
57841 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
57843         * mach/err_boot.sub: Remove trailing whitespace.
57844         * mach/err_ipc.sub: Likewise.
57845         * mach/err_mach.sub: Likewise.
57847         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
57848         (ROUNDING_TESTS_double): Likewise.
57849         (ROUNDING_TESTS_long_double): Likewise.
57850         (ROUNDING_TESTS): Likewise.
57851         * math/libm-test.inc: Include <math-tests.h>.
57852         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
57853         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57854         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57855         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57857 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57859         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
57860         of assigning.
57862 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
57864         * sysdeps/gnu/errlist.awk: Do not generate space at end of
57865         otherwise empty TRANS lines.
57866         * sysdeps/gnu/errlist.c: Regenerated.
57868         * catgets/gencat.c (error_print): Use (void) in function
57869         definition.
57870         * crypt/crypt_util.c (__init_des): Likewise.
57871         * crypt/speeds.c (Stop): Likewise.
57872         (main): Likewise.
57873         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
57874         * inet/ruserpass.c (token): Likewise.
57875         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
57876         * intl/localealias.c (extend_alias_table): Likewise.
57877         * intl/plural-exp.c (init_germanic_plural): Likewise.
57878         * libio/fcloseall.c (__fcloseall): Likewise.
57879         * libio/genops.c (_IO_flush_all): Likewise.
57880         (_IO_flush_all_linebuffered): Likewise.
57881         (_IO_cleanup): Likewise.
57882         (_IO_iter_begin): Likewise.
57883         (_IO_iter_end): Likewise.
57884         (_IO_list_lock): Likewise.
57885         (_IO_list_unlock): Likewise.
57886         (_IO_list_resetlock): Likewise.
57887         * libio/getchar.c (getchar): Likewise.
57888         * libio/getchar_u.c (getchar_unlocked): Likewise.
57889         * libio/getwchar.c (getwchar): Likewise.
57890         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
57891         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
57892         * login/getpt.c (__getpt): Likewise.
57893         * login/tst-utmp.c (main): Likewise.
57894         * malloc/hooks.c (__malloc_check_init): Likewise.
57895         * malloc/malloc.c (__malloc_stats): Likewise.
57896         * malloc/mtrace.c (tr_break): Likewise.
57897         (mtrace): Likewise.
57898         (muntrace): Likewise.
57899         * misc/fstab.c (endfsent): Likewise.
57900         * misc/getclktck.c (__getclktck): Likewise.
57901         * misc/getdtsz.c (__getdtablesize): Likewise.
57902         * misc/gethostid.c (gethostid): Likewise.
57903         * misc/getpagesize.c (__getpagesize): Likewise.
57904         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
57905         (__get_nprocs): Likewise.
57906         (__get_phys_pages): Likewise.
57907         (__get_avphys_pages): Likewise.
57908         * misc/getttyent.c (getttyent): Likewise.
57909         (setttyent): Likewise.
57910         (endttyent): Likewise.
57911         * misc/getusershell.c (getusershell): Likewise.
57912         (endusershell): Likewise.
57913         (setusershell): Likewise.
57914         (initshells): Likewise.
57915         * misc/hsearch.c (__hdestroy): Likewise.
57916         * misc/sync.c (sync): Likewise.
57917         * misc/syslog.c (closelog_internal): Likewise.
57918         (closelog): Likewise.
57919         * misc/ttyslot.c (ttyslot): Likewise.
57920         * misc/vhangup.c (vhangup): Likewise.
57921         * posix/fork.c (__fork): Likewise.
57922         * posix/getegid.c (__getegid): Likewise.
57923         * posix/geteuid.c (__geteuid): Likewise.
57924         * posix/getgid.c (__getgid): Likewise.
57925         * posix/getpid.c (__getpid): Likewise.
57926         * posix/getppid.c (__getppid): Likewise.
57927         * posix/getuid.c (__getuid): Likewise.
57928         * posix/pause.c (pause): Likewise.
57929         * posix/setpgrp.c (setpgrp): Likewise.
57930         * posix/setsid.c (__setsid): Likewise.
57931         * posix/test-vfork.c (noop): Likewise.
57932         * resolv/gethnamaddr.c (_endhtent): Likewise.
57933         (_gethtent): Likewise.
57934         (ht_endhostent): Likewise.
57935         (gethostent): Likewise.
57936         (dns_service): Likewise.
57937         * stdlib/drand48.c (drand48): Likewise.
57938         * stdlib/lrand48.c (lrand48): Likewise.
57939         * stdlib/mrand48.c (mrand48): Likewise.
57940         * stdlib/rand.c (rand): Likewise.
57941         * stdlib/random.c (__random): Likewise.
57942         * stdlib/setenv.c (clearenv): Likewise.
57943         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
57944         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
57945         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
57946         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
57947         (__get_nprocs): Likewise.
57948         (__get_phys_pages): Likewise.
57949         (__get_avphys_pages): Likewise.
57950         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
57951         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
57952         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
57953         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
57954         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
57955         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
57956         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
57957         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
57958         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
57959         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
57960         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
57961         * sysdeps/mach/hurd/sync.c (sync): Likewise.
57962         * sysdeps/posix/clock.c (clock): Likewise.
57963         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
57964         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
57965         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
57966         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
57967         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
57968         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
57969         (__get_nprocs_conf): Likewise.
57970         (__get_phys_pages): Likewise.
57971         (__get_avphys_pages): Likewise.
57972         * time/clock.c (clock): Likewise.
57973         * time/tzset.c (__tzname_max): Likewise.
57975 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
57977         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
57978         (__bswap_32): Do not use "register".
57979         * crypt/crypt.c (_ufc_doit_r): Likewise.
57980         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57981         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57982         * gmon/gmon.c (__monstartup): Likewise.
57983         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
57984         * hurd/hurdmalloc.c (more_memory): Likewise.
57985         (malloc): Likewise.
57986         (free): Likewise.
57987         (realloc): Likewise.
57988         (malloc_fork_prepare): Likewise.
57989         (malloc_fork_parent): Likewise.
57990         (malloc_fork_child): Likewise.
57991         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
57992         (_svcauth_des): Likewise.
57993         * inet/inet_lnaof.c (inet_lnaof): Likewise.
57994         * inet/inet_net.c (inet_network): Likewise.
57995         * inet/inet_netof.c (inet_netof): Likewise.
57996         * inet/rcmd.c (__validuser2_sa): Likewise.
57997         * io/fts.c (fts_open): Likewise.
57998         (fts_load): Likewise.
57999         (fts_close): Likewise.
58000         (fts_read): Likewise.
58001         (fts_children): Likewise.
58002         (fts_build): Likewise.
58003         (fts_stat): Likewise.
58004         (fts_sort): Likewise.
58005         (fts_alloc): Likewise.
58006         (fts_lfree): Likewise.
58007         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
58008         (_IO_file_xsgetn): Likewise.
58009         (_IO_file_xsgetn_mmap): Likewise.
58010         * libio/iofopncook.c (_IO_cookie_read): Likewise.
58011         (_IO_cookie_write): Likewise.
58012         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
58013         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
58014         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
58015         * malloc/obstack.c (_obstack_begin): Likewise.
58016         (_obstack_begin_1): Likewise.
58017         (_obstack_newchunk): Likewise.
58018         (_obstack_allocated_p): Likewise.
58019         (obstack_free): Likewise.
58020         (_obstack_memory_used): Likewise.
58021         * misc/getttyent.c (getttynam): Likewise.
58022         (getttyent): Likewise.
58023         (skip): Likewise.
58024         (value): Likewise.
58025         * misc/getusershell.c (initshells): Likewise.
58026         * misc/syslog.c (__vsyslog_chk): Likewise.
58027         * misc/ttyslot.c (ttyslot): Likewise.
58028         * nis/nis_hash.c (__nis_hash): Likewise.
58029         * posix/fnmatch_loop.c (FCT): Likewise.
58030         * posix/getconf.c (print_all): Likewise.
58031         (main): Likewise.
58032         * posix/getopt.c (exchange): Likewise.
58033         * posix/glob.c (globfree): Likewise.
58034         (prefix_array): Likewise.
58035         (__glob_pattern_type): Likewise.
58036         * resolv/arpa/nameser.h (NS_GET16): Likewise.
58037         (NS_GET32): Likewise.
58038         (NS_PUT16): Likewise.
58039         (NS_PUT32): Likewise.
58040         * resolv/gethnamaddr.c (getanswer): Likewise.
58041         (gethostbyname2): Likewise.
58042         (gethostbyaddr): Likewise.
58043         (_gethtent): Likewise.
58044         (_gethtbyname2): Likewise.
58045         (_gethtbyaddr): Likewise.
58046         * resolv/ns_print.c (dst_s_get_int16): Likewise.
58047         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
58048         * resolv/res_init.c (__res_vinit): Likewise.
58049         (net_mask): Likewise.
58050         * resolv/res_mkquery.c (outchar): Likewise.
58051         (PRINT): Likewise.
58052         * stdio-common/printf_fp.c (outchar): Likewise.
58053         (PRINT): Likewise.
58054         * stdio-common/printf_fphex.c (outchar): Likewise.
58055         (PRINT): Likewise.
58056         * stdio-common/printf_size.c (outchar): Likewise.
58057         (PRINT): Likewise.
58058         * stdio-common/test_rdwr.c (main): Likewise.
58059         * stdio-common/tfformat.c (matches): Likewise.
58060         * stdio-common/vfprintf.c (outchar): Likewise.
58061         (printf_unknown): Likewise.
58062         (buffered_vfprintf): Likewise.
58063         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
58064         * stdio-common/xbug.c (AppendToBuffer): Likewise.
58065         (ReadFile): Likewise.
58066         * stdlib/qsort.c (SWAP): Likewise.
58067         (_quicksort): Likewise.
58068         * stdlib/setenv.c (__add_to_environ): Likewise.
58069         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
58070         * stdlib/strtol_l.c (__strtol_l): Likewise.
58071         * stdlib/tst-strtod.c (main): Likewise.
58072         * stdlib/tst-strtol.c (main): Likewise.
58073         * stdlib/tst-strtoll.c (main): Likewise.
58074         * string/bits/string2.h (__strcmp_cc): Likewise.
58075         (__strcmp_cg): Likewise.
58076         (__strcspn_c1): Likewise.
58077         (__strcspn_c2): Likewise.
58078         (__strcspn_c3): Likewise.
58079         (__strspn_c1): Likewise.
58080         (__strspn_c2): Likewise.
58081         (__strspn_c3): Likewise.
58082         (__strsep_1c): Likewise.
58083         (__strsep_2c): Likewise.
58084         (__strsep_3c): Likewise.
58085         * string/memccpy.c (__memccpy): Likewise.
58086         * string/stpcpy.c (__stpcpy): Likewise.
58087         * string/strcmp.c (strcmp): Likewise.
58088         * string/strrchr.c (strrchr): Likewise.
58089         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
58090         Likewise.
58091         * sysdeps/mach/hurd/getcwd.c
58092         (_hurd_canonicalize_directory_name_internal): Likewise.
58093         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
58094         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
58095         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
58096         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
58097         Likewise, in both definitions.
58098         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
58099         definitions.
58100         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
58101         64] (__bswap_64): Likewise.
58102         * time/test_time.c (main): Likewise.
58103         * time/tzfile.c (__tzfile_read): Likewise.
58104         (__tzfile_compute): Likewise.
58105         * time/tzset.c (__tzset_parse_tz): Likewise.
58106         (tzset_internal): Likewise.
58107         (compute_change): Likewise.
58108         * wcsmbs/wcscat.c (__wcscat): Likewise.
58109         * wcsmbs/wcschr.c (wcschr): Likewise.
58110         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
58111         * wcsmbs/wcscspn.c (wcscspn): Likewise.
58112         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
58113         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
58114         * wcsmbs/wcsspn.c (wcsspn): Likewise.
58115         * wcsmbs/wcsstr.c (wcsstr): Likewise.
58116         * wcsmbs/wmemchr.c (wmemchr): Likewise.
58117         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58118         * wcsmbs/wmemset.c (wmemset): Likewise.
58120 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
58122         * scripts/config.guess: Update to version 2013-05-16.
58123         * scripts/config.sub: Update to version 2013-04-24.
58124         * scripts/install-sh: Update to version 2011-11-20.07.
58125         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
58126         * scripts/move-if-change: Update to version 2012-01-06 07:23.
58128 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
58130         * debug/fgetws_u_chk.c: Fix leading whitespaces.
58131         * elf/sln.c: Likewise.
58132         * hurd/hurd/ioctl.h: Likewise.
58133         * hurd/hurdmalloc.c: Likewise.
58134         * hurd/xattr.c: Likewise.
58135         * include/shlib-compat.h: Likewise.
58136         * inet/ruserpass.c: Likewise.
58137         * libio/iofgets_u.c: Likewise.
58138         * libio/iofgetws_u.c: Likewise.
58139         * locale/programs/ld-identification.c: Likewise.
58140         * locale/programs/ld-time.c: Likewise.
58141         * mach/msg-destroy.c: Likewise.
58142         * nss/nss_files/files-netgrp.c: Likewise.
58143         * resolv/res_data.c: Likewise.
58144         * soft-fp/op-1.h: Likewise.
58145         * soft-fp/op-2.h: Likewise.
58146         * soft-fp/op-4.h: Likewise.
58147         * soft-fp/op-common.h: Likewise.
58148         * stdio-common/printf_fphex.c: Likewise.
58149         * stdlib/strtod_l.c: Likewise.
58150         * sunrpc/rpc/clnt.h: Likewise.
58151         * sysdeps/generic/framestate.c: Likewise.
58152         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58153         * sysdeps/i386/bsd-setjmp.S: Likewise.
58154         * sysdeps/i386/__longjmp.S: Likewise.
58155         * sysdeps/i386/setjmp.S: Likewise.
58156         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58157         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58158         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58159         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58160         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58161         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
58162         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58163         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58164         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58165         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58166         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
58167         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
58168         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
58169         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
58170         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
58171         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58172         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
58173         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
58174         * sysdeps/ieee754/support.c: Likewise.
58175         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58176         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
58177         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
58178         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
58179         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
58180         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
58181         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
58182         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
58183         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
58184         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
58185         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
58186         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
58187         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
58188         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
58189         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
58190         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
58191         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
58194 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
58196         * posix/transbug.c: Remove executable mode.
58198 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
58200         * crypt/speeds.c: Remove trailing whitespace.
58201         * dlfcn/default.c: Likewise.
58202         * elf/ifuncdep2.c: Likewise.
58203         * elf/ifuncmain1.c: Likewise.
58204         * elf/ifuncmain1vis.c: Likewise.
58205         * elf/testobj.h: Likewise.
58206         * elf/tst-stackguard1.c: Likewise.
58207         * gmon/sys/gmon.h: Likewise.
58208         * hurd/hurdmsg.c: Likewise.
58209         * hurd/new-fd.c: Likewise.
58210         * hurd/ports-get.c: Likewise.
58211         * iconvdata/ibm1008_420.c: Likewise.
58212         * inet/tst-getni1.c: Likewise.
58213         * inet/tst-getni2.c: Likewise.
58214         * libio/ioungetc.c: Likewise.
58215         * libio/wfiledoalloc.c: Likewise.
58216         * manual/libm-err-tab.pl: Likewise.
58217         * math/w_dremf.c: Likewise.
58218         * misc/ftruncate.c: Likewise.
58219         * posix/bug-glob2.c: Likewise.
58220         * posix/tst-pcre.c: Likewise.
58221         * posix/wait4.c: Likewise.
58222         * resolv/README: Likewise.
58223         * resolv/res_debug.h: Likewise.
58224         * resolv/tst-inet_ntop.c: Likewise.
58225         * setjmp/bug269-setjmp.c: Likewise.
58226         * soft-fp/extended.h: Likewise.
58227         * soft-fp/op-1.h: Likewise.
58228         * soft-fp/op-2.h: Likewise.
58229         * soft-fp/op-4.h: Likewise.
58230         * soft-fp/op-8.h: Likewise.
58231         * soft-fp/testit.c: Likewise.
58232         * stdio-common/bug16.c: Likewise.
58233         * stdlib/random.c: Likewise.
58234         * sunrpc/rpcsvc/rquota.x: Likewise.
58235         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
58236         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58237         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58238         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58239         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58240         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58241         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58242         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58243         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58244         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58245         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58246         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
58247         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58248         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
58249         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58250         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
58251         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
58252         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58253         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
58254         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58255         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58256         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58257         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
58258         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
58259         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
58260         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
58261         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58262         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58263         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58264         * sysdeps/ieee754/s_lib_version.c: Likewise.
58265         * sysdeps/mach/hurd/check_fds.c: Likewise.
58266         * sysdeps/mach/hurd/getsockname.c: Likewise.
58267         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
58268         * sysdeps/mach/hurd/recvfrom.c: Likewise.
58269         * sysdeps/powerpc/bits/link.h: Likewise.
58270         * sysdeps/powerpc/dl-procinfo.c: Likewise.
58271         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
58272         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
58273         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
58274         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58275         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
58276         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
58277         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58278         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
58279         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58280         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
58281         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58282         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
58283         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58284         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58285         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58286         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58287         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58288         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58289         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58290         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58291         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
58292         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58293         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58294         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
58295         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58296         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58297         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58298         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58299         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58300         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58301         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58302         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58303         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58304         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
58305         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58306         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
58307         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58308         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
58309         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
58310         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
58311         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
58312         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
58313         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
58314         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58315         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
58316         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
58317         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58318         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
58319         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
58320         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58321         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58322         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58323         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58324         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
58325         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
58326         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
58327         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58328         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
58329         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
58330         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
58331         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
58332         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
58333         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58334         * sysdeps/powerpc/sysdep.h: Likewise.
58335         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58336         * sysdeps/s390/s390-64/sub_n.S: Likewise.
58337         * sysdeps/sh/dl-trampoline.S: Likewise.
58338         * sysdeps/sh/memset.S: Likewise.
58339         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
58340         * sysdeps/sh/strlen.S: Likewise.
58341         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
58342         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
58343         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
58344         * sysdeps/sparc/sparc32/rem.S: Likewise.
58345         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
58346         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
58347         * sysdeps/sparc/sparc32/strchr.S: Likewise.
58348         * sysdeps/sparc/sparc32/udiv.S: Likewise.
58349         * sysdeps/sparc/sparc32/urem.S: Likewise.
58350         * sysdeps/sparc/sparc64/add_n.S: Likewise.
58351         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58352         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
58353         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
58354         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
58355         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
58356         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
58357         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
58358         * sysdeps/unix/bsd/times.c: Likewise.
58359         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
58360         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
58361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
58362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
58363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
58364         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
58365         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58366         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
58367         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
58368         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
58369         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
58370         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58371         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
58372         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58373         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58374         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
58375         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58376         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
58377         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
58378         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
58379         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
58380         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
58381         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58382         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
58383         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
58384         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
58385         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
58386         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58387         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
58388         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
58389         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
58390         * sysdeps/x86_64/strcspn.S: Likewise.
58392 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58394         * locale/C-translit.h: Revert #include <stdint.h> because this is a
58395         generated file.  Regenerate properly from gen-translit.pl.
58396         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
58397         locale/C-translit.h.
58399 2013-06-05  Andreas Schwab  <schwab@suse.de>
58401         [BZ #15100]
58402         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
58403         week as 6 instead of -1.
58404         * time/tst-strptime.c (day_tests): Add test case.
58406 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58408         * sysdeps/generic/math_private.h
58409         (libc_feholdexcept_setround_53bit): Replace with
58410         libc_feholdsetround_53bit.
58411         (libc_feupdateenv_53bit): Replace with
58412         libc_feresetround_53bit.
58413         (SET_RESTORE_ROUND_53BIT): Adjust.
58415 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58417         * string/test-strchrnul.c: Add copyright header.
58419         * posix/tst-getaddrinfo4.c: Increase test timeout.
58421 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
58423         [BZ #15536]
58424         * math/libm-test.inc (MAX_EXP): Remove
58425         (MIN_EXP): Define.
58426         (ulp): Use MIN_EXP - MANT_DIG.
58427         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
58429 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
58431         * po/be.po: Revert last change.
58432         * po/zh_CN.po: Likewise.
58433         * po/header.pot: Likewise.
58435 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
58437         * Makefile ($(common-objpfx)linkobj/libc.so): Define
58438         link-libc-deps to empty as target-specific variable.
58439         * Makerules (link-libc-args): New variable.
58440         (libc-for-link): Likewise.
58441         (link-libc-deps): Likewise.
58442         (lib%.so): Depend on $(link-libc-deps).  Link with
58443         $(link-libc-args).
58444         (build-module): Link with $(link-libc-args).
58445         (build-module-asneeded): Likewise.
58446         (build-module-helper-objlist): Filter out $(link-libc-deps) from
58447         list of objects.
58448         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
58449         target-specific variable.
58450         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
58451         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
58452         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
58453         libc.
58454         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
58455         libc and ld.so.
58456         ($(objpfx)libpcprofile.so): Likewise.
58457         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
58458         libc_nonshared.a.
58459         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
58460         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
58461         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
58462         $(link-libc-deps).
58463         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
58464         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
58465         * login/Makefile ($(objpfx)libutil.so): Likewise.
58466         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
58467         * math/Makefile ($(objpfx)libm.so): Likewise.
58468         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
58469         $(objpfx)libnsl.so): Define libc-for-link as target-specific
58470         variable instead of depending directly on libc.
58471         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
58472         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
58473         $(link-libc-deps).
58474         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
58475         libc.
58476         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
58477         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
58478         ($(objpfx)libanl.so): Likewise.
58479         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
58480         ld.so.
58481         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
58482         $(link-libc-deps).
58483         * sysdeps/i386/fpu/Makefile: Remove file.
58484         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
58485         ($(objpfx)libm.so): Remove dependency on ld.so.
58487 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
58489         [BZ # 15553]
58490         * nis/yp_xdr.c (XDRMAXNAME): Define.
58491         (XDRMAXRECORD): Define.
58492         (xdr_domainname): Use XDRMAXNAME.
58493         (xdr_mapname): Likewise.
58494         (xdr_peername): Likewise.
58495         (xdr_keydat): Use XDRMAXRECORD.
58496         (xdr_valdat): Likewise.
58498 2013-05-30  Jeff Law  <law@redhat.com>
58500         [BZ #14256]
58501         * manual/errno.texi (ESTALE): Update to account for more than
58502         just NFS file systems.
58503         * sysdeps/gnu/errlist.c: Regenerated.
58505 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58507         [BZ #15465]
58508         * elf/Makefile (tests): Add tst-null-argv.
58509         (modules-names):  Add tst-null-argv-lib.
58510         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
58511         (tst-null-argv-ENV): Set environment for tst-null-argv.
58512         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
58513         (RTLD_PROGNAME): New macro.
58514         * elf/tst-null-argv.c: New test case.
58515         * elf/tst-null-argv-lib.c: Library for test case.
58516         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
58517         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
58518         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
58519         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
58520         * elf/dl-init.c (call_init): Likewise.
58521         (_dl_init): Likewise.
58522         * elf/dl-load.c (print_search_path): Likewise.
58523         (_dl_map_object): Likewise.
58524         * elf/dl-lookup.c (do_lookup_x): Likewise.
58525         (add_dependency): Likewise.
58526         (_dl_lookup_symbol_x): Likewise.
58527         (_dl_debug_bindings): Likewise.
58528         * elf/dl-open.c (_dl_show_scope): Likewise.
58529         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
58530         * elf/dl-version.c (match_symbol): Likewise.
58531         (_dl_check_map_versions): Likewise.
58532         * elf/rtld.c (dl_main): Likewise.
58533         (print_unresolved): Use RTLD_PROGNAME.
58534         (print_missing_version): Likewise.
58535         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
58536         (elf_machine_rela): Likewise.
58537         * sysdeps/powerpc/powerpc32/dl-machine.c
58538         (__process_machine_rela): Likewise.
58539         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58540         Likewise.
58541         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58542         Likewise.
58543         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
58544         Likewise.
58545         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58546         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
58547         Likewise.
58548         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
58549         Likewise.
58550         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58552 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
58554         * po/be.po: Add descriptive title.
58555         * po/zh_CN.po: Likewise.
58556         * po/header.pot: Likewise.
58558 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
58560         * locale/programs/locarchive.c (create_archive): Inlucde fname in
58561         error message.
58562         (enlarge_archive): Likewise.
58564 2013-05-28  Ben North  <ben@redfrontdoor.org>
58566         * manual/arith.texi (frexp): It is the magnitude of the return
58567         value which lies in [0.5, 1), not the return value itself.
58569 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58573 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
58575         * stdio-common/bug26.c (main): Correct fscanf template.
58577         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
58578         declare _dl_skip_args.
58580         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
58581         Don't declare.
58583         * manual/platform.texi: Add missing @end deftypefun.
58585 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58587         [BZ #15529]
58588         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
58589         bit of mantissa of 2^16382.
58590         * math/libm-test.inc (hypot_test_data): Add more tests.
58592         * math/libm-test.inc: Add drem and pow10 to list of tested
58593         functions.
58594         (pow10_test): New function.
58595         (drem_test): Likewise.
58596         (drem_test_tonearest): Likewise.
58597         (drem_test_towardzero): Likewise.
58598         (drem_test_downward): Likewise.
58599         (drem_test_upward): Likewise.
58600         (main): Call the new functions.
58602         * math/libm-test.inc (finite_test_data): Remove.
58603         (finite_test): Run tests from isfinite_test_data.
58604         (gamma_test_data): Remove.
58605         (gamma_test): Run tests from lgamma_test_data.
58606         * sysdeps/i386/fpu/libm-test-ulps: Update.
58607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58609 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58611         * manual/platform.texi: Add PowerPC PPR function set documentation.
58612         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
58613         implementation.
58615 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
58617         * math/libm-test.inc (MAX_EXP): Define.
58618         (ULPDIFF): Define.
58619         (ulp): New function.
58620         (check_float_internal): Use ULPDIFF.
58621         (cpow_test): Disable failing test.
58622         (check_ulp): Test ulp() implementation.
58623         (main): Call check_ulp before starting tests.
58625 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58627         * math/gen-libm-test.pl (generate_testfile): Do not handle
58628         START_DATA and END_DATA.
58629         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
58630         END_DATA.
58631         (acos_tonearest_test_data): Likewise.
58632         (acos_towardzero_test_data): Likewise.
58633         (acos_downward_test_data): Likewise.
58634         (acos_upward_test_data): Likewise.
58635         (acosh_test_data): Likewise.
58636         (asin_test_data): Likewise.
58637         (asin_tonearest_test_data): Likewise.
58638         (asin_towardzero_test_data): Likewise.
58639         (asin_downward_test_data): Likewise.
58640         (asin_upward_test_data): Likewise.
58641         (asinh_test_data): Likewise.
58642         (atan_test_data): Likewise.
58643         (atanh_test_data): Likewise.
58644         (atan2_test_data): Likewise.
58645         (cabs_test_data): Likewise.
58646         (cacos_test_data): Likewise.
58647         (cacosh_test_data): Likewise.
58648         (carg_test_data): Likewise.
58649         (casin_test_data): Likewise.
58650         (casinh_test_data): Likewise.
58651         (catan_test_data): Likewise.
58652         (catanh_test_data): Likewise.
58653         (cbrt_test_data): Likewise.
58654         (ccos_test_data): Likewise.
58655         (ccosh_test_data): Likewise.
58656         (ceil_test_data): Likewise.
58657         (cexp_test_data): Likewise.
58658         (cimag_test_data): Likewise.
58659         (clog_test_data): Likewise.
58660         (clog10_test_data): Likewise.
58661         (conj_test_data): Likewise.
58662         (copysign_test_data): Likewise.
58663         (cos_test_data): Likewise.
58664         (cos_tonearest_test_data): Likewise.
58665         (cos_towardzero_test_data): Likewise.
58666         (cos_downward_test_data): Likewise.
58667         (cos_upward_test_data): Likewise.
58668         (cosh_test_data): Likewise.
58669         (cosh_tonearest_test_data): Likewise.
58670         (cosh_towardzero_test_data): Likewise.
58671         (cosh_downward_test_data): Likewise.
58672         (cosh_upward_test_data): Likewise.
58673         (cpow_test_data): Likewise.
58674         (cproj_test_data): Likewise.
58675         (creal_test_data): Likewise.
58676         (csin_test_data): Likewise.
58677         (csinh_test_data): Likewise.
58678         (csqrt_test_data): Likewise.
58679         (ctan_test_data): Likewise.
58680         (ctan_tonearest_test_data): Likewise.
58681         (ctan_towardzero_test_data): Likewise.
58682         (ctan_downward_test_data): Likewise.
58683         (ctan_upward_test_data): Likewise.
58684         (ctanh_test_data): Likewise.
58685         (ctanh_tonearest_test_data): Likewise.
58686         (ctanh_towardzero_test_data): Likewise.
58687         (ctanh_downward_test_data): Likewise.
58688         (ctanh_upward_test_data): Likewise.
58689         (erf_test_data): Likewise.
58690         (erfc_test_data): Likewise.
58691         (exp_test_data): Likewise.
58692         (exp_tonearest_test_data): Likewise.
58693         (exp_towardzero_test_data): Likewise.
58694         (exp_downward_test_data): Likewise.
58695         (exp_upward_test_data): Likewise.
58696         (exp10_test_data): Likewise.
58697         (exp2_test_data): Likewise.
58698         (expm1_test_data): Likewise.
58699         (fabs_test_data): Likewise.
58700         (fdim_test_data): Likewise.
58701         (finite_test_data): Likewise.
58702         (floor_test_data): Likewise.
58703         (fma_test_data): Likewise.
58704         (fma_towardzero_test_data): Likewise.
58705         (fma_downward_test_data): Likewise.
58706         (fma_upward_test_data): Likewise.
58707         (fmax_test_data): Likewise.
58708         (fmin_test_data): Likewise.
58709         (fmod_test_data): Likewise.
58710         (fpclassify_test_data): Likewise.
58711         (frexp_test_data): Likewise.
58712         (gamma_test_data): Likewise.
58713         (hypot_test_data): Likewise.
58714         (ilogb_test_data): Likewise.
58715         (isfinite_test_data): Likewise.
58716         (isgreater_test_data): Likewise.
58717         (isgreaterequal_test_data): Likewise.
58718         (isinf_test_data): Likewise.
58719         (isless_test_data): Likewise.
58720         (islessequal_test_data): Likewise.
58721         (islessgreater_test_data): Likewise.
58722         (isnan_test_data): Likewise.
58723         (isnormal_test_data): Likewise.
58724         (issignaling_test_data): Likewise.
58725         (isunordered_test_data): Likewise.
58726         (j0_test_data): Likewise.
58727         (j1_test_data): Likewise.
58728         (jn_test_data): Likewise.
58729         (ldexp_test_data): Likewise.
58730         (lgamma_test_data): Likewise.
58731         (lrint_test_data): Likewise.
58732         (lrint_tonearest_test_data): Likewise.
58733         (lrint_towardzero_test_data): Likewise.
58734         (lrint_downward_test_data): Likewise.
58735         (lrint_upward_test_data): Likewise.
58736         (llrint_test_data): Likewise.
58737         (llrint_tonearest_test_data): Likewise.
58738         (llrint_towardzero_test_data): Likewise.
58739         (llrint_downward_test_data): Likewise.
58740         (llrint_upward_test_data): Likewise.
58741         (log_test_data): Likewise.
58742         (log10_test_data): Likewise.
58743         (log1p_test_data): Likewise.
58744         (log2_test_data): Likewise.
58745         (logb_test_data): Likewise.
58746         (logb_downward_test_data): Likewise.
58747         (lround_test_data): Likewise.
58748         (llround_test_data): Likewise.
58749         (modf_test_data): Likewise.
58750         (nearbyint_test_data): Likewise.
58751         (nextafter_test_data): Likewise.
58752         (nexttoward_test_data): Likewise.
58753         (pow_test_data): Likewise.
58754         (pow_tonearest_test_data): Likewise.
58755         (pow_towardzero_test_data): Likewise.
58756         (pow_downward_test_data): Likewise.
58757         (pow_upward_test_data): Likewise.
58758         (remainder_test_data): Likewise.
58759         (remainder_tonearest_test_data): Likewise.
58760         (remainder_towardzero_test_data): Likewise.
58761         (remainder_downward_test_data): Likewise.
58762         (remainder_upward_test_data): Likewise.
58763         (remquo_test_data): Likewise.
58764         (rint_test_data): Likewise.
58765         (rint_tonearest_test_data): Likewise.
58766         (rint_towardzero_test_data): Likewise.
58767         (rint_downward_test_data): Likewise.
58768         (rint_upward_test_data): Likewise.
58769         (round_test_data): Likewise.
58770         (scalb_test_data): Likewise.
58771         (scalbn_test_data): Likewise.
58772         (scalbln_test_data): Likewise.
58773         (signbit_test_data): Likewise.
58774         (sin_test_data): Likewise.
58775         (sin_tonearest_test_data): Likewise.
58776         (sin_towardzero_test_data): Likewise.
58777         (sin_downward_test_data): Likewise.
58778         (sin_upward_test_data): Likewise.
58779         (sincos_test_data): Likewise.
58780         (sinh_test_data): Likewise.
58781         (sinh_tonearest_test_data): Likewise.
58782         (sinh_towardzero_test_data): Likewise.
58783         (sinh_downward_test_data): Likewise.
58784         (sinh_upward_test_data): Likewise.
58785         (sqrt_test_data): Likewise.
58786         (tan_test_data): Likewise.
58787         (tan_tonearest_test_data): Likewise.
58788         (tan_towardzero_test_data): Likewise.
58789         (tan_downward_test_data): Likewise.
58790         (tan_upward_test_data): Likewise.
58791         (tanh_test_data): Likewise.
58792         (tgamma_test_data): Likewise.
58793         (trunc_test_data): Likewise.
58794         (y0_test_data): Likewise.
58795         (y1_test_data): Likewise.
58796         (yn_test_data): Likewise.
58797         (significand_test_data): Likewise.
58799         * math/gen-libm-test.pl (@functions): Remove variable.
58800         (generate_testfile): Don't handle START and END lines.
58801         * math/libm-test.inc (START): New macro.
58802         (END): Likewise.
58803         (END_COMPLEX): Likewise.
58804         (acos_test): Use END macro without arguments.
58805         (acos_test_tonearest): Likewise.
58806         (acos_test_towardzero): Likewise.
58807         (acos_test_downward): Likewise.
58808         (acos_test_upward): Likewise.
58809         (acosh_test): Likewise.
58810         (asin_test): Likewise.
58811         (asin_test_tonearest): Likewise.
58812         (asin_test_towardzero): Likewise.
58813         (asin_test_downward): Likewise.
58814         (asin_test_upward): Likewise.
58815         (asinh_test): Likewise.
58816         (atan_test): Likewise.
58817         (atanh_test): Likewise.
58818         (atan2_test): Likewise.
58819         (cabs_test): Likewise.
58820         (cacos_test): Use END_COMPLEX macro without arguments.
58821         (cacosh_test): Likewise.
58822         (carg_test): Use END macro without arguments.
58823         (casin_test): Use END_COMPLEX macro without arguments.
58824         (casinh_test): Likewise.
58825         (catan_test): Likewise.
58826         (catanh_test): Likewise.
58827         (cbrt_test): Use END macro without arguments.
58828         (ccos_test): Use END_COMPLEX macro without arguments.
58829         (ccosh_test): Likewise.
58830         (ceil_test): Use END macro without arguments.
58831         (cexp_test): Use END_COMPLEX macro without arguments.
58832         (cimag_test): Use END macro without arguments.
58833         (clog_test): Use END_COMPLEX macro without arguments.
58834         (clog10_test): Likewise.
58835         (conj_test): Likewise.
58836         (copysign_test): Use END macro without arguments.
58837         (cos_test): Likewise.
58838         (cos_test_tonearest): Likewise.
58839         (cos_test_towardzero): Likewise.
58840         (cos_test_downward): Likewise.
58841         (cos_test_upward): Likewise.
58842         (cosh_test): Likewise.
58843         (cosh_test_tonearest): Likewise.
58844         (cosh_test_towardzero): Likewise.
58845         (cosh_test_downward): Likewise.
58846         (cosh_test_upward): Likewise.
58847         (cpow_test): Use END_COMPLEX macro without arguments.
58848         (cproj_test): Likewise.
58849         (creal_test): Use END macro without arguments.
58850         (csin_test): Use END_COMPLEX macro without arguments.
58851         (csinh_test): Likewise.
58852         (csqrt_test): Likewise.
58853         (ctan_test): Likewise.
58854         (ctan_test_tonearest): Likewise.
58855         (ctan_test_towardzero): Likewise.
58856         (ctan_test_downward): Likewise.
58857         (ctan_test_upward): Likewise.
58858         (ctanh_test): Likewise.
58859         (ctanh_test_tonearest): Likewise.
58860         (ctanh_test_towardzero): Likewise.
58861         (ctanh_test_downward): Likewise.
58862         (ctanh_test_upward): Likewise.
58863         (erf_test): Use END macro without arguments.
58864         (erfc_test): Likewise.
58865         (exp_test): Likewise.
58866         (exp_test_tonearest): Likewise.
58867         (exp_test_towardzero): Likewise.
58868         (exp_test_downward): Likewise.
58869         (exp_test_upward): Likewise.
58870         (exp10_test): Likewise.
58871         (exp2_test): Likewise.
58872         (expm1_test): Likewise.
58873         (fabs_test): Likewise.
58874         (fdim_test): Likewise.
58875         (finite_test): Likewise.
58876         (floor_test): Likewise.
58877         (fma_test): Likewise.
58878         (fma_test_towardzero): Likewise.
58879         (fma_test_downward): Likewise.
58880         (fma_test_upward): Likewise.
58881         (fmax_test): Likewise.
58882         (fmin_test): Likewise.
58883         (fmod_test): Likewise.
58884         (fpclassify_test): Likewise.
58885         (frexp_test): Likewise.
58886         (gamma_test): Likewise.
58887         (hypot_test): Likewise.
58888         (ilogb_test): Likewise.
58889         (isfinite_test): Likewise.
58890         (isgreater_test): Likewise.
58891         (isgreaterequal_test): Likewise.
58892         (isinf_test): Likewise.
58893         (isless_test): Likewise.
58894         (islessequal_test): Likewise.
58895         (islessgreater_test): Likewise.
58896         (isnan_test): Likewise.
58897         (isnormal_test): Likewise.
58898         (issignaling_test): Likewise.
58899         (isunordered_test): Likewise.
58900         (j0_test): Likewise.
58901         (j1_test): Likewise.
58902         (jn_test): Likewise.
58903         (ldexp_test): Likewise.
58904         (lgamma_test): Likewise.
58905         (lrint_test): Likewise.
58906         (lrint_test_tonearest): Likewise.
58907         (lrint_test_towardzero): Likewise.
58908         (lrint_test_downward): Likewise.
58909         (lrint_test_upward): Likewise.
58910         (llrint_test): Likewise.
58911         (llrint_test_tonearest): Likewise.
58912         (llrint_test_towardzero): Likewise.
58913         (llrint_test_downward): Likewise.
58914         (llrint_test_upward): Likewise.
58915         (log_test): Likewise.
58916         (log10_test): Likewise.
58917         (log1p_test): Likewise.
58918         (log2_test): Likewise.
58919         (logb_test): Likewise.
58920         (logb_test_downward): Likewise.
58921         (lround_test): Likewise.
58922         (llround_test): Likewise.
58923         (modf_test): Likewise.
58924         (nearbyint_test): Likewise.
58925         (nextafter_test): Likewise.
58926         (nexttoward_test): Likewise.
58927         (pow_test): Likewise.
58928         (pow_test_tonearest): Likewise.
58929         (pow_test_towardzero): Likewise.
58930         (pow_test_downward): Likewise.
58931         (pow_test_upward): Likewise.
58932         (remainder_test): Likewise.
58933         (remainder_test_tonearest): Likewise.
58934         (remainder_test_towardzero): Likewise.
58935         (remainder_test_downward): Likewise.
58936         (remainder_test_upward): Likewise.
58937         (remquo_test): Likewise.
58938         (rint_test): Likewise.
58939         (rint_test_tonearest): Likewise.
58940         (rint_test_towardzero): Likewise.
58941         (rint_test_downward): Likewise.
58942         (rint_test_upward): Likewise.
58943         (round_test): Likewise.
58944         (scalb_test): Likewise.
58945         (scalbn_test): Likewise.
58946         (scalbln_test): Likewise.
58947         (signbit_test): Likewise.
58948         (sin_test): Likewise.
58949         (sin_test_tonearest): Likewise.
58950         (sin_test_towardzero): Likewise.
58951         (sin_test_downward): Likewise.
58952         (sin_test_upward): Likewise.
58953         (sincos_test): Likewise.
58954         (sinh_test): Likewise.
58955         (sinh_test_tonearest): Likewise.
58956         (sinh_test_towardzero): Likewise.
58957         (sinh_test_downward): Likewise.
58958         (sinh_test_upward): Likewise.
58959         (sqrt_test): Likewise.
58960         (tan_test): Likewise.
58961         (tan_test_tonearest): Likewise.
58962         (tan_test_towardzero): Likewise.
58963         (tan_test_downward): Likewise.
58964         (tan_test_upward): Likewise.
58965         (tanh_test): Likewise.
58966         (tgamma_test): Likewise.
58967         (trunc_test): Likewise.
58968         (y0_test): Likewise.
58969         (y1_test): Likewise.
58970         (yn_test): Likewise.
58971         (significand_test): Likewise.
58973 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
58975         [BZ #15381]
58976         * libio/genops.c (_IO_no_init): Initialize wide struct info.
58978 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58980         [BZ #14894]
58981         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
58982         __ppc_mdoio and __ppc_mdoom.
58983         * manual/platform.texi: Document new functions __ppc_yield,
58984         __ppc_mdoio and __ppc_mdoom.
58986 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
58988         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
58989         (main): Mention "tls" pseudo-hwcap is legacy.
58990         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
58992 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
58994         * math/gen-libm-test.pl (parse_args): Output only string of
58995         arguments as text for test name, not full call or descriptions of
58996         tests for extra outputs.
58997         (generate_testfile): Do not pass function name to parse_args.
58998         Generate this_func variable from START.
58999         * math/libm-test.inc (struct test_f_f_data): Rename test_name
59000         field to arg_str.
59001         (struct test_ff_f_data): Likewise.
59002         (test_ff_f_data_nexttoward): Likewise.
59003         (struct test_fi_f_data): Likewise.
59004         (struct test_fl_f_data): Likewise.
59005         (struct test_if_f_data): Likewise.
59006         (struct test_fff_f_data): Likewise.
59007         (struct test_c_f_data): Likewise.
59008         (struct test_f_f1_data): Likewise.  Remove field extra_name.
59009         (struct test_fF_f1_data): Likewise.
59010         (struct test_ffI_f1_data): Likewise.
59011         (struct test_c_c_data): Rename test_name field to arg_str.
59012         (struct test_cc_c_data): Likewise.
59013         (struct test_f_i_data): Likewise.
59014         (struct test_ff_i_data): Likewise.
59015         (struct test_f_l_data): Likewise.
59016         (struct test_f_L_data): Likewise.
59017         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
59018         and extra2_name.
59019         (COMMON_TEST_SETUP): New macro.
59020         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
59021         (COMMON_TEST_CLEANUP): Likewise.
59022         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
59023         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
59024         macros.
59025         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
59026         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
59027         macros.
59028         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
59029         (RUN_TEST_fff_f): Take argument string.  Call new setup and
59030         cleanup macros.
59031         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
59032         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
59033         macros.
59034         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
59035         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
59036         macros.
59037         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59038         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
59039         cleanup macros.
59040         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59041         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
59042         cleanup macros.
59043         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59044         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
59045         cleanup macros.
59046         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59047         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
59048         macros.
59049         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
59050         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
59051         macros.
59052         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
59053         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
59054         macros.
59055         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
59056         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
59057         cleanup macros.
59058         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
59059         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
59060         cleanup macros.
59061         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
59062         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
59063         macros.
59064         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
59065         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
59066         cleanup macros.
59067         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
59068         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
59069         macros.
59070         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
59071         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
59072         macros.
59073         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
59074         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
59075         cleanup macros.
59076         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
59078 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
59080         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
59081         to _sifields.sigfault.
59082         (si_addr_lsb): Define new macro.
59083         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59084         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59085         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
59087 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
59089         [BZ #15441]
59090         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
59091         returns -1.
59092         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
59093         null return -1.
59094         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
59095         loading the domain.
59097 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59099         * math/gen-libm-test.pl (parse_args): Do not include expected
59100         result in test name.
59101         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
59102         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59103         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59104         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59105         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59108 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59110         * benchtests/Makefile: Sort function entries.
59112         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
59113         tanh, asinh, acosh, atanh.
59114         * benchtests/acos-inputs: New file.
59115         * benchtests/acosh-inputs: New file.
59116         * benchtests/asin-inputs: New file.
59117         * benchtests/asinh-inputs: New file.
59118         * benchtests/atanh-inputs: New file.
59119         * benchtests/cosh-inputs: New file.
59120         * benchtests/log-inputs: New file.
59121         * benchtests/sinh-inputs: New file.
59122         * benchtests/tanh-inputs: New file.
59124 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
59126         [BZ #15339]
59127         * posix/tst-getaddrinfo4.c: New test.
59128         * posix/Makefile (tests): Add it.
59130 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59132         [BZ #15339]
59133         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
59134         when no services were used.
59135         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
59136         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
59138 2013-05-21  Andreas Schwab  <schwab@suse.de>
59140         [BZ #15014]
59141         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
59142         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
59143         successful.
59144         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
59145         redundant variable declarations and reallocation of buffer when
59146         parsing as IPv6 address.  Always set NSS status when called from
59147         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
59148         buffer too small.  Correct computation of needed size.
59149         * nss/Makefile (tests): Add test-digits-dots.
59150         * nss/test-digits-dots.c: New test.
59152 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59154         * benchtests/Makefile: Remove instructions for adding
59155         benchmark tests.
59156         * benchtests/README: New file to explain how to execute and
59157         enhance the benchmark tests.
59159 2013-05-21  Andreas Schwab  <schwab@suse.de>
59161         [BZ #15493]
59162         * setjmp/Makefile (tests): Add tst-sigsetjmp.
59163         * setjmp/tst-sigsetjmp.c: New test.
59165 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59167         * sysdeps/x86_64/memset.S (memset): New implementation.
59168         (__bzero): Likewise.
59169         (__memset_tail): New function.
59171 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59173         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
59174         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
59175         __memcpy_sse2_unaligned ifunc selection.
59176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59177         Add memcpy-sse2-unaligned.S.
59178         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59179         Add: __memcpy_sse2_unaligned.
59181 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
59183         [BZ #15490]
59184         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59185         math_force_eval before restoring floating-point envrionment.
59186         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
59187         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
59188         Likewise.
59189         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
59190         <math_private.h>.
59191         (__nearbyintl): Use math_force_eval before restoring
59192         floating-point environment.
59193         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
59195         * math/gen-libm-test.pl (special_functions): Remove.
59196         (parse_args): Don't handle TEST_extra.  Handle functions with no
59197         return value.
59198         * math/libm-test.inc (struct test_sincos_data): Replace with
59199         struct test_fFF_11_data.
59200         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
59201         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
59202         (sincos_test_data): Change element type to struct
59203         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
59204         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
59205         RUN_TEST_LOOP_sincos.
59206         * math/README.libm-test: Don't mention special handling of
59207         individual functions.
59208         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
59209         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59210         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59211         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59212         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59215         * math/gen-libm-test.pl (get_variable): Remove function.
59216         (parse_args): Don't show pointer parameters to call in test
59217         names.  Use "extra output N" in test names for extra outputs
59218         rather than naming variables.
59220 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
59222         [BZ #15488]
59223         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
59224         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
59225         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
59226         double tests.
59227         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
59228         disable.
59229         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
59230         check_long_double.
59232         * math/gen-libm-test.pl (@tests): Remove variable.
59233         ($count): Likewise.
59234         (new_test): Remove function.
59235         (show_exceptions): New function.
59236         (special_functions): Use show_exceptions instead of new_test.
59237         (parse_args): Likewise.
59238         (generate_testfile): Pass only function name in generated call to
59239         print_max_error or print_complex_max_error.
59240         (get_ulps): Do not handle complex tests specially.
59241         (output_test): Rename to ...
59242         (get_all_ulps_for_test): ... this.  Return a string rather than
59243         printing to a file.  Require ulps to be present.
59244         (output_ulps): Generate arrays rather than #defines.
59245         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
59246         (struct ulp_data): New type.
59247         (BUILD_COMPLEX_ULP): Remove macro.
59248         (compare_ulp_data): New function.
59249         (find_ulps): Likewise.
59250         (find_test_ulps): Likewise.
59251         (find_function_ulps): Likewise.
59252         (find_complex_function_ulps): Likewise.
59253         (print_max_error): Determine allowed ulps using
59254         find_function_ulps.
59255         (print_complex_max_error): Determine allowed ulps using
59256         find_complex_function_ulps.
59257         (check_float_internal): Determine max ulps using find_test_ulps.
59258         (check_float): Do not take max_ulp parameter.  Update call to
59259         check_float_internal.
59260         (check_complex): Likewise.
59261         (check_int): Do not take max_ulp parameter.
59262         (check_long): Likewise.
59263         (check_bool): Likewise.
59264         (check_longlong): Likewise.
59265         (struct test_f_f_data): Remove max_ulp field.
59266         (struct test_ff_f_data): Likewise.
59267         (struct test_ff_f_data_nexttoward): Likewise.
59268         (struct test_fi_f_data): Likewise.
59269         (struct test_fl_f_data): Likewise.
59270         (struct test_if_f_data): Likewise.
59271         (struct test_fff_f_data): Likewise.
59272         (struct test_c_f_data): Likewise.
59273         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
59274         (struct test_fF_f1_data): Likewise.
59275         (struct test_ffI_f1_data): Likewise.
59276         (struct test_c_c_data): Remove max_ulp field.
59277         (struct test_cc_c_data): Likewise.
59278         (struct test_f_i_data): Likewise.
59279         (struct test_ff_i_data): Likewise.
59280         (struct test_f_l_data): Likewise.
59281         (struct test_f_L_data): Likewise.
59282         (struct test_sincos_data): Likewise.
59283         (RUN_TEST_f_f): Do not handle ulps.
59284         (RUN_TEST_LOOP_f_f): Likewise.
59285         (RUN_TEST_2_f): Likewise.
59286         (RUN_TEST_LOOP_2_f): Likewise.
59287         (RUN_TEST_fff_f): Likewise.
59288         (RUN_TEST_LOOP_fff_f): Likewise.
59289         (RUN_TEST_c_f): Likewise.
59290         (RUN_TEST_LOOP_c_f): Likewise.
59291         (RUN_TEST_f_f1): Likewise.
59292         (RUN_TEST_LOOP_f_f1): Likewise.
59293         (RUN_TEST_fF_f1): Likewise.
59294         (RUN_TEST_LOOP_fF_f1): Likewise.
59295         (RUN_TEST_fI_f1): Likewise.
59296         (RUN_TEST_LOOP_fI_f1): Likewise.
59297         (RUN_TEST_ffI_f1): Likewise.
59298         (RUN_TEST_LOOP_ffI_f1): Likewise.
59299         (RUN_TEST_c_c): Likewise.
59300         (RUN_TEST_LOOP_c_c): Likewise.
59301         (RUN_TEST_cc_c): Likewise.
59302         (RUN_TEST_LOOP_cc_c): Likewise.
59303         (RUN_TEST_f_i): Likewise.
59304         (RUN_TEST_LOOP_f_i): Likewise.
59305         (RUN_TEST_f_i_tg): Likewise.
59306         (RUN_TEST_LOOP_f_i_tg): Likewise.
59307         (RUN_TEST_ff_i_tg): Likewise.
59308         (RUN_TEST_LOOP_ff_i_tg): Likewise.
59309         (RUN_TEST_f_b): Likewise.
59310         (RUN_TEST_LOOP_f_b): Likewise.
59311         (RUN_TEST_f_b_tg): Likewise.
59312         (RUN_TEST_LOOP_f_b_tg): Likewise.
59313         (RUN_TEST_f_l): Likewise.
59314         (RUN_TEST_LOOP_f_l): Likewise.
59315         (RUN_TEST_f_L): Likewise.
59316         (RUN_TEST_LOOP_f_L): Likewise.
59317         (RUN_TEST_sincos): Likewise.
59318         (RUN_TEST_LOOP_sincos): Likewise.
59320 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
59322         [BZ #15480]
59323         [BZ #15485]
59324         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
59325         main case of finite arguments, set rounding mode to FE_TONEAREST
59326         and discard exceptions.
59327         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
59328         exceptions.
59329         (remainder_tonearest_test_data): New variable.
59330         (remainder_test_tonearest): New function.
59331         (remainder_towardzero_test_data): New variable.
59332         (remainder_test_towardzero): New function.
59333         (remainder_downward_test_data): New variable.
59334         (remainder_test_downward): New function.
59335         (remainder_upward_test_data): New variable.
59336         (remainder_test_upward): New function.
59337         (main): Call the new test functions.
59339         * math/libm-test.inc (struct test_f_f1_data): Remove field
59340         extra_init.
59341         (struct test_fF_f1_data): Likewise.
59342         (struct test_ffI_f1_data): Likewise.
59343         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
59344         based on value of EXTRA_EXPECTED.
59345         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59346         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
59347         EXTRA_VAR based on value of EXTRA_EXPECTED.
59348         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59349         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
59350         EXTRA_VAR based on value of EXTRA_EXPECTED.
59351         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59352         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
59353         EXTRA_VAR based on value of EXTRA_EXPECTED.
59354         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59355         * math/gen-libm-test.pl (parse_args): Don't output initializers
59356         for extra output values.
59358         * math/libm-test.inc (check_int): Expect result to be exactly
59359         equal to expected value and do not handle ulps.
59360         (check_long): Likewise.
59361         (check_longlong): Likewise.
59363         * math/libm-test.inc (ceil_test_data): Test for "inexact"
59364         exceptions.
59365         (cimag_test_data): Likewise.
59366         (conj_test_data): Likewise.
59367         (copysign_test_data): Likewise.
59368         (cproj_test_data): Likewise.
59369         (creal_test_data): Likewise.
59370         (fabs_test_data): Likewise.
59371         (fdim_test_data): Likewise.
59372         (finite_test_data): Likewise.
59373         (floor_test_data): Likewise.
59374         (fmax_test_data): Likewise.
59375         (fmin_test_data): Likewise.
59376         (fmod_test_data): Likewise.
59377         (fpclassify_test_data): Likewise.
59378         (frexp_test_data): Likewise.
59379         (ilogb_test_data): Likewise.
59380         (isfinite_test_data): Likewise.
59381         (isgreater_test_data): Likewise.
59382         (isgreaterequal_test_data): Likewise.
59383         (isinf_test_data): Likewise.
59384         (isless_test_data): Likewise.
59385         (islessequal_test_data): Likewise.
59386         (islessgreater_test_data): Likewise.
59387         (isnan_test_data): Likewise.
59388         (isnormal_test_data): Likewise.
59389         (issignaling_test_data): Likewise.
59390         (isunordered_test_data): Likewise.
59391         (ldexp_test_data): Likewise.
59392         (lrint_test_data): Likewise.
59393         (lrint_test_data) [TEST_FLOAT]: Disable one test.
59394         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
59395         (lrint_tonearest_test_data): Test for "inexact" exceptions.
59396         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59397         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
59398         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59399         test input.
59400         (lrint_towardzero_test_data): Test for "inexact" exceptions.
59401         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59402         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
59403         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
59404         that test input.
59405         (lrint_downward_test_data): Test for "inexact" exceptions.
59406         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59407         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
59408         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59409         test input.
59410         (lrint_upward_test_data): Test for "inexact" exceptions.
59411         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
59412         test input.
59413         (llrint_test_data): Test for "inexact" exceptions.
59414         (llrint_test_data) [TEST_FLOAT]: Disable one test.
59415         (llrint_tonearest_test_data): Test for "inexact" exceptions.
59416         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59417         (llrint_towardzero_test_data): Test for "inexact" exceptions.
59418         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59419         (llrint_downward_test_data): Test for "inexact" exceptions.
59420         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59421         (llrint_upward_test_data): Test for "inexact" exceptions.
59422         (logb_test_data): Likewise.
59423         (logb_downward_test_data): Likewise.
59424         (nextafter_test_data): Likewise.
59425         (nexttoward_test_data): Likewise.
59426         (remainder_test_data): Likewise.
59427         (remquo_test_data): Likewise.
59428         (scalbn_test_data): Likewise.
59429         (scalbln_test_data): Likewise.
59430         (signbit_test_data): Likewise.
59431         (sqrt_test_data): Likewise.
59432         (significand_test_data): Likewise.
59434 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59436         [BZ #15424]
59437         * benchtests/bench-modf.c (struct args): Mark arg0 as
59438         volatile.
59439         * scripts/bench.pl: Mark members of struct args as volatile.
59441 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59443         [BZ # 15497]
59444         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
59445         negative infinity on POWER6 or lower.
59446         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
59448 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
59450         [BZ #15442]
59451         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
59452         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
59453         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
59454         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
59455         (_FP_SETQNAN): New macro.
59456         (_FP_SETQNAN_SEMIRAW): Likewise.
59457         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
59458         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
59459         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
59460         (FP_EXTEND): Use _FP_FRAC_SNANP.
59461         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
59462         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
59463         into account.
59464         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59465         New macro.
59466         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59467         Likewise.
59469 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59471         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
59472         with DIVIDE_BY_ZERO_EXCEPTION.
59473         (gamma_test_data): Likewise.
59474         (lgamma_test_data): Likewise.
59475         (log_test_data): Likewise.
59476         (log10_test_data): Likewise.
59477         (log2_test_data): Likewise.
59478         (tgamma_test_data): Likewise.
59480         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
59481         (acos_test_tonearest): Likewise.
59482         (acos_test_towardzero): Likewise.
59483         (acos_test_downward): Likewise.
59484         (acos_test_upward): Likewise.
59485         (acosh_test): Likewise.
59486         (asin_test): Likewise.
59487         (asin_test_tonearest): Likewise.
59488         (asin_test_towardzero): Likewise.
59489         (asin_test_downward): Likewise.
59490         (asin_test_upward): Likewise.
59491         (asinh_test): Likewise.
59492         (atan_test): Likewise.
59493         (atanh_test): Likewise.
59494         (atan2_test): Likewise.
59495         (cabs_test): Likewise.
59496         (cacos_test): Likewise.
59497         (cacosh_test): Likewise.
59498         (casin_test): Likewise.
59499         (casinh_test): Likewise.
59500         (catan_test): Likewise.
59501         (catanh_test): Likewise.
59502         (cbrt_test): Likewise.
59503         (ccos_test): Likewise.
59504         (ccosh_test): Likewise.
59505         (cexp_test): Likewise.
59506         (clog_test): Likewise.
59507         (clog10_test): Likewise.
59508         (cos_test): Likewise.
59509         (cos_test_tonearest): Likewise.
59510         (cos_test_towardzero): Likewise.
59511         (cos_test_downward): Likewise.
59512         (cos_test_upward): Likewise.
59513         (cosh_test): Likewise.
59514         (cosh_test_tonearest): Likewise.
59515         (cosh_test_towardzero): Likewise.
59516         (cosh_test_downward): Likewise.
59517         (cosh_test_upward): Likewise.
59518         (cpow_test): Likewise.
59519         (csin_test): Likewise.
59520         (csinh_test): Likewise.
59521         (csqrt_test): Likewise.
59522         (ctan_test): Likewise.
59523         (ctan_test_tonearest): Likewise.
59524         (ctan_test_towardzero): Likewise.
59525         (ctan_test_downward): Likewise.
59526         (ctan_test_upward): Likewise.
59527         (ctanh_test): Likewise.
59528         (ctanh_test_tonearest): Likewise.
59529         (ctanh_test_towardzero): Likewise.
59530         (ctanh_test_downward): Likewise.
59531         (ctanh_test_upward): Likewise.
59532         (erf_test): Likewise.
59533         (erfc_test): Likewise.
59534         (exp_test): Likewise.
59535         (exp_test_tonearest): Likewise.
59536         (exp_test_towardzero): Likewise.
59537         (exp_test_downward): Likewise.
59538         (exp_test_upward): Likewise.
59539         (exp10_test): Likewise.
59540         (exp2_test): Likewise.
59541         (expm1_test): Likewise.
59542         (fmod_test): Likewise.
59543         (gamma_test): Likewise.
59544         (hypot_test): Likewise.
59545         (j0_test): Likewise.
59546         (j1_test): Likewise.
59547         (jn_test): Likewise.
59548         (lgamma_test): Likewise.
59549         (log_test): Likewise.
59550         (log10_test): Likewise.
59551         (log1p_test): Likewise.
59552         (log2_test): Likewise.
59553         (logb_test_downward): Likewise.
59554         (pow_test): Likewise.
59555         (pow_test_tonearest): Likewise.
59556         (pow_test_towardzero): Likewise.
59557         (pow_test_downward): Likewise.
59558         (pow_test_upward): Likewise.
59559         (remainder_test): Likewise.
59560         (remquo_test): Likewise.
59561         (sin_test): Likewise.
59562         (sin_test_tonearest): Likewise.
59563         (sin_test_towardzero): Likewise.
59564         (sin_test_downward): Likewise.
59565         (sin_test_upward): Likewise.
59566         (sincos_test): Likewise.
59567         (sinh_test): Likewise.
59568         (sinh_test_tonearest): Likewise.
59569         (sinh_test_towardzero): Likewise.
59570         (sinh_test_downward): Likewise.
59571         (sinh_test_upward): Likewise.
59572         (sqrt_test): Likewise.
59573         (tan_test): Likewise.
59574         (tan_test_tonearest): Likewise.
59575         (tan_test_towardzero): Likewise.
59576         (tan_test_downward): Likewise.
59577         (tan_test_upward): Likewise.
59578         (tanh_test): Likewise.
59579         (tgamma_test): Likewise.
59580         (y0_test): Likewise.
59581         (y1_test): Likewise.
59582         (yn_test): Likewise.
59584         * math/gen-libm-test.pl (adjust_arg): Remove function.
59585         (special_function): Remove argument $in_func.  Only handle
59586         generating output for tables of tests, not inside functions.
59587         (parse_args): Likewise.
59588         (generate_testfile): Remove variable $in_func.  Update call to
59589         parse_args.
59590         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
59591         (MINUS_ZERO_INIT): Rename macro to minus_zero.
59592         (PLUS_INFTY_INIT): Rename macro to plus_infty.
59593         (MINUS_INFTY_INIT): Rename macro to minus_infty.
59594         (QNAN_VALUE_INIT): Rename macro to qnan_value.
59595         (MAX_VALUE_INIT): Rename macro to max_value.
59596         (MIN_VALUE_INIT): Rename macro to min_value.
59597         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
59598         (plus_zero): Remove variable.
59599         (minus_zero): Likewise.
59600         (plus_infty): Likewise.
59601         (minus_infty): Likewise.
59602         (qnan_value): Likewise.
59603         (max_value): Likewise.
59604         (min_value): Likewise.
59605         (min_subnorm_value): Likewise.
59607 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59609         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
59610         uint64_t or uint32_t usage.
59611         * crypt/sha256-block.c: Likewise.
59612         * crypt/sha256-crypt.c: Likewise.
59613         * crypt/sha256.c: Likewise.
59614         * crypt/sha512-block.c: Likewise.
59615         * crypt/sha512-crypt.c: Likewise.
59616         * crypt/sha512.c: Likewise.
59617         * debug/backtrace-tst.c: Likewise.
59618         * debug/pcprofiledump.c: Likewise.
59619         * elf/cache.c: Likewise.
59620         * elf/dl-cache.c: Likewise.
59621         * elf/dl-misc.c: Likewise.
59622         * elf/dl-profile.c: Likewise.
59623         * elf/dl-support.c: Likewise.
59624         * elf/ldconfig.c: Likewise.
59625         * elf/sprof.c: Likewise.
59626         * iconv/dummy-repertoire.c: Likewise.
59627         * iconv/iconv_charmap.c: Likewise.
59628         * iconv/skeleton.c: Likewise.
59629         * iconvdata/8bit-generic.c: Likewise.
59630         * iconvdata/cp737.h: Likewise.
59631         * iconvdata/cp775.h: Likewise.
59632         * iconvdata/ibm1008.h: Likewise.
59633         * iconvdata/ibm1025.h: Likewise.
59634         * iconvdata/ibm1046.h: Likewise.
59635         * iconvdata/ibm1097.h: Likewise.
59636         * iconvdata/ibm1112.h: Likewise.
59637         * iconvdata/ibm1122.h: Likewise.
59638         * iconvdata/ibm1123.h: Likewise.
59639         * iconvdata/ibm1124.h: Likewise.
59640         * iconvdata/ibm1129.h: Likewise.
59641         * iconvdata/ibm1130.h: Likewise.
59642         * iconvdata/ibm1132.h: Likewise.
59643         * iconvdata/ibm1133.h: Likewise.
59644         * iconvdata/ibm1137.h: Likewise.
59645         * iconvdata/ibm1140.h: Likewise.
59646         * iconvdata/ibm1141.h: Likewise.
59647         * iconvdata/ibm1142.h: Likewise.
59648         * iconvdata/ibm1143.h: Likewise.
59649         * iconvdata/ibm1144.h: Likewise.
59650         * iconvdata/ibm1145.h: Likewise.
59651         * iconvdata/ibm1146.h: Likewise.
59652         * iconvdata/ibm1147.h: Likewise.
59653         * iconvdata/ibm1148.h: Likewise.
59654         * iconvdata/ibm1149.h: Likewise.
59655         * iconvdata/ibm1153.h: Likewise.
59656         * iconvdata/ibm1154.h: Likewise.
59657         * iconvdata/ibm1155.h: Likewise.
59658         * iconvdata/ibm1156.h: Likewise.
59659         * iconvdata/ibm1157.h: Likewise.
59660         * iconvdata/ibm1158.h: Likewise.
59661         * iconvdata/ibm1160.h: Likewise.
59662         * iconvdata/ibm1161.h: Likewise.
59663         * iconvdata/ibm1162.h: Likewise.
59664         * iconvdata/ibm1163.h: Likewise.
59665         * iconvdata/ibm1164.h: Likewise.
59666         * iconvdata/ibm1166.h: Likewise.
59667         * iconvdata/ibm1167.h: Likewise.
59668         * iconvdata/ibm12712.h: Likewise.
59669         * iconvdata/ibm1390.h: Likewise.
59670         * iconvdata/ibm1399.h: Likewise.
59671         * iconvdata/ibm16804.h: Likewise.
59672         * iconvdata/ibm4517.h: Likewise.
59673         * iconvdata/ibm4899.h: Likewise.
59674         * iconvdata/ibm4909.h: Likewise.
59675         * iconvdata/ibm4971.h: Likewise.
59676         * iconvdata/ibm5347.h: Likewise.
59677         * iconvdata/ibm803.h: Likewise.
59678         * iconvdata/ibm856.h: Likewise.
59679         * iconvdata/ibm901.h: Likewise.
59680         * iconvdata/ibm902.h: Likewise.
59681         * iconvdata/ibm9030.h: Likewise.
59682         * iconvdata/ibm9066.h: Likewise.
59683         * iconvdata/ibm921.h: Likewise.
59684         * iconvdata/ibm922.h: Likewise.
59685         * iconvdata/ibm9448.h: Likewise.
59686         * iconvdata/isiri-3342.h: Likewise.
59687         * iconvdata/jis0201.h: Likewise.
59688         * include/link.h: Likewise.
59689         * include/netdb.h: Likewise.
59690         * inet/check_native.c: Likewise.
59691         * inet/check_pf.c: Likewise.
59692         * inet/getipv4sourcefilter.c: Likewise.
59693         * inet/getnameinfo.c: Likewise.
59694         * inet/getsourcefilter.c: Likewise.
59695         * inet/htonl.c: Likewise.
59696         * inet/setipv4sourcefilter.c: Likewise.
59697         * inet/setsourcefilter.c: Likewise.
59698         * inet/test-inet6_opt.c: Likewise.
59699         * inet/tst-network.c: Likewise.
59700         * locale/C-collate.c: Likewise.
59701         * locale/C-ctype.c: Likewise.
59702         * locale/C-time.c: Likewise.
59703         * locale/C-translit.h: Likewise.
59704         * locale/loadarchive.c: Likewise.
59705         * locale/programs/3level.h: Likewise.
59706         * locale/programs/charmap.c: Likewise.
59707         * locale/programs/charmap.h: Likewise.
59708         * locale/programs/ld-address.c: Likewise.
59709         * locale/programs/ld-collate.c: Likewise.
59710         * locale/programs/ld-ctype.c: Likewise.
59711         * locale/programs/ld-identification.c: Likewise.
59712         * locale/programs/ld-measurement.c: Likewise.
59713         * locale/programs/ld-messages.c: Likewise.
59714         * locale/programs/ld-monetary.c: Likewise.
59715         * locale/programs/ld-name.c: Likewise.
59716         * locale/programs/ld-numeric.c: Likewise.
59717         * locale/programs/ld-paper.c: Likewise.
59718         * locale/programs/ld-telephone.c: Likewise.
59719         * locale/programs/ld-time.c: Likewise.
59720         * locale/programs/linereader.c: Likewise.
59721         * locale/programs/locale.c: Likewise.
59722         * locale/programs/locarchive.c: Likewise.
59723         * locale/programs/locfile.h: Likewise.
59724         * locale/programs/repertoire.c: Likewise.
59725         * locale/programs/simple-hash.c: Likewise.
59726         * locale/programs/simple-hash.h: Likewise.
59727         * malloc/memusage.c: Likewise.
59728         * malloc/memusagestat.c: Likewise.
59729         * nis/nis_defaults.c: Likewise.
59730         * nis/nis_hash.c: Likewise.
59731         * nis/nis_print.c: Likewise.
59732         * nis/nis_xdr.c: Likewise.
59733         * nscd/connections.c: Likewise.
59734         * nscd/hstcache.c: Likewise.
59735         * nscd/nscd_gethst_r.c: Likewise.
59736         * nscd/nscd_getserv_r.c: Likewise.
59737         * nscd/nscd_helper.c: Likewise.
59738         * nscd/servicescache.c: Likewise.
59739         * nss/makedb.c: Likewise.
59740         * nss/nss_db/db-XXX.c: Likewise.
59741         * nss/nss_db/db-initgroups.c: Likewise.
59742         * nss/nss_db/db-netgrp.c: Likewise.
59743         * nss/nss_files/files-network.c: Likewise.
59744         * nss/nss_files/files-parse.c: Likewise.
59745         * posix/bug-regex5.c: Likewise.
59746         * posix/fnmatch_loop.c: Likewise.
59747         * posix/regcomp.c: Likewise.
59748         * posix/regexec.c: Likewise.
59749         * posix/tst-rfc3484-2.c: Likewise.
59750         * posix/tst-rfc3484-3.c: Likewise.
59751         * posix/tst-rfc3484.c: Likewise.
59752         * resolv/nss_dns/dns-canon.c: Likewise.
59753         * resolv/nss_dns/dns-network.c: Likewise.
59754         * resolv/res_init.c: Likewise.
59755         * resolv/res_mkquery.c: Likewise.
59756         * resolv/tst-aton.c: Likewise.
59757         * stdlib/cxa_atexit.c: Likewise.
59758         * stdlib/cxa_finalize.c: Likewise.
59759         * stdlib/gen-fpioconst.c: Likewise.
59760         * stdlib/strtol_l.c: Likewise.
59761         * string/tst-endian.c: Likewise.
59762         * sunrpc/auth_des.c: Likewise.
59763         * sunrpc/clnt_udp.c: Likewise.
59764         * sunrpc/rtime.c: Likewise.
59765         * sunrpc/svcauth_des.c: Likewise.
59766         * sunrpc/xdr.c: Likewise.
59767         * sunrpc/xdr_intXX_t.c: Likewise.
59768         * sunrpc/xdr_rec.c: Likewise.
59769         * sysdeps/generic/ldconfig.h: Likewise.
59770         * sysdeps/generic/ldsodefs.h: Likewise.
59771         * sysdeps/generic/memusage.h: Likewise.
59772         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59773         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
59774         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
59775         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59776         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59777         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59778         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59779         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59780         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59781         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59782         * sysdeps/posix/getaddrinfo.c: Likewise.
59783         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59784         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59785         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59786         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59787         * sysdeps/powerpc/test-gettimebase.c: Likewise.
59788         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
59789         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
59790         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
59791         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
59792         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
59793         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59794         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59795         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
59796         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
59797         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
59798         * sysdeps/x86_64/dl-tls.h: Likewise.
59799         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
59800         * time/alt_digit.c: Likewise.
59801         * time/era.c: Likewise.
59802         * wcsmbs/tst-c16c32-1.c: Likewise.
59804 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59806         * math/libm-test.inc (struct test_sincos_data): New type.
59807         (RUN_TEST_LOOP_sincos): New macro.
59808         (sincos_test_data): New variable.
59809         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
59811 2013-05-16  Richard Henderson  <rth@redhat.com>
59813         * math/atest-exp2.c (LIMB64): New macro.
59814         (CONSTSZ): New macro.
59815         (mp_exp1, mp_exp_m1, mp_log2): New variables.
59816         (hexdig): Move ...
59817         (print_mpn_fp): ... to function scope.
59818         (read_mpn_hex): Remove.
59819         (get_log2): Remove.
59820         (exp2_mpn): Use mp_log2.
59821         (main): Use mp_exp1.
59823 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59825         * math/libm-test.inc: Remove comment about not testing "inexact"
59826         exceptions.
59827         (INEXACT_EXCEPTION): New macro.
59828         (NO_INEXACT_EXCEPTION): Likewise.
59829         (INVALID_EXCEPTION_OK): Update value.
59830         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59831         (OVERFLOW_EXCEPTION_OK): Likewise.
59832         (UNDERFLOW_EXCEPTION_OK): Likewise.
59833         (IGNORE_ZERO_INF_SIGN): Likewise.
59834         (ERRNO_UNCHANGED): Likewise.
59835         (ERRNO_EDOM): Likewise.
59836         (ERRNO_ERANGE): Likewise.
59837         (test_exceptions): Handle testing "inexact" exceptions.
59838         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
59839         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
59840         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
59841         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
59842         INEXACT_EXCEPTION.
59843         (rint_towardzero_test_data): Likewise.
59844         (rint_downward_test_data): Likewise.
59845         (rint_upward_test_data): Likewise.
59847         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
59848         with OVERFLOW_EXCEPTION.
59849         (exp10_test_data): Likewise.
59850         (exp2_test_data): Likewise.
59851         (expm1_test_data): Likewise.
59852         (lgamma_test_data): Likewise.
59853         (pow_test_data): Likewise.
59854         (tgamma_test_data): Likewise.
59855         (yn_test_data): Remove duplicate test of overflow.
59857         * math/libm-test.inc (struct test_cc_c_data): New type.
59858         (RUN_TEST_LOOP_cc_c): New macro.
59859         (cpow_test_data): New variable.
59860         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
59862         * math/libm-test.inc (struct test_f_L_data): New type.
59863         (RUN_TEST_LOOP_f_L): New macro.
59864         (llrint_test_data): New variable.
59865         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
59866         (llrint_tonearest_test_data): New variable.
59867         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
59868         (llrint_towardzero_test_data): New variable.
59869         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
59870         (llrint_downward_test_data): New variable.
59871         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
59872         (llrint_upward_test_data): New variable.
59873         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
59874         (llround_test_data): New variable.
59875         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
59877 2013-05-13  Peter Collingbourne  <pcc@google.com>
59879         * math/atest-exp2.c (get_log2): Remove const attribute.
59881 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59883         * math/libm-test.inc (struct test_f_l_data): New type.
59884         (RUN_TEST_LOOP_f_l): New macro.
59885         (lrint_test_data): New variable.
59886         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
59887         (lrint_tonearest_test_data): New variable.
59888         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
59889         (lrint_towardzero_test_data): New variable.
59890         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
59891         (lrint_downward_test_data): New variable.
59892         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
59893         (lrint_upward_test_data): New variable.
59894         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
59895         (lround_test_data): New variable.
59896         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
59898 2013-05-15  Peter Collingbourne  <pcc@google.com>
59900         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
59901         (EXTRACT_WORDS64) Use where appropriate.
59902         (INSERT_WORDS64) Likewise.
59904         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
59905         constraints with x constraints.
59906         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
59908         * malloc/obstack.c (_obstack_compat): Add initializer.
59910 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59912         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
59913         si_trapno and add si_addr_lsb to _sifields.sigfault.
59914         (si_trapno): Remove macro.
59915         (si_addr_lsb): Define new macro.
59916         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59918 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59920         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
59921         instead of TEST_f_l.
59922         (llrint_test_tonearest): Likewise.
59923         (llrint_test_towardzero): Likewise.
59924         (llrint_test_downward): Likewise.
59925         (llrint_test_upward): Likewise.
59926         (llround_test): Likewise.
59928         * math/libm-test.inc (struct test_f_i_data): Add comment.
59929         (RUN_TEST_LOOP_f_b): New macro.
59930         (RUN_TEST_LOOP_f_b_tg): Likewise.
59931         (finite_test_data): New variable.
59932         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
59933         (isfinite_test_data): New variable.
59934         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59935         (isinf_test_data): New variable.
59936         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59937         (isnan_test_data): New variable.
59938         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59939         (isnormal_test_data): New variable.
59940         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59941         (issignaling_test_data): New variable.
59942         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59943         (signbit_test_data): New variable.
59944         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59946         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
59947         with INVALID_EXCEPTION.
59948         (acosh_test_data): Likewise.
59949         (asin_test_data): Likewise.
59950         (atanh_test_data): Likewise.
59951         (fmod_test_data): Likewise.
59952         (log_test_data): Likewise.
59953         (log10_test_data): Likewise.
59954         (log2_test_data): Likewise.
59955         (pow_test_data): Likewise.
59956         (sqrt_test_data): Likewise.
59957         (y0_test_data): Likewise.
59958         (y1_test_data): Likewise.
59959         (yn_test_data): Likewise.
59961         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
59962         function contents.
59964         * math/libm-test.inc (struct test_ff_i_data): New type.
59965         (RUN_TEST_LOOP_ff_i_tg): New macro.
59966         (isgreater_test_data): New variable.
59967         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59968         (isgreaterequal_test_data): New variable.
59969         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59970         (isless_test_data): New variable.
59971         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59972         (islessequal_test_data): New variable.
59973         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59974         (islessgreater_test_data): New variable.
59975         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59976         (isunordered_test_data): New variable.
59977         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59979 2013-05-14  David S. Miller  <davem@davemloft.net>
59981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59983 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
59985         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
59987         * math/libm-test.inc (struct test_fF_f1_data): Change type of
59988         extra_test to int.
59989         (struct test_f_i_data): Change type of max_ulp to int.
59991         * math/libm-test.inc (test_ffI_f1_data): New type.
59992         (RUN_TEST_LOOP_ffI_f1): New macro.
59993         (remquo_test_data): New variable.
59994         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
59996         * setjmp/tst-setjmp-fp.c: New file.
59997         * setjmp/Makefile (tests): Add tst-setjmp-fp.
59998         (link-libm): New variable.
59999         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
60001         * math/libm-test.inc (struct test_f_i_data): New type.
60002         (RUN_TEST_LOOP_f_i): New macro.
60003         (RUN_TEST_LOOP_f_i_tg): Likewise.
60004         (fpclassify_test_data): New variable.
60005         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
60006         (ilogb_test_data): New variable.
60007         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
60009         * math/libm-test.inc (scalbln_test): Correct function name in END
60010         call.
60012         * math/libm-test.inc (struct test_f_f1_data): Add comment.
60013         (RUN_TEST_LOOP_fI_f1): New macro.
60014         (frexp_test_data): New variable.
60015         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
60017         * math/libm-test.inc (struct test_fF_f1_data): New type.
60018         (RUN_TEST_LOOP_fF_f1): New macro.
60019         (modf_test_data): New variable.
60020         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
60022         * math/libm-test.inc (struct test_f_f1_data): New type.
60023         (RUN_TEST_LOOP_f_f1): New macro.
60024         (gamma_test_data): New variable.
60025         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60026         (lgamma_test_data): New variable.
60027         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60029 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
60031         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
60032         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
60033         (main): Comment "tls" pseudo-hwcap.
60035 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
60037         * math/libm-test.inc (struct test_fl_f_data): New type.
60038         (RUN_TEST_LOOP_fl_f): New variable.
60039         (scalbln_test_data): New variable.
60040         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
60042         * math/libm-test.inc (struct test_fi_f_data): New type.
60043         (RUN_TEST_LOOP_fi_f): New macro.
60044         (ldexp_test_data): New variable.
60045         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
60046         (scalbn_test_data): New variable.
60047         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
60049         * math/libm-test.inc (struct test_c_f_data): New type.
60050         (RUN_TEST_LOOP_c_f): New macro.
60051         (cabs_test_data): New variable.
60052         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
60053         (carg_test_data): New variable.
60054         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
60055         (cimag_test_data): New variable.
60056         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
60057         (creal_test_data): New variable.
60058         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
60060         * math/libm-test.inc (struct test_if_f_data): New type.
60061         (RUN_TEST_LOOP_if_f): New macro.
60062         (jn_test_data): New variable.
60063         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
60064         (yn_test_data): New variable.
60065         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
60067         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
60069 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60071         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
60072         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
60074 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60076         * benchtests/Makefile (CPPFLAGS-nonlib): Add
60077         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
60078         (bench-deps): Add bench-timing.h.
60079         * benchtests-bench-skeleton.c: Include bench-timing.h.
60080         (main): Use TIMING_* macros instead of clock_gettime.
60081         * benchtests/bench-timing.h: New file.
60083         [BZ #14582]
60084         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
60085         Renamed from _LIB_VERSION.
60086         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
60088 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
60090         * math/libm-test.inc (struct test_fff_f_data): New type.
60091         (RUN_TEST_LOOP_fff_f): New macro.
60092         (fma_test_data): New variable.
60093         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
60094         (fma_towardzero_test_data): New variable.
60095         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
60096         (fma_downward_test_data): New variable.
60097         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
60098         (fma_upward_test_data): New variable.
60099         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
60101         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
60102         (struct test_c_c_data): New type.
60103         (RUN_TEST_LOOP_c_c): New macro.
60104         (cacos_test_data): New variable.
60105         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
60106         (cacosh_test_data): New variable.
60107         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
60108         (casin_test_data): New variable.
60109         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
60110         (casinh_test_data): New variable.
60111         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
60112         (catan_test_data): New variable.
60113         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
60114         (catanh_test_data): New variable.
60115         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
60116         (ccos_test_data): New variable.
60117         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
60118         (ccosh_test_data): New variable.
60119         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
60120         (cexp_test_data): New variable.
60121         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
60122         (clog_test_data): New variable.
60123         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
60124         (clog10_test_data): New variable.
60125         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
60126         (conj_test_data): New variable.
60127         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
60128         (cproj_test_data): New variable.
60129         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
60130         (csin_test_data): New variable.
60131         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
60132         (csinh_test_data): New variable.
60133         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
60134         (csqrt_test_data): New variable.
60135         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
60136         (ctan_test_data): New variable.
60137         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
60138         (ctan_tonearest_test_data): New variable.
60139         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60140         (ctan_towardzero_test_data): New variable.
60141         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60142         (ctan_downward_test_data): New variable.
60143         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60144         (ctan_upward_test_data): New variable.
60145         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60146         (ctanh_test_data): New variable.
60147         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
60148         (ctanh_tonearest_test_data): New variable.
60149         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60150         (ctanh_towardzero_test_data): New variable.
60151         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60152         (ctanh_downward_test_data): New variable.
60153         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60154         (ctanh_upward_test_data): New variable.
60155         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60156         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
60157         of BUILD_COMPLEX.
60159         * math/libm-test.inc (struct test_ff_f_data): New type.
60160         (struct test_ff_f_data_nexttoward): Likewise.
60161         (RUN_TEST_LOOP_2_f): New macro.
60162         (RUN_TEST_LOOP_ff_f): Likewise.
60163         (atan2_test_data): New variable.
60164         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
60165         (copysign_test_data): New variable.
60166         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
60167         (fdim_test_data): New variable.
60168         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
60169         (fmax_test_data): New variable.
60170         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
60171         (fmin_test_data): New variable.
60172         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
60173         (fmod_test_data): New variable.
60174         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
60175         (hypot_test_data): New variable.
60176         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
60177         (nextafter_test_data): New variable.
60178         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
60179         (nexttoward_test_data): New variable.
60180         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
60181         (pow_test_data): New variable.
60182         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
60183         (pow_tonearest_test_data): New variable.
60184         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
60185         (pow_towardzero_test_data): New variable.
60186         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
60187         (pow_downward_test_data): New variable.
60188         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
60189         (pow_upward_test_data): New variable.
60190         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
60191         (remainder_test_data): New variable.
60192         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
60193         (scalb_test_data): New variable.
60194         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
60195         * sysdeps/i386/fpu/libm-test-ulps: Update.
60197 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
60199         * math/libm-test.inc (fma_test): Use max_value instead of local
60200         variable fltmax.
60201         (nextafter_test): Likewise.
60203         * math/libm-test.inc (acos_towardzero_test_data): New variable.
60204         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60205         (acos_downward_test_data): New variable.
60206         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60207         (acos_upward_test_data): New variable.
60208         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60209         (acosh_test_data): New variable.
60210         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
60211         (asin_test_data): New variable.
60212         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
60213         (asin_tonearest_test_data): New variable.
60214         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60215         (asin_towardzero_test_data): New variable.
60216         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60217         (asin_downward_test_data): New variable.
60218         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60219         (asin_upward_test_data): New variable.
60220         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60221         (asinh_test_data): New variable.
60222         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
60223         (atan_test_data): New variable.
60224         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
60225         (atanh_test_data): New variable.
60226         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
60227         (cbrt_test_data): New variable.
60228         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
60229         (ceil_test_data): New variable.
60230         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
60231         (cos_test_data): New variable.
60232         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
60233         (cos_tonearest_test_data): New variable.
60234         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60235         (cos_towardzero_test_data): New variable.
60236         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60237         (cos_downward_test_data): New variable.
60238         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60239         (cos_upward_test_data): New variable.
60240         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60241         (cosh_test_data): New variable.
60242         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
60243         (cosh_tonearest_test_data): New variable.
60244         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60245         (cosh_towardzero_test_data): New variable.
60246         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60247         (cosh_downward_test_data): New variable.
60248         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60249         (cosh_upward_test_data): New variable.
60250         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60251         (erf_test_data): New variable.
60252         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
60253         (erfc_test_data): New variable.
60254         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
60255         (exp_test_data): New variable.
60256         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
60257         (exp_tonearest_test_data): New variable.
60258         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60259         (exp_towardzero_test_data): New variable.
60260         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60261         (exp_downward_test_data): New variable.
60262         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60263         (exp_upward_test_data): New variable.
60264         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60265         (exp10_test_data): New variable.
60266         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
60267         (exp2_test_data): New variable.
60268         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
60269         (expm1_test_data): New variable.
60270         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
60271         (fabs_test_data): New variable.
60272         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
60273         (floor_test_data): New variable.
60274         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
60275         (j0_test_data): New variable.
60276         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
60277         (j1_test_data): New variable.
60278         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
60279         (log_test_data): New variable.
60280         (log_test): Run tests with RUN_TEST_LOOP_f_f.
60281         (log10_test_data): New variable.
60282         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
60283         (log1p_test_data): New variable.
60284         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
60285         (log2_test_data): New variable.
60286         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
60287         (logb_test_data): New variable.
60288         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
60289         (logb_downward_test_data): New variable.
60290         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60291         (nearbyint_test_data): New variable.
60292         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
60293         (rint_test_data): New variable.
60294         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
60295         (rint_tonearest_test_data): New variable.
60296         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60297         (rint_towardzero_test_data): New variable.
60298         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60299         (rint_downward_test_data): New variable.
60300         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60301         (rint_upward_test_data): New variable.
60302         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60303         (round_test_data): New variable.
60304         (round_test): Run tests with RUN_TEST_LOOP_f_f.
60305         (sin_test_data): New variable.
60306         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
60307         (sin_tonearest_test_data): New variable.
60308         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60309         (sin_towardzero_test_data): New variable.
60310         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60311         (sin_downward_test_data): New variable.
60312         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60313         (sin_upward_test_data): New variable.
60314         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60315         (sinh_test_data): New variable.
60316         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
60317         (sinh_tonearest_test_data): New variable.
60318         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60319         (sinh_towardzero_test_data): New variable.
60320         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60321         (sinh_downward_test_data): New variable.
60322         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60323         (sinh_upward_test_data): New variable.
60324         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60325         (sqrt_test_data): New variable.
60326         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
60327         (tan_test_data): New variable.
60328         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
60329         (tan_tonearest_test_data): New variable.
60330         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60331         (tan_towardzero_test_data): New variable.
60332         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60333         (tan_downward_test_data): New variable.
60334         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60335         (tan_upward_test_data): New variable.
60336         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60337         (tanh_test_data): New variable.
60338         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
60339         (tgamma_test_data): New variable.
60340         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
60341         (trunc_test_data): New variable.
60342         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
60343         (y0_test_data): New variable.
60344         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
60345         (y1_test_data): New variable.
60346         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
60347         (significand_test_data): New variable.
60348         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
60350 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
60352         [BZ #12387]
60353         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
60355 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60357         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
60359 2013-05-10  Andreas Jaeger  <aj@suse.de>
60361         [BZ #15448]
60362         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
60363         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
60365 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60367         * math/gen-libm-test.pl (adjust_arg): New function.
60368         (special_functions): Handle generating output in both functions
60369         and arrays.
60370         (parse_args): Likewise.
60371         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
60372         $in_func argument to parse_args.
60373         * math/libm-test.inc (struct test_f_f_data): New type.
60374         (IF_ROUND_INIT_): New macro.
60375         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
60376         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60377         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60378         (IF_ROUND_INIT_FE_UPWARD): Likewise.
60379         (ROUND_RESTORE_): Likewise.
60380         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
60381         (ROUND_RESTORE_FE_TONEAREST): Likewise.
60382         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
60383         (ROUND_RESTORE_FE_UPWARD): Likewise.
60384         (RUN_TEST_LOOP_f_f): New macro.
60385         (acos_test_data): New variable.
60386         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
60387         (acos_tonearest_test_data): New variable.
60388         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60390 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60392         * benchtests/bench-skeleton.c (startup): Fix coding style.
60394 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60396         [BZ #6809]
60397         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
60398         negative infinity argument.
60399         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
60400         negative infinity argument.
60401         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
60402         negative infinity argument.
60403         * math/libm-test.inc (tgamma_test): Expect errno to be set for
60404         domain errors.
60406 2013-05-10  Florian Weimer  <fweimer@redhat.com>
60408         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
60409         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
60410         * iconv/iconv_prog.c (main): Likewise.
60411         * locale/programs/charmap-dir.c (charmap_readdir)
60412         (fopen_uncompressed): Likewise.
60413         * locale/programs/locfile.c (siblings_uncached)
60414         (write_locale_data): Use lstat64 instead of lstat.
60415         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
60416         stat.
60418 2013-05-10  Andreas Jaeger  <aj@suse.de>
60420         [BZ #15395]
60421         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
60422         localization.
60423         Include <locale.h>.
60425 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
60427         * elf/dl-close.c (_dl_close_worker): Add comments.
60429 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
60431         [BZ #15359]
60432         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
60433         high part of pi/2.
60434         (__ieee754_rem_pio2l): Update comments.
60436         [BZ #15429]
60437         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
60438         high part of pi/2.
60439         (__ieee754_rem_pio2l): Update comments.
60441         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
60442         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
60444         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
60445         M_PI_4l.
60447         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
60448         (M_PI_34_LOG10El): Likewise.
60449         (M_PI2_LOG10El): Likewise.
60450         (M_PI4_LOG10El): Likewise.
60451         (M_PI_LOG10El): Likewise.
60453 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60457 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
60459         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
60460         (MINUS_ZERO_INIT): Likewise.
60461         (PLUS_INFTY_INIT): Likewise.
60462         (MINUS_INFTY_INIT): Likewise.
60463         (QNAN_VALUE_INIT): Likewise.
60464         (MAX_VALUE_INIT): Likewise.
60465         (MIN_VALUE_INIT): Likewise.
60466         (MIN_SUBNORM_VALUE_INIT): Likewise.
60467         (plus_zero): Initialize with PLUS_ZERO_INIT.
60468         (minus_zero): Initialize with MINUS_ZERO_INIT.
60469         (plus_infty): Initialize with PLUS_INFTY_INIT.
60470         (minus_infty): Initialize with MINUS_INFTY_INIT.
60471         (qnan_value): Initialize with QNAN_VALUE_INIT.
60472         (max_value): Initialize with MAX_VALUE_INIT.
60473         (min_value): Initialize with MIN_VALUE_INIT.
60474         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
60476         * math/libm-test.inc (RUN_TEST_if_f): New macro.
60477         (jn_test): Use TEST_if_f instead of TEST_ff_f.
60478         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
60479         (yn_test): Use TEST_if_f instead of TEST_ff_f.
60481         * math/libm-test.inc (RUN_TEST_f_f): New macro.
60482         (RUN_TEST_2_f): Likewise.
60483         (RUN_TEST_ff_f): Likewise.
60484         (RUN_TEST_fi_f): Likewise.
60485         (RUN_TEST_fl_f): Likewise.
60486         (RUN_TEST_fff_f): Likewise.
60487         (RUN_TEST_c_f): Likewise.
60488         (RUN_TEST_f_f1): Likewise.
60489         (RUN_TEST_fF_f1): Likewise.
60490         (RUN_TEST_fI_f1): Likewise.
60491         (RUN_TEST_ffI_f1): Likewise.
60492         (RUN_TEST_c_c): Likewise.
60493         (RUN_TEST_cc_c): Likewise.
60494         (RUN_TEST_f_i): Likewise.
60495         (RUN_TEST_f_i_tg): Likewise.
60496         (RUN_TEST_ff_i_tg): Likewise.
60497         (RUN_TEST_f_b): Likewise.
60498         (RUN_TEST_f_b_tg): Likewise.
60499         (RUN_TEST_f_l): Likewise.
60500         (RUN_TEST_f_L): Likewise.
60501         (RUN_TEST_sincos): Likewise.
60502         * math/gen-libm-test.pl (new_test): Take new argument to indicate
60503         whether to show exceptions.  Do not include ");\n" in return
60504         value.
60505         (special_functions): Output call to RUN_TEST_sincos instead of
60506         check_float calls.  Update calls to new_test.
60507         (parse_args): Output call to single RUN_TEST_* macro instead of
60508         check_* calls and other assignments.  Update calls to new_test.
60510         [BZ #2546]
60511         [BZ #2560]
60512         [BZ #5159]
60513         [BZ #15426]
60514         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
60515         input to result for tgamma overflow.
60516         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
60517         (gamma_coeff): New variable.
60518         (NCOEFF): New macro.
60519         (gamma_positive): New function.
60520         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
60521         underflow here.  Use gamma_positive instead of exp (lgamma) for
60522         other arguments.
60523         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
60524         (gamma_coeff): New variable.
60525         (NCOEFF): New macro.
60526         (gammaf_positive): New function.
60527         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
60528         underflow here.  Use gamma_positive instead of exp (lgamma) for
60529         other arguments.
60530         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
60531         (gamma_coeff): New variable.
60532         (NCOEFF): New macro.
60533         (gammal_positive): New function.
60534         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
60535         underflow here.  Use gamma_positive instead of exp (lgamma) for
60536         other arguments.
60537         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
60538         (gamma_coeff): New variable.
60539         (NCOEFF): New macro.
60540         (gammal_positive): New function.
60541         (__ieee754_gammal_r): Handle positive infinity, overflow and
60542         underflow here.  Handle NaN the same as positive infinity.  Remove
60543         check x < 0xffffffff for negative integers.  Use gamma_positive
60544         instead of exp (lgamma) for other arguments.
60545         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
60546         (gamma_coeff): New variable.
60547         (NCOEFF): New macro.
60548         (gammal_positive): New function.
60549         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
60550         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
60551         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
60552         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
60553         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
60554         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
60555         * sysdeps/generic/math_private.h (__gamma_productf): New
60556         prototype.
60557         (__gamma_product): Likewise.
60558         (__gamma_productl): Likewise.
60559         * math/Makefile (libm-calls): Add gamma_product.
60560         * math/libm-test.inc (tgamma_test): Add more tests.
60561         * sysdeps/i386/fpu/libm-test-ulps: Update.
60562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60564 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
60566         * benchtests/bench-skeleton.c (main): Preheat CPU.
60568 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
60570         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
60572 2013-05-07  Roland McGrath  <roland@hack.frob.com>
60574         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
60575         and _dl_skip_args_internal.
60577 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
60579         * manual/message.texi (Message Translation): Talk about users.
60580         Message to key mapping impacts design.
60582 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60584         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
60586         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
60588         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
60589         * sysdeps/wordsize-64/glob64.c: ... here.
60591         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
60592         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
60593         New macros.
60595         * debug/getlogin_r_chk.c: Moved to ...
60596         * login/getlogin_r_chk.c: ... here.
60597         * debug/Makefile (routines): Move getlogin_r_chk to ...
60598         * login/Makefile (routines): ... here.
60599         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
60600         * login/Versions (libc: GLIBC_2.4): ... here.
60602         * io/poll.c (__poll): Renamed from poll.
60603         Add libc_hidden_def.
60604         (poll): Define as weak alias.
60606         * debug/ptsname_r_chk.c: Moved to ...
60607         * login/ptsname_r_chk.c: ... here.
60608         * debug/Makefile (routines): Move ptsname_r_chk to ...
60609         * login/Makefile (routines): ... here.
60610         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
60611         * login/Versions (libc: GLIBC_2.4): ... here.
60613         * posix/getlogin.c: Moved to ...
60614         * login/getlogin.c: ... here.
60615         * posix/getlogin_r.c: Moved to ...
60616         * login/getlogin_r.c: ... here.
60617         * posix/getlogin_r.c: Moved to ...
60618         * login/getlogin_r.c: ... here.
60619         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
60620         * login/Makefile (routines): ... here.
60621         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
60622         * login/Versions (libc: GLIBC_2.0): ... here.
60624         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
60625         (setrlimit): Define as weak alias.
60627         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
60628         Call __ names for open, ftruncate, and close.
60629         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
60630         (truncate): Define as weak alias.
60632 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
60634         * math/gen-libm-test.pl (parse_args): Initialize x before each
60635         test of frexp, modf and remquo.
60637         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
60638         test signgam value.
60640 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60642         [BZ #15418]
60643         [BZ #15419]
60644         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
60645         internal tests.
60646         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60648 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60650         * elf/dl-writev.h: New file.
60651         * elf/dl-misc.c: Include it.
60652         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
60653         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
60655 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
60657         * math/libm-test.inc (noXFails): Remove variable.
60658         (noXPasses): Likewise.
60659         (BUILD_COMPLEX_INT): Remove macro.
60660         (print_screen): Remove xfail argument.
60661         (print_screen_max_error): Likewise.
60662         (update_stats): Likewise.
60663         (print_max_error): Likewise.  Update calls to other affected
60664         functions.
60665         (print_complex_max_error): Likewise.
60666         (test_single_exception): Update calls to print_screen.
60667         (test_single_errno): Likewise.
60668         (check_float_internal): Remove xfail argument.  Update calls to
60669         other affected functions.
60670         (check_float): Likewise.
60671         (check_complex): Likewise.
60672         (check_int): Likewise.
60673         (check_long): Likewise.
60674         (check_bool): Likewise.
60675         (check_longlong): Likewise.
60676         (main): Don't print noXFails and noXPasses.
60677         * math/gen-libm-test.pl (top level): Don't mention expected
60678         failure handling in comment.
60679         (new_test): Don't handle expected failures.
60680         (parse_args): Don't mention expected failure handling in comment.
60681         (generate_testfile): Don't handle expected failures.
60682         (parse_ulps): Likewise.
60683         (print_ulps_file): Likewise.
60684         (get_failure): Remove function.
60685         (output_test): Don't handle expected failures.
60686         * make/README.libm-test: Don't mention expected failure handling.
60688         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
60689         (minus_zero): Likewise.
60690         (plus_infty): Likewise.
60691         (minus_infty): Likewise.
60692         (qnan_value): Likewise.
60693         (max_value): Likewise.
60694         (min_value): Likewise.
60695         (min_subnorm_value): Likewise.
60696         (initialize): Do not initialize those variables dynamically.
60698 2013-05-03  Roland McGrath  <roland@hack.frob.com>
60700         * io/open.c (__open_2): Moved to ...
60701         * io/open_2.c: ... this new file.
60702         * io/open64.c (__open64_2): Moved to ...
60703         * io/open64_2.c: ... this new file.
60704         * io/openat.c (__openat_2): Moved to ...
60705         * io/openat_2.c: ... this new file.
60706         * io/openat64.c (__openat64_2): Moved to ...
60707         * io/openat64_2.c: ... this new file.
60708         * io/Makefile (routines): Add them.
60709         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
60710         * sysdeps/unix/sysv/linux/open_2.c: File removed.
60711         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
60712         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
60713         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
60714         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
60715         (__openat64): Add hidden_ver.
60716         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
60717         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
60719         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
60720         Separately conditionalize setting of GLRO(dl_sysinfo) so
60721         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
60722         as well, but the actual setting is only under [NEED_DL_SYSINFO].
60724 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60726         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
60727         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
60728         definition.
60729         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
60730         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60731         (_libc_vdso_platform_setup): Add __vdso_time initialization.
60732         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
60733         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
60735 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
60737         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
60738         test signgam value.
60740         * math/libm-test.inc (hypot_test): Do not use
60741         IGNORE_ZERO_INF_SIGN.
60743 2013-05-03  Andreas Jaeger  <aj@suse.de>
60745         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
60746         Linux 3.9.
60747         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
60748         (PF_MAX): Adjust for VSOCK change.
60750 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60754 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
60756         [BZ #15264]
60757         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
60758         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
60759         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
60761 2013-05-02  David S. Miller  <davem@davemloft.net>
60763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60765 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
60767         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
60769 2013-05-01  Roland McGrath  <roland@hack.frob.com>
60771         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
60773 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
60775         [BZ #14952]
60776         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
60777         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60778         Use __attribute__ ((__gnu_inline__)).
60779         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60780         Don't use __attribute__ ((__gnu_inline__)).
60782 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
60784         [BZ #15423]
60785         * math/s_catan.c (__catan): Handle small real or imaginary part of
60786         input specially to avoid spurious underflow.
60787         * math/s_catanf.c (__catanf): Likewise.
60788         * math/s_catanh.c (__catanh): Likewise.
60789         * math/s_catanhf.c (__catanhf): Likewise.
60790         * math/s_catanhl.c (__catanhl): Likewise.
60791         * math/s_catanl.c (__catanl): Likewise.
60792         * math/libm-test.inc (catan_test): Add more tests.
60793         (catanh_test): Likewise.
60794         * sysdeps/i386/fpu/libm-test-ulps: Update.
60795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60797 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60801 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
60803         [BZ #15416]
60804         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
60805         accurately for denominator in atan2.
60806         * math/s_catanf.c (__catanf): Likewise.
60807         * math/s_catanh.c (__catanh): Likewise.
60808         * math/s_catanhf.c (__catanhf): Likewise.
60809         * math/s_catanhl.c (__catanhl): Likewise.
60810         * math/s_catanl.c (__catanl): Likewise.
60811         * math/libm-test.inc (catan_test): Add more tests.
60812         (catanh_test): Likewise.
60813         * sysdeps/i386/fpu/libm-test-ulps: Update.
60814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60816 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60818         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
60820         * benchtests/Makefile (bench): Remove slow benchmarks.
60821         * benchtests/atan-inputs: Add slow benchmark inputs.
60822         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
60823         (BENCH_FUNC): Accept variant offset.
60824         (VARIANT): Define.
60825         * benchtests/bench-skeleton.c (main): Run benchmark for each
60826         variant.
60827         * benchtests/cos-inputs: Add slow benchmark inputs.
60828         * benchtests/exp-inputs: Likewise.
60829         * benchtests/pow-inputs: Likewise.
60830         * benchtests/sin-inputs: Likewise.
60831         * benchtests/slowatan-inputs: Remove.
60832         * benchtests/slowatan.c: Remove.
60833         * benchtests/slowcos-inputs: Remove.
60834         * benchtests/slowcos.c: Remove.
60835         * benchtests/slowexp-inputs: Remove.
60836         * benchtests/slowexp.c: Remove.
60837         * benchtests/slowpow-inputs: Remove.
60838         * benchtests/slowpow.c: Remove.
60839         * benchtests/slowsin-inputs: Remove.
60840         * benchtests/slowsin.c: Remove.
60841         * benchtests/slowtan-inputs: Remove.
60842         * benchtests/slowtan.c: Remove.
60843         * benchtests/tan-inputs: Add slow benchmark inputs.
60844         * scripts/bench.pl: Parse comments and directives.
60846         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
60847         in CPPFLAGS.
60848         ($(objpfx)bench-%.c): Remove *-ITER.
60849         * benchtests/bench-modf.c: Remove definition of ITER.
60850         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
60851         (main): Loop for DURATION seconds instead of fixed number of
60852         iterations.
60853         * scripts/bench.pl: Don't expect iterations in parameters.
60855 2013-04-29  Roland McGrath  <roland@hack.frob.com>
60857         * io/fchdir.c (__fchdir): Renamed from fchdir.
60858         (fchdir): Define as weak alias.
60860 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60862         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
60863         (ERRNO_EDOM): Likewise.
60864         (ERRNO_ERANGE): Likewise.
60865         (noErrnoTests): New variable.
60866         (init_max_error): Set errno to 0.
60867         (test_single_errno): New function.
60868         (test_errno): Likewise.
60869         (check_float_internal): Call test_errno.  Set errno to 0.
60870         (check_complex): Refer to errno tests in comment.
60871         (check_int): Call test_errno.  Set errno to 0.
60872         (check_long): Likewise.
60873         (check_bool): Likewise.
60874         (check_longlong): Likewise.
60875         (cos_test): Use ERRNO_* flags for errno tests instead of
60876         check_int.
60877         (expm1_test): Likewise.
60878         (fmod_test): Likewise.
60879         (ilogb_test): Likewise.
60880         (lgamma_test): Likewise.
60881         (pow_test): Likewise.
60882         (remainder_test): Likewise.
60883         (sin_test): Likewise.
60884         (tan_test): Likewise.
60885         (yn_test): Likewise.
60886         (initialize): Set errno to 0.
60887         (main): Print number of errno tests.
60888         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
60890 2013-04-29  Andreas Jaeger  <aj@suse.de>
60892         [BZ #15084]
60893         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
60894         and RES_USEVC.
60896         [BZ #15085]
60897         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
60898         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
60899         unimplemented.
60901         [BZ #15380]
60902         * stdlib/random.c (__initstate): Return NULL if
60903         __initstate fails.
60905         [BZ #15086]
60906         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
60907         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
60908         RES_SNGLKUPREOP.
60910 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60914 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60916         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
60917         of individual tests.
60918         (casin_test): Likewise.
60919         (casinh_test): Likewise.
60921 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
60923         [BZ #15409]
60924         * math/s_catan.c (__catan): Handle arguments with large real or
60925         imaginary part separately without squaring.
60926         * math/s_catanf.c (__catanf): Likewise.
60927         * math/s_catanh.c (__catanh): Likewise.
60928         * math/s_catanhf.c (__catanhf): Likewise.
60929         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60930         and redefine.
60931         (__catanhl): Handle arguments with large real or imaginary part
60932         separately without squaring.
60933         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60934         and redefine.
60935         (__catanl): Handle arguments with large real or imaginary part
60936         separately without squaring.
60937         * math/libm-test.inc (catan_test): Add more tests.
60938         (catanh_test): Likewise.
60939         * sysdeps/i386/fpu/libm-test-ulps: Update.
60940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60942 2013-04-27  Andreas Jaeger  <aj@suse.de>
60944         [BZ #15007]
60945         * stdlib/stdlib.h: Update guards for qecvt.
60946         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
60947         <stdlib.h>.
60949 2013-04-27  Allan McRae  <allan@archlinux.org>
60951         * sysdeps/i386/fpu/libm-test-ulps: Update.
60953 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
60955         [BZ #15406]
60956         * math/s_catan.c: Include <float.h>.
60957         (__catan): Ensure underflow exception occurs for underflowed
60958         result.
60959         * math/s_catanf.c: Include <float.h>.
60960         (__catanf): Ensure underflow exception occurs for underflowed
60961         result.
60962         * math/s_catanh.c: Include <float.h>.
60963         (__catanh): Ensure underflow exception occurs for underflowed
60964         result.
60965         * math/s_catanhf.c: Include <float.h>.
60966         (__catanhf): Ensure underflow exception occurs for underflowed
60967         result.
60968         * math/s_catanhl.c: Include <float.h>.
60969         (__catanhl): Ensure underflow exception occurs for underflowed
60970         result.
60971         * math/s_catanl.c: Include <float.h>.
60972         (__catanl): Ensure underflow exception occurs for underflowed
60973         result.
60974         * math/libm-test.inc (catan_test): Add more tests.
60975         (catanh_test): Likewise.
60977         [BZ #15405]
60978         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
60979         underflowed result.
60980         * math/s_ccoshf.c (__ccoshf): Likewise.
60981         * math/s_ccoshl.c (__ccoshl): Likewise.
60982         * math/s_csin.c (__csin): Likewise.
60983         * math/s_csinf.c (__csinf): Likewise.
60984         * math/s_csinh.c (__csinh): Likewise.
60985         * math/s_csinhf.c (__csinhf): Likewise.
60986         * math/s_csinhl.c (__csinhl): Likewise.
60987         * math/s_csinl.c (__csinl): Likewise.
60988         * math/libm-test.inc (ccos_test): Add more tests.
60989         (ccosh_test): Likewise.
60990         (csin_test): Likewise.
60991         (csinh_test): Likewise.
60993 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60995         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
60996         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
60997         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
60998         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
60999         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
61000         powerpc/power5+/fpu folders.
61001         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
61004 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61006         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61008 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
61010         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
61011         additions to variable.
61012         [$(config-machine) = x86_64] (modules-names): Likewise.
61013         ($(objpfx)tst-audit3): Remove dependency.
61014         ($(objpfx)tst-audit3.out): Likewise.
61015         ($(objpfx)tst-audit4): Likewise.
61016         ($(objpfx)tst-audit4.out): Likewise.
61017         ($(objpfx)tst-audit5): Likewise.
61018         ($(objpfx)tst-audit5.out): Likewise.
61019         ($(objpfx)tst-audit6): Likewise.
61020         ($(objpfx)tst-audit6.out): Likewise.
61021         ($(objpfx)tst-audit7): Likewise.
61022         ($(objpfx)tst-audit7.out): Likewise.
61023         (tst-audit3-ENV): Remove variable.
61024         (tst-audit4-ENV): Likewise.
61025         (tst-audit5-ENV): Likewise.
61026         (tst-audit6-ENV): Likewise.
61027         (tst-audit7-ENV): Likewise.
61028         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
61029         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
61030         addition to variable.
61031         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
61032         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
61033         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
61034         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
61035         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
61036         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
61037         tst-audit3, tst-audit4 and tst-audit5.
61038         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
61039         tst-audit6 and tst-audit7.
61040         [$(subdir) = elf] (modules-names): Add audit modules for those
61041         tests.
61042         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
61043         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
61044         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
61045         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
61046         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
61047         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
61048         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
61049         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
61050         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
61051         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
61052         [$(subdir) = elf] (tst-audit3-ENV): New variable.
61053         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
61054         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
61055         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
61056         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
61057         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
61058         Likewise.
61059         [$(subdir) = elf && $(config-cflags-avx) = yes]
61060         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
61061         [$(subdir) = elf && $(config-cflags-avx) = yes]
61062         (CFLAGS-tst-auditmod4a.c): Likewise.
61063         [$(subdir) = elf && $(config-cflags-avx) = yes]
61064         (CFLAGS-tst-auditmod4b.c): Likewise.
61065         [$(subdir) = elf && $(config-cflags-avx) = yes]
61066         (CFLAGS-tst-auditmod6b.c): Likewise.
61067         [$(subdir) = elf && $(config-cflags-avx) = yes]
61068         (CFLAGS-tst-auditmod6c.c): Likewise.
61069         [$(subdir) = elf && $(config-cflags-avx) = yes]
61070         (CFLAGS-tst-auditmod7b.c): Likewise.
61071         * elf/tst-audit3.c: Move to ...
61072         * sysdeps/x86_64/tst-audit3.c: ... here.
61073         * elf/tst-audit4.c: Move to ...
61074         * sysdeps/x86_64/tst-audit4.c: ... here.
61075         * elf/tst-audit5.c: Move to ...
61076         * sysdeps/x86_64/tst-audit5.c: ... here.
61077         * elf/tst-audit6.c: Move to ...
61078         * sysdeps/x86_64/tst-audit6.c: ... here.
61079         * elf/tst-audit7.c: Move to ...
61080         * sysdeps/x86_64/tst-audit7.c: ... here.
61081         * elf/tst-auditmod3a.c: Move to ...
61082         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
61083         * elf/tst-auditmod3b.c: Move to ...
61084         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
61085         * elf/tst-auditmod4a.c: Move to ...
61086         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
61087         * elf/tst-auditmod4b.c: Move to ...
61088         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
61089         * elf/tst-auditmod5a.c: Move to ...
61090         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
61091         * elf/tst-auditmod5b.c: Move to ...
61092         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
61093         * elf/tst-auditmod6a.c: Move to ...
61094         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
61095         * elf/tst-auditmod6b.c: Move to ...
61096         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
61097         * elf/tst-auditmod6c.c: Move to ...
61098         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
61099         * elf/tst-auditmod7a.c: Move to ...
61100         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
61101         * elf/tst-auditmod7b.c: Move to ...
61102         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
61104 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
61106         [BZ #15366]
61107         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
61108         define unconditionally.
61109         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
61110         define unconditionally.
61111         (INT8_C, INT16_C, etc.): Likewise.
61113 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
61115         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
61116         __ehdr_start with hidden visibility.
61118         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
61120 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
61122         * math/libm-test.inc (cos_test): Use accurate hex constants.
61123         (sincost_test): Likewise.
61125 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
61127         * math/libm-test.inc (catan_test): Add more tests.
61128         (catanh_test): Likewise.
61130         * math/s_catanf.c (__catanf): Use suffixed floating-point
61131         constants.
61132         * math/s_catanhf.c (__catanhf): Likewise.
61133         * math/s_catanhl.c (__catanhl): Likewise.
61134         * math/s_catanl.c (__catanl): Likewise.
61136         [BZ #15394]
61137         * math/s_catan.c (__catan): Calculate imaginary part of result
61138         with log1p not log unless computing log of number close to 0.
61139         * math/s_catanf.c (__catanf): Likewise.
61140         * math/s_catanl.c (__catanl): Likewise.
61141         * math/s_catanh.c (__catanh): Calculate real part of result with
61142         log1p not log unless computing log of number close to 0.
61143         * math/s_catanhf.c (__catanhf): Likewise.
61144         * math/s_catanhl.c (__catanhl): Likewise.
61145         * math/libm-test.inc (catan_test): Add more tests.
61146         (catanh_test): Likewise.
61147         * sysdeps/i386/fpu/libm-test-ulps: Update.
61148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61150 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61152         * benchtests/Makefile: Mention files in which fast and slow
61153         paths of math functions are implemented.
61155 2013-04-23  Roland McGrath  <roland@hack.frob.com>
61157         * sysdeps/posix/timespec_get.c: New file.
61159 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61161         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
61162         POWER.
61163         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
61164         for POWER.
61165         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
61166         powerpc/power5/fpu folders.
61167         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
61168         * benchtests/Makefile: Add modf testcase.
61169         * benchtests/bench-modf.c: New file: Benchmark test for mo
61171 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61173         [BZ #14888]
61174         * time/Makefile (tests): Add tst-strptime-whitespace.
61175         * time/strptime_l.c (get_number): Use ISSPACE.
61176         (__strptime_internal): Likewise.
61177         * time/tst-strptime-whitespace.c: New test case.
61179 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
61181         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
61182         member.
61183         (_nss_files_init): Set it here.
61185 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
61187         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
61188         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
61189         unsigned.
61191 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
61193         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
61195 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61197         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
61198         size just once.
61200 2013-04-21  David S. Miller  <davem@davemloft.net>
61202         * po/ru.po: Update Russion translation from translation project.
61204 2013-04-17  Adam Conrad  <adconrad@0c3.net>
61206         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
61207         and setfsgid.
61209 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
61211         * configure.in: Remove i386 configure warning. Remove i386 case.
61212         * configure: Regenerate.
61213         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
61214         Add example to error message.
61215         * sysdeps/i386/configure: Regenerate.
61217 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61219         * benchtests/Makefile (bench): Add cos, tan, slowcos and
61220         slowtan.
61221         * benchtests/cos-inputs: New file.
61222         * benchtests/slowcos-inputs: New file.
61223         * benchtests/slowcos.c: New file.
61224         * benchtests/slowtan-inputs: New file.
61225         * benchtests/slowtan.c: New file.
61226         * benchtests/tan-inputs: New file.
61228 2013-04-16  Roland McGrath  <roland@hack.frob.com>
61230         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
61231         considered kosher.
61233 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61235         * benchtests/Makefile: Include cppflags-iterator.mk to add
61236         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
61238         * Makefile.in (bench-clean): New target.
61239         * benchtests/Makefile (bench-clean): Likewise.
61241 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
61243         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
61245 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
61247         * stdio-common/tstdiomisc.c: Fix coding-style violation.
61249 2013-04-15  Andreas Schwab  <schwab@suse.de>
61251         * nscd/grpcache.c (cache_addgr): Properly check for short write.
61252         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61253         * nscd/pwdcache.c (cache_addpw): Likewise.
61254         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
61255         more than recsize.
61257 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61259         * benchtests/Makefile (bench): Write all output to
61260         bench-out.tmp together.
61262 2013-04-15  Andreas Schwab  <schwab@suse.de>
61264         * nscd/nscd.c (main): Don't fork again after closing files.
61266 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61268         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
61270         * benchtests/Rules (bench-deps): Collect dependencies into a
61271         single variable.  Add Makefile to dependencies.
61272         ($(objpfx)bench-%.c): Depend on bench-deps.
61274 2013-04-12  Roland McGrath  <roland@hack.frob.com>
61275             Xavier Roche  <roche+kml2@exalead.com>
61277         [BZ #15361]
61278         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
61279         just that it's a file descriptor.
61280         * manual/llio.texi (Synchronizing AIO Operations): Update description
61281         for EBADF error from aio_fsync.
61283 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61285         * Rules (bench): Move target definition...
61286         * benchtests/Makefile: ... here.
61288 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
61290         * math/libm-test.inc (cos_test): Fix PI/2 test.
61291         (sincos_test): Likewise.
61292         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
61293         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
61295 2013-04-11  Andreas Schwab  <schwab@suse.de>
61297         [BZ #13988]
61298         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
61299         accept exponent character only when digits were seen.
61300         * stdio-common/Makefile (tests): Add bug26.
61301         * stdio-common/bug26.c: New file.
61303         [BZ #14293]
61304         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
61305         non-freeable.
61307 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61309         * Makeconfig (rtld-prefix): Define built linker prefix.
61310         * Rules (run-bench): Use it.
61311         * math/Makefile (run-regen-ulps): Likewise.
61313         * Rules (bench): Remove eval.
61315 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61316             Roland McGrath  <roland@hack.frob.com>
61317             Ondrej Bilka  <neleai@seznam.cz>
61319         [BZ #15346]
61320         * time/getdate.c: Include ctype.h and alloca.h.
61321         (__getdate_r): Trim leading and trailing spaces of input.
61322         * time/tst-getdate.c (tests): Add tests with leading and
61323         trailing spaces.
61325 2013-04-08  Roland McGrath  <roland@hack.frob.com>
61327         [BZ #14280]
61328         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
61329         when computing value.
61331 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61333         * math/README.libm-test (How can I generate "libm-test-ulps"?):
61334         Use testrun.sh to run libm tests.
61336         [BZ #15309]
61337         * elf/dl-open.c (dl_open_worker): memset all of seen array.
61339 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
61341         [BZ #15264]
61342         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
61344 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61346         * Makefile.in (regen-ulps): New target.
61347         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
61348         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
61349         [ifneq (no,$(PERL)] (regen-ulps): New target.
61350         [ifeq (no,$(PERL)] (regen-ulps): New target.
61351         * math/libm-test.inc (ulps_file_name): Define.
61352         (output_dir): New variable.
61353         (options): Add "output-dir" option.
61354         (parse_opt): Handle 'o' case.
61355         (main): If output_dir is non-NULL use it as a prefix
61356         otherwise use "".
61357         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
61359 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61361         [BZ #10060, #10062]
61362         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
61363         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
61364         fail configure if __sync_val_compare_and_swap is not inlined.
61365         * sysdeps/i386/configure: Regenerate.
61366         * configure.in: Build for i686 when configured for i386.
61367         * configure: Regenerate.
61368         * README: Remove i386 reference.
61370 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61372         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
61373         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61375 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61377         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
61378         (lmsnanval): New variables.
61379         (F): Add conversion tests.
61380         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
61381         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
61383         * stdio-common/tstdiomisc.c (F): Properly collect individual
61384         tests' results.
61386         [BZ #14686, #15336]
61387         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
61388         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
61389         Instead, use input NaN values or generate a qNaN by arithmetic
61390         operation.  Also fix bugs to comply with the standard.
61391         * math/libm-test.inc (remainder_test): Add more tests.
61393         [BZ #15335, #15342]
61394         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
61395         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
61396         input NaN values or generate a qNaN by arithmetic operation.
61398         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
61399         unreachable code.
61401         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
61402         definitions.
61404 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
61406         [BZ #14478]
61407         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
61408         underflowed result.
61409         * math/s_cexpf.c (__cexpf): Likewise.
61410         * math/s_cexpl.c (__cexpl): Likewise.
61411         * math/libm-test.inc (cexp_test): Add more tests.
61413 2013-04-03  Andreas Schwab  <schwab@suse.de>
61415         [BZ #15330]
61416         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
61417         order arrays from heap if bigger than alloca cutoff.
61419 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
61421         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
61422         (SNAN_TESTS_double): Refer to GCC PR56831.
61423         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
61424         GCC PR56828.
61426 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61428         * Rules (bench): Move bench.out after the run is complete.
61430         * Rules (bench): Echo currently running benchmark.
61432         * benchtests/Makefile (bench): Add atan and slowatan.
61433         * benchtests/atan-inputs: New file.
61434         * benchtests/slowatan-inputs: New file.
61435         * benchtests/slowatan.c: New file.
61437         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
61438         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
61439         its value.
61441         [BZ #15305]
61442         * sysdeps/unix/sysv/linux/kernel-features.h
61443         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
61444         __ASSUME_XFS_RESTRICTED_CHOWN.
61445         * sysdeps/unix/sysv/linux/pathconf.c
61446         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
61447         Save and restore errno.
61449 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
61451         [BZ #15327]
61452         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
61453         arguments using __kernel_casinh.
61454         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
61455         arguments using __kernel_casinhf.
61456         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
61457         arguments using __kernel_casinhl.
61458         * math/libm-test.inc (cacosh_test): Add more tests.
61459         * sysdeps/i386/fpu/libm-test-ulps: Update.
61460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61462 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61464         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
61465         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
61467         * bench/Makefile (bench): Add sin and slowsin.
61468         * benchtests/sin-inputs: New file.
61469         * benchtests/slowsin-inputs: New file.
61470         * benchtests/slowsin.c: New file.
61472         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
61473         (bench): Add slowexp and slowpow.
61474         (exp-ITER): Increase iterations.
61475         (pow-ITER): Likewise.
61476         * benchtests/exp-inputs: Change input.
61477         * benchtests/pow-inputs: Likewise.
61478         * benchtests/slowexp-inputs: New file.
61479         * benchtests/slowexp.c: New file.
61480         * benchtests/slowpow-inputs: New file.
61481         * benchtests/slowpow.c: New file.
61483 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61485         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
61486         instructions.
61487         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
61488         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
61489         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61490         * benchtests/Makefile: Add rint benchtest.
61491         * benchtests/rint-inputs: Input for rint benchtest.
61493 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61495         * Versions.def (libm): Add GLIBC_2.18.
61496         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
61497         hidden libm prototypes.
61498         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
61499         * math/Makefile (libm-calls): Add s_issignaling.
61500         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
61501         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
61502         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
61503         declaration.
61504         * math/math.h [__USE_GNU] (issignaling): New macro.
61505         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
61506         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
61507         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
61508         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
61509         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
61510         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
61511         * manual/arith.texi (issignaling): New section.
61512         * manual/libm-err-tab.pl (@all_functions): Update comment.
61513         * math/gen-libm-test.pl (parse_args): Apply special handling for
61514         issignaling.
61515         * math/libm-test.inc (print_float, issignaling_test): New
61516         functions.
61517         (check_float_internal): Add issignaling checks.
61518         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
61519         default definition.
61520         * sysdeps/powerpc/math-tests.h: New file.
61521         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
61522         tests.
61523         * math/test-snan.c (TEST_FUNC): Likewise.
61525 2013-03-30  David S. Miller  <davem@davemloft.net>
61527         * po/de.po: Update from translation team.
61529 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
61531         [BZ #10357]
61532         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61533         imaginary part less than 1.0 and real part less than 0.5
61534         specially.
61535         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61536         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61537         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
61538         (cacos_test): Add more tests.
61539         (casin_test): Likewise.
61540         (casinh_test): Likewise.
61541         * sysdeps/i386/fpu/libm-test-ulps: Update.
61542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61544 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61546         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
61547         ONE with its value.
61549         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
61550         (__pow_mp): Replace ONE and MONE with their values.
61551         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61552         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
61553         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61554         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
61555         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61556         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61558         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
61560         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
61561         (__pow_mp): Replace ZERO and MZERO with their values.
61562         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61563         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61564         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61565         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61566         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61567         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
61568         (__sqr): Likewise.
61570         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
61572         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
61574 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61576         * include/stdlib.h [!SHARED] (__call_tls_dtors):
61577         Declare with __attribute__ ((weak)).
61578         * stdlib/exit.c (__libc_atexit) [!SHARED]:
61579         Call __call_tls_dtors only if it's not NULL.
61581 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61583         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
61584         didn't do it already, then set _dl_phdr and _dl_phnum based on the
61585         magic __ehdr_start linker symbol if it's defined.
61586         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
61587         them up here if it was already done.
61589         * elf/dl-support.c (_dl_phdr): Make pointer to const.
61590         (_dl_aux_init): Use const in cast when setting it.
61591         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
61592         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
61593         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
61595         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
61596         Declare them here.
61597         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
61598         * csu/libc-tls.c: Nor here.
61599         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
61601         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
61602         (__libc_message): Never call vsyslog.
61604 2013-03-28  Alan Modra  <amodra@gmail.com>
61606         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
61607         Define as empty.
61608         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
61609         Likewise.
61611 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61613         [BZ #15214]
61614         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
61615         underflow.
61616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61618 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61620         [BZ #15304]
61621         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
61622         Don't add gid passed as argument.
61624         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
61626 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
61628         [BZ #15307]
61629         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61630         imaginary part between 1.0 and 1.5 and real part less than 0.5
61631         specially.
61632         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61633         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61634         * math/libm-test.inc (cacos_test): Add more tests.
61635         (casin_test): Likewise.
61636         (casinh_test): Likewise.
61637         * sysdeps/i386/fpu/libm-test-ulps: Update.
61638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61640 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61642         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
61643         constants.
61644         (norm): Likewise.
61645         (denorm): Likewise.
61646         (__dbl_mp): Likewise.
61647         (add_magnitudes): Likewise.
61648         (sub_magnitudes): Likewise.
61649         (__add): Likewise.
61650         (__sub): Likewise.
61651         (__mul): Likewise.
61652         (__sqr): Likewise.
61653         (__inv): Likewise.
61654         (__dvd): Likewise.
61656         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
61657         commented code.
61658         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
61659         (__dubcos): Likewise.
61660         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
61661         (__ieee754_acos): Likewise.
61662         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61663         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
61664         (__exp1): Likewise.
61665         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61666         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61667         (log1): Likewise.
61668         (my_log2): Likewise.
61669         (checkint): Likewise.
61670         * sysdeps/ieee754/dbl-64/e_remainder.c
61671         (__ieee754_remainder): Likewise.
61672         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61673         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
61674         (bsloww): Likewise.
61675         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61677         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61678         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
61679         MANTISSA_STORE_T to store computations on mantissa.  Use
61680         macros for rounding and division.
61681         (denorm): Likewise.
61682         (__dbl_mp): Likewise.
61683         (add_magnitudes): Likewise.
61684         (sub_magnitudes): Likewise.
61685         (__mul): Likewise.
61686         (__sqr): Likewise.
61687         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
61688         powers of two in terms of TWOPOW macro.
61689         (mp_no): Make type of mantissa as MANTISSA_T.
61690         [!RADIXI]: Define RADIXI.
61691         [!TWO52]: Define TWO52.
61692         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61694 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61696         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
61697         llroundl symbol when building for PPC32.
61699 2013-03-24  Mark H Weaver  <mhw@netris.org>
61701         * manual/arith.texi (Normalization Functions): Fix prototypes for
61702         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
61704 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61706         [BZ #13889]
61707         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
61708         high value to check if expl overflow.
61709         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
61710         to check for underflow and overflow.
61711         * math/libm-test.inc: Add exp test.
61713 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
61715         [BZ #11120]
61716         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
61717         with NOT_IN_libc.
61719 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61721         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
61722         symbol.
61724 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61726         * math/gen-libm-test.pl (parse_args, special_functions): Properly
61727         wrap blocks consisting of several statements.
61729         * sysdeps/generic/math-tests.h: New file.
61730         * sysdeps/i386/fpu/math-tests.h: Likewise.
61731         * math/test-snan.c: Include it.
61732         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
61734 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61736         [BZ #15285]
61737         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
61738         (__ieee754_j0l): Do not improve calculations using cos of twice
61739         input for inputs above LDBL_MAX / 2.0L.
61740         (__ieee754_y0l): Likewise.
61741         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
61742         (__ieee754_j1l): Do not improve calculations using cos of twice
61743         input for inputs above LDBL_MAX / 2.0L.
61744         (__ieee754_y1l): Likewise.
61745         * math/libm-test.inc (j0_test): Add another test.
61746         (j1_test): Likewise.
61747         (y0_test): Likewise.
61748         (y1_test): Likewise.
61749         * sysdeps/i386/fpu/libm-test-ulps: Update.
61751 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61753         * Rules ($(objpfx)bench-%.c): Include code from a C source
61754         file.
61756 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61758         [BZ #15287]
61759         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61760         imaginary part 1.0 and real part less than 0.5 specially.
61761         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61762         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61763         * math/libm-test.inc (cacos_test): Add more tests.
61764         (casin_test): Likewise.
61765         (casinh_test): Likewise.
61766         * sysdeps/i386/fpu/libm-test-ulps: Update.
61767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61769 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61771         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
61772         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
61774 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
61776         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
61777         * config.make.in (config-cflags-sse4): Remove variable.
61778         (config-cflags-avx): Likewise.
61779         (config-cflags-sse2avx): Likewise.
61780         (config-cflags-novzeroupper): Likewise.
61781         (config-asflags-i686): Likewise.
61782         (have-mfma4): Likewise.
61783         (have-as-vis3): Likewise.
61784         (MIG): Likewise.
61785         * configure.in (MIG): Do not AC_SUBST.
61786         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
61787         (libc_cv_cc_sse4): Do not AC_SUBST.
61788         (libc_cv_cc_avx): Likewise.
61789         (libc_cv_cc_sse2avx): Likewise.
61790         (libc_cv_cc_novzeroupper): Likewise.
61791         (libc_cv_cc_fma4): Likewise.
61792         (libc_cv_as_i686): Likewise.
61793         (libc_cv_sparc_as_vis3): Likewise.
61794         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
61795         LIBC_CONFIG_VAR.
61796         (config-asflags-i686): Likewise.
61797         (config-cflags-avx): Likewise.
61798         (config-cflags-sse2avx): Likewise.
61799         (have-mfma4): Likewise.
61800         (config-cflags-novzeroupper): Likewise.
61801         * sysdeps/mach/configure.in (MIG): Likewise.
61802         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
61803         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
61804         LIBC_CONFIG_VAR.
61805         (config-cflags-avx): Likewise.
61806         (config-cflags-sse2avx): Likewise.
61807         (have-mfma4): Likewise.
61808         (config-cflags-novzeroupper): Likewise.
61809         * configure: Regenerated.
61810         * sysdeps/i386/configure: Likewise.
61811         * sysdeps/mach/configure: Likewise.
61812         * sysdeps/sparc/configure: Likewise.
61813         * sysdeps/x86_64/configure: Likewise.
61815 2013-03-20  Roland McGrath  <roland@hack.frob.com>
61817         [BZ #14812]
61818         * locale/programs/localedef.c (options): Put N_ translation marker
61819         on argument names, not just descriptions.
61821 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61823         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
61825 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
61827         [BZ #14176]
61828         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
61830 2013-03-19  Roland McGrath  <roland@hack.frob.com>
61832         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
61833         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
61834         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
61835         [!BEFORE_ABORT] (before_abort): New function.
61836         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
61837         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
61838         (writev_for_fatal): New function.
61839         (WRITEV_FOR_FATAL): New macro; call that.
61840         (backtrace_and_maps): New function.
61841         (BEFORE_ABORT): New macro; call that.
61842         (struct str_list): Type removed.
61843         (__libc_message, __libc_fatal): Functions removed.
61844         Include <sysdeps/posix/libc_fatal.c> instead.
61846 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
61848         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
61849         constants.
61850         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
61851         double constants.
61853 2013-03-19  Andreas Schwab  <schwab@suse.de>
61855         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
61856         * sysdeps/gnu/configure: Regenerate.
61858         * configure.in: Substitute libc_cv_rtlddir.
61859         * configure: Regenerate.
61860         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
61861         * Makeconfig (rtlddir, inst_rtlddir): New variables.
61862         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
61863         * elf/Makefile (install-others, CFLAGS-interp.c)
61864         (ldso_install, common-ldd-rewrite): Likewise.
61865         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
61866         $(inst_slibdir)/$(rtld-installed-name).
61867         * scripts/rellns-sh: Add -p option.
61868         * Makerules (make-shlib-link): Use rellns-sh to get relative name
61869         for source.
61871 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61873         * manual/nptl.texi: Renamed to ...
61874         * manual/threads.texi: ... this.
61875         * manual/Makefile (chapters): Update.
61877 2013-03-18  Roland McGrath  <roland@hack.frob.com>
61879         [BZ #14812]
61880         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
61881         on argument names, not just descriptions.
61882         * malloc/memusagestat.c (options): Likewise.
61883         * nss/getent.c (options): Likewise.
61885 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
61887         [BZ #14812]
61888         * iconv/iconv_prog.c (options): Put N_ translation marker
61889         on argument names, not just descriptions.
61890         * iconv/iconvconfig.c (options): Likewise.
61892 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
61894         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
61895         implementation which is faster on all x86_64 architectures.
61896         Tested on AMD, Intel Nehalem, SNB, IVB.
61897         * sysdeps/x86_64/strnlen.S: Likewise.
61899         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61900         Remove all multiarch strlen and strnlen versions.
61901         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
61902         Remove strlen and strnlen related parts.
61904         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
61905         Inline strlen part.
61906         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
61908         * sysdeps/x86_64/multiarch/strlen.S: Remove.
61909         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
61910         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
61911         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
61912         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61913         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
61915 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
61917         * manual/memory.texi (Malloc Tunable Parameters):
61918         Sort parameters alphabetically. Add comments for missing entries.
61920 2013-03-17  David S. Miller  <davem@davemloft.net>
61922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61924 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
61926         [BZ #15283]
61927         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
61928         for arguments at most half maximum finite value.
61929         * math/libm-test.inc (j0_test): Add more tests.
61930         (j1_test): Likewise.
61931         (y0_test): Likewise.
61932         (y1_test): Likewise.
61933         * sysdeps/i386/fpu/libm-test-ulps: Update.
61934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61936         [BZ #14155]
61937         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
61938         1 / x and functions P and Q for arguments above 0x1p256L.
61939         (__ieee754_y0l): Likewise.
61940         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
61941         (__ieee754_y1l): Likewise.
61942         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
61943         (j1_test): Likewise.
61944         (y0_test): Likewise.
61945         (y1_test): Likewise.
61947 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
61949         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
61950         variable.
61952 2013-03-15  Roland McGrath  <roland@hack.frob.com>
61954         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
61955         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
61956         zero since it's initialized to EXEC_PAGESIZE.
61958         * sysdeps/unix/sysv/linux/ldsodefs.h
61959         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
61960         * sysdeps/generic/ldsodefs.h: ... here.
61962 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
61964         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
61966         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
61967         math/test-snan.c.
61968         * math/test-snan.c: Renamed from
61969         sysdeps/powerpc/fpu/test-powerpc-snan.c.
61970         * math/Makefile (tests): Add test-snan.
61971         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
61972         test-powerpc-snan.
61974         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
61975         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
61976         functions.
61977         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
61978         __builtin_nan family of functions.
61979         * math/libm-test.inc (initialize): Initialize qnan_value with
61980         __builtin_nan family of functions.
61981         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
61982         Remove variables.
61983         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
61984         Remove functions.
61985         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
61986         storage class.  Initialize qNaN_var and sNaN_var with
61987         __builtin_nan and __builtin_nans families of functions,
61988         respectively.
61990         * math/libm-test.inc (acosh_test): Also test with qNaN input.
61991         (sqrt_test): Remove duplicate test with qNaN input.
61992         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
61993         (round_test, signbit_test, significand_test): Note missing +/-Inf
61994         as well as qNaN tests.
61996         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
61997         qNaN_var.  Fix a few strings, too.
61998         * math/libm-test.inc (nan_value): Rename to qnan_value.
61999         * math/gen-libm-test.pl (%beautify): Adjust to that.
62000         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
62001         * math/test-misc.c (main): Likewise.
62002         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
62003         to __qnan_bytes, and __qnan_union, respectively.
62004         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
62005         Likewise.
62006         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
62007         and lqnanval, respectively.
62008         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
62009         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
62010         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
62011         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
62013         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
62014         * math/test-misc.c (main) [__x86_64__]: Enable test for long
62015         doubles.
62017         * math/test-misc.c (main): Fix copy'n'pastos.
62018         * misc/tst-efgcvt.c (special): Likewise.
62020         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
62021         Remove declarations.
62023 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62025         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
62026         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
62027         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
62028         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
62030 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62032         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
62033         macro to return vdso values correctly in IFUNC implementations.
62034         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
62035         Optimization by using IFUNC.
62037 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62038             Richard Henderson  <rth@redhat.com>
62039             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62041         * Makefile.in (bench): New target.
62042         * NEWS: Mention the benchmark framework.
62043         * Rules (bench): Likewise.
62044         (binaries-bench): Generate binaries for functions to
62045         benchmark.
62046         * benchtests/Makefile: New makefile for benchmark tests.
62047         * benchtests/bench-skeleton.c: New skeleton file for benchmark
62048         programs.
62049         * benchtests/exp-inputs: New input file for EXP function.
62050         * benchtests/pow-inputs: New input file for POW function.
62051         * scripts/bench.pl: New script to generate source files for
62052         benchmark programs.
62054 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62056         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62057         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
62058         computations on mantissa.  Use macros for rounding and
62059         division.
62060         (denorm): Likewise.
62061         (__dbl_mp): Likewise.
62062         (add_magnitudes): Likewise.
62063         (sub_magnitudes): Likewise.
62064         (__mul): Likewise.
62065         (__sqr): Likewise.
62066         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62067         powers of two in terms of TWOPOW macro.
62068         (mp_no): Make type of mantissa as MANTISSA_T.
62069         [!RADIXI]: Define RADIXI.
62070         [!TWO52]: Define TWO52.
62071         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62073         * manual/nptl.texi (cindex): Modify threads to pthreads.
62075 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
62077         * sysdeps/x86_64/preconfigure: Regenerated.
62079 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
62081         [BZ #14155]
62082         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
62083         0x1p28 and above.
62084         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
62085         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
62086         0x1p28 and above.
62087         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
62088         * math/libm-test.inc (j0_test): Do not allow one spurious
62089         underflow exception.
62090         (y1_test): Likewise.
62092 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62094         * manual/Makefile (chapters): Add nptl.
62095         * manual/debug.texi (Debugging Support): Add link to Threads
62096         chapter.
62097         * manual/nptl.texi: New file.
62099         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
62101 2013-03-14  Petr Baudis  <pasky@ucw.cz>
62103         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
62104         for non-NULL pointer before the memory validity test. Pointed
62105         out by Holger Brunck <holger.brunck@keymile.com>.
62107 2013-03-13  Andreas Schwab  <schwab@suse.de>
62109         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
62110         instead of .os.
62112 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
62114         * timezone/zic.c: Update from tzcode 2013b.
62116 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
62118         * manual/install.texi (Configuring and compiling):
62119         Mention i686 and i586.
62120         * INSTALL: Regenerate.
62122 2013-03-12  Roland McGrath  <roland@hack.frob.com>
62124         * sysdeps/init_array/elf-init.c: New file.
62125         * csu/elf-init.c
62126         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
62127         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
62129         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
62130         __gmon_start__ as global, but as static with a .preinit_array pointer.
62131         * sysdeps/init_array/gmon-start.c: New file.  Use that.
62132         * sysdeps/init_array/crti.S: New file, empty except for comments.
62133         * sysdeps/init_array/crtn.S: Likewise.
62135 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
62137         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
62138         definining bcopy.
62139         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62140         Remove Prefer_SSE_for_memop.
62141         * sysdeps/x86_64/multiarch/init-arch.h: Remove
62142         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
62143         HAS_PREFER_SSE_FOR_MEMOP.
62144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
62145         memset-x86-64.
62146         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62147         Remove bzero, memset ifunc support.
62148         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
62149         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
62150         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62151         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62153 2013-03-11  Andreas Schwab  <schwab@suse.de>
62155         [BZ #15234]
62156         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
62157         by SHLIB_COMPAT.
62158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
62159         (GLIBC_2.16): Remove pthread_atfork.
62161 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
62163         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
62164         (ptestcases.h): Likewise.
62166 2013-03-08  Roland McGrath  <roland@hack.frob.com>
62168         * Makeconfig ($(common-objpfx)config.status): Depend on
62169         sysdeps/*/preconfigure{,.in} too.
62171 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
62173         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
62174         (__free_hook): Use void * instead of __malloc_ptr_t.
62175         (__malloc_hook): Likewise.
62176         (__realloc_hook): Likewise.
62177         (__memalign_hook): Likewise.
62178         (__after_morecore_hook): Likewise.
62179         * malloc/arena.c (save_malloc_hook): Likewise.
62180         (save_free_hook): Likewise.
62181         * malloc/hooks.c (malloc_hook_ini): Likewise.
62182         (realloc_hook_ini): Likewise.
62183         (memalign_hook_ini): Likewise.
62184         * malloc/malloc.c (malloc_hook_ini): Likewise.
62185         (realloc_hook_ini): Likewise.
62186         (memalign_hook_ini): Likewise.
62187         (__free_hook): Likewise.
62188         (__malloc_hook): Likewise.
62189         (__realloc_hook): Likewise.
62190         (__memalign_hook): Likewise.
62191         (__libc_malloc): Likewise.
62192         (__libc_free): Likewise.
62193         (__libc_realloc): Likewise.
62194         (__libc_memalign): Likewise.
62195         (__libc_valloc): Likewise.
62196         (__libc_pvalloc): Likewise.
62197         (__libc_calloc): Likewise.
62198         (__posix_memalign): Likewise.
62199         * malloc/morecore.c (__sbrk): Likewise.
62200         (__default_morecore): Likewise.
62202         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
62204         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
62205         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
62206         __malloc_ptrdiff_t.
62208         * malloc/malloc.h (__malloc_size_t): Remove macro.
62209         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
62210         __malloc_size_t.
62211         (old_memalign_hook): Likewise.
62212         (old_realloc_hook): Likewise.
62213         (struct hdr): Likewise.
62214         (flood): Likewise.
62215         (mallochook): Likewise.
62216         (memalignhook): Likewise.
62217         (reallochook): Likewise.
62218         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
62219         (tr_old_realloc_hook): Likewise.
62220         (tr_old_memalign_hook): Likewise.
62221         (tr_mallochook): Likewise.
62222         (tr_reallochook): Likewise.
62223         (tr_memalignhook): Likewise.
62225 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62227         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
62228         default_ldbl_pack and using as default implementation.
62229         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
62230         implementation.
62231         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
62232         redundant definition.
62233         (ldbl_insert_mantissa): Likewise.
62234         (ldbl_canonicalize): Likewise.
62235         (ldbl_nearbyint): Likewise.
62236         (ldbl_pack): Rename to ldbl_pack_ppc.
62237         (ldbl_unpack): Rename to ldbl_unpack_ppc.
62238         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
62239         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
62241 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62243         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
62244         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
62245         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
62246         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
62247         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
62248         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
62249         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
62250         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
62252 2013-03-07  Andreas Jaeger  <aj@suse.de>
62254         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62255         bits/mman-linux.h.
62257 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62259         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
62260         Include mpa.h and declare __MPEXP.
62261         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
62262         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62263         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62264         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
62265         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62266         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62267         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
62269         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
62270         (__slowpow): Use long double EXPL and LOGL functions to
62271         compute POW.
62272         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62273         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62274         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
62275         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62276         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62277         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
62279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
62280         intermediate variable to calculate exponent.
62281         (__sqr): Likewise.
62282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62283         Likewise.
62284         (__sqr): Likewise.
62286         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
62287         [!NO__SQR]: Define __sqr.
62288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
62289         and NO__SQR.  Remove all code except __mul and __sqr.  Include
62290         sysdeps/ieee754/dbl-64/mpa.c.
62291         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62293         [BZ #12723]
62294         * posix/Makefile (tests): Add tst-pathconf.
62295         * posix/tst-pathconf.c: New test case.
62296         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
62297         _PC_PIPE_BUF.
62298         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
62300 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
62302         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
62304 2013-03-06  Andreas Jaeger  <aj@suse.de>
62306         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
62307         definition via __MAP_ANONYMOUS.
62309         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
62310         it's not part of Linux headers.
62312         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
62313         (MAP_HUGE_MASK): Define.
62315         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62316         Define.
62317         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62318         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62319         Define.
62320         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62321         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62322         Define.
62323         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62324         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
62325         Define.
62326         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62328         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
62329         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
62330         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
62331         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
62332         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
62333         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
62335         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62336         Handle f2fs.
62338         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62339         Handle f2fs and efivarfs.
62341         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
62342         f2fs.
62344         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
62345         (EFIVARFS_MAGIC): Add.
62346         (F2FS_LINK_MAX): Add.
62348 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62350         * stdio-common/vfprintf.c: Replace __builtin_expect with
62351         __glibc_unlikely.
62353 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
62355         [BZ #13550]
62356         * sysdeps/generic/bp-sym.h: Remove file.
62357         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
62358         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
62359         <bp-sym.h> and <bp-asm.h>.
62360         (__longjmp): Don't use BP_SYM.
62361         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
62362         and <bp-asm.h>.
62363         (memcpy): Don't use BP_SYM.
62364         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
62365         <bp-sym.h> and <bp-asm.h>.
62366         (memcpy): Don't use BP_SYM.
62367         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
62368         <bp-asm.h>.
62369         (memcpy): Don't use BP_SYM.
62370         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
62371         <bp-asm.h>.
62372         (memset): Don't use BP_SYM.
62373         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62374         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62375         (__bzero): Don't use BP_SYM.
62376         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62377         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62378         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
62379         <bp-sym.h> and <bp-asm.h>.
62380         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62381         pointers.
62382         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
62383         <bp-sym.h> and <bp-asm.h>.
62384         (memcpy): Don't use BP_SYM.
62385         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
62386         <bp-sym.h> and <bp-asm.h>.
62387         (memset): Don't use BP_SYM.
62388         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62389         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62390         (__bzero): Don't use BP_SYM.
62391         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62392         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62393         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
62394         <bp-sym.h> and <bp-asm.h>.
62395         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62396         pointers.
62397         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
62398         <bp-sym.h> and <bp-asm.h>.
62399         (memcpy): Don't use BP_SYM.
62400         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
62401         <bp-sym.h> and <bp-asm.h>.
62402         (memset): Don't use BP_SYM.
62403         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62404         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62405         (__bzero): Don't use BP_SYM.
62406         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62407         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62408         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
62409         <bp-sym.h> and <bp-asm.h>.
62410         (__memchr): Don't use BP_SYM.
62411         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
62412         <bp-sym.h> and <bp-asm.h>.
62413         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62414         pointers.
62415         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
62416         <bp-sym.h> and <bp-asm.h>.
62417         (memcpy): Don't use BP_SYM.
62418         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
62419         <bp-sym.h> and <bp-asm.h>.
62420         (__mempcpy): Don't use BP_SYM.
62421         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
62422         <bp-sym.h> and <bp-asm.h>.
62423         (__memrchr): Don't use BP_SYM.
62424         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
62425         <bp-sym.h> and <bp-asm.h>.
62426         (memset): Don't use BP_SYM.
62427         (__bzero): Likewise.
62428         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
62429         <bp-sym.h> and <bp-asm.h>.
62430         (__rawmemchr): Don't use BP_SYM.
62431         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
62432         <bp-sym.h> and <bp-asm.h>.
62433         (__STRCMP): Don't use BP_SYM.
62434         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
62435         <bp-sym.h> and <bp-asm.h>.
62436         (strchr): Don't use BP_SYM.
62437         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
62438         <bp-sym.h> and <bp-asm.h>.
62439         (__strchrnul): Don't use BP_SYM.
62440         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
62441         <bp-sym.h> and <bp-asm.h>.
62442         (strlen): Don't use BP_SYM.
62443         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
62444         <bp-sym.h> and <bp-asm.h>.
62445         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62446         pointers.
62447         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
62448         <bp-sym.h> and <bp-asm.h>.
62449         (__strnlen): Don't use BP_SYM.
62450         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
62451         <bp-sym.h> and <bp-asm.h>.
62452         (__GI__setjmp): Don't use BP_SYM.
62453         (_setjmp): Likewise.
62454         (__sigsetjmp): Likewise.
62455         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
62456         (L(start_addresses)): Don't use BP_SYM.
62457         (_start): Likewise.
62458         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
62459         <bp-asm.h>.
62460         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
62461         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
62462         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62463         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62464         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
62465         <bp-asm.h>.
62466         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
62467         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
62468         about bounded pointers.
62469         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62470         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62471         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
62472         <bp-asm.h>.
62473         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62474         about bounded pointers.  Remove GKM FIXME comments.
62475         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62476         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
62477         <bp-asm.h>.
62478         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
62479         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
62480         Remove GKM FIXME comments.
62481         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62482         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62483         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
62484         <bp-asm.h>.
62485         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62486         about bounded pointers.  Remove GKM FIXME comment.
62487         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
62488         and <bp-asm.h>.
62489         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62490         pointers.
62491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
62492         <bp-sym.h> and <bp-asm.h>.
62493         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
62495         <bp-sym.h> and <bp-asm.h>.
62496         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62497         comment.
62499 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62501         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
62502         call free(NULL).
62504 2013-03-05  David S. Miller  <davem@davemloft.net>
62506         * po/es.po: Update from translation team.
62508 2013-03-05  Andreas Jaeger  <aj@suse.de>
62510         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
62511         <bits/mman-linux.h>.
62512         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62513         is fine.
62514         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
62515         <bits/mman-linux.h> to end of file.
62516         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62517         is fine.
62518         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
62519         <bits/mman-linux.h> to end of file.
62520         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62521         is fine.
62522         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
62523         <bits/mman-linux.h> to end of file.
62525         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
62526         (MCL_CURRENT, MCL_FUTURE): Define here.
62528 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62530         [BZ #15232]
62531         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
62532         attribute_hidden.
62533         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62535 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62537         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
62538         fourth parameter needed for rt_sigprocmask syscall.
62539         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
62540         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62541         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
62542         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62543         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62544         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
62546 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
62548         [BZ #13550]
62549         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
62550         comment about bounded pointers.
62551         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
62552         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
62554 2013-03-04  Andreas Jaeger  <aj@suse.de>
62556         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
62557         common definitions.
62559         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
62560         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
62561         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
62562         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62563         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62564         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62566 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62568         [BZ #15055]
62569         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
62570         __ieee754_sqrl instead of __sqrl.
62572 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
62574         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
62575         * sysdeps/powerpc/fpu_control.h: ... here.
62576         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
62577         * sysdeps/powerpc/bits/fenvinline.h: ... here.
62578         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
62579         * sysdeps/powerpc/bits/mathinline.h: ... here.
62581 2013-03-01  Roland McGrath  <roland@hack.frob.com>
62583         * elf/dl-hwcaps.c (_dl_important_hwcaps):
62584         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
62585         to just [NEED_DL_SYSINFO_DSO].
62586         * elf/dl-support.c: Likewise.
62587         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
62588         * elf/rtld.c (dl_main): Likewise.
62589         * elf/setup-vdso.h (setup_vdso): Likewise.
62590         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
62591         * sysdeps/unix/sysv/linux/dl-sysdep.c
62592         (_dl_discover_osversion): Likewise.
62594 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
62596         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
62597         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62599 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
62601         * NEWS: Mention libm performance improvements and non-x86 PI
62602         futex support.
62604         * csu/libc-start.c (__pthread_initialize_minimal): Change
62605         function arguments.
62606         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62608 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
62610         [BZ #13550]
62611         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
62612         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
62613         <bp-sym.h> and <bp-asm.h>.
62614         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62615         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
62616         and <bp-asm.h>.
62617         (memcpy): Don't use BP_SYM.
62618         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
62619         <bp-asm.h>.
62620         (__mpn_add_n): Don't use BP_SYM.
62621         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
62622         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
62623         and <bp-asm.h>.
62624         (__mpn_addmul_1): Don't use BP_SYM.
62625         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62626         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
62627         <bp-sym.h>.
62628         (_setjmp): Don't use BP_SYM.
62629         (__novmx_setjmp): Likewise.
62630         (__GI__setjmp): Likewise.
62631         (__vmx_setjmp): Likewise.
62632         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
62633         <bp-sym.h>.
62634         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
62635         (__bzero): Don't use BP_SYM.
62636         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62637         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62638         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
62639         <bp-sym.h> and <bp-asm.h>.
62640         (memcpy): Don't use BP_SYM.
62641         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
62642         <bp-sym.h> and <bp-asm.h>.
62643         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62644         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
62645         <bp-sym.h> and <bp-asm.h>.
62646         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62647         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
62648         <bp-asm.h>.
62649         (__mpn_lshift): Don't use BP_SYM.
62650         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62651         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
62652         <bp-asm.h>.
62653         (memset): Don't use BP_SYM.
62654         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62655         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62656         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
62657         <bp-asm.h>.
62658         (__mpn_mul_1): Don't use BP_SYM.
62659         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62660         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
62661         <bp-sym.h> and <bp-asm.h>.
62662         (memcmp): Don't use BP_SYM.
62663         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
62664         <bp-sym.h> and <bp-asm.h>.
62665         (memcpy): Don't use BP_SYM.
62666         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
62667         <bp-sym.h> and <bp-asm.h>.
62668         (memset): Don't use BP_SYM.
62669         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
62670         <bp-sym.h> and <bp-asm.h>.
62671         (strncmp): Don't use BP_SYM.
62672         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
62673         <bp-sym.h> and <bp-asm.h>.
62674         (memcpy): Don't use BP_SYM.
62675         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
62676         <bp-sym.h> and <bp-asm.h>.
62677         (memset): Don't use BP_SYM.
62678         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
62679         <bp-sym.h> and <bp-asm.h>.
62680         (__memchr): Don't use BP_SYM.
62681         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
62682         <bp-sym.h> and <bp-asm.h>.
62683         (memcmp): Don't use BP_SYM.
62684         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
62685         <bp-sym.h> and <bp-asm.h>.
62686         (memcpy): Don't use BP_SYM.
62687         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
62688         <bp-sym.h> and <bp-asm.h>.
62689         (__mempcpy): Don't use BP_SYM.
62690         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
62691         <bp-sym.h> and <bp-asm.h>.
62692         (__memrchr): Don't use BP_SYM.
62693         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
62694         <bp-sym.h> and <bp-asm.h>.
62695         (memset): Don't use BP_SYM.
62696         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
62697         <bp-sym.h> and <bp-asm.h>.
62698         (__rawmemchr): Don't use BP_SYM.
62699         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
62700         <bp-sym.h> and <bp-asm.h>.
62701         (__STRCMP): Don't use BP_SYM.
62702         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
62703         <bp-sym.h> and <bp-asm.h>.
62704         (strchr): Don't use BP_SYM.
62705         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
62706         <bp-sym.h> and <bp-asm.h>.
62707         (__strchrnul): Don't use BP_SYM.
62708         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
62709         <bp-sym.h> and <bp-asm.h>.
62710         (strlen): Don't use BP_SYM.
62711         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
62712         <bp-sym.h> and <bp-asm.h>.
62713         (strncmp): Don't use BP_SYM.
62714         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
62715         <bp-sym.h> and <bp-asm.h>.
62716         (__strnlen): Don't use BP_SYM.
62717         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
62718         <bp-asm.h>.
62719         (__mpn_rshift): Don't use BP_SYM.
62720         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62721         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
62722         <bp-sym.h> and <bp-asm.h>.
62723         (__sigsetjmp): Don't use BP_SYM.
62724         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
62725         (L(start_addresses)): Don't use BP_SYM.
62726         (_start): Likewise.
62727         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
62728         <bp-asm.h>.
62729         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
62730         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62731         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62732         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
62733         <bp-asm.h>.
62734         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
62735         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62736         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62737         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
62738         <bp-asm.h>.
62739         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62740         comments.
62741         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62742         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
62743         <bp-asm.h>.
62744         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
62745         FIXME comments.
62746         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62747         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62748         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
62749         <bp-asm.h>.
62750         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62751         comment.
62752         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
62753         and <bp-asm.h>.
62754         (strncmp): Don't use BP_SYM,
62755         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
62756         <bp-asm.h>.
62757         (__mpn_sub_n): Don't use BP_SYM.
62758         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62759         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
62760         and <bp-asm.h>.
62761         (__mpn_submul_1): Don't use BP_SYM.
62762         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
62764         <bp-sym.h> and <bp-asm.h>.
62765         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
62767         <bp-sym.h> and <bp-asm.h>.
62768         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62769         comment.
62771 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62773         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
62774         Use ZK to minimize writes to Z.
62775         (sub_magnitudes): Simplify code a bit.
62776         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
62777         Use ZK to minimize writes to Z.
62778         (sub_magnitudes): Simplify code a bit.
62780 2013-02-27  Roland McGrath  <roland@hack.frob.com>
62782         * csu/gmon-start.c: Add special exception to license text.
62784 2013-02-27  Richard Henderson  <rth@redhat.com>
62786         * scripts/config.guess: Update from config.git.
62787         * scripts/config.sub: Likewise.
62789 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62791         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
62793         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
62795         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
62797         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
62799         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
62801 2013-02-26  Roland McGrath  <roland@hack.frob.com>
62803         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
62804         [$(build-shared = yes].
62806 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62808         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
62809         (__mul): Reduce iterations for calculating mantissa.
62811         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
62812         MPTWO.
62813         (__mpranred): Likewise.
62815         [BZ #15160]
62816         * malloc/memusagestat.c (main): Draw graphs for heap and stack
62817         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
62819 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
62821         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
62822         Define __attribute__.
62824 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62826         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
62827         unused.
62828         * posix/regex_internal.h (__attribute): Remove.
62829         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
62830         (re_string_context_at): Likewise.
62831         (bitset_not): Use __attribute__ and mark function as possibly
62832         unused.
62833         (bitset_merge): Likewise.
62834         (bitset_mask): Likewise.
62835         (re_string_char_size_at): Likewise.
62836         (re_string_wchar_at): Likewise.
62837         (re_string_elem_size_at): Likewise.
62839 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62841         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
62842         code.
62843         (cc32): Likewise.
62845         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
62846         (__acr): Likewise.
62847         (__cpy): Likewise.
62848         (norm): Likewise.
62849         (denorm): Likewise.
62850         (__dbl_mp): Likewise.
62851         (add_magnitudes): Likewise.
62852         (sub_magnitudes): Likewise.
62853         (__mul): Likewise.
62854         (__inv): Likewise.
62856         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
62857         style.
62859         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
62860         style.
62862         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
62863         code.
62865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
62866         up changes with default code.
62867         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
62868         Likewise.
62870 2013-02-24  Allan McRae  <allan@archlinux.org>
62872         * manual/socket.texi (The Internet Namespace): Order menu items
62873         to match that in the file.
62875         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
62876         node listing of the info page menu.
62878 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
62880         [BZ #13550]
62881         * sysdeps/i386/bp-asm.h: Remove file.
62882         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62883         (PARMS): Do not use macros from bp-asm.h.
62884         (S1): Likewise.
62885         (S2): Likewise.
62886         (SIZE): Likewise.
62887         (__mpn_add_n): Do not use BP_SYM
62888         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
62889         "bp-asm.h".
62890         (PARMS): Do not use macros from bp-asm.h.
62891         (S1): Likewise.
62892         (SIZE): Likewise.
62893         (__mpn_addmul_1): Do not use BP_SYM
62894         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
62895         "bp-asm.h".
62896         (PARMS): Do not use macros from bp-asm.h.
62897         (SIGMSK): Likewise.
62898         (_setjmp): Likewise.  Do not use BP_SYM.
62899         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
62900         "bp-asm.h".
62901         (PARMS): Do not use macros from bp-asm.h.
62902         (SIGMSK): Likewise.
62903         (setjmp): Likewise.  Do not use BP_SYM.
62904         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
62905         "bp-asm.h".
62906         (PARMS): Do not use macros from bp-asm.h.
62907         (__frexp): Do not use BP_SYM.
62908         (frexp): Likewise.
62909         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
62910         "bp-asm.h".
62911         (PARMS): Do not use macros from bp-asm.h.
62912         (__frexpf): Do not use BP_SYM.
62913         (frexpf): Likewise.
62914         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
62915         "bp-asm.h".
62916         (PARMS): Do not use macros from bp-asm.h.
62917         (__frexpl): Do not use BP_SYM.
62918         (frexpl): Likewise.
62919         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
62920         "bp-asm.h".
62921         (PARMS): Do not use macros from bp-asm.h.
62922         (__remquo): Do not use BP_SYM.
62923         (remquo): Likewise.
62924         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
62925         "bp-asm.h".
62926         (PARMS): Do not use macros from bp-asm.h.
62927         (__remquof): Do not use BP_SYM.
62928         (remquof): Likewise.
62929         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
62930         "bp-asm.h".
62931         (PARMS): Do not use macros from bp-asm.h.
62932         (__remquol): Do not use BP_SYM.
62933         (remquol): Likewise.
62934         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
62935         "bp-asm.h".
62936         (PARMS): Do not use macros from bp-asm.h.
62937         (DEST): Likewise.
62938         (SRC): Likewise.
62939         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
62940         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
62941         "bp-asm.h".
62942         (PARMS): Do not use macros from bp-asm.h.
62943         (strlen): Do not use BP_SYM.
62944         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
62945         "bp-asm.h".
62946         (PARMS): Do not use macros from bp-asm.h.
62947         (S1): Likewise.
62948         (S2): Likewise.
62949         (SIZE): Likewise.
62950         (__mpn_add_n): Do not use BP_SYM.
62951         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
62952         "bp-asm.h".
62953         (PARMS): Do not use macros from bp-asm.h.
62954         (S1): Likewise.
62955         (SIZE): Likewise.
62956         (__mpn_addmul_1): Do not use BP_SYM.
62957         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
62958         weak_alias.
62959         (bzero): Likewise.
62960         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
62961         "bp-asm.h".
62962         (PARMS): Do not use macros from bp-asm.h.
62963         (S): Likewise.
62964         (SIZE): Likewise.
62965         (__mpn_lshift): Do not use BP_SYM.
62966         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
62967         "bp-asm.h".
62968         (PARMS): Do not use macros from bp-asm.h.
62969         (DEST): Likewise.
62970         (SRC): Likewise.
62971         (LEN): Likewise.
62972         (memcpy): Likewise.  Do not use BP_SYM.
62973         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
62974         libc_hidden_def and weak_alias.
62975         (mempcpy): Do not use BP_SYM in weak_alias.
62976         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
62977         "bp-asm.h".
62978         (PARMS): Do not use macros from bp-asm.h.
62979         (DEST): Likewise.
62980         (LEN): Likewise.
62981         [!BZERO_P] (CHR): Likewise.
62982         (memset): Likewise.  Do not use BP_SYM.
62983         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
62984         "bp-asm.h".
62985         (PARMS): Do not use macros from bp-asm.h.
62986         (S1): Likewise.
62987         (SIZE): Likewise.
62988         (__mpn_mul_1): Do not use BP_SYM.
62989         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
62990         "bp-asm.h".
62991         (PARMS): Do not use macros from bp-asm.h.
62992         (S): Likewise.
62993         (SIZE): Likewise.
62994         (__mpn_rshift): Do not use BP_SYM.
62995         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
62996         "bp-asm.h".
62997         (PARMS): Do not use macros from bp-asm.h.
62998         (STR): Likewise.
62999         (CHR): Likewise.
63000         (strchr): Likewise.  Do not use BP_SYM.
63001         (index): Do not use BP_SYM in weak_alias.
63002         * sysdeps/i386/i586/strcpy.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         (SRC): Likewise.
63007         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
63008         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
63009         "bp-asm.h".
63010         (PARMS): Do not use macros from bp-asm.h.
63011         (strlen): Do not use BP_SYM.
63012         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
63013         "bp-asm.h".
63014         (PARMS): Do not use macros from bp-asm.h.
63015         (S1): Likewise.
63016         (S2): Likewise.
63017         (SIZE): Likewise.
63018         (__mpn_sub_n): Do not use BP_SYM.
63019         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
63020         "bp-asm.h".
63021         (PARMS): Do not use macros from bp-asm.h.
63022         (S1): Likewise.
63023         (SIZE): Likewise.
63024         (__mpn_submul_1): Do not use BP_SYM.
63025         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
63026         "bp-asm.h".
63027         (PARMS): Do not use macros from bp-asm.h.
63028         (S1): Likewise.
63029         (S2): Likewise.
63030         (SIZE): Likewise.
63031         (__mpn_add_n): Do not use BP_SYM.
63032         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
63033         weak_alias.
63034         (bzero): Likewise.
63035         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
63036         "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/i686/memcpy.S: Do not include "bp-sym.h" and
63043         "bp-asm.h".
63044         (PARMS): Do not use macros from bp-asm.h.
63045         (DEST): Likewise.
63046         (SRC): Likewise.
63047         (LEN): Likewise.
63048         (memcpy): Likewise.  Do not use BP_SYM.
63049         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
63050         "bp-asm.h".
63051         (PARMS): Do not use macros from bp-asm.h.
63052         (DEST): Likewise.
63053         (SRC): Likewise.
63054         (LEN): Likewise.
63055         (memmove): Likewise.  Do not use BP_SYM.
63056         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
63057         "bp-asm.h".
63058         (PARMS): Do not use macros from bp-asm.h.
63059         (DEST): Likewise.
63060         (SRC): Likewise.
63061         (LEN): Likewise.
63062         (__mempcpy): Likewise.  Do not use BP_SYM.
63063         (mempcpy): Do not use BP_SYM in weak_alias.
63064         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
63065         "bp-asm.h".
63066         (PARMS): Do not use macros from bp-asm.h.
63067         (DEST): Likewise.
63068         (LEN): Likewise.
63069         [!BZERO_P] (CHR): Likewise.
63070         (memset): Likewise.  Do not use BP_SYM.
63071         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
63072         "bp-asm.h".
63073         (PARMS): Do not use macros from bp-asm.h.
63074         (STR2): Likewise.
63075         (strcmp): Do not use BP_SYM.
63076         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
63077         "bp-asm.h".
63078         (PARMS): Do not use macros from bp-asm.h.
63079         (STR): Likewise.
63080         (DELIM): Likewise.
63081         [USE_AS_STRTOK_R] (SAVE): Likewise.
63082         (FUNCTION): Likewise.  Do not use BP_SYM.
63083         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
63084         aliases.
63085         (strtok_r): Likewise.
63086         (__GI___strtok_r): Likewise.
63087         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63088         (PARMS): Do not use macros from bp-asm.h.
63089         (S): Likewise.
63090         (SIZE): Likewise.
63091         (__mpn_lshift): Do not use BP_SYM.
63092         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63093         (PARMS): Do not use macros from bp-asm.h.
63094         (STR): Likewise.
63095         (CHR): Likewise.
63096         (__memchr): Do not use BP_SYM.
63097         (memchr): Do not use BP_SYM in weak_alias.
63098         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63099         (PARMS): Do not use macros from bp-asm.h.
63100         (BLK2): Likewise.
63101         (LEN): Likewise.
63102         (memcmp): Do not use BP_SYM.
63103         (bcmp): Do not use BP_SYM in weak_alias.
63104         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
63105         (PARMS): Do not use macros from bp-asm.h.
63106         (S1): Likewise.
63107         (SIZE): Likewise.
63108         (__mpn_mul_1): Do not use BP_SYM.
63109         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
63110         "bp-asm.h".
63111         (PARMS): Do not use macros from bp-asm.h.
63112         (STR): Likewise.
63113         (CHR): Likewise.
63114         (__rawmemchr): Do not use BP_SYM.
63115         (rawmemchr): Do not use BP_SYM in weak_alias.
63116         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63117         (PARMS): Do not use macros from bp-asm.h.
63118         (S): Likewise.
63119         (SIZE): Likewise.
63120         (__mpn_rshift): Do not use BP_SYM.
63121         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63122         (PARMS): Do not use macros from bp-asm.h.
63123         (SIGMSK): Likewise.
63124         (__sigsetjmp): Likewise.  Do not use BP_SYM.
63125         * sysdeps/i386/start.S: Do not include "bp-sym.h".
63126         (_start): Do not use BP_SYM.
63127         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
63128         (PARMS): Do not use macros from bp-asm.h.
63129         (DEST): Likewise.
63130         (SRC): Likewise.
63131         (__stpcpy): Likewise.  Do not use BP_SYM.
63132         (stpcpy): Do not use BP_SYM in weak_alias.
63133         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
63134         "bp-asm.h".
63135         (PARMS): Do not use macros from bp-asm.h.
63136         (DEST): Likewise.
63137         (SRC): Likewise.
63138         (LEN): Likewise.
63139         (__stpncpy): Likewise.  Do not use BP_SYM.
63140         (stpncpy): Do not use BP_SYM in weak_alias.
63141         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63142         (PARMS): Do not use macros from bp-asm.h.
63143         (STR): Likewise.
63144         (CHR): Likewise.
63145         (strchr): Likewise.  Do not use BP_SYM.
63146         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
63147         "bp-asm.h".
63148         (PARMS): Do not use macros from bp-asm.h.
63149         (STR): Likewise.
63150         (CHR): Likewise.
63151         (__strchrnul): Likewise.  Do not use BP_SYM.
63152         (strchrnul): Do not use BP_SYM in weak_alias.
63153         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
63154         "bp-asm.h".
63155         (PARMS): Do not use macros from bp-asm.h.
63156         (STOP): Likewise.
63157         (strcspn): Do not use BP_SYM.
63158         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
63159         "bp-asm.h".
63160         (PARMS): Do not use macros from bp-asm.h.
63161         (STR): Likewise.
63162         (STOP): Likewise.
63163         (strpbrk): Likewise.  Do not use BP_SYM.
63164         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
63165         "bp-asm.h".
63166         (PARMS): Do not use macros from bp-asm.h.
63167         (STR): Likewise.
63168         (CHR): Likewise.
63169         (strrchr): Likewise.  Do not use BP_SYM.
63170         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
63171         (PARMS): Do not use macros from bp-asm.h.
63172         (SKIP): Likewise.
63173         (strspn): Do not use BP_SYM.
63174         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
63175         (PARMS): Do not use macros from bp-asm.h.
63176         (STR): Likewise.
63177         (DELIM): Likewise.
63178         (SAVE): Likewise.
63179         (FUNCTION): Likewise.  Do not use BP_SYM.
63180         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
63181         aliases.
63182         (strtok_r): Likewise.
63183         (__GI___strtok_r): Likewise.
63184         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63185         (PARMS): Do not use macros from bp-asm.h.
63186         (S1): Likewise.
63187         (S2): Likewise.
63188         (SIZE): Likewise.
63189         (__mpn_sub_n): Do not use BP_SYM.
63190         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
63191         "bp-asm.h".
63192         (PARMS): Do not use macros from bp-asm.h.
63193         (S1): Likewise.
63194         (SIZE): Likewise.
63195         (__mpn_submul_1): Do not use BP_SYM.
63196         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
63197         <bp-sym.h>.
63198         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
63199         and <bp-asm.h>.
63200         (PARMS): Do not use macros from bp-asm.h.
63201         (FLAGS): Likewise.
63202         (PTID): Likewise.
63203         (TLS): Likewise.
63204         (CTID): Likewise.
63205         (__clone): Do not use BP_SYM.
63206         (clone): Do not use BP_SYM in weak_alias.
63207         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
63208         and <bp-asm.h>.
63209         (PARMS): Do not use macros from bp-asm.h.
63210         (LEN): Likewise.
63211         (__mmap64): Do not use BP_SYM.
63212         (mmap64): Do not use BP_SYM in weak_alias.
63213         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63214         <bp-sym.h> and <bp-asm.h>.
63215         (PARMS): Do not use macros from bp-asm.h.
63216         (__posix_fadvise64_l64): Do not use BP_SYM.
63217         * sysdeps/unix/sysv/linux/i386/semtimedop.S
63218         (PARMS): Do not use macros from bp-asm.h.
63219         (NSOPS): Likewise.
63220         (semtimedop): Do not use BP_SYM.
63221         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
63222         and <bp-asm.h>.
63224 2013-02-21  Allan McRae  <allan@archlinux.org>
63226         * manual/message.texi (Charset conversion in gettext):
63227         Move @end statement to beginning of line.
63229 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63231         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
63232         static.
63233         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63234         Likewise.
63236         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
63237         (denorm): Likewise.
63238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
63239         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
63241 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63243         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
63244         tail-call to the resolved function if pltexit isn't needed.
63246 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
63249         or Y being zero as being unlikely.
63250         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63251         Likewise.
63253 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
63255         * manual/nss.texi (System Databases and Name Service Switch):
63256         Remove frobnicate @pxref.
63258 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63260         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63261         __attribute__ ((unused)) to __attribute__ ((__unused__)).
63263 2013-02-20  Petr Machata  <pmachata@redhat.com>
63265         * elf/elf.h (R_ARM_TARGET1): New macro.
63266         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
63267         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
63268         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
63269         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
63270         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
63271         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
63272         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
63273         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
63274         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
63275         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
63276         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
63277         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
63278         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
63279         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
63280         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
63281         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
63282         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
63283         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
63284         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
63285         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
63286         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
63287         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
63288         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
63289         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
63290         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
63291         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
63292         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
63293         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
63294         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
63295         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
63296         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
63297         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
63298         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
63299         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
63300         (R_ARM_THM_GOT_BREL12): Likewise.
63301         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
63302         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
63303         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
63304         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
63305         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
63306         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
63307         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
63308         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
63309         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
63311 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63313         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63314         __attribute_used__ to __attribute__ ((unused)).
63316 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63318         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
63319         powerpc mpa.c.
63320         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
63321         comment formatting.
63322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
63324 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
63326         [BZ #13550]
63327         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
63328         Remove macro.
63329         (ENTER): Remove both macro definitions.
63330         (LEAVE): Likewise.
63331         (CHECK_BOUNDS_LOW): Likewise.
63332         (CHECK_BOUNDS_HIGH): Likewise.
63333         (CHECK_BOUNDS_BOTH): Likewise.
63334         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
63335         (RETURN_BOUNDED_POINTER): Likewise.
63336         (RETURN_NULL_BOUNDED_POINTER): Likewise.
63337         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
63338         (POP_ERRNO_LOCATION_RETURN): Likewise.
63339         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
63340         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63341         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
63342         macros.
63343         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63344         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
63345         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
63346         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
63347         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
63348         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
63349         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
63350         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
63351         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
63352         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
63353         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
63354         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
63355         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63356         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
63357         removed macros.
63358         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63359         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
63360         macros.
63361         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63362         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
63363         * sysdeps/i386/i586/memset.S (memset): Likewise.
63364         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
63365         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63366         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
63367         macros.
63368         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63369         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
63370         Change uses of L(2) to L(out).
63371         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
63372         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
63373         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
63374         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63375         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
63376         removed macros.
63377         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63378         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
63379         macros.
63380         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63381         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
63382         (RETURN): Do not use macro LEAVE.
63383         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
63384         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
63385         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
63386         * sysdeps/i386/i686/memset.S (memset): Likewise.
63387         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
63388         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
63389         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63390         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
63391         Likewise.
63392         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63393         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
63394         L(1_2) and L(1_3) into L(1).
63395         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63396         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
63397         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63398         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
63399         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63400         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
63401         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
63402         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63403         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
63404         macros.
63405         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
63406         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63407         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
63408         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
63409         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
63410         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63411         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
63412         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
63413         * sysdeps/i386/strcspn.S (strcspn): Likewise.
63414         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
63415         * sysdeps/i386/strrchr.S (strrchr): Likewise.
63416         * sysdeps/i386/strspn.S (strspn): Likewise.
63417         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
63418         conditional code.
63419         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63420         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
63421         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63422         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
63423         L(1_3) into L(1_1).
63424         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
63425         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63426         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
63427         macros.
63428         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63430 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
63432         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
63433         macro.
63435 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63437         * math/atest-exp.c (exp_mpn): Remove ROUND.
63438         * math/atest-exp2.c (exp_mpn): Likewise.
63439         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
63441         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
63442         * stdlib/tst-tls-atexit-lib.c: Likewise.
63443         * stdlib/tst-tls-atexit.c: Likewise.
63445 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63447         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
63448         and __attribute_alloc_size__.
63450 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63452         * include/programs/xmalloc.h: Change __attribute_alloc_size to
63453         __attribute_alloc_size__.
63454         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
63455         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
63457 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63459         * include/programs/xmalloc.h: New file.
63460         * catgets/gencat.c: Include it.
63461         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
63462         * elf/pldd.c: Likewise.
63463         * iconv/iconv_charmap.c: Likewise.
63464         * iconv/iconvconfig.c: Likewise.
63465         * iconv/strtab.c: Likewise.
63466         * locale/programs/locale.c: Likewise.
63467         * locale/programs/localedef.h: Likewise.
63468         * locale/programs/simple-hash.c: Likewise.
63469         * nscd/nscd.h: Likewise.
63470         * nss/makedb.c: Likewise.
63471         * sysdeps/generic/ldconfig.h: Likewise.
63473 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63475         * Versions.def: Add GLIBC_2.18.
63476         * include/link.h (struct link_map): New member l_tls_dtor_count.
63477         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
63478         (__call_tls_dtors): Likewise.
63479         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
63480         __cxa_thread_atexit_impl.
63481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63482         Likewise.
63483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63484         Likewise.
63485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
63486         Likewise.
63487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
63488         Likewise.
63489         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
63491         Likewise.
63492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
63493         Likewise.
63494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63495         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63496         Likewise.
63497         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
63498         (tests): Add test case tst-tls-atexit.
63499         (modules-names): Add shared library for tst-tls-atexit.
63500         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
63501         (GLIBC_PRIVATE): Add __call_tls_dtors.
63502         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
63503         for libstdc++.
63504         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
63505         * stdlib/tst-tls-atexit.c: New test case.
63506         * stdlib/tst-tls-atexit-lib.c: New test case.
63508         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
63510         * elf/Versions (ld): Add _dl_find_dso_for_object.
63511         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
63512         * elf/dl-open.c (_dl_find_dso_for_object): New function.
63513         (dl_open_worker): Use _dl_find_dso_for_object.
63514         * elf/dl-sym.c (do_sym): Likewise.
63515         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
63517 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63519         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
63520         Syntactic changes only.
63521         (_dl_runtime_profile): Do a tail-call to the resolved function.
63523 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
63525         [BZ #13550]
63526         * sysdeps/x86_64/bp-asm.h: Remove file.
63527         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
63528         <bp-sym.h> and <bp-asm.h>.
63529         (__clone): Do not use BP_SYM.
63530         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
63531         <bp-sym.h> and <bp-asm.h>.
63532         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63533         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
63534         "bp-asm.h".
63535         (_setjmp): Do not use BP_SYM.
63536         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
63537         "bp-asm.h".
63538         (setjmp): Do not use BP_SYM.
63539         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
63540         libc_hidden_def.
63541         (mempcpy): Do not use BP_SYM in weak_alias.
63542         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
63543         "bp-asm.h".
63544         (strchr): Do not use BP_SYM.
63545         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
63546         "bp-asm.h".
63547         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
63548         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
63549         (_start): Do not use BP_SYM.
63550         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
63551         "bp-asm.h".
63552         (strcat): Do not use BP_SYM.
63553         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
63554         "bp-asm.h".
63555         (STRCMP): Do not use BP_SYM.
63556         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
63557         "bp-asm.h".
63558         (STRCPY): Do not use BP_SYM.
63559         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
63560         "bp-asm.h".
63561         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
63562         "bp-asm.h".
63563         (FUNCTION): Do not use BP_SYM.
63564         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
63565         weak_alias.
63566         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
63568 2013-02-17  Andreas Jaeger  <aj@suse.de>
63570         * time/Versions: Sort entries.
63571         * string/Versions: Likewise.
63572         * resolv/Versions: Likewise.
63573         * posix/Versions: Likewise.
63574         * iconv/Versions: Likewise.
63575         * elf/Versions: Likewise.
63576         * wcsmbs/Versions: Likewise.
63578 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63580         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
63581         loop termination condition.
63583         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
63584         variable to calculate EZ.
63585         (__sqr): Likewise.
63587         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
63588         the lower precision input.
63590 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
63592         [BZ #13550]
63593         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
63594         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
63595         (run-via-rtld-prefix): Do not handle %-bp tests.
63596         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
63597         (all-object-suffixes): Remove .ob.
63598         (bppfx): Remove variable.
63599         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
63600         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
63601         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
63602         [$(build-bounded) = yes] (libtype.ob): Likewise.
63603         * Makerules (elide-routines.ob): Remove variable.
63604         (do-tests-clean): Do not handle *-bp.out.
63605         (common-mostlyclean): Do not handle *-bp and *-bp.out.
63606         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
63607         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
63608         (tests): Do not include $(tests-bp.out).
63609         (xtests): Do not include $(xtests-bp.out).
63610         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
63611         [$(build-bounded) = yes] ($(addprefix
63612         $(objpfx),$(binaries-bounded))): Remove rule.
63613         ($(objpfx)%-bp.out): Remove rule.
63614         * config.make.in (build-bounded): Remove variable.
63615         * crypt/Makefile [$(build-bounded) = yes]
63616         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
63617         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
63618         append to variable.
63619         [$(build-bounded) = yes] (install-lib): Likewise.
63620         [$(build-bounded) = yes] (generated): Likewise.
63621         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
63622         Remove rule.
63623         * intl/Makefile [$(build-bounded) = yes]
63624         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
63625         * math/Makefile [$(build-bounded) = yes]
63626         ($(tests:%=$(objpfx)%-bp): Likewise.
63627         * misc/Makefile [$(build-bounded) = yes]
63628         ($(objpfx)tst-tsearch-bp): Likewise.
63629         * nptl/Makeconfig (bounded-thread-library): Remove variable.
63630         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
63631         Remove dependency.
63632         * string/Makefile (o-objects.ob): Remove variable.
63633         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
63634         (CFLAGS-.ob): Remove variable.
63635         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
63636         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
63637         both definitions of variable.
63638         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
63639         (ASFLAGS-.ob): Remove variable.
63641 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
63643         [BZ #13550]
63644         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
63645         Remove __BOUNDED_POINTERS__ from condition.
63646         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
63647         * string/bits/string2.h [!__NO_STRING_INLINES &&
63648         !__BOUNDED_POINTERS__]: Likewise.
63649         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
63650         Likewise.
63651         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
63652         Remove conditional code.
63653         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
63654         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
63655         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
63656         condition.
63658         [BZ #13550]
63659         * csu/libc-start.c: Do not include <bp-sym.h>.
63660         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
63661         * elf/dl-open.c: Do not include <bp-sym.h>.
63662         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
63663         * math/fegetenv.c: Do not include <bp-sym.h>.
63664         (fegetenv): Do not use BP_SYM in versioned symbols.
63665         * nptl/sysdeps/pthread/bits/libc-lockP.h
63666         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
63667         <bp-sym.h>.
63668         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63669         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
63670         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63671         (__pthread_mutex_destroy): Likewise.
63672         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63673         (__pthread_mutex_lock): Likewise.
63674         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63675         (__pthread_mutex_trylock): Likewise.
63676         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63677         (__pthread_mutex_unlock): Likewise.
63678         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63679         (__pthread_mutexattr_init): Likewise.
63680         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63681         (__pthread_mutexattr_destroy): Likewise.
63682         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63683         (__pthread_mutexattr_settype): Likewise.
63684         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63685         (__pthread_rwlock_init): Likewise.
63686         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63687         (__pthread_rwlock_destroy): Likewise.
63688         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63689         (__pthread_rwlock_rdlock): Likewise.
63690         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63691         (__pthread_rwlock_tryrdlock): Likewise.
63692         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63693         (__pthread_rwlock_wrlock): Likewise.
63694         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63695         (__pthread_rwlock_trywrlock): Likewise.
63696         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63697         (__pthread_rwlock_unlock): Likewise.
63698         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63699         (__pthread_key_create): Likewise.
63700         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63701         (__pthread_setspecific): Likewise.
63702         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63703         (__pthread_getspecific): Likewise.
63704         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
63705         Likewise.
63706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63707         (_pthread_cleanup_push_defer): Likewise.
63708         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63709         (_pthread_cleanup_pop_restore): Likewise.
63710         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63711         (pthread_setcancelstate): Likewise.
63712         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
63713         <bp-sym.h>.
63714         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
63715         (memchr): Do not use BP_SYM in weak_alias.
63716         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
63717         (fegetenv): Do not use BP_SYM in versioned symbols.
63718         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
63719         (fesetenv): Do not use BP_SYM in versioned symbols.
63720         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63721         (feupdateenv): Do not use BP_SYM in versioned symbols.
63722         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63723         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63724         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
63725         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
63726         (open64): Do not use BP_SYM in weak_alias.
63727         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
63728         (fegetenv): Do not use BP_SYM in versioned symbols.
63729         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
63730         (fesetenv): Do not use BP_SYM in versioned symbols.
63731         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63732         (feupdateenv): Do not use BP_SYM in versioned symbols.
63733         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
63734         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
63735         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
63736         (feraiseexcept): Do not use BP_SYM in versioned symbols.
63737         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63738         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63739         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
63740         <bp-sym.h>.
63741         (__libc_start_main): Do not use BP_SYM.
63743 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
63746         redundant return line.
63747         (norm): Likewise.
63748         (denorm): Likewise.
63749         (dbl_mp): Likewise.
63750         (sub_magnitudes): Likewise.
63751         (__add): Likewise.
63752         (__sub): Likewise.
63753         (__mul): Likewise.
63754         (__inv): Likewise.
63755         (__dvd): Likewise.
63756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
63757         (norm): Likewise.
63758         (denorm): Likewise.
63759         (dbl_mp): Likewise.
63760         (sub_magnitudes): Likewise.
63761         (__add): Likewise.
63762         (__sub): Likewise.
63763         (__mul): Likewise.
63764         (__inv): Likewise.
63765         (__dvd): Likewise.
63767         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
63768         instead of __mul.
63769         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63770         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
63771         (cc32): Likewise.
63773         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
63774         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
63775         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
63776         of __mul for squares.
63777         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
63778         function
63779         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
63780         Likewise.
63781         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
63782         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63784 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
63786         [BZ #13550]
63787         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
63788         code.
63789         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
63790         prototype or function definition.  Rename ubp_* variables and
63791         parameters.  Remove argv definitions conditional on
63792         [__BOUNDED_POINTERS__].
63793         * debug/backtrace.c (__backtrace): Do not use __unbounded.
63794         * elf/dl-runtime.c (_dl_fixup): Likewise.
63795         * include/set-hooks.h (RUN_HOOK): Likewise.
63796         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
63797         definition.
63798         * string/strcpy.c (strcpy): Do not use __unbounded.
63799         * sysdeps/generic/frame.h (struct layout): Likewise.
63800         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
63801         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
63802         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
63803         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
63804         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
63805         (__backtrace): Likewise.
63806         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
63807         use __ptrvalue.
63808         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
63809         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
63810         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
63811         Likewise.
63812         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
63813         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
63814         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
63815         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63816         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
63817         Do not use __unbounded.
63818         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
63819         Rename __unboundedrlimits parameter to rlimits in prototype.
63820         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
63821         Do not use __unbounded.
63822         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
63823         not use __ptrvalue.
63824         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63825         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
63826         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63827         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
63828         __ptrvalue or __unbounded.
63829         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
63830         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
63831         use __unbounded.
63832         (__new_msgctl): Do not use __ptrvalue.
63833         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
63834         __unbounded.
63835         (__libc_msgrcv): Do not use __ptrvalue.
63836         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
63837         startup_info): Do not use __unbounded.
63838         (__libc_start_main): Likewise.  Rename ubp_* variables and
63839         parameters.  Remove argv definitions conditional on
63840         [__BOUNDED_POINTERS__].
63841         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
63842         __ptrvalue.
63843         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
63844         use __unbounded.
63845         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
63846         or __ptrvalue.
63847         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
63848         use __unbounded.
63849         (__new_shmctl): Do not use __ptrvalue.
63850         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
63851         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
63852         Likewise.
63853         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
63854         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
63855         (__libc_sigaction): Likewise.
63856         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
63857         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
63858         Likewise.
63859         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63861 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
63863         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
63865         * string/mempcpy.c: Implement by calling memcpy.
63867 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63869         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
63871         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
63872         evaluation.
63874         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
63875         values in the mantissa.
63877         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
63878         minimize writes to Z.
63879         (sub_magnitudes): Simplify code a bit.
63881 2013-02-12  Roland McGrath  <roland@hack.frob.com>
63883         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
63884         from the message.  The linker prefixes all warnings with that already.
63886 2013-02-12  Andreas Schwab  <schwab@suse.de>
63888         [BZ #15078]
63889         * posix/regexec.c (extend_buffers): Add parameter min_len.
63890         (check_matching): Pass minimum needed length.
63891         (clean_state_log_if_needed): Likewise.
63892         (get_subexp): Likewise.
63893         * posix/Makefile (tests): Add bug-regex34.
63894         (bug-regex34-ENV): Define.
63895         * posix/bug-regex34.c: New file.
63897         [BZ #11561]
63898         * posix/regcomp.c (parse_bracket_exp): When looking up collating
63899         elements compare against the byte sequence of it, not its name.
63900         * posix/Makefile (tests): Add bug-regex35.
63901         (bug-regex35-ENV): Define.
63902         * posix/bug-regex35.c: New file.
63904 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63906         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
63907         comment.
63908         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
63909         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
63910         (CHECK_EOL): Add undef.
63912 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
63914         * bits/stdlib-bsearch.h: New file.
63915         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
63916         * stdlib/stdlib.h: Likewise.
63918 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63920         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
63921         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
63922         declaration.
63923         * manual/search.texi (Array Search Function): Add missing const in
63924         lfind prototype.
63925         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
63926         declaration to use rlim_t.
63927         (Basic Scheduling Functions): Remove erroneous const from
63928         sched_getparam prototype.  Remove erroneous * from
63929         sched_get_priority_max and sched_get_priority_min prototypes.
63930         (Resource Usage): Fix summary @comment on vtimes to refer to
63931         sys/vtimes.h rather than vtimes.h.
63932         Add missing *s in vtimes prototype.
63933         (Limits on Resources): Fix ulimit prototype to return long int.
63934         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
63935         prototypes to use long int rather than double.
63936         (BSD Random): Fix initstate and setstate to use char *, not void *.
63937         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
63938         prototype to make second argument 'struct aiocb64 *const[]'.
63939         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
63940         (Status of AIO Operations): Remove erroneous const in aio_return and
63941         aio_return64 prototypes.
63942         (Synchronizing I/O): Fix sync prototype to return void.
63943         * manual/startup.texi (Suboptions): Remove an erroneous const in
63944         getsubopt prototype.
63945         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
63946         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
63947         use size_t rather than int.
63948         (Scanning All Users): Likewise for getpwent_r.
63949         (Setting Groups): Add missing const to setgroups prototype.
63950         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
63951         * manual/socket.texi (Host Names): Fix gethostbyaddr and
63952         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
63953         'const void *' rather than 'const char *'.
63954         (Host Address Functions): Likewise for inet_ntop.
63955         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
63956         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
63957         ssize_t for return value.
63958         (Sending Data): Likewise for send, sendto, sendmsg.
63959         (Socket Option Functions): Add a missing const in setsockopt prototype.
63960         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
63961         use wchar_t for the argument.
63962         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
63963         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
63964         take no arguments.
63965         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
63966         double/float/long double for second argument.
63967         Fix return types of significand, significandf, significandl.
63968         * manual/filesys.texi (Setting Permissions): Use mode_t for second
63969         argument in fchmod prototype.
63970         (File Owner): Use uid_t and gid_t in fchown prototype.
63971         (File Times): Add const to utimes, futimes, and lutimes prototypes.
63972         (Making Special Files): Use mode_t and dev_t in mknod prototype.
63973         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
63974         use 'const struct dirent **' as argument types to CMP function pointer
63975         argument.
63976         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
63977         (File Times): Fix summary magic @comment for struct utimbuf and utime
63978         to refer to utime.h, not time.h.
63979         * manual/string.texi (Argz Functions): Add missing const in
63980         argz_extract and argz_next prototypes.
63981         (Finding Tokens in a String): Likewise for basename.
63982         (String/Array Comparison): Fix typo in wcscasecmp prototype.
63983         (Copying and Concatenation): Fix typo in wmemmove prototype.
63984         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
63985         (Signal Stack): Remove erroneous const in sigstack prototype.
63986         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
63987         prototype.
63988         (Simple Calendar Time): Likewise for stime.
63989         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
63990         prototype.
63991         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
63992         say sys/sysctl.h instead.
63993         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
63994         and vsyslog prototypes.
63996 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63998         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
63999         Remove.
64001 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64003         * misc/sys/mman.h: Fix typo in mremap comment.
64005 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64007         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
64008         the '\0' terminator.
64010 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64012         [BZ #13550]
64013         * debug/segfault.c: Don't include <bp-checks.h>.
64014         * sysdeps/generic/bp-checks.h: Remove file.
64015         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
64016         (__GETDENTS): Don't use CHECK_N.
64017         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
64018         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
64019         (__getgroups): Don't use CHECK_N.
64020         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
64021         (setgroups): Don't use CHECK_N.
64022         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
64023         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
64024         (__libc_msgrcv): Don't use CHECK_N.
64025         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
64026         (__libc_msgsnd): Don't use CHECK_N.
64027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
64028         <bp-checks.h>.
64029         (__libc_pread): Don't use CHECK_N.
64030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
64031         include <bp-checks.h>.
64032         (__libc_pread64): Don't use CHECK_N.
64033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
64034         include <bp-checks.h>.
64035         (__libc_pwrite): Don't use CHECK_N.
64036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
64037         include <bp-checks.h>.
64038         (__libc_pwrite64): Don't use CHECK_N.
64039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
64040         <bp-checks.h>.
64041         (__libc_pread): Don't use CHECK_N.
64042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
64043         include <bp-checks.h>.
64044         (__libc_pread64): Don't use CHECK_N.
64045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
64046         include <bp-checks.h>.
64047         (__libc_pwrite): Don't use CHECK_N.
64048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
64049         include <bp-checks.h>.
64050         (__libc_pwrite64): Don't use CHECK_N.
64051         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
64052         (do_pread): Don't use CHECK_N.
64053         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
64054         (do_pread64): Don't use CHECK_N.
64055         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
64056         (do_pwrite): Don't use CHECK_N.
64057         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
64058         (do_pwrite64): Don't use CHECK_N.
64059         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
64060         (__libc_readv): Don't use CHECK_N.
64061         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
64062         (semop): Don't use CHECK_N.
64063         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
64064         <bp-checks.h>.
64065         (semtimedop): Don't use CHECK_N.
64066         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
64067         (__libc_pread): Don't use CHECK_N.
64068         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
64069         <bp-checks.h>.
64070         (__libc_pread64): Don't use CHECK_N.
64071         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
64072         <bp-checks.h>.
64073         (__libc_pwrite): Don't use CHECK_N.
64074         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
64075         <bp-checks.h>.
64076         (__libc_pwrite64): Don't use CHECK_N.
64077         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
64078         <bp-checks.h>.
64079         (__libc_msgrcv): Don't use CHECK_N.
64080         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
64081         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
64082         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
64083         (__libc_writev): Don't use CHECK_N.
64085 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64087         * string/strcpy.c: Removed unused variable.
64089         * Makeconfig (+sysdep-includes): Define with := rather than =.
64090         Use an existing include/ subdir of each sysdeps dir before it.
64092 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64094         * nscd/connection.c (register_traced_file): Comment function.
64095         [HAVE_INOTIFY] (union __inev): Define.
64096         [HAVE_INOTIFY] (inotify_check_files): New function.
64097         [HAVE_INOTIFY] (clear_db_cache): Likewise.
64098         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
64099         clear_db_cache.
64100         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
64102 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64104         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
64105         loaded if not already and that a failure is permanent.
64107 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64109         [BZ #15006]
64110         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
64111         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
64113 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64115         [BZ #13550]
64116         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
64117         (CHECK_1_NULL_OK): Likewise.
64118         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
64119         (__fxstat): Do not use CHECK_1.
64120         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
64121         <bp-checks.h>.
64122         (___fxstat64): Do not use CHECK_1.
64123         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
64124         <bp-checks.h>.
64125         (__fxstatat): Do not use CHECK_1.
64126         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
64127         <bp-checks.h>.
64128         (__fxstatat64): Do not use CHECK_1.
64129         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
64130         <bp-checks.h>.
64131         (__fxstat): Do not use CHECK_1.
64132         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
64133         <bp-checks.h>.
64134         (__fxstatat): Do not use CHECK_1.
64135         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64136         <bp-checks.h>.
64137         (__getresgid): Do not use CHECK_1.
64138         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64139         <bp-checks.h>.
64140         (__getresuid): Do not use CHECK_1.
64141         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
64142         <bp-checks.h>.
64143         (__lxstat): Do not use CHECK_1.
64144         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64145         <bp-checks.h>.
64146         (__old_msgctl): Do not use CHECK_1.
64147         (__new_msgctl): Likewise.
64148         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
64149         <bp-checks.h>.
64150         (__new_setrlimit): Do not use CHECK_1.
64151         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64152         <bp-checks.h>.
64153         (__old_shmctl): Do not use CHECK_1.
64154         (__new_shmctl): Likewise.
64155         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
64156         <bp-checks.h>.
64157         (__xstat): Do not use CHECK_1.
64158         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
64159         (__lxstat): Do not use CHECK_1.
64160         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
64161         <bp-checks.h>.
64162         (___lxstat64): Do not use CHECK_1.
64163         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
64164         (__old_msgctl): Do not use CHECK_1.
64165         (__new_msgctl): Likewise.
64166         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
64167         <bp-checks.h>.
64168         (__gettimeofday): Do not use CHECK_1.
64169         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
64170         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
64171         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
64172         <bp-checks.h>.
64173         (__gettimeofday): Do not use CHECK_1.
64174         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
64175         (__old_shmctl): Do not use CHECK_1_NULL_OK.
64176         (__new_shmctl): Do not use CHECK_1.
64177         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
64178         <bp-checks.h>.
64179         (do_sigtimedwait): Do not use CHECK_1.
64180         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
64181         <bp-checks.h>.
64182         (do_sigwaitinfo): Do not use CHECK_1.
64183         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
64184         <bp-checks.h>.
64185         (msgctl): Do not use CHECK_1.
64186         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
64187         <bp-checks.h>.
64188         (shmctl): Do not use CHECK_1.
64189         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
64190         (ustat): Do not use CHECK_1.
64191         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
64192         <bp-checks.h>.
64193         (__fxstat): Do not use CHECK_1.
64194         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
64195         <bp-checks.h>.
64196         (__fxstatat): Do not use CHECK_1.
64197         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
64198         <bp-checks.h>.
64199         (__lxstat): Do not use CHECK_1.
64200         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
64201         <bp-checks.h>.
64202         (__xstat): Do not use CHECK_1.
64203         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
64204         (__xstat): Do not use CHECK_1.
64205         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
64206         (___xstat64): Do not use CHECK_1.
64208         [BZ #13550]
64209         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
64210         definitions.
64211         (CHECK_BOUNDS_HIGH): Likewise.
64212         * string/strcpy.c: Do not include <bp-checks.h>.
64213         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
64215 2013-02-07  Roland McGrath  <roland@hack.frob.com>
64217         * nscd/nscd-client.h (__nscd_drop_map_ref):
64218         Add __attribute__ ((unused)).
64219         * nis/nss-nisplus.h (niserr2nss): Likewise.
64221         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
64222         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
64224         * csu/libc-tls.c (init_static_tls, init_slotinfo):
64225         Remove inline keyword.
64226         * include/rounding-mode.h (round_away): Likewise.
64227         * libio/wfileops.c (adjust_wide_data): Likewise.
64228         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
64229         (__m128i_strloadu_tolower): Likewise.
64230         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
64231         (__m128i_strloadu_tolower): Likewise.
64232         * time/mktime.c (ydhms_diff): Likewise.
64233         * locale/elem-hash.h (elem_hash): Likewise.
64234         * locale/setlocale.c (setdata): Likewise.
64235         * posix/regex_internal.h (re_string_char_size_at): Likewise.
64236         (re_string_wchar_at): Likewise.
64237         (bitset_not, bitset_merge, bitset_mask): Likewise.
64238         [!(__GNUC__ > 3)] (inline): Remove macro.
64239         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
64240         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
64241         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
64242         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
64243         * string/memcmp.c (memcmp_bytes): Likewise.
64244         * locale/programs/locarchive.c (compute_hashval): Likewise.
64245         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
64246         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
64247         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
64248         * nss/getent.c (print_rpc, print_protocols): Likewise.
64249         (print_passwd, print_group, print_aliases): Likewise.
64250         * nis/nss-nisplus.h (niserr2nss): Likewise.
64251         * nscd/connections.c (restart_p): Likewise.
64252         Change return type to bool.
64254 2013-02-05  Roland McGrath  <roland@hack.frob.com>
64256         * Makeconfig (all-Depend-files): Add existing
64257         $(sorted-subdirs:=/Depend) files.
64258         (all-subdirs): Remove nss.
64259         * sysdeps/unix/inet/Subdirs: Add it here instead.
64260         * hesiod/Depend: New file.
64262         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
64263         instead of calling alloca.
64265         * io/lseek.c (__lseek): Rename to __libc_lseek.
64266         Define __lseek as an alias.
64268         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
64270 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
64272         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
64273         else clause and remove check for non-standard endianness.
64275 2013-02-04  David S. Miller  <davem@davemloft.net>
64277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64279 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
64281         [BZ #13550]
64282         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
64283         (__ubp_memchr): Remove prototype.
64284         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
64285         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64286         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
64287         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64288         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
64289         Remove alias.
64290         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
64291         (__ubp_memchr): Likewise.
64292         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
64293         (__ubp_memchr): Likewise.
64294         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
64295         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
64296         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
64297         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
64298         CHECK_STRING.
64299         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
64300         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
64301         (__getcwd): Do not use CHECK_STRING.
64302         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64303         <bp-checks.h>.
64304         (__real_chown): Do not use CHECK_STRING.
64305         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
64306         <bp-checks.h>.
64307         (fchownat): Do not use CHECK_STRING.
64308         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
64309         CHECK_STRING.
64310         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64311         <bp-checks.h>.
64312         (__lchown): Do not use CHECK_STRING.
64313         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64314         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64315         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64316         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
64317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64318         include <bp-checks.h>.
64319         (truncate64): Do not use CHECK_STRING.
64320         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64321         <bp-checks.h>.
64322         (__real_chown): Do not use CHECK_STRING.
64323         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64324         <bp-checks.h>.
64325         (__lchown): Do not use CHECK_STRING.
64326         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64327         <bp-checks.h>.
64328         (__chown): Do not use CHECK_STRING.
64329         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
64330         <bp-checks.h>.
64331         (truncate64): Do not use CHECK_STRING.
64332         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
64333         Likewise.
64334         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
64335         (__xmknod): Do not use CHECK_STRING.
64336         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
64337         <bp-checks.h>.
64338         (__xmknodat): Do not use CHECK_STRING.
64339         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64340         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
64342 2013-02-04  Andreas Schwab  <schwab@suse.de>
64344         [BZ #14142]
64345         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
64346         * include/netdb.h: Likewise for h_errno.
64347         * elf/tst-stackguard1.c: Include <tls.h>.
64349 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
64351         * elf/link.h (struct link_map): Extend the l_addr comment.
64352         * include/link.h (struct link_map): Likewise.
64354 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
64356         [BZ #13550]
64357         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
64358         (BOUNDED_1): Remove macro.
64359         * debug/backtrace.c: Don't include <bp-checks.h>.
64360         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
64361         (__backtrace): Likewise.
64362         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
64363         <bp-checks.h>.
64364         (__backtrace): Don't use BOUNDED_1.
64365         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
64366         <bp-checks.h>.
64367         (__backtrace): Don't use BOUNDED_1.
64368         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
64369         (__backtrace): Don't use BOUNDED_1.
64370         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
64371         (shmat): Don't use BOUNDED_N.
64373 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
64375         [BZ #13550]
64376         * sysdeps/generic/bp-start.h: Remove file.
64377         * csu/libc-start.c: Don't include <bp-start.h>.
64378         (LIBC_START_MAIN): Set up __environ directly instead of using
64379         INIT_ARGV_and_ENVIRON.
64380         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
64381         <bp-start.h>.
64383         [BZ #13550]
64384         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
64385         definitions.
64386         (CHECK_FCNTL): Likewise.
64387         (CHECK_N_PAGES): Likewise.
64389         [BZ #13550]
64390         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
64391         definitions.
64392         (CHECK_SIGSET_NULL_OK): Likewise.
64393         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
64394         <bp-checks.h>.
64395         (sigpending): Don't use CHECK_SIGSET.
64396         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
64397         <bp-checks.h>.
64398         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64399         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
64400         <bp-checks.h>.
64401         (do_sigsuspend): Don't use CHECK_SIGSET.
64402         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
64403         use CHECK_SIGSET.
64404         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
64405         (do_sigwait): Don't use CHECK_SIGSET.
64406         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
64407         use CHECK_SIGSET.
64408         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
64409         include <bp-checks.h>.
64410         (sigpending): Don't use CHECK_SIGSET.
64411         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
64412         include <bp-checks.h>.
64413         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64414         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
64415         <bp-checks.h>.
64416         (sigpending): Don't use CHECK_SIGSET.
64417         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
64418         <bp-checks.h>.
64419         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64421         [BZ #13550]
64422         * sysdeps/generic/bp-semctl.h: Remove file.
64423         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
64424         <bp-checks.h> and <bp-semctl.h>.
64425         (__old_semctl): Don't use CHECK_SEMCTL.
64426         (__new_semctl): Likewise.
64427         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
64428         and <bp-semctl.h>.
64429         (__old_semctl): Don't use CHECK_SEMCTL.
64430         (__new_semctl): Likewise.
64431         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
64432         <bp-checks.h> and <bp-semctl.h>.
64433         (__old_semctl): Don't use CHECK_SEMCTL.
64434         (__new_semctl): Likewise.
64435         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
64436         <bp-checks.h> and <bp-semctl.h>.
64437         (semctl): Don't use CHECK_SEMCTL.
64439         [BZ #13550]
64440         * Makerules (elide-bp-thunks): Remove variable.
64441         (elide-routines.oS): Don't use $(elide-bp-thunks).
64442         (elide-routines.os): Likewise.
64443         (elide-routines.o): Likewise.
64444         (elide-routines.op): Likewise.
64445         (elide-routines.og): Likewise.
64446         (objects): Don't use $(bp-thunks).
64447         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
64448         include.
64449         (common-generated): Do not add s-proto-bp.d.
64450         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
64451         (int): Likewise.
64452         (typ): Likewise.
64453         Do not generate makefile rules for bounded-pointer thunks.
64454         * sysdeps/generic/bp-thunks.h: Remove file.
64455         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
64456         * sysdeps/unix/s-proto-bp.S: Likewise.
64458         [BZ #15062]
64459         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
64460         parts of result separately when argument is not close to line from
64461         -i to i and one part of argument is small.
64462         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64463         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64464         * math/libm-test.inc (cacos_test): Add more tests.
64465         (casin_test): Likewise.
64466         (casinh_test): Likewise.
64467         * sysdeps/i386/fpu/libm-test-ulps: Update.
64468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64470 2013-01-31  David S. Miller  <davem@davemloft.net>
64472         * po/de.po: Update from translation team.
64474 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
64476         * time/tzfile.c: Include stdint.h for SIZE_MAX.
64478 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
64480         * configure.in (_AC_PROG_CC_C89): New definition.
64481         * configure: Regenerate.
64483         * configure.in (AC_PROG_CPP): New definition.
64484         * configure: Regenerate.
64486 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64488         * debug/tst-backtrace.h: New file.
64489         * debug/tst-backtrace2.c: Include tst-backtrace.h.
64490         (ret): Remove variable.
64491         (x): Likewise.
64492         (FAIL): Remove macro.
64493         (NO_INLINE): Likewise.
64494         (fn1): Use match function instead of strstr.
64495         * debug/tst-backtrace3.c: Include tst-backtrace.h.
64496         (ret): Remove variable.
64497         (x): Likewise.
64498         (FAIL): Remove macro.
64499         (NO_INLINE): Likewise.
64500         (fn): Use match function instead of strstr.
64501         * debug/tst-backtrace4.c: Include tst-backtrace.h.
64502         (ret): Remove variable.
64503         (x): Likewise.
64504         (FAIL): Remove macro.
64505         (NO_INLINE): Likewise.
64506         (handle_signal): Use match function instead of strstr.
64507         * debug/tst-backtrace5.c: Include tst-backtrace.h.
64508         (ret): Remove variable.
64509         (x): Likewise.
64510         (FAIL): Remove macro.
64511         (NO_INLINE): Likewise.
64512         (handle_signal): Use match function instead of strstr.
64514 2013-01-23  Roland McGrath  <roland@hack.frob.com>
64516         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
64518 2013-01-23  David S. Miller  <davem@davemloft.net>
64520         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
64521         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
64522         argument of CAS if possible.
64523         * sysdeps/sparc/sparc64/bits/atomic.h
64524         (__arch_compare_and_exchange_val_32_acq): Likewise.
64525         (__arch_compare_and_exchange_val_64_acq): Likewise.
64527 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
64529         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
64530         * sysdeps/posix/ulimit.c: ... this.
64531         Include <limits.h>.
64532         * sysdeps/unix/bsd/ulimit.c: Remove file.
64534 2013-01-23  Adam Conrad  <adconrad@0c3.net>
64536         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
64537         (LDFLAGS-tst-array5): Likewise.
64539 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64541         [BZ #15036]
64542         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
64543         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
64544         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
64545         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
64547 2013-01-21  David S. Miller  <davem@davemloft.net>
64549         * sysdeps/sparc/backtrace.c: New file.
64550         * sysdeps/sparc/sparc32/backtrace.h: New file.
64551         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
64552         * sysdeps/sparc/sparc64/backtrace.h: New file.
64553         * sysdeps/sparc/sparc64/backtrace.c: Delete.
64554         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
64555         -funwind-tables.
64557 2013-01-21  Andreas Schwab  <schwab@suse.de>
64559         [BZ #15020]
64560         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
64561         closed its stdout.
64563 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
64565         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
64566         "mpa2.h".
64567         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64569 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
64570             Mark Mitchell  <mark@codesourcery.com>
64571             Tom de Vries  <tom@codesourcery.com>
64572             Paul Pluzhnikov  <ppluzhnikov@google.com>
64574         * debug/tst-backtrace2.c: New file.
64575         * debug/tst-backtrace3.c: Likewise.
64576         * debug/tst-backtrace4.c: Likewise.
64577         * debug/tst-backtrace5.c: Likewise.
64578         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
64579         (CFLAGS-tst-backtrace3.c): Likewise.
64580         (CFLAGS-tst-backtrace4.c): Likewise.
64581         (CFLAGS-tst-backtrace5.c): Likewise.
64582         (LDFLAGS-tst-backtrace2): Likewise.
64583         (LDFLAGS-tst-backtrace3): Likewise.
64584         (LDFLAGS-tst-backtrace4): Likewise.
64585         (LDFLAGS-tst-backtrace5): Likewise.
64586         (tests): Add new tests tst-backtrace2, tst-backtrace3,
64587         tst-backtrace4 and tst-backtrace5.
64589 2013-01-18  Anton Blanchard  <anton@samba.org>
64590             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64592         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
64593         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
64594         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
64595         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
64596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64597         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
64598         "+r" and remove output regs list as redundant.  Add explicit inline
64599         asm to specify register of return val to work around compiler codegen
64600         bug.  Remove (int) cast on return value.  Add return type parameter to
64601         use in macro so that this macro does not truncate return value for
64602         64-bit values.
64603         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
64604         pass to INTERNAL_VSYSCALL_NCS.
64605         (INLINE_VSYSCALL): Add 'long int' as return type to
64606         INTERNAL_VSYSCALL_NCS macro invocation.
64607         (INTERNAL_VSYSCALL): Add 'long int' as return type to
64608         INTERNAL_VSYSCALL_NCS macro invocation.
64609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64611 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64613         [BZ #14496]
64614         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
64615         Fix application of SIMD FP exception mask.
64617         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
64618         mp_no from a power of two.
64619         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
64620         __mpexp_twomm1.  Use __pow_mp.
64622         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
64623         multiplication.
64625 2013-01-17  David S. Miller  <davem@davemloft.net>
64627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64629 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64631         [BZ #15023]
64632         * include/complex.h: Condition contents on [!_COMPLEX_H].
64633         (__kernel_casinhf): New prototype.
64634         (__kernel_casinh): Likewise.
64635         (__kernel_casinhl): Likewise.
64636         * math/Makefile (libm_calls): Add k_casinh.
64637         * math/k_casinh.c: New file.
64638         * math/k_casinhf.c: Likewise.
64639         * math/k_casinhl.c: Likewise.
64640         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
64641         finite nonzero arguments.
64642         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
64643         finite nonzero arguments.
64644         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
64645         finite nonzero arguments.
64646         * math/s_casinh.c: Do not include <float.h>.
64647         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
64648         * math/s_casinhf.c: Do not include <float.h>.
64649         (__casinhf): Move code for finite nonzero arguments to
64650         k_casinhf.c.
64651         * math/s_casinhl.c: Do not include <float.h>.
64652         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
64653         redefine.
64654         (__casinhl): Move code for finite nonzero arguments to
64655         k_casinhl.c.
64656         * math/libm-test.inc (cacos_test): Add more tests.
64657         * sysdeps/i386/fpu/libm-test-ulps: Update.
64658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64660 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
64662         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
64663         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
64664         [!HAVE_MREMAP]: Remove [defined linux] case.
64665         * malloc/arena.c: Do not include <malloc-sysdep.h>.
64667 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64669         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
64671 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
64673         * elf/elf.h (R_386_SIZE32): New relocation.
64674         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
64675         R_386_SIZE32.
64676         (elf_machine_rela): Likewise.
64677         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64678         R_X86_64_SIZE64 and R_X86_64_SIZE32.
64680 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64682         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
64683         (FP_FAST_FMA): Do not define.
64684         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
64685         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
64686         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
64687         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
64688         !_SOFT_FLOAT]: Likewise.
64689         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
64690         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
64691         value.
64692         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
64693         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
64694         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
64695         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
64696         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
64697         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
64698         file.
64700 2013-01-16  Andreas Schwab  <schwab@suse.de>
64702         [BZ #14327]
64703         * include/stdlib.h (__mktemp): Add declaration.
64704         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
64705         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
64707 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64709         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
64710         definitions.
64711         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64712         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
64713         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
64714         definitions here.
64715         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
64716         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
64717         definitions.
64718         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
64719         and ONE.
64720         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
64721         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
64722         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
64723         definitions.
64724         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
64725         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
64726         definitions.
64727         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64729         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
64731 2013-01-15  David S. Miller  <davem@davemloft.net>
64733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64734         trunc{,f} to libm-sysdep_routes.
64735         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
64737         file.
64738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
64739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
64740         file.
64741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
64742         file.
64743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
64744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
64745         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
64746         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
64747         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
64748         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
64749         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
64750         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
64752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64753         nearbyint{,f} to libm-sysdep_routes.
64754         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
64756         New file.
64757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
64758         file.
64759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
64760         New file.
64761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
64762         file.
64763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
64764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
64765         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
64766         file.
64767         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
64768         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
64769         file.
64770         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
64771         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
64772         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
64774         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64775         libc_feholdexcept and libc_fesetenv.
64777 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
64779         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
64781 2013-01-14  David S. Miller  <davem@davemloft.net>
64783         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
64784         (SPARC_ASM_VIS2_IFUNC): Likewise.
64785         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
64786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
64787         use of 'siam' instruction.
64788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
64789         Likewise.
64790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
64791         Likewise.
64792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
64793         Likewise.
64794         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
64795         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
64796         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
64797         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
64798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
64799         file.
64800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
64801         file.
64802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
64803         file.
64804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
64805         file.
64806         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
64807         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
64808         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
64809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
64810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
64811         new VIS2 routines.
64812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64815         Likewise.
64816         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64817         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64818         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64819         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
64821         routines to libm-sysdep_routines.
64822         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64825         fdim/fdimf to libm-sysdep_routines.
64826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
64827         file.
64828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
64829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
64830         file.
64831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
64832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
64833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
64834         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
64835         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
64836         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
64837         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
64839 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64841         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
64842         to optimize copies.
64844         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
64845         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64848         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
64849         local variable MPTWO.
64850         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64851         Likewise.
64853 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64855         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
64856         GLOB_NOESCAPE.
64858 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64860         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
64862 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64864         * manual/pattern.texi (glob_t): Document gl_flags.
64865         (glob64_t): Likewise.
64867 2013-01-11  David S. Miller  <davem@davemloft.net>
64869         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
64870         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
64871         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
64872         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
64873         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
64874         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
64875         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
64876         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
64877         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
64878         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
64879         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
64880         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
64881         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
64883         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64884         sparc V9 rather than using V8 code.
64885         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64886         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64888         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64889         Move to...
64890         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
64891         Here.
64893 2013-01-11  Roland McGrath  <roland@hack.frob.com>
64895         [BZ #14941]
64896         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
64897         not in the main loop.
64898         * configure: Regenerated.
64900 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
64902         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
64903         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
64904         to just #else.
64905         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
64906         [!__GLIBC_HAVE_LONG_LONG] case.
64907         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
64908         condition to just #else.
64909         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
64910         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
64911         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
64912         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
64913         unconditional.
64914         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
64915         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64916         #elif condition to just #else.
64917         * sysdeps/unix/sysv/linux/sys/sysmacros.h
64918         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
64919         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64920         #elif condition to just #else.
64922 2013-01-11  Steve Ellcey  <sellcey@mips.com>
64924         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
64925         (EF_MIPS_ARCH_64): Fix value.
64926         (EF_MIPS_ARCH_32R2): New.
64927         (EF_MIPS_ARCH_64R2): New.
64929 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
64931         * Makeconfig (+link-pie-before-libc): New.
64932         (+link-pie-after-libc): Likewise.
64933         (+link-pie-tests): Likewise.
64934         (+link-pie): Rewritten.
64935         (link-before-libc): Remove $(config-LDFLAGS).
64936         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
64937         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
64938         (config-LDFLAGS): Renamed to ...
64939         (rtld-LDFLAGS): This.
64940         (rtld-tests-LDFLAGS): New macro.
64941         (link-libc-rpath-link): Likewise.
64942         (link-libc-tests-rpath-link): Likewise.
64943         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
64944         (link-libc): Prepand $(link-libc-rpath-link).
64945         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
64946         (test-program-prefix): New macro.
64947         (test-via-rtld-prefix): Likewise.
64948         (test-program-cmd): Likewise.
64949         (host-test-program-cmd): Likewise.
64950         * Makefile ($(common-objpfx)testrun.sh): Replace
64951         $(run-program-prefix) with $(test-program-prefix).
64952         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
64953         $(rtld-LDFLAGS).
64954         ($(common-objpfx)shlib.lds): Likewise.
64955         (build-module-helper): Likewise.
64956         ($(common-objpfx)format.lds): Likewise.
64957         * Rules (binaries-pie-tests): New.
64958         (binaries-pie-notests): Likewise.
64959         (binaries-pie): Rewritten.
64960         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
64961         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
64962         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
64963         (make-test-out): Replace $(host-built-program-cmd) with
64964         $(host-test-program-cmd).
64965         * config.make.in (build-hardcoded-path-in-tests): New variable.
64966         * configure.in (--enable-hardcoded-path-in-tests): New configure
64967         option.
64968         (hardcoded_path_in_tests): New AC_SUBST.
64969         * configure: Regenerated.
64970         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
64971         $(built-program-cmd) with $(test-program-cmd).
64972         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
64973         (test_program_cmd): This.
64974         * elf/Makefile ($(objpfx)order.out): Run test with
64975         $(test-program-prefix).
64976         ($(objpfx)order2.out): Likewise.
64977         ($(objpfx)tst-initorder.out): Likewise.
64978         ($(objpfx)tst-initorder2.out): Likewise.
64979         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
64980         $(test-program-cmd).
64981         ($(objpfx)tst-array1-static.out): Likewise.
64982         ($(objpfx)tst-array2.out): Likewise.
64983         ($(objpfx)tst-array3.out): Likewise.
64984         ($(objpfx)tst-array4.out): Likewise.
64985         ($(objpfx)tst-array5.out): Likewise.
64986         ($(objpfx)tst-array5-static.out): Likewise.
64987         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
64988         $(test-program-cmd).
64989         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
64990         $(run-program-prefix) with $(test-program-prefix).
64991         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
64992         (test_program_prefix): This.
64993         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
64994         $(run-program-prefix) with $(test-program-prefix).
64995         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
64996         (test_program_prefix): This.
64997         * iconvdata/tst-tables.sh: Likewise.
64998         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
64999         $(run-program-prefix) with $(test-program-prefix).
65000         ($(objpfx)tst-translit.out): Likewise.
65001         ($(objpfx)tst-gettext2.out): Likewise.
65002         ($(objpfx)tst-gettext4.out): Likewise.
65003         ($(objpfx)tst-gettext6.out): Likewise.
65004         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
65005         (test_program_prefix): This.
65006         * intl/tst-gettext2.sh: Likewise.
65007         * intl/tst-gettext4.sh  Likewise.
65008         * intl/tst-gettext6.sh: Likewise.
65009         * intl/tst-translit.sh: Likewise.
65010         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
65011         with $(test-program-cmd).
65012         * libio/Makefile ($(objpfx)test-freopen.out): Replace
65013         $(run-program-prefix) with $(test-program-prefix).
65014         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
65015         (test_program_prefix): This.
65016         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
65017         $(run-program-prefix) with $(test-program-prefix).
65018         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
65019         (test_program_prefix): This.
65020         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
65021         * posix/Makefile ($(objpfx)globtest.out): Replace
65022         $(run-via-rtld-prefix) and $(test-wrapper) with
65023         $(test-program-prefix) and $(test-via-rtld-prefix).
65024         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
65025         $(test-program-prefix).
65026         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
65027         $(host-test-program-cmd).
65028         (tst-spawn-ARGS): Likewise.
65029         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
65030         $(test-program-prefix).
65031         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
65032         (test_via_rtld_prefix): This.
65033         (test_wrapper): Renamed to ...
65034         (test_program_prefix): This.
65035         (run_program_prefix): Replaced by test_program_prefix.
65036         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
65037         (test_program_prefix): This.
65038         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
65039         with $(host-test-program-cmd).
65040         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
65041         $(run-program-prefix) with $(test-program-prefix).
65042         ($(objpfx)tst-printf.out): Likewise.
65043         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
65044         $(test-program-cmd).
65045         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
65046         (test_program_prefix): This.
65047         * stdio-common/tst-unbputc.sh: Likewise.
65048         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
65049         $(run-program-prefix) with $(test-program-prefix).
65050         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
65051         (test_program_prefix): This.
65052         * string/Makefile ($(objpfx)tst-svc.out):  Replace
65053         $(built-program-cmd) with $(test-program-cmd).
65055 2013-01-11  Andreas Jaeger  <aj@suse.de>
65057         [BZ #15003]
65058         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
65059         value. Sync with Linux 3.7.
65061 2013-01-10  David S. Miller  <davem@davemloft.net>
65063         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
65064         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65065         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65067 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65069         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
65070         never set.
65071         * configure: Regenerated.
65073 2013-01-10  David S. Miller  <davem@davemloft.net>
65075         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65076         sparc V9 rather than using V8 code.
65077         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65078         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65080 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65082         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
65083         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
65084         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
65085         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
65086         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
65087         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
65088         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
65089         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
65090         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
65091         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
65092         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
65093         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
65094         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
65095         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
65096         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
65097         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
65098         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
65099         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
65100         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
65101         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
65102         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
65103         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
65104         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
65105         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
65106         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
65107         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
65108         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
65110 2013-01-10  David S. Miller  <davem@davemloft.net>
65112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65114 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65116         * posix/Makefile (tests-static): New variable.
65117         (tests): Add $(tests-static).
65118         (tst-exec-static-ARGS): New variable.
65119         (tst-spawn-static-ARGS): Likewise.
65120         * posix/tst-exec-static.c: New file.
65121         * posix/tst-spawn-static.c: Likewise.
65122         * posix/tst-exec.c: Support run directly.
65123         * posix/tst-spawn.c: Likewise.
65125 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
65127         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
65128         long.
65129         * math/bits/mathcalls.h (llrint): Likewise.
65130         (llround): Likewise.
65131         * stdlib/stdlib.h (struct drand48_data): Likewise.
65132         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
65133         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
65134         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
65135         Likewise.
65136         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
65137         Likewise.
65138         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
65139         (elf_greg_t): Likewise.
65140         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
65141         (__jmp_buf): Likewise.
65142         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
65143         definitions.
65144         (llrint): Likewise, for all definitions.
65145         (llrintl): Likewise.
65147         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
65148         Remove [__GNUC__] condition.
65149         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
65150         condition to just [__USE_ISOC99].
65151         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
65153 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65155         [BZ #14200]
65156         * sysdeps/unix/sysv/linux/x86/bits/environments.h
65157         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
65158         defined.
65159         (_POSIX_V6_ILP32_OFF32): Likewise.
65160         (_XBS5_ILP32_OFF32): Likewise.
65161         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
65162         (__ILP32_OFFBIG_LDFLAGS): Likewise.
65164 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65166         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
65168         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
65169         doubles __mpexp_twomm1.  Adjust usage.
65170         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
65171         Remove.
65173 2013-01-10  Andreas Schwab  <schwab@suse.de>
65175         [BZ #14964]
65176         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
65177         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
65179 2013-01-09  David S. Miller  <davem@davemloft.net>
65181         [BZ #15003]
65182         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
65183         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
65184         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
65185         (TCP_FASTOPEN): Define.
65186         (tcp_repair_opt): New structure.
65187         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
65188         enum values.
65189         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
65190         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
65191         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
65192         (tcp_cookie_transactions): New structure.
65194 2013-01-09  Anton Blanchard  <anton@samba.org>
65196         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
65197         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
65198         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
65199         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
65201 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
65203         * include/features.h (__USE_ANSI): Remove.
65205 2013-01-09  Roland McGrath  <roland@hack.frob.com>
65207         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
65209         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
65211 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
65213         * sysdeps/s390/fpu/libm-test-ulps: Update.
65215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65217         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
65218         (__acr): Likewise.
65219         (__cpy): Likewise.
65220         (norm): Likewise.
65221         (denorm): Likewise.
65222         (__mp_dbl): Likewise.
65223         (__dbl_mp): Likewise.
65224         (add_magnitudes): Likewise.
65225         (sub_magnitudes): Likewise.
65226         (__add): Likewise.
65227         (__sub): Likewise.
65228         (__mul): Likewise.
65229         (__inv): Likewise.
65230         (__dvd): Likewise.
65231         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
65232         (__acr): Likewise.
65233         (__cpy): Likewise.
65234         (norm): Likewise.
65235         (denorm): Likewise.
65236         (__mp_dbl): Likewise.
65237         (__dbl_mp): Likewise.
65238         (add_magnitudes): Likewise.
65239         (sub_magnitudes): Likewise.
65240         (__add): Likewise.
65241         (__sub): Likewise.
65242         (__mul): Likewise.
65243         (__inv): Likewise.
65244         (__dvd): Likewise.
65245         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
65246         (__acr): Likewise.
65247         (__cpy): Likewise.
65248         (norm): Likewise.
65249         (denorm): Likewise.
65250         (__mp_dbl): Likewise.
65251         (__dbl_mp): Likewise.
65252         (add_magnitudes): Likewise.
65253         (sub_magnitudes): Likewise.
65254         (__add): Likewise.
65255         (__sub): Likewise.
65256         (__mul): Likewise.
65257         (__inv): Likewise.
65258         (__dvd): Likewise.
65260 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
65262         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
65263         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
65264         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
65265         2 && __USE_EXTERN_INLINES]: Likewise.
65267 2013-01-08  Andreas Jaeger  <aj@suse.de>
65269         [BZ# 14985]
65270         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
65271         Remove.
65272         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65273         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65275 2013-01-07  Anton Blanchard  <anton@samba.org>
65277         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
65278         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65279         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
65280         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65281         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
65282         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65283         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
65284         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65285         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65286         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65287         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65288         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65289         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65290         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65291         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
65292         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65293         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65294         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65295         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
65296         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
65297         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
65298         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
65299         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
65300         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
65301         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
65302         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
65303         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65304         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65305         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
65306         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65307         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
65308         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65309         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65310         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65311         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65312         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
65313         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65314         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65315         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
65316         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
65317         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
65318         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65319         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65321 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
65323         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
65324         (__MALLOC_PMT): Likewise.
65325         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
65326         [__GNUC__], only on [_LIBC].
65327         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65328         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
65329         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65330         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
65331         forward declaration.
65332         (realloc_hook_ini): Likewise.
65333         (memalign_hook_ini): Likewise.
65334         (__libc_memalign): Do not use __MALLOC_PMT in variable
65335         declaration.
65336         (__libc_valloc): Likewise.
65337         (__libc_pvalloc): Likewise.
65338         (__libc_calloc): Likewise.
65339         (__posix_memalign): Likewise.
65341         [BZ #14996]
65342         * math/s_casinh.c: Include <float.h>.
65343         (__casinh): Do not do computation with squaring and square root
65344         for large arguments.
65345         * math/s_casinhf.c: Include <float.h>.
65346         (__casinhf): Do not do computation with squaring and square root
65347         for large arguments.
65348         * math/s_casinhl.c: Include <float.h>.
65349         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
65350         (__casinhl): Do not do computation with squaring and square root
65351         for large arguments.
65352         * math/libm-test.inc (casin_test): Add more tests.
65353         (casinh_test): Likewise.
65354         * sysdeps/i386/fpu/libm-test-ulps: Update.
65355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65357 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
65359         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
65360         (__x86_64_raw_data_cache_size): Likewise.
65361         (__x86_64_data_cache_size_half): Likewise.
65362         (__x86_64_raw_data_cache_size_half): Likewise.
65363         (__x86_64_shared_cache_size): Likewise.
65364         (__x86_64_raw_shared_cache_size): Likewise.
65365         (__x86_64_shared_cache_size_half): Likewise.
65366         (__x86_64_raw_shared_cache_size_half): Likewise.
65367         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
65368         to ...
65369         (__x86_data_cache_size): This.
65370         (__x86_64_raw_data_cache_size): Renamed to ...
65371         (__x86_raw_data_cache_size): This.
65372         (__x86_64_data_cache_size_half): Renamed to ...
65373         (__x86_data_cache_size_half): This.
65374         (__x86_64_raw_data_cache_size_half): Renamed to ...
65375         (__x86_raw_data_cache_size_half): This.
65376         (__x86_64_shared_cache_size): Renamed to ...
65377         (__x86_shared_cache_size): This.
65378         (__x86_64_raw_shared_cache_size): Renamed to ...
65379         (__x86_raw_shared_cache_size): This.
65380         (__x86_64_shared_cache_size_half): Renamed to ...
65381         (__x86_shared_cache_size_half): This.
65382         (__x86_64_raw_shared_cache_size_half): Renamed to ...
65383         (__x86_raw_shared_cache_size_half): This.
65384         * sysdeps/x86_64/memcpy.S: Updated.
65385         * sysdeps/x86_64/memset.S: Likewise.
65386         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
65387         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
65388         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
65390 2013-01-04  David S. Miller  <davem@davemloft.net>
65392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65394 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
65396         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
65397         1 to avoid redefinition warning.
65398         (__USE_GNU): Don't define.
65399         (init_signaling_nan): Protoize.
65401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65403 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65405         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
65406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
65407         (__cpymn): Likewise.
65408         (norm): Remove commented code.
65409         (denorm): Likewise.
65410         (__mp_dbl): Likewise.
65411         (__inv): Likewise.
65412         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
65413         (__cpymn): Likewise.
65414         (norm): Remove commented code.
65415         (denorm): Likewise.
65416         (__mp_dbl): Likewise.
65417         (__inv): Likewise.
65419         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
65420         mp_no value for 1.0 and 2.0.
65421         (norm): Use RADIXI instead of radixi.d.
65422         (denorm): Likewise.
65423         (__mul): Use 0.0 instead of zero.d.
65424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
65425         mp_no value for 1.0 and 2.0.
65426         (norm): Use RADIXI instead of radixi.d.
65427         (denorm): Likewise.
65428         (__mul): Use 0.0 instead of zero.d.
65430 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
65432         [BZ #14994]
65433         * math/s_casinh.c (__casinh): Reduce finite argument to first
65434         quadrant then set signs of results at the end.
65435         * math/s_casinhf.c (__casinhf): Likewise.
65436         * math/s_casinhl.c (__casinhl): Likewise.
65437         * math/libm-test.inc (casin_test): Add more tests.
65438         (casinh_test): Likewise.
65439         * sysdeps/i386/fpu/libm-test-ulps: Update.
65440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65442 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65444         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
65446         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
65448         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
65449         declarations.
65450         (denorm): Likewise.
65451         (__mp_dbl): Likewise.
65452         (__inv): Likewise.
65454         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
65455         and adjust the header comment.
65457         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
65458         variable name from declaration.
65460 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
65462         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65463         Initialize COMMON_CPUID_INDEX_7 element.
65464         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
65465         (CPUID_RTM): Likewise.
65466         (HAS_RTM): Likewise.
65467         (COMMON_CPUID_INDEX_7): New enum.
65469 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
65471         [BZ #14981]
65472         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
65473         size is zero, record memory as freed.
65475 2013-01-03  Andreas Jaeger  <aj@suse.de>
65477         * po/ia.po: Add new Interlingua translation.
65479 2012-01-03  Allan McRae  <allan@archlinux.org>
65481         * locale/programs/localedef.c: Fix description of '--posix' flag.
65483 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
65485         * NEWS: Update dates in second copyright notice.
65486         * README: Update copyright dates in example.
65487         * manual/libc.texinfo: Update copyright dates.
65488         * scripts/test-installation.pl: Update copyright date in --version
65489         output.
65491         * hurd/ctty-input.c: Fix copyright notice formatting.
65492         * hurd/ctty-output.c: Likewise.
65493         * hurd/dtable.c: Likewise.
65494         * hurd/hurd-raise.c: Likewise.
65495         * hurd/hurdprio.c: Likewise.
65496         * hurd/msgportdemux.c: Likewise.
65497         * misc/sys/file.h: Likewise.
65498         * misc/sys/ioctl.h: Likewise.
65499         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
65500         * sysdeps/mach/hurd/chdir.c: Likewise.
65501         * sysdeps/mach/hurd/fchdir.c: Likewise.
65502         * sysdeps/mach/hurd/rename.c: Likewise.
65503         * sysdeps/mach/hurd/rmdir.c: Likewise.
65504         * sysdeps/mach/hurd/seekdir.c: Likewise.
65505         * sysdeps/mach/hurd/setsid.c: Likewise.
65506         * sysdeps/posix/wait3.c: Likewise.
65508         * All files with FSF copyright notices: Update copyright dates
65509         using scripts/update-copyrights.
65510         * intl/plural.c: Regenerated.
65511         * locale/programs/charmap-kw.h: Likewise.
65512         * locale/programs/locfile-kw.h: Likewise.
65514 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65516         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
65517         four values.
65519         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
65520         calculation loop and add branch prediction.
65522         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
65523         check access beyond bounds of m1np.
65525         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65526         MPTWO.
65527         (__inv): Remove local variable MPTWO to use the global
65528         constant.
65529         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
65530         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65531         variable MPTWO.
65532         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
65533         MP3HALFS static const.
65535 2013-01-01  David S. Miller  <davem@davemloft.net>
65537         * po/ca.po: Update from translation team.
65539 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
65541         * scripts/update-copyrights: New file.
65542         * Makeconfig: Reformat copyright notice.
65543         * ctype/ctype.h: Likewise.
65544         * debug/swprintf_chk.c: Likewise.
65545         * elf/dl-cache.c: Likewise.
65546         * elf/dl-debug.c: Likewise.
65547         * elf/dl-object.c: Likewise.
65548         * grp/initgroups.c: Likewise.
65549         * hurd/Makefile: Likewise.
65550         * hurd/hurd/signal.h: Likewise.
65551         * hurd/hurdfault.c: Likewise.
65552         * hurd/hurdioctl.c: Likewise.
65553         * hurd/hurdlookup.c: Likewise.
65554         * hurd/intr-msg.c: Likewise.
65555         * iconv/gconv_open.c: Likewise.
65556         * libio/swprintf.c: Likewise.
65557         * locale/lc-ctype.c: Likewise.
65558         * locale/nl_langinfo.c: Likewise.
65559         * mach/Machrules: Likewise.
65560         * mach/Makefile: Likewise.
65561         * malloc/obstack.h: Likewise.
65562         * manual/Makefile: Likewise.
65563         * manual/tsort.awk: Likewise.
65564         * misc/bits/stab.def: Likewise.
65565         * nis/nis_print_group_entry.c: Likewise.
65566         * nis/nis_table.c: Likewise.
65567         * nis/nss_compat/compat-pwd.c: Likewise.
65568         * nis/nss_compat/compat-spwd.c: Likewise.
65569         * po/Makefile: Likewise.
65570         * posix/fnmatch.c: Likewise.
65571         * posix/regex.h: Likewise.
65572         * resolv/Makefile: Likewise.
65573         * resolv/nss_dns/dns-network.c: Likewise.
65574         * resolv/res_hconf.c: Likewise.
65575         * scripts/gen-sorted.awk: Likewise.
65576         * soft-fp/soft-fp.h: Likewise.
65577         * stdio-common/printf.h: Likewise.
65578         * stdlib/monetary.h: Likewise.
65579         * stdlib/random.c: Likewise.
65580         * stdlib/random_r.c: Likewise.
65581         * sysdeps/generic/Makefile: Likewise.
65582         * sysdeps/gnu/Makefile: Likewise.
65583         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65584         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65585         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65586         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65587         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65588         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65589         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65590         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65591         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65592         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65593         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65594         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65595         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65596         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65597         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
65598         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65599         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65600         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65601         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65602         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65603         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65604         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65605         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65606         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65607         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
65608         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65609         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
65610         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
65611         * sysdeps/mach/hurd/errnos.awk: Likewise.
65612         * sysdeps/mach/hurd/fork.c: Likewise.
65613         * sysdeps/mach/hurd/getcwd.c: Likewise.
65614         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
65615         * sysdeps/mach/hurd/mmap.c: Likewise.
65616         * sysdeps/mach/hurd/utimes.c: Likewise.
65617         * sysdeps/mach/hurd/xmknod.c: Likewise.
65618         * sysdeps/posix/profil.c: Likewise.
65619         * sysdeps/posix/readdir_r.c: Likewise.
65620         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65621         * sysdeps/powerpc/bits/setjmp.h: Likewise.
65622         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
65623         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65625         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65626         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65627         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65628         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65629         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65630         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65631         * sysdeps/pthread/lio_listio.c: Likewise.
65632         * sysdeps/sparc/dl-procinfo.h: Likewise.
65633         * sysdeps/unix/i386/sysdep.S: Likewise.
65634         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
65635         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
65636         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
65637         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
65638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65639         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
65640         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
65641         * sysdeps/unix/sysv/linux/speed.c: Likewise.
65642         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
65643         * sysdeps/wordsize-32/divdi3.c: Likewise.
65644         * time/sys/time.h: Likewise.
65645         * wcsmbs/Makefile: Likewise.
65647 2013-01-01  David S. Miller  <davem@davemloft.net>
65649         * po/fr.po: Update from translation team.
65651         * catgets/gencat.c: Update copyright year.
65652         * csu/version.c: Likewise.
65653         * debug/catchsegv.sh: Likewise.
65654         * debug/pcprofiledump.c: Likewise.
65655         * debug/xtrace.sh: Likewise.
65656         * elf/ldconfig.c: Likewise.
65657         * elf/ldd.bash.in: Likewise.
65658         * elf/pldd.c: Likewise.
65659         * elf/sotruss.ksh: Likewise.
65660         * elf/sprof.c: Likewise.
65661         * iconv/iconv_prog.c: Likewise.
65662         * iconv/iconvconfig.c: Likewise.
65663         * locale/programs/locale.c: Likewise.
65664         * locale/programs/localedef.c: Likewise.
65665         * login/programs/pt_chown.c: Likewise.
65666         * malloc/memusage.sh: Likewise.
65667         * malloc/memusagestat.c: Likewise.
65668         * malloc/mtrace.pl: Likewise.
65669         * nscd/nscd.c: Likewise.
65670         * nss/getent.c: Likewise.
65671         * nss/makedb.c: Likewise.
65672         * posix/getconf.c: Likewise.
65674 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65676         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
65677         numbers.
65679 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
65681         * math/bits/mathcalls.h (modf): Use __nonnull.
65683 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65685         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
65686         (split): Use macro CN instead of the bare value.
65687         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
65688         could be used.
65689         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
65690         instead of the bare value.
65691         (power1): Likewise.
65693 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65695         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
65696         __ATAN_TWOM.
65697         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65699         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
65700         their values.
65701         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65702         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65703         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
65704         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65706 2012-12-28  Andreas Jaeger  <aj@suse.de>
65708         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
65709         values are from Linux 3.7.
65711         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
65712         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
65714 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65716         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
65717         TRUE case.
65719         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
65720         (norm): Likewise.
65721         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
65722         variables with preprocessor constants.
65723         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65724         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65725         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65727 2012-12-27  Bruno Haible  <bruno@clisp.org>
65729         [BZ #14317]
65730         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
65731         only if needed.
65733 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65735         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
65736         and use variable directly.
65737         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
65739         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65740         MPONE.
65741         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
65742         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65743         variable MPONE.
65744         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65745         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65746         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
65747         include directive.  Remove local variable MPONE.
65748         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
65749         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
65750         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65752 2012-12-25  David S. Miller  <davem@davemloft.net>
65754         * version.h (RELEASE): Set to "development".
65755         (VERSION): Set to "2.17.90".
65756         * NEWS: Add 2.18 section.
65758 2012-12-21  David S. Miller  <davem@davemloft.net>
65760         * po/hr.po: Update from translation team.
65762 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65764         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
65766 2012-12-19  Steve Ellcey  <sellcey@mips.com>
65768         * NEWS:  Mention new memcpy for MIPS.
65770 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65772         * manual/contrib.texi (Contributors): Spelling correction.
65774 2012-12-15  David S. Miller  <davem@davemloft.net>
65776         * po/ru.po: Update from translation team.
65778 2012-12-13  David S. Miller  <davem@davemloft.net>
65780         * NEWS: Mention IFUNC testsuite enhancements.
65782         * po/pl.po: Update from translation team.
65783         * po/bg.po: Likewise.
65785         * manual/contrib.texi (Contributors): Update entries for Hongjiu
65786         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
65788 2012-12-11  David S. Miller  <davem@davemloft.net>
65790         * po/sv.po: Update from translation team.
65792         * po/vi.po: Update from translation team.
65794         * po/cs.po: Update from translation team.
65796         * po/de.po: Update from translation team.
65797         * po/eo.po: Likewise.
65798         * po/nl.po: Likewise.
65800 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65802         [BZ #14246]
65803         * manual/argp.texi (Argp Helper Functions): Move node to follow
65804         Argp Parsing State.
65806         [BZ #14872]
65807         * manual/conf.texi (Limits on File System Capacity): Mention if
65808         terminating null is included in the max size.
65810 2012-12-10  Andreas Jaeger  <aj@suse.de>
65812         * po/cs.po: Update from translation team.
65814 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65816         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
65817         void pointer and cast to uintptr_t.
65818         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
65819         path.
65820         * sysdeps/s390/s390-64/memcpy.S: Likewise.
65821         * sysdeps/s390/s390-64/memset.S: Likewise.
65823 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
65825         [BZ #14833]
65826         * menual/message.texi (Message Translation): Fix typos.
65827         (Helper programs for gettext): Likewise.
65829 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
65831         [BZ #14898]
65832         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
65833         Change to -1.
65835 2012-12-07  David S. Miller  <davem@davemloft.net>
65837         * po/libc.pot: Update.
65839 2012-12-07  Richard Henderson  <rth@redhat.com>
65841         [BZ #10114]
65842         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
65843         normal/normal case to before the switch.
65844         (_FP_DIV): Likewise.
65846 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
65847             Mike Frysinger  <vapier@gentoo.org>
65849         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
65850         check for __NR_fadvise64_64.
65852 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
65854         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
65855         0, not just to plain "0" as a statement.
65856         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
65857         with cw.
65859 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
65861         * NEWS: Use sourceware.org in Bugzilla URL.
65863 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
65866         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65868         * stdio-common/tst-put-error.c (do_test): Add newline to the
65869         padded test to ensure flush.
65871 2012-12-05  Jeff Law  <law@redhat.com>
65873         * sunrpc/etc.rpc (fedfs_admin): Add entry.
65875 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
65877         * README: Don't refer to ports add-on as distributed separately.
65878         Mention AArch64 in list of systems supported in the ports add-on.
65880         * LICENSES: Add more non-FSF copyright and license notices.
65882         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
65883         ((unused)).
65885         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
65887         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
65888         10000 as width of padded output.
65890 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65892         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
65894         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
65895         variable LX with __attribute__ ((unused)).
65896         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
65897         Likewise.
65898         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
65899         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65900         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
65901         with __attribute__ ((unused)).
65903 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
65905         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
65907 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65909         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
65910         (CFLAGS-nldbl-acos.c): New variable.
65911         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
65912         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
65913         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
65914         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
65915         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
65916         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
65917         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
65918         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
65919         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
65920         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
65921         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
65922         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
65923         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
65924         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
65925         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
65926         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
65927         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
65928         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
65929         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
65930         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
65931         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
65932         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
65933         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
65934         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
65935         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
65936         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
65937         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
65938         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
65939         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
65940         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
65941         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
65942         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
65943         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
65944         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
65945         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
65946         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
65947         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
65948         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
65949         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
65950         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
65951         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
65952         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
65953         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
65954         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
65955         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
65956         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
65957         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
65958         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
65959         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
65960         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
65961         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
65962         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
65963         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
65964         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
65965         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
65966         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
65967         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
65968         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
65969         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
65970         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
65971         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
65972         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
65973         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
65974         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
65975         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
65976         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
65977         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
65978         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
65979         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
65980         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
65981         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
65982         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
65983         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
65984         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
65985         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
65986         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
65987         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
65988         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
65989         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
65990         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
65991         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
65992         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
65993         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
65994         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
65995         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
65996         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
65997         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
65998         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
65999         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
66000         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
66001         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
66002         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
66003         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
66004         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
66005         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
66006         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
66007         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
66009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66010         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66012         [BZ #14914]
66013         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
66014         whole low double instead of just low 47 bits when splitting values
66015         into two parts.
66017 2012-12-03  Allan McRae  <allan@archlinux.org>
66019         * manual/stdio.texi (Predefined Printf Handlers): Remove
66020         @hsep and @vsep usage.
66022 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
66024         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
66025         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
66027 2012-12-03  Jeff Law  <law@redhat.com>
66029         * time/sys/time.h (settimeofday): Do not mark TV argument
66030         as __nonnull.
66032 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
66034         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
66035         when currently writing and seek to current position when not.
66036         * libio/Makefile (tests): Remove bug-fclose1.
66037         * libio/bug-fclose1.c: Delete.
66039 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
66041         * manual/arith.texi (feenableexcept): Fix typo.
66042         (fedisableexcept): Likewise.
66044 2012-11-30  Roland McGrath  <roland@hack.frob.com>
66046         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
66047         second, differently-typed declaration, rather than a cast.
66049 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66051         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
66052         * include/rpc/svc.h: ... here.
66054 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
66056         [BZ #13013]
66057         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
66058         depending n and resplen2 to catch cases where answer
66059         equals answerp2.
66061 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
66063         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
66064         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
66066 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
66068         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
66070 2012-11-29  Roland McGrath  <roland@hack.frob.com>
66072         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
66074 2012-11-28  Jeff Law  <law@redhat.com>
66076         [BZ #13761]
66077         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
66078         dataset_temporary.  Track alloca usage into alloca_used.
66079         If dataset is large allocate and release it via malloc/free.
66081 2012-06-04  Florian Weimer  <fweimer@redhat.com>
66083         [BZ #14197]
66084         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
66086 2012-11-28  David S. Miller  <davem@davemloft.net>
66088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66090 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66092         [BZ #14803]
66093         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
66094         of pi/2 rounded to nearest to 64 bits.
66095         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
66096         nearest to 64 bits.
66097         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
66098         bits.
66100 2012-11-28  Jeff Law <law@redhat.com>
66101             Martin Osvald <mosvald@redhat.com>
66103         [BZ #14889]
66104         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
66105         * sunrpc/svc.c: Include time.h.
66106         (__svc_accept_failed): New function.
66107         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
66108         any reason other than EINTR, call __svc_accept_failed.
66109         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
66110         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
66112 2012-11-28  Andreas Schwab  <schwab@suse.de>
66114         * scripts/abilist.awk: Also handle indirect functions in .opd
66115         section.
66117 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66119         [BZ #13881]
66120         * sysdeps/x86/fpu/powl_helper.c: New file.
66121         * sysdeps/x86/fpu/Makefile: Likewise.
66122         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
66123         (p3): New object.
66124         (__ieee754_powl): Use __powl_helper for finite arguments except
66125         integer exponents below 8.
66126         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
66127         (p3): New object.
66128         (__ieee754_powl): Use __powl_helper for finite arguments except
66129         integer exponents below 8.
66130         * math/libm-test.inc (pow_test): Add more tests and enable some
66131         previously disabled tests.
66132         * sysdeps/i386/fpu/libm-test-ulps: Update.
66133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66135 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66136             Carlos O'Donell  <carlos_odonell@mentor.com>
66138         * nss/makedb.c (is_prime): Assert that input is odd and greater
66139         than 4.  Note that fact in a comment too.
66140         (next_prime): Add 4 to input.
66142 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66144         [BZ #11741]
66145         * libio/Makefile (tests): Add test case tst-fwrite-error.
66146         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
66147         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
66148         * libio/tst-fwrite-error.c: New test case.
66150 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
66152         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
66153         before casting to void *.
66154         * include/libc-internal.h (__pointer_type): New macro.
66155         (__integer_if_pointer_type_sub): Likewise.
66156         (__integer_if_pointer_type): Likewise.
66157         (cast_to_integer): Likewise.
66158         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
66159         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
66160         before casting to atomic64_t.
66161         (atomic_exchange_acq): Likewise.
66162         (__arch_exchange_and_add_body): Likewise.
66163         (__arch_add_body): Likewise.
66164         (atomic_add_negative): Likewise.
66165         (atomic_add_zero): Likewise.
66167 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
66169         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
66170         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
66171         (add_fdes): Likewise.
66172         (linear_search_fdes): Likewise.
66173         (binary_search_unencoded_fdes): Likewise.
66175 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
66177         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
66179 2012-11-24  Adam Conrad  <adconrad@0c3.net>
66181         * configure.in: Autodetect C++ header directories.
66182         * configure: Regenerated.
66184 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
66186         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
66188 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
66190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66192 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
66194         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
66195         LDBL_MANT_DIG == 106]: Disable some tests.
66196         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66197         Likewise.
66198         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66199         Likewise.
66201         [BZ #14871]
66202         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
66203         input for small inputs.  Return +/- pi/2 for large inputs.
66204         * math/libm-test.inc (atan_test): Add more tests.
66206         * sysdeps/generic/unwind-dw2-fde-glibc.c
66207         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
66208         __attribute__ ((unused)).
66210         [BZ #14645]
66211         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
66212         x * y if x and y are nonzero and z is zero.
66214         [BZ #14811]
66215         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
66216         nonzero exponents with absolute value below 0x1p-117 to +/-
66217         0x1p-117.
66219         [BZ #14869]
66220         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
66221         up arguments below 2**-450, not just those below 2**-500.
66222         * math/libm-test.inc (hypot_test): Add another test.
66224         [BZ #14868]
66225         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
66226         Return a+b for ratio over 2**120, not 2**60.
66227         * math/libm-test.inc (hypot_test): Add another test.
66229         * math/libm-test.inc (clog_test): Use
66230         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
66231         (clog10_test): Likewise.
66233         [BZ #6778]
66234         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
66236 2012-11-22  Andreas Schwab  <schwab@suse.de>
66238         * sysdeps/i386/fpu/libm-test-ulps: Update.
66240 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
66242         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
66243         printf output with newline.
66245 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
66247         [BZ #14865]
66248         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
66249         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
66250         -z nodlopen, -z initfirst and -z execstack support.
66251         * configure: Regenerated.
66253         * elf/elf.h (DF_1_NODIRECT): New macro.
66254         (DF_1_IGNMULDEF): Likewise.
66255         (DF_1_NOKSYMS): Likewise.
66256         (DF_1_NOHDR): Likewise.
66257         (DF_1_EDITED): Likewise.
66258         (DF_1_NORELOC): Likewise.
66259         (DF_1_SYMINTPOSE): Likewise.
66260         (DF_1_GLOBAUDIT): Likewise.
66261         (DF_1_SINGLETON): Likewise.
66262         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
66263         DT_1_SUPPORTED_MASK bits.
66264         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
66266 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
66268         * sysdeps/unix/make-syscalls.sh: Document prefixes.
66270 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
66272         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
66273         macro.
66275         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
66276         (sendmmsg): Move declarations...
66277         * socket/sys/socket.h: ... here.
66278         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
66279         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
66280         include it from...
66281         * socket/recvmmsg.c: ... this new file.
66282         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
66283         (sendmmsg): Rename to __sendmmsg, create weak alias and make
66284         definition of __sendmmsg hidden.
66285         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
66286         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
66287         Move ENOSYS stub into and include it from...
66288         * socket/sendmmsg.c: ... this new file.
66289         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
66290         (sysdep_routines): Move recvmmsg and sendmmsg...
66291         * socket/Makefile (routines): ... here.
66292         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
66293         (GLIBC_PRIVATE): Add __sendmmsg.
66294         * include/sys/socket.h (__sendmmsg): Add declarations.
66295         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
66296         sendmmsg.
66298 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
66300         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
66301         variable I1 with __attribute__ ((unused)).
66302         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66304 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66306         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
66307         DUMMY variables with __attribute__ ((unused)).
66309         * bits/byteswap.h: Include <bits/types.h>.
66310         (__bswap_64): Use __uint64_t instead of unsigned long long int.
66312 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66314         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
66315         string_t.  Do not manually set errno.
66316         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
66317         length with __strnlen.  Make sure to both set errno and return it on
66318         failure.
66320 2012-11-19  David S. Miller  <davem@davemloft.net>
66322         With help from Joseph Myers.
66323         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
66324         very large arguments properly.
66325         * math/libm-test.inc (atan_test): New tests.
66326         (atan2_test): New tests.
66327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66328         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66330 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66332         [BZ #14856]
66333         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
66334         Define to 3.
66336         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
66337         [POSIX] (EADDRNOTAVAIL): Likewise.
66338         [POSIX] (EAFNOSUPPORT): Likewise.
66339         [POSIX] (EALREADY): Likewise.
66340         [POSIX] (ECONNABORTED): Likewise.
66341         [POSIX] (ECONNREFUSED): Likewise.
66342         [POSIX] (ECONNRESET): Likewise.
66343         [POSIX] (EDESTADDRREQ): Likewise.
66344         [POSIX] (EDQUOT): Likewise.
66345         [POSIX] (EHOSTUNREACH): Likewise.
66346         [POSIX] (EIDRM): Likewise.
66347         [POSIX] (EISCONN): Likewise.
66348         [POSIX] (ELOOP): Likewise.
66349         [POSIX] (EMULTIHOP): Likewise.
66350         [POSIX] (ENETDOWN): Likewise.
66351         [POSIX] (ENETUNREACH): Likewise.
66352         [POSIX] (ENOBUFS): Likewise.
66353         [POSIX] (ENODATA): Likewise.
66354         [POSIX] (ENOLINK): Likewise.
66355         [POSIX] (ENOMSG): Likewise.
66356         [POSIX] (ENOPROTOOPT): Likewise.
66357         [POSIX] (ENOSR): Likewise.
66358         [POSIX] (ENOSTR): Likewise.
66359         [POSIX] (ENOTCONN): Likewise.
66360         [POSIX] (ENOTSOCK): Likewise.
66361         [POSIX] (EOPNOTSUPP): Likewise.
66362         [POSIX] (EOVERFLOW): Likewise.
66363         [POSIX] (EPROTO): Likewise.
66364         [POSIX] (EPROTONOSUPPORT): Likewise.
66365         [POSIX] (EPROTOTYPE): Likewise.
66366         [POSIX] (ESTALE): Likewise.
66367         [POSIX] (ETIME): Likewise.
66368         [POSIX] (ETXTBSY): Likewise.
66369         [POSIX] (EWOULDBLOCK): Likewise.
66370         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
66371         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
66372         [POSIX] (SEEK_CUR): Likewise.
66373         [POSIX] (SEEK_END): Likewise.
66374         [POSIX || UNIX98] (mode_t): Do not require.
66375         [POSIX] (off_t): Likewise.
66376         [POSIX] (pid_t): Likewise.
66377         [POSIX] (sys/stat.h): Do not allow header.
66378         [POSIX] (unistd.h): Likewise.
66379         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
66380         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
66381         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
66382         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
66383         require.
66384         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
66385         sigevent): Specify elements.
66386         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
66387         entry.
66388         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
66389         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
66391         * conform/data/cpio.h-data [POSIX]: Disable whole file.
66392         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
66393         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
66394         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
66395         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
66396         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
66397         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
66398         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
66399         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
66400         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
66401         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
66402         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
66403         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
66404         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
66405         Likewise.
66406         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
66407         Likewise.
66408         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
66409         Likewise.
66410         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
66411         Likewise.
66412         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
66413         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
66414         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
66415         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
66416         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
66417         Specify lower bound on value.
66418         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
66419         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
66420         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
66421         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
66422         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
66423         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
66424         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
66425         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
66426         value.
66427         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
66428         as optional.
66429         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
66430         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
66431         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
66432         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
66433         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
66434         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
66435         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
66436         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
66437         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
66438         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
66439         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
66440         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
66441         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
66442         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
66443         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
66444         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
66445         entry.
66446         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
66447         optional.
66448         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
66449         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
66450         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
66451         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
66452         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
66453         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
66454         Likewise.
66455         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
66456         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
66457         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
66458         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
66459         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
66460         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
66461         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
66462         as optional.
66463         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
66464         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
66465         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
66466         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
66467         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
66468         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
66469         specify as optional.
66470         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
66471         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
66472         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
66473         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
66474         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
66475         [XPG3] (NL_LANGMAX): Likewise.
66476         [POSIX || XPG3] (NL_MSGMAX): Likewise.
66477         [POSIX || XPG3] (NL_NMAX): Likewise.
66478         [POSIX || XPG3] (NL_SETMAX): Likewise.
66479         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
66480         [XPG3] (NZERO): Likewise.
66481         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
66482         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
66483         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
66484         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
66485         (REG_ERANGE): Expect.
66486         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
66487         optional-constant.
66488         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
66489         Use (void) in prototype.
66490         [POSIX] (*_t): Allow.
66491         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
66492         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
66493         (WRDE_BADVAL): Expect.
66495         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
66496         expect.
66497         [XPG3 || XPG4] (O_RSYNC): Likewise.
66498         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
66499         Likewise.
66500         [XPG3 || XPG4] (pthread_sigmask): Likewise.
66501         [XPG3 || XPG4] (sigqueue): Likewise.
66502         [XPG3 || XPG4] (sigtimedwait): Likewise.
66503         [XPG3 || XPG4] (sigwaitinfo): Likewise.
66504         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
66505         [XPG3 || XPG4] (vsnprintf): Likewise.
66506         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
66507         Likewise.
66508         [XPG3 || XPG4] (blksize_t): Likewise.
66509         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
66510         Likewise.
66511         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
66512         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
66513         [XPG3 || XPG4] (struct itimerspec): Likewise.
66514         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
66515         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
66516         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
66517         [XPG3 || XPG4] (clockid_t): Likewise.
66518         [XPG3 || XPG4] (timer_t): Likewise.
66519         [XPG3 || XPG4] (clock_getres): Likewise.
66520         [XPG3 || XPG4] (clock_gettime): Likewise.
66521         [XPG3 || XPG4] (clock_settime): Likewise.
66522         [XPG3 || XPG4] (nanosleep): Likewise.
66523         [XPG3 || XPG4] (timer_create): Likewise.
66524         [XPG3 || XPG4] (timer_delete): Likewise.
66525         [XPG3 || XPG4] (timer_gettime): Likewise.
66526         [XPG3 || XPG4] (timer_getoverrun): Likewise.
66527         [XPG3 || XPG4] (timer_settime): Likewise.
66528         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
66529         [XPG3 || XPG4] (getlogin_r): Likewise.
66530         [XPG3 || XPG4] (pread): Likewise.
66531         [XPG3 || XPG4] (pthread_atfork): Likewise.
66532         [XPG3 || XPG4] (pwrite): Likewise.
66534         [BZ #14835]
66535         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
66536         <bits/siginfo.h>.
66538 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66540         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
66541         finalizing MALLSTREAM.
66543         * sysdeps/mach/hurd/syncfs.c: New file.
66545 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66547         [BZ #14719]
66548         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
66549         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
66550         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
66551         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
66552         (_nss_dns_gethostbyname4_r): Likewise.
66553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
66554         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
66556 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
66558         [BZ #13763]
66559         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
66561 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
66563         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
66564         * elf/cache.c (print_entry): Print ",AArch64" for
66565         FLAG_AARCH64_LIB64
66567         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
66568         * elf/cache.c (print_entry): Print ",hard-float" for
66569         FLAG_ARM_LIBHF.
66571 2012-11-18  David S. Miller  <davem@davemloft.net>
66573         With help from Joseph Myers.
66574         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
66575         cutoff to 2**-13.
66576         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
66577         cutoff to 2**-25.
66578         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
66579         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
66580         small.
66581         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
66582         * math/libm-test.inc (y0_test): New tests.
66583         (y1_test): New tests.
66584         * sysdeps/i386/fpu/libm-test-ulps: Update.
66585         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66588 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
66590         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
66591         64-bit targets.
66592         * configure: Regenerated.
66594 2012-11-17  David S. Miller  <davem@davemloft.net>
66596         [BZ #14811]
66597         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
66598         nonzero exponents with absolute value below 0x1p-128 to +/-
66599         0x1p-128.
66601 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
66603         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
66605         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
66607         * posix/getconf-speclist.c: New file.
66608         * posix/posix-envs.def: Likewise.
66609         * posix/confstr.c (START_ENV_GROUP): New macro.
66610         (END_ENV_GROUP): Likewise.
66611         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66612         (KNOWN_PRESENT_ENV_STRING): Likewise.
66613         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66614         (UNKNOWN_ENVIRONMENT): Likewise.
66615         (confstr): Include posix-envs.def instead of handling
66616         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
66617         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
66618         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
66619         (END_ENV_GROUP): Likewise.
66620         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66621         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66622         (UNKNOWN_ENVIRONMENT): Likewise.
66623         (__sysconf): Include posix-envs.def instead of handling associated
66624         cases directly here.
66625         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
66626         preprocessing getconf-speclist.c rather than running getconf or
66627         generating empty file.
66629 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
66631         * scripts/check-local-headers.sh: Ignore 'mach' headers.
66633 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
66635         [BZ #14672]
66636         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
66638 2012-11-16  David S. Miller  <davem@davemloft.net>
66640         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
66641         smaller than LDBL_EPSILON/2.0L, just return xm1.
66643 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
66645         * elf/tst-array1.c (init): Set constructor priority to 1000.
66646         (fini): Set destructor priority to 1000.
66647         * elf/tst-array2dep.c: Likewise.
66649 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66651         [BZ #11741]
66652         * libio/fileops.c (_IO_new_file_write): Correctly return error.
66653         (_IO_new_file_xsputn): Also return EOF if none of the input
66654         data was written when overflow failed.
66655         * libio/iopadn.c (_IO_padn): Likewise.
66656         * libio/iowpadn.c (_IO_wpadn): Likewise.
66657         * stdio-common/tst-put-error.c: Add copyright notice.
66658         (do_test): Add case for printing padded string.
66659         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
66660         _IO_padn returned error.
66661         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
66662         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
66663         return EOF.
66665 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66667         * libio/libioP.h: Add comment note that the references to C++
66668         bits are now obsolete.
66670 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66672         * math/libm-test.inc (check_complex): Use asprintf.
66674 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
66676         * debug/pcprofiledump.c (print_version): Update copyright year.
66677         * malloc/memusagestat.c (print_version): Likewise.
66679 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
66681         [BZ #14831]
66682         * elf/Makefile (tests): Add tst-audit8.
66683         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
66684         ($(objpfx)tst-audit8.out): New target.
66685         (tst-audit8-ENV): New variable.
66686         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
66687         audit if l_reloc_result is NULL.
66688         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
66689         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
66690         * elf/tst-audit8.c: New file.
66692 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66694         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
66695         * misc/Makefile (CFLAGS-select.c): Define.
66696         * posix/Makefile (CFLAGS-pause.c): Define.
66698 2012-11-13  David S. Miller  <davem@davemloft.net>
66700         * crypt/Makefile: Move test targets after toplevel Rules
66701         inclusion.  Grab any necessary sysdep routines when linking.
66702         * crypt/md5.c (md5_process_block): Remove define, we will always
66703         name it __md5_process_block.
66704         (md5_finish_ctx): Update md5_process_block call.
66705         (md5_stream): Likewise.
66706         (md5_process_bytes): Likewise.
66707         (md5_process_block): Rename to __md5_process_block and move to ...
66708         * crypt/md5-block.c: ... here.
66709         * crypt/sha256.c (sha256_process_block): Move to ...
66710         * crypt/sha256-block.c: ... here.
66711         * crypt/sha512.c (sha512_process_block): Move to ...
66712         * crypt/sha512-block.c: ... here.
66713         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
66714         path.
66715         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
66716         * sysdeps/sparc/sparc64/multiarch/Makefile
66717         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
66718         crypt subdir.
66719         (localedef-aux): Add md5 crypto assembler when in locale subdir.
66720         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
66721         multiarch changes.
66722         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
66723         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
66724         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
66725         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
66726         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
66727         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
66728         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
66729         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
66730         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
66731         file.
66732         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
66733         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
66734         file.
66735         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
66737 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
66739         * timezone/tzselect.ksh: Update from tzcode git revision
66740         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
66741         * timezone/zdump.c: Likewise.
66742         * timezone/zic.c: Likewise.
66743         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
66744         in TZVERSION setting, not $(PKGVERSION).
66745         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
66746         REPORT_BUGS_TO settings.
66748         [BZ #14838]
66749         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
66750         macro.
66752 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66754         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
66755         detection to immediately after _FP_ROUND().
66756         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
66757         bits are 0.
66759 2012-11-11  David S. Miller  <davem@davemloft.net>
66761         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
66762         inttypes.h
66763         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
66764         __close rather than their public counterparts.
66766 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
66768         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
66769         file.
66770         [UNIX98] (sem_timedwait): Do not expect.
66771         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
66772         [XPG4 || UNIX98] (sockatmark): Do not expect.
66773         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
66774         (clock_getcpuclockid): Do not expect.
66775         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
66776         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
66777         Do not expect.
66778         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
66779         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
66780         [UNIX98] (vwscanf): Likewise.
66781         [UNIX98] (vswscanf): Likewise.
66783 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
66785         * timezone/version.h: Remove file.
66786         * timezone/README: Do not refer to version.h.
66787         * timezone/Makefile ($(objpfx)zic.o): New dependency on
66788         $(objpfx)version.h.
66789         ($(objpfx)zdump.o): Likewise.
66790         ($(objpfx)version.h): New target.
66792         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
66793         2012i.
66794         * timezone/README: Don't mention modification to tzselect.ksh.
66795         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
66796         work on unmodified tzselect.ksh.  Substitute version numbers in
66797         tzselect.ksh.
66799         * Makefile (format-me): Remove.
66800         (INSTALL): Adjust indentation.  Use commands directly instead of
66801         using $(format-me).
66803         * aclocal.m4 (ACX_PKGVERSION): New macro.
66804         (ACX_BUGURL): Likewise.
66805         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
66806         (PKGVERSION): New AC_DEFINE_UNQUOTED.
66807         (REPORT_BUGS_TO): Likewise.
66808         * configure: Regenerated.
66809         * config.h.in (PKGVERSION): New macro.
66810         (REPORT_BUGS_TO): Likewise.
66811         * config.make.in (PKGVERSION): New variable.
66812         (PKGVERSION_TEXI): Likewise.
66813         (REPORT_BUGS_TO): Likewise.
66814         (REPORT_BUGS_TEXI): Likewise.
66815         * Makefile (format-me): Use -I$(common-objpfx)manual.
66816         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
66817         ($(common-objpfx)manual/%): New target.
66818         (manual/%): Remove target.
66819         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
66820         (print_version): Use PKGVERSION.
66821         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
66822         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
66823         and REPORT_BUGS_TO.
66824         ($(objpfx)xtrace): Likewise.
66825         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
66826         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
66827         (print_version): Use PKGVERSION.
66828         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
66829         (do_version): Use PKGVERSION.
66830         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
66831         REPORT_BUGS_TO.
66832         (common-ldd-rewrite): Likewise.
66833         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
66834         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
66835         (print_version): Use PKGVERSION.
66836         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
66837         * elf/pldd.c (argp_program_bug_address): Remove variable.
66838         (more_help): New function.
66839         (argp): Use more_help.
66840         (print_version): Use PKGVERSION.
66841         * elf/sln.c (main): Use PKGVERSION.
66842         (usage): Use REPORT_BUGS_TO.
66843         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
66844         (top level): Use PKGVERSION.
66845         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
66846         (print_version): Use PKGVERSION.
66847         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
66848         (print_version): Use PKGVERSION.
66849         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
66850         (print_version): Use PKGVERSION.
66851         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
66852         (print_version): Use PKGVERSION.
66853         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
66854         (print_version): Use PKGVERSION.
66855         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
66856         (print_version): Use PKGVERSION.
66857         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
66858         and BUGURL.
66859         ($(objpfx)memusage): Likewise.
66860         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
66861         (do_version): Use PKGVERSION.
66862         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
66863         (print_version): Use PKGVERSION.
66864         * malloc/mtrace.pl ($PACKAGE): Remove variable.
66865         ($PKGVERSION): New variable.
66866         ($REPORT_BUGS_TO): Likewise.
66867         (usage): Use $REPORT_BUGS_TO.
66868         (top level): Use $PKGVERSION.
66869         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
66870         ($(objpfx)pkgvers.texi): New rule.
66871         ($(objpfx)stamp-pkgvers): Likewise.
66872         * manual/install.texi: Include pkgvers.texi.
66873         (--with-pkgversion): Document new configure option.
66874         (--with-bugurl): Likewise.
66875         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
66876         than necessarily for this particular distribution.  Use
66877         REPORT_BUGS_TO for where to report bugs.
66878         * INSTALL: Regenerated.
66879         * manual/libc.texinfo: Include pkgvers.texi.
66880         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
66881         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
66882         (print_version): Use PKGVERSION.
66883         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
66884         (print_version): Use PKGVERSION.
66885         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
66886         (print_version): Use PKGVERSION.
66887         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
66888         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
66889         macro.
66890         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
66891         (print_version): Use PKGVERSION.
66892         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
66893         (print_version): Use PKGVERSION.
66894         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
66895         and PKGVERSION.
66897         * timezone/checktab.awk: Update from tzcode 2012i.
66898         * timezone/ialloc.c: Likewise.
66899         * timezone/private.h: Likewise.
66900         * timezone/scheck.c: Likewise.
66901         * timezone/tzfile.h: Likewise.
66902         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
66903         (TZVERSION): Hardcode tzcode version number.
66904         * timezone/zdump.c: Update from tzcode 2012i.
66905         * timezone/zic.c: Likewise.
66906         * timezone/version.h: New file.
66907         * timezone/README: Describe version.h.  Update upstream location.
66909         [BZ #14824]
66910         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
66911         (mktemp): Enable declaration.
66912         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
66913         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
66914         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
66915         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
66916         Likewise.
66917         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
66918         Likewise.
66919         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
66920         Likewise.
66921         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
66922         Likewise.
66923         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
66924         Likewise.
66925         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
66926         Likewise.
66928         [BZ #14821]
66929         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
66930         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
66931         for copies of such integer values.
66932         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66933         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66935 2012-11-09  Andreas Jaeger  <aj@suse.de>
66937         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
66938         definitions and declarations that are provided by
66939         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
66941 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66943         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
66944         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
66945         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
66946         definition.
66948 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66950         * elf/elf.h: Update comment before AArch64 relocations.
66952 2012-11-07  David S. Miller  <davem@davemloft.net>
66954         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
66955         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66956         (__start_context): Declare.
66957         (__makecontext_ret): Delete.
66958         (__makecontext): Hook up __start_context instead of
66959         __makecontext_ret.
66960         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
66961         (sysdep_routines): Add __start_context when in stdlib.
66963 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66965         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
66966         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
66967         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
66968         hardcoded "nm".
66969         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
66970         (READELF): New variable.  Use it instead of hardcoded "readelf".
66972 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
66974         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
66975         * sysdeps/x86/Makefile: Here.
66976         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
66977         * sysdeps/x86/tst-xmmymm.sh: This.
66979 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66981         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
66982         expectations.
66983         [UNIX98] (pthread_barrier_t): Do not expect.
66984         [UNIX98] (pthread_barrierattr_t): Likewise.
66985         [UNIX98] (pthread_spinlock_t): Likewise.
66986         [UNIX98] (pthread_barrier_destroy): Likewise.
66987         [UNIX98] (pthread_barrier_init): Likewise.
66988         [UNIX98] (pthread_barrier_wait): Likewise.
66989         [UNIX98] (pthread_barrierattr_destroy): Likewise.
66990         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
66991         [UNIX98] (pthread_barrierattr_init): Likewise.
66992         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
66993         [UNIX98] (pthread_getcpuclockid): Likewise.
66994         [UNIX98] (pthread_mutex_timedlock): Likewise.
66995         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
66996         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
66997         [UNIX98] (pthread_sigmask): Likewise.
66998         [UNIX98] (pthread_spin_destroy): Likewise.
66999         [UNIX98] (pthread_spin_init): Likewise.
67000         [UNIX98] (pthread_spin_lock): Likewise.
67001         [UNIX98] (pthread_spin_trylock): Likewise.
67002         [UNIX98] (pthread_spin_unlock): Likewise.
67003         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
67004         Do not expect.
67005         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
67006         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
67007         [XPG3 || XPG4] (pthread_cond_t): Likewise.
67008         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
67009         [XPG3 || XPG4] (pthread_key_t): Likewise.
67010         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
67011         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
67012         [XPG3 || XPG4] (pthread_once_t): Likewise.
67013         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
67014         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
67015         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
67016         [XPG3 || XPG4] (pthread_t): Likewise.
67018         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
67019         not expect.
67020         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
67022         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
67023         Change function return type to int.
67025         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
67026         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
67027         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
67028         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
67029         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
67030         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
67031         [!POSIX] (posix_madvise): Likewise.
67032         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
67033         && !UNIX98].
67034         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
67035         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
67036         (mode_t): Likewise.
67037         (posix_mem_offset): Likewise.
67038         (posix_typed_mem_get_info): Likewise.
67039         (posix_typed_mem_open): Likewise.
67041         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
67042         Change condition to [XOPEN2K8].
67044         * conform/conformtest.pl: Preprocess allow-header data with -x c
67045         instead of from stdin.
67046         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
67047         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
67048         [C99-based standards] (cerfc): Likewise.
67049         [C99-based standards] (cexp2): Likewise.
67050         [C99-based standards] (cexpm1): Likewise.
67051         [C99-based standards] (clog10): Likewise.
67052         [C99-based standards] (clog1p): Likewise.
67053         [C99-based standards] (clog2): Likewise.
67054         [C99-based standards] (clgamma): Likewise.
67055         [C99-based standards] (ctgamma): Likewise.
67056         [C99-based standards] (cerff): Likewise.
67057         [C99-based standards] (cerfcf): Likewise.
67058         [C99-based standards] (cexp2f): Likewise.
67059         [C99-based standards] (cexpm1f): Likewise.
67060         [C99-based standards] (clog10f): Likewise.
67061         [C99-based standards] (clog1pf): Likewise.
67062         [C99-based standards] (clog2f): Likewise.
67063         [C99-based standards] (clgammaf): Likewise.
67064         [C99-based standards] (ctgammaf): Likewise.
67065         [C99-based standards] (cerfl): Likewise.
67066         [C99-based standards] (cerfcl): Likewise.
67067         [C99-based standards] (cexp2l): Likewise.
67068         [C99-based standards] (cexpm1l): Likewise.
67069         [C99-based standards] (clog10l): Likewise.
67070         [C99-based standards] (clog1pl): Likewise.
67071         [C99-based standards] (clog2l): Likewise.
67072         [C99-based standards] (clgammal): Likewise.
67073         [C99-based standards] (ctgammal): Likewise.
67074         * conform/data/inttypes.h-data [C99-based standards]: Include
67075         stdint.h-data.  Remove all expectations for stdint.h contents.
67076         [C99-based standards] (PRI*): Do not allow.
67077         [C99-based standards] (SCN*): Likewise.
67078         [C99-based standards] (*_t): Likewise.
67079         [C99-based-standards] (PRId8): Expect macro.
67080         [C99-based-standards] (PRIi8): Likewise.
67081         [C99-based-standards] (PRIo8): Likewise.
67082         [C99-based-standards] (PRIu8): Likewise.
67083         [C99-based-standards] (PRIx8): Likewise.
67084         [C99-based-standards] (PRIX8): Likewise.
67085         [C99-based-standards] (SCNd8): Likewise.
67086         [C99-based-standards] (SCNi8): Likewise.
67087         [C99-based-standards] (SCNo8): Likewise.
67088         [C99-based-standards] (SCNu8): Likewise.
67089         [C99-based-standards] (SCNx8): Likewise.
67090         [C99-based-standards] (PRIdLEAST8): Likewise.
67091         [C99-based-standards] (PRIiLEAST8): Likewise.
67092         [C99-based-standards] (PRIoLEAST8): Likewise.
67093         [C99-based-standards] (PRIuLEAST8): Likewise.
67094         [C99-based-standards] (PRIxLEAST8): Likewise.
67095         [C99-based-standards] (PRIXLEAST8): Likewise.
67096         [C99-based-standards] (SCNdLEAST8): Likewise.
67097         [C99-based-standards] (SCNiLEAST8): Likewise.
67098         [C99-based-standards] (SCNoLEAST8): Likewise.
67099         [C99-based-standards] (SCNuLEAST8): Likewise.
67100         [C99-based-standards] (SCNxLEAST8): Likewise.
67101         [C99-based-standards] (PRIdFAST8): Likewise.
67102         [C99-based-standards] (PRIiFAST8): Likewise.
67103         [C99-based-standards] (PRIoFAST8): Likewise.
67104         [C99-based-standards] (PRIuFAST8): Likewise.
67105         [C99-based-standards] (PRIxFAST8): Likewise.
67106         [C99-based-standards] (PRIXFAST8): Likewise.
67107         [C99-based-standards] (SCNdFAST8): Likewise.
67108         [C99-based-standards] (SCNiFAST8): Likewise.
67109         [C99-based-standards] (SCNoFAST8): Likewise.
67110         [C99-based-standards] (SCNuFAST8): Likewise.
67111         [C99-based-standards] (SCNxFAST8): Likewise.
67112         [C99-based-standards] (PRId16): Likewise.
67113         [C99-based-standards] (PRIi16): Likewise.
67114         [C99-based-standards] (PRIo16): Likewise.
67115         [C99-based-standards] (PRIu16): Likewise.
67116         [C99-based-standards] (PRIx16): Likewise.
67117         [C99-based-standards] (PRIX16): Likewise.
67118         [C99-based-standards] (SCNd16): Likewise.
67119         [C99-based-standards] (SCNi16): Likewise.
67120         [C99-based-standards] (SCNo16): Likewise.
67121         [C99-based-standards] (SCNu16): Likewise.
67122         [C99-based-standards] (SCNx16): Likewise.
67123         [C99-based-standards] (PRIdLEAST16): Likewise.
67124         [C99-based-standards] (PRIiLEAST16): Likewise.
67125         [C99-based-standards] (PRIoLEAST16): Likewise.
67126         [C99-based-standards] (PRIuLEAST16): Likewise.
67127         [C99-based-standards] (PRIxLEAST16): Likewise.
67128         [C99-based-standards] (PRIXLEAST16): Likewise.
67129         [C99-based-standards] (SCNdLEAST16): Likewise.
67130         [C99-based-standards] (SCNiLEAST16): Likewise.
67131         [C99-based-standards] (SCNoLEAST16): Likewise.
67132         [C99-based-standards] (SCNuLEAST16): Likewise.
67133         [C99-based-standards] (SCNxLEAST16): Likewise.
67134         [C99-based-standards] (PRIdFAST16): Likewise.
67135         [C99-based-standards] (PRIiFAST16): Likewise.
67136         [C99-based-standards] (PRIoFAST16): Likewise.
67137         [C99-based-standards] (PRIuFAST16): Likewise.
67138         [C99-based-standards] (PRIxFAST16): Likewise.
67139         [C99-based-standards] (PRIXFAST16): Likewise.
67140         [C99-based-standards] (SCNdFAST16): Likewise.
67141         [C99-based-standards] (SCNiFAST16): Likewise.
67142         [C99-based-standards] (SCNoFAST16): Likewise.
67143         [C99-based-standards] (SCNuFAST16): Likewise.
67144         [C99-based-standards] (SCNxFAST16): Likewise.
67145         [C99-based-standards] (PRId32): Likewise.
67146         [C99-based-standards] (PRIi32): Likewise.
67147         [C99-based-standards] (PRIo32): Likewise.
67148         [C99-based-standards] (PRIu32): Likewise.
67149         [C99-based-standards] (PRIx32): Likewise.
67150         [C99-based-standards] (PRIX32): Likewise.
67151         [C99-based-standards] (SCNd32): Likewise.
67152         [C99-based-standards] (SCNi32): Likewise.
67153         [C99-based-standards] (SCNo32): Likewise.
67154         [C99-based-standards] (SCNu32): Likewise.
67155         [C99-based-standards] (SCNx32): Likewise.
67156         [C99-based-standards] (PRIdLEAST32): Likewise.
67157         [C99-based-standards] (PRIiLEAST32): Likewise.
67158         [C99-based-standards] (PRIoLEAST32): Likewise.
67159         [C99-based-standards] (PRIuLEAST32): Likewise.
67160         [C99-based-standards] (PRIxLEAST32): Likewise.
67161         [C99-based-standards] (PRIXLEAST32): Likewise.
67162         [C99-based-standards] (SCNdLEAST32): Likewise.
67163         [C99-based-standards] (SCNiLEAST32): Likewise.
67164         [C99-based-standards] (SCNoLEAST32): Likewise.
67165         [C99-based-standards] (SCNuLEAST32): Likewise.
67166         [C99-based-standards] (SCNxLEAST32): Likewise.
67167         [C99-based-standards] (PRIdFAST32): Likewise.
67168         [C99-based-standards] (PRIiFAST32): Likewise.
67169         [C99-based-standards] (PRIoFAST32): Likewise.
67170         [C99-based-standards] (PRIuFAST32): Likewise.
67171         [C99-based-standards] (PRIxFAST32): Likewise.
67172         [C99-based-standards] (PRIXFAST32): Likewise.
67173         [C99-based-standards] (SCNdFAST32): Likewise.
67174         [C99-based-standards] (SCNiFAST32): Likewise.
67175         [C99-based-standards] (SCNoFAST32): Likewise.
67176         [C99-based-standards] (SCNuFAST32): Likewise.
67177         [C99-based-standards] (SCNxFAST32): Likewise.
67178         [C99-based-standards] (PRId64): Likewise.
67179         [C99-based-standards] (PRIi64): Likewise.
67180         [C99-based-standards] (PRIo64): Likewise.
67181         [C99-based-standards] (PRIu64): Likewise.
67182         [C99-based-standards] (PRIx64): Likewise.
67183         [C99-based-standards] (PRIX64): Likewise.
67184         [C99-based-standards] (SCNd64): Likewise.
67185         [C99-based-standards] (SCNi64): Likewise.
67186         [C99-based-standards] (SCNo64): Likewise.
67187         [C99-based-standards] (SCNu64): Likewise.
67188         [C99-based-standards] (SCNx64): Likewise.
67189         [C99-based-standards] (PRIdLEAST64): Likewise.
67190         [C99-based-standards] (PRIiLEAST64): Likewise.
67191         [C99-based-standards] (PRIoLEAST64): Likewise.
67192         [C99-based-standards] (PRIuLEAST64): Likewise.
67193         [C99-based-standards] (PRIxLEAST64): Likewise.
67194         [C99-based-standards] (PRIXLEAST64): Likewise.
67195         [C99-based-standards] (SCNdLEAST64): Likewise.
67196         [C99-based-standards] (SCNiLEAST64): Likewise.
67197         [C99-based-standards] (SCNoLEAST64): Likewise.
67198         [C99-based-standards] (SCNuLEAST64): Likewise.
67199         [C99-based-standards] (SCNxLEAST64): Likewise.
67200         [C99-based-standards] (PRIdFAST64): Likewise.
67201         [C99-based-standards] (PRIiFAST64): Likewise.
67202         [C99-based-standards] (PRIoFAST64): Likewise.
67203         [C99-based-standards] (PRIuFAST64): Likewise.
67204         [C99-based-standards] (PRIxFAST64): Likewise.
67205         [C99-based-standards] (PRIXFAST64): Likewise.
67206         [C99-based-standards] (SCNdFAST64): Likewise.
67207         [C99-based-standards] (SCNiFAST64): Likewise.
67208         [C99-based-standards] (SCNoFAST64): Likewise.
67209         [C99-based-standards] (SCNuFAST64): Likewise.
67210         [C99-based-standards] (SCNxFAST64): Likewise.
67211         [C99-based-standards] (PRIdMAX): Likewise.
67212         [C99-based-standards] (PRIiMAX): Likewise.
67213         [C99-based-standards] (PRIoMAX): Likewise.
67214         [C99-based-standards] (PRIuMAX): Likewise.
67215         [C99-based-standards] (PRIxMAX): Likewise.
67216         [C99-based-standards] (PRIXMAX): Likewise.
67217         [C99-based-standards] (SCNdMAX): Likewise.
67218         [C99-based-standards] (SCNiMAX): Likewise.
67219         [C99-based-standards] (SCNoMAX): Likewise.
67220         [C99-based-standards] (SCNuMAX): Likewise.
67221         [C99-based-standards] (SCNxMAX): Likewise.
67222         [C99-based-standards] (PRIdPTR): Likewise.
67223         [C99-based-standards] (PRIiPTR): Likewise.
67224         [C99-based-standards] (PRIoPTR): Likewise.
67225         [C99-based-standards] (PRIuPTR): Likewise.
67226         [C99-based-standards] (PRIxPTR): Likewise.
67227         [C99-based-standards] (PRIXPTR): Likewise.
67228         [C99-based-standards] (SCNdPTR): Likewise.
67229         [C99-based-standards] (SCNiPTR): Likewise.
67230         [C99-based-standards] (SCNoPTR): Likewise.
67231         [C99-based-standards] (SCNuPTR): Likewise.
67232         [C99-based-standards] (SCNxPTR): Likewise.
67233         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
67234         allow.
67235         * conform/data/stdint.h-data: Update comments to clarify
67236         requirements.
67237         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
67238         type.
67239         [C99-based standards] (INT8_MAX): Likewise.
67240         [C99-based standards] (INT16_MIN): Likewise.
67241         [C99-based standards] (INT16_MAX): Likewise.
67242         [C99-based standards] (INT32_MIN): Likewise.
67243         [C99-based standards] (INT32_MAX): Likewise.
67244         [C99-based standards] (INT64_MIN): Likewise.
67245         [C99-based standards] (INT64_MAX): Likewise.
67246         [C99-based standards] (UINT8_MAX): Likewise.
67247         [C99-based standards] (UINT16_MAX): Likewise.
67248         [C99-based standards] (UINT32_MAX): Likewise.
67249         [C99-based standards] (UINT64_MAX): Likewise.
67250         [C99-based standards] (INT_LEAST8_MIN): Likewise.
67251         [C99-based standards] (INT_LEAST8_MAX): Likewise.
67252         [C99-based standards] (INT_LEAST16_MIN): Likewise.
67253         [C99-based standards] (INT_LEAST16_MAX): Likewise.
67254         [C99-based standards] (INT_LEAST32_MIN): Likewise.
67255         [C99-based standards] (INT_LEAST32_MAX): Likewise.
67256         [C99-based standards] (INT_LEAST64_MIN): Likewise.
67257         [C99-based standards] (INT_LEAST64_MAX): Likewise.
67258         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
67259         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
67260         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
67261         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
67262         [C99-based standards] (INT_FAST8_MIN): Likewise.
67263         [C99-based standards] (INT_FAST8_MAX): Likewise.
67264         [C99-based standards] (INT_FAST16_MIN): Likewise.
67265         [C99-based standards] (INT_FAST16_MAX): Likewise.
67266         [C99-based standards] (INT_FAST32_MIN): Likewise.
67267         [C99-based standards] (INT_FAST32_MAX): Likewise.
67268         [C99-based standards] (INT_FAST64_MIN): Likewise.
67269         [C99-based standards] (INT_FAST64_MAX): Likewise.
67270         [C99-based standards] (UINT_FAST8_MAX): Likewise.
67271         [C99-based standards] (UINT_FAST16_MAX): Likewise.
67272         [C99-based standards] (UINT_FAST32_MAX): Likewise.
67273         [C99-based standards] (UINT_FAST64_MAX): Likewise.
67274         [C99-based standards] (INTPTR_MIN): Likewise.
67275         [C99-based standards] (INTPTR_MAX): Likewise.
67276         [C99-based standards] (UINTPTR_MAX): Likewise.
67277         [C99-based standards] (INTMAX_MIN): Likewise.
67278         [C99-based standards] (INTMAX_MAX): Likewise.
67279         [C99-based standards] (UINTMAX_MAX): Likewise.
67280         [C99-based standards] (PTRDIFF_MIN): Likewise.
67281         [C99-based standards] (PTRDIFF_MAX): Likewise.
67282         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
67283         [C99-based standards] (SIZE_MAX): Likewise.
67284         [C99-based standards] (WCHAR_MAX): Likewise.
67285         [C99-based standards] (WINT_MAX): Likewise.
67286         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
67287         constraint on value.
67288         [C99-based standards] (WCHAR_MIN): Likewise.
67289         [C99-based standards] (WINT_MIN): Likewise.
67290         [C99-based standards] (*_t): Allow.
67291         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
67292         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
67293         Include math.h-data and complex.h-data.  Remove all expectations
67294         of math.h and complex.h contents.
67295         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
67296         at end of line.
67297         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
67298         (struct tm): Expect tag.
67299         [C99-based-standards] (wcstof): Expect function.
67300         [C99-based-standards] (wcstold): Likewise.
67301         [C99-based-standards] (wcstoll): Likewise.
67302         [C99-based-standards] (wcstoull): Likewise.
67303         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
67304         macro-int-constant.  Specify type.
67305         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
67306         constraint on value.
67307         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67308         Specify type.
67309         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
67310         Specify value.
67311         [ISO C standards]: Do not allow headers.
67312         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
67313         wcs[abcdefghijklmnopqrstuvwxyz]*.
67314         [ISO C standards] (*_t): Do not allow.
67315         * conform/data/wctype.h-data [C99-based standards] (iswblank):
67316         Expect function.
67317         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
67318         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67319         Specify type.
67320         [ISO C standards]: Do not allow headers.
67321         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
67322         is[abcdefghijklmnopqrstuvwxyz]*.
67323         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
67324         to[abcdefghijklmnopqrstuvwxyz]*.
67325         [ISO C standards] (*_t): Do not allow.
67326         * conform/data/stdalign.h-data: New file.
67327         * conform/data/stdbool.h-data: Likewise.
67328         * conform/data/stdnoreturn.h-data: Likewise.
67330 2012-11-07  Roland McGrath  <roland@hack.frob.com>
67332         [BZ #14815]
67333         * manual/filesys.texi (Directory Entries): Typo fix.
67334         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
67336 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67338         * elf/elf.h (EM_AARCH64): New macro.
67339         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
67340         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
67341         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
67342         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
67343         (R_AARCH64_TLSDESC): Likewise.
67344         (NT_ARM_TLS): Likewise.
67345         (NT_ARM_HW_BREAK): Likewise.
67346         (NT_ARM_HW_WATCH): Likewise.
67348 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67350         [BZ #14811]
67351         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
67352         (__ieee754_powl): Saturate nonzero exponents with absolute value
67353         below 0x1p-79 to +/- 0x1p-79.
67354         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
67355         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
67356         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
67357         nonzero exponents with absolute value below 0x1p-32 to +/-
67358         0x1p-32.
67359         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
67360         (__ieee754_powl): Saturate nonzero exponents with absolute value
67361         below 0x1p-79 to +/- 0x1p-79.
67362         * math/libm-test.inc (pow_test): Add more tests.
67364 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67366         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
67367         _dl_s390_cap_flags with kernel. Increase string length.
67368         (_dl_s390_platforms): Add z196 and zEC12.
67370 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67372         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
67373         Change XOPEN21K to XOPEN2K.
67375 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
67377         * string/memmove.c: Use memcpy when possible.
67379 2012-11-06  Andreas Jaeger  <aj@suse.de>
67381         * po/eo.po: Update from translation team.
67383 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
67385         [BZ #14793]
67386         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
67387         exponent and small x and y exponents, scale x or y up.  Increase
67388         by 2 the exponent used in scaling up.
67389         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67390         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67391         * math/libm-test.inc (fma_test): Add more tests.
67392         (fma_test_towardzero): Likewise.
67393         (fma_test_downward): Likewise.
67394         (fma_test_upward): Likewise.
67396 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
67398         [BZ #14805]
67399         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
67400         fenv_t *.
67402         [BZ #14801]
67403         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
67404         namespace for names of struct fields.
67405         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
67406         fenv_t fields.
67407         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
67408         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
67410 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67412         [BZ #3665]
67413         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
67415 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67417         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
67418         PTR_DEMANGLE.
67420         [BZ #5246]
67421         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
67422         PTR_DEMANGLE.
67424 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
67426         [BZ #14797]
67427         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
67428         definitely overflow as x * y not x * y + z.
67429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67430         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67431         * math/libm-test.inc (fma_test): Add more tests.
67432         (fma_test_towardzero): Likewise.
67433         (fma_test_downward): Likewise.
67434         (fma_test_upward): Likewise.
67436 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67438         [BZ #157]
67440         * include/stub-tag.h: Remove file.
67441         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
67442         '#include' of it.
67443         * manual/maint.texi (Porting): Don't reference it.
67444         * Makerules ($(objpfx)stubs): Likewise.
67445         * dirent/closedir.c: Don't include <stub-tag.h>.
67446         * dirent/dirfd.c: Likewise.
67447         * dirent/fdopendir.c: Likewise.
67448         * dirent/getdents.c: Likewise.
67449         * dirent/getdents64.c: Likewise.
67450         * dirent/opendir.c: Likewise.
67451         * dirent/readdir.c: Likewise.
67452         * dirent/readdir64.c: Likewise.
67453         * dirent/readdir64_r.c: Likewise.
67454         * dirent/readdir_r.c: Likewise.
67455         * dirent/rewinddir.c: Likewise.
67456         * dirent/seekdir.c: Likewise.
67457         * dirent/telldir.c: Likewise.
67458         * gmon/profil.c: Likewise.
67459         * grp/setgroups.c: Likewise.
67460         * inet/if_index.c: Likewise.
67461         * io/access.c: Likewise.
67462         * io/chdir.c: Likewise.
67463         * io/chmod.c: Likewise.
67464         * io/chown.c: Likewise.
67465         * io/close.c: Likewise.
67466         * io/dup.c: Likewise.
67467         * io/dup2.c: Likewise.
67468         * io/dup3.c: Likewise.
67469         * io/euidaccess.c: Likewise.
67470         * io/faccessat.c: Likewise.
67471         * io/fchdir.c: Likewise.
67472         * io/fchmod.c: Likewise.
67473         * io/fchmodat.c: Likewise.
67474         * io/fchown.c: Likewise.
67475         * io/fchownat.c: Likewise.
67476         * io/fcntl.c: Likewise.
67477         * io/flock.c: Likewise.
67478         * io/fstatfs.c: Likewise.
67479         * io/fstatfs64.c: Likewise.
67480         * io/fstatvfs.c: Likewise.
67481         * io/fstatvfs64.c: Likewise.
67482         * io/futimens.c: Likewise.
67483         * io/fxstat.c: Likewise.
67484         * io/fxstat64.c: Likewise.
67485         * io/fxstatat.c: Likewise.
67486         * io/fxstatat64.c: Likewise.
67487         * io/getcwd.c: Likewise.
67488         * io/isatty.c: Likewise.
67489         * io/lchmod.c: Likewise.
67490         * io/lchown.c: Likewise.
67491         * io/link.c: Likewise.
67492         * io/linkat.c: Likewise.
67493         * io/lseek.c: Likewise.
67494         * io/lseek64.c: Likewise.
67495         * io/lxstat64.c: Likewise.
67496         * io/mkdir.c: Likewise.
67497         * io/mkdirat.c: Likewise.
67498         * io/mkfifo.c: Likewise.
67499         * io/mkfifoat.c: Likewise.
67500         * io/open.c: Likewise.
67501         * io/open64.c: Likewise.
67502         * io/openat.c: Likewise.
67503         * io/openat64.c: Likewise.
67504         * io/pipe.c: Likewise.
67505         * io/pipe2.c: Likewise.
67506         * io/poll.c: Likewise.
67507         * io/posix_fadvise.c: Likewise.
67508         * io/posix_fadvise64.c: Likewise.
67509         * io/posix_fallocate.c: Likewise.
67510         * io/posix_fallocate64.c: Likewise.
67511         * io/read.c: Likewise.
67512         * io/readlink.c: Likewise.
67513         * io/readlinkat.c: Likewise.
67514         * io/rmdir.c: Likewise.
67515         * io/sendfile.c: Likewise.
67516         * io/sendfile64.c: Likewise.
67517         * io/statfs.c: Likewise.
67518         * io/statfs64.c: Likewise.
67519         * io/statvfs.c: Likewise.
67520         * io/statvfs64.c: Likewise.
67521         * io/symlink.c: Likewise.
67522         * io/symlinkat.c: Likewise.
67523         * io/ttyname.c: Likewise.
67524         * io/ttyname_r.c: Likewise.
67525         * io/umask.c: Likewise.
67526         * io/unlink.c: Likewise.
67527         * io/unlinkat.c: Likewise.
67528         * io/utime.c: Likewise.
67529         * io/utimensat.c: Likewise.
67530         * io/write.c: Likewise.
67531         * io/xmknod.c: Likewise.
67532         * io/xmknodat.c: Likewise.
67533         * io/xstat.c: Likewise.
67534         * io/xstat64.c: Likewise.
67535         * login/getpt.c: Likewise.
67536         * login/grantpt.c: Likewise.
67537         * login/unlockpt.c: Likewise.
67538         * math/e_acoshl.c: Likewise.
67539         * math/e_acosl.c: Likewise.
67540         * math/e_asinl.c: Likewise.
67541         * math/e_atan2l.c: Likewise.
67542         * math/e_atanhl.c: Likewise.
67543         * math/e_coshl.c: Likewise.
67544         * math/e_expl.c: Likewise.
67545         * math/e_fmodl.c: Likewise.
67546         * math/e_gammal_r.c: Likewise.
67547         * math/e_hypotl.c: Likewise.
67548         * math/e_j0l.c: Likewise.
67549         * math/e_j1l.c: Likewise.
67550         * math/e_jnl.c: Likewise.
67551         * math/e_lgammal_r.c: Likewise.
67552         * math/e_log10l.c: Likewise.
67553         * math/e_log2l.c: Likewise.
67554         * math/e_logl.c: Likewise.
67555         * math/e_powl.c: Likewise.
67556         * math/e_rem_pio2l.c: Likewise.
67557         * math/e_sinhl.c: Likewise.
67558         * math/e_sqrtl.c: Likewise.
67559         * math/fclrexcpt.c: Likewise.
67560         * math/fedisblxcpt.c: Likewise.
67561         * math/feenablxcpt.c: Likewise.
67562         * math/fegetenv.c: Likewise.
67563         * math/fegetexcept.c: Likewise.
67564         * math/fegetround.c: Likewise.
67565         * math/feholdexcpt.c: Likewise.
67566         * math/fesetenv.c: Likewise.
67567         * math/fesetround.c: Likewise.
67568         * math/feupdateenv.c: Likewise.
67569         * math/fgetexcptflg.c: Likewise.
67570         * math/fraiseexcpt.c: Likewise.
67571         * math/fsetexcptflg.c: Likewise.
67572         * math/ftestexcept.c: Likewise.
67573         * math/k_cosl.c: Likewise.
67574         * math/k_rem_pio2l.c: Likewise.
67575         * math/k_sinl.c: Likewise.
67576         * math/k_tanl.c: Likewise.
67577         * math/s_asinhl.c: Likewise.
67578         * math/s_atanl.c: Likewise.
67579         * math/s_cbrtl.c: Likewise.
67580         * math/s_erfl.c: Likewise.
67581         * math/s_expm1l.c: Likewise.
67582         * math/s_log1pl.c: Likewise.
67583         * math/s_tanhl.c: Likewise.
67584         * misc/acct.c: Likewise.
67585         * misc/brk.c: Likewise.
67586         * misc/chflags.c: Likewise.
67587         * misc/chroot.c: Likewise.
67588         * misc/fchflags.c: Likewise.
67589         * misc/fgetxattr.c: Likewise.
67590         * misc/flistxattr.c: Likewise.
67591         * misc/fremovexattr.c: Likewise.
67592         * misc/fsetxattr.c: Likewise.
67593         * misc/fsync.c: Likewise.
67594         * misc/ftruncate.c: Likewise.
67595         * misc/futimes.c: Likewise.
67596         * misc/futimesat.c: Likewise.
67597         * misc/getdomain.c: Likewise.
67598         * misc/getdtsz.c: Likewise.
67599         * misc/gethostid.c: Likewise.
67600         * misc/gethostname.c: Likewise.
67601         * misc/getloadavg.c: Likewise.
67602         * misc/getpagesize.c: Likewise.
67603         * misc/getsysstats.c: Likewise.
67604         * misc/getxattr.c: Likewise.
67605         * misc/gtty.c: Likewise.
67606         * misc/ioctl.c: Likewise.
67607         * misc/lgetxattr.c: Likewise.
67608         * misc/listxattr.c: Likewise.
67609         * misc/llistxattr.c: Likewise.
67610         * misc/lremovexattr.c: Likewise.
67611         * misc/lsetxattr.c: Likewise.
67612         * misc/lutimes.c: Likewise.
67613         * misc/madvise.c: Likewise.
67614         * misc/mincore.c: Likewise.
67615         * misc/mlock.c: Likewise.
67616         * misc/mlockall.c: Likewise.
67617         * misc/mmap.c: Likewise.
67618         * misc/mprotect.c: Likewise.
67619         * misc/msync.c: Likewise.
67620         * misc/munlock.c: Likewise.
67621         * misc/munlockall.c: Likewise.
67622         * misc/munmap.c: Likewise.
67623         * misc/preadv.c: Likewise.
67624         * misc/preadv64.c: Likewise.
67625         * misc/ptrace.c: Likewise.
67626         * misc/pwritev.c: Likewise.
67627         * misc/pwritev64.c: Likewise.
67628         * misc/readv.c: Likewise.
67629         * misc/reboot.c: Likewise.
67630         * misc/remap_file_pages.c: Likewise.
67631         * misc/removexattr.c: Likewise.
67632         * misc/revoke.c: Likewise.
67633         * misc/select.c: Likewise.
67634         * misc/setdomain.c: Likewise.
67635         * misc/setegid.c: Likewise.
67636         * misc/seteuid.c: Likewise.
67637         * misc/sethostid.c: Likewise.
67638         * misc/sethostname.c: Likewise.
67639         * misc/setregid.c: Likewise.
67640         * misc/setreuid.c: Likewise.
67641         * misc/setxattr.c: Likewise.
67642         * misc/sstk.c: Likewise.
67643         * misc/stty.c: Likewise.
67644         * misc/swapoff.c: Likewise.
67645         * misc/swapon.c: Likewise.
67646         * misc/sync.c: Likewise.
67647         * misc/syncfs.c: Likewise.
67648         * misc/syscall.c: Likewise.
67649         * misc/truncate.c: Likewise.
67650         * misc/ualarm.c: Likewise.
67651         * misc/usleep.c: Likewise.
67652         * misc/ustat.c: Likewise.
67653         * misc/utimes.c: Likewise.
67654         * misc/vhangup.c: Likewise.
67655         * misc/writev.c: Likewise.
67656         * posix/_exit.c: Likewise.
67657         * posix/alarm.c: Likewise.
67658         * posix/execve.c: Likewise.
67659         * posix/fexecve.c: Likewise.
67660         * posix/fork.c: Likewise.
67661         * posix/fpathconf.c: Likewise.
67662         * posix/getaddrinfo.c: Likewise.
67663         * posix/getegid.c: Likewise.
67664         * posix/geteuid.c: Likewise.
67665         * posix/getgid.c: Likewise.
67666         * posix/getgroups.c: Likewise.
67667         * posix/getlogin.c: Likewise.
67668         * posix/getlogin_r.c: Likewise.
67669         * posix/getpgid.c: Likewise.
67670         * posix/getpid.c: Likewise.
67671         * posix/getppid.c: Likewise.
67672         * posix/getresgid.c: Likewise.
67673         * posix/getresuid.c: Likewise.
67674         * posix/getsid.c: Likewise.
67675         * posix/getuid.c: Likewise.
67676         * posix/glob64.c: Likewise.
67677         * posix/nanosleep.c: Likewise.
67678         * posix/pathconf.c: Likewise.
67679         * posix/pause.c: Likewise.
67680         * posix/posix_madvise.c: Likewise.
67681         * posix/pread.c: Likewise.
67682         * posix/pread64.c: Likewise.
67683         * posix/pwrite.c: Likewise.
67684         * posix/pwrite64.c: Likewise.
67685         * posix/sched_getaffinity.c: Likewise.
67686         * posix/sched_getp.c: Likewise.
67687         * posix/sched_gets.c: Likewise.
67688         * posix/sched_primax.c: Likewise.
67689         * posix/sched_primin.c: Likewise.
67690         * posix/sched_rr_gi.c: Likewise.
67691         * posix/sched_setaffinity.c: Likewise.
67692         * posix/sched_setp.c: Likewise.
67693         * posix/sched_sets.c: Likewise.
67694         * posix/sched_yield.c: Likewise.
67695         * posix/setgid.c: Likewise.
67696         * posix/setlogin.c: Likewise.
67697         * posix/setpgid.c: Likewise.
67698         * posix/setresgid.c: Likewise.
67699         * posix/setresuid.c: Likewise.
67700         * posix/setsid.c: Likewise.
67701         * posix/setuid.c: Likewise.
67702         * posix/sleep.c: Likewise.
67703         * posix/spawni.c: Likewise.
67704         * posix/sysconf.c: Likewise.
67705         * posix/times.c: Likewise.
67706         * posix/wait.c: Likewise.
67707         * posix/wait3.c: Likewise.
67708         * posix/wait4.c: Likewise.
67709         * posix/waitpid.c: Likewise.
67710         * resolv/gai_sigqueue.c: Likewise.
67711         * resource/getpriority.c: Likewise.
67712         * resource/getrlimit.c: Likewise.
67713         * resource/getrusage.c: Likewise.
67714         * resource/nice.c: Likewise.
67715         * resource/setpriority.c: Likewise.
67716         * resource/setrlimit.c: Likewise.
67717         * resource/ulimit.c: Likewise.
67718         * rt/aio_cancel.c: Likewise.
67719         * rt/aio_fsync.c: Likewise.
67720         * rt/aio_read.c: Likewise.
67721         * rt/aio_sigqueue.c: Likewise.
67722         * rt/aio_suspend.c: Likewise.
67723         * rt/aio_write.c: Likewise.
67724         * rt/clock_getres.c: Likewise.
67725         * rt/clock_gettime.c: Likewise.
67726         * rt/clock_nanosleep.c: Likewise.
67727         * rt/clock_settime.c: Likewise.
67728         * rt/lio_listio.c: Likewise.
67729         * rt/mq_close.c: Likewise.
67730         * rt/mq_getattr.c: Likewise.
67731         * rt/mq_notify.c: Likewise.
67732         * rt/mq_open.c: Likewise.
67733         * rt/mq_receive.c: Likewise.
67734         * rt/mq_send.c: Likewise.
67735         * rt/mq_setattr.c: Likewise.
67736         * rt/mq_timedreceive.c: Likewise.
67737         * rt/mq_timedsend.c: Likewise.
67738         * rt/mq_unlink.c: Likewise.
67739         * rt/shm_open.c: Likewise.
67740         * rt/shm_unlink.c: Likewise.
67741         * rt/timer_create.c: Likewise.
67742         * rt/timer_delete.c: Likewise.
67743         * rt/timer_getoverr.c: Likewise.
67744         * rt/timer_gettime.c: Likewise.
67745         * rt/timer_settime.c: Likewise.
67746         * setjmp/__longjmp.c: Likewise.
67747         * setjmp/setjmp.c: Likewise.
67748         * signal/kill.c: Likewise.
67749         * signal/killpg.c: Likewise.
67750         * signal/raise.c: Likewise.
67751         * signal/sigaction.c: Likewise.
67752         * signal/sigaltstack.c: Likewise.
67753         * signal/sigblock.c: Likewise.
67754         * signal/sigignore.c: Likewise.
67755         * signal/sigintr.c: Likewise.
67756         * signal/signal.c: Likewise.
67757         * signal/sigpause.c: Likewise.
67758         * signal/sigpending.c: Likewise.
67759         * signal/sigqueue.c: Likewise.
67760         * signal/sigreturn.c: Likewise.
67761         * signal/sigset.c: Likewise.
67762         * signal/sigsetmask.c: Likewise.
67763         * signal/sigstack.c: Likewise.
67764         * signal/sigsuspend.c: Likewise.
67765         * signal/sigtimedwait.c: Likewise.
67766         * signal/sigvec.c: Likewise.
67767         * signal/sigwait.c: Likewise.
67768         * signal/sigwaitinfo.c: Likewise.
67769         * signal/sysv_signal.c: Likewise.
67770         * socket/accept.c: Likewise.
67771         * socket/accept4.c: Likewise.
67772         * socket/bind.c: Likewise.
67773         * socket/connect.c: Likewise.
67774         * socket/getpeername.c: Likewise.
67775         * socket/getsockname.c: Likewise.
67776         * socket/getsockopt.c: Likewise.
67777         * socket/isfdtype.c: Likewise.
67778         * socket/listen.c: Likewise.
67779         * socket/recv.c: Likewise.
67780         * socket/recvfrom.c: Likewise.
67781         * socket/recvmsg.c: Likewise.
67782         * socket/send.c: Likewise.
67783         * socket/sendmsg.c: Likewise.
67784         * socket/sendto.c: Likewise.
67785         * socket/setsockopt.c: Likewise.
67786         * socket/shutdown.c: Likewise.
67787         * socket/sockatmark.c: Likewise.
67788         * socket/socket.c: Likewise.
67789         * socket/socketpair.c: Likewise.
67790         * stdio-common/ctermid.c: Likewise.
67791         * stdio-common/cuserid.c: Likewise.
67792         * stdio-common/remove.c: Likewise.
67793         * stdio-common/rename.c: Likewise.
67794         * stdio-common/renameat.c: Likewise.
67795         * stdio-common/tempname.c: Likewise.
67796         * stdlib/getcontext.c: Likewise.
67797         * stdlib/makecontext.c: Likewise.
67798         * stdlib/setcontext.c: Likewise.
67799         * stdlib/swapcontext.c: Likewise.
67800         * stdlib/system.c: Likewise.
67801         * streams/fattach.c: Likewise.
67802         * streams/fdetach.c: Likewise.
67803         * streams/getmsg.c: Likewise.
67804         * streams/getpmsg.c: Likewise.
67805         * streams/putmsg.c: Likewise.
67806         * streams/putpmsg.c: Likewise.
67807         * sysdeps/unix/bsd/getpt.c: Likewise.
67808         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
67809         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
67810         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
67811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67812         Likewise.
67813         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
67814         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67815         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
67816         * sysvipc/msgctl.c: Likewise.
67817         * sysvipc/msgget.c: Likewise.
67818         * sysvipc/msgrcv.c: Likewise.
67819         * sysvipc/msgsnd.c: Likewise.
67820         * sysvipc/semctl.c: Likewise.
67821         * sysvipc/semget.c: Likewise.
67822         * sysvipc/semop.c: Likewise.
67823         * sysvipc/semtimedop.c: Likewise.
67824         * sysvipc/shmat.c: Likewise.
67825         * sysvipc/shmctl.c: Likewise.
67826         * sysvipc/shmdt.c: Likewise.
67827         * sysvipc/shmget.c: Likewise.
67828         * termios/tcdrain.c: Likewise.
67829         * termios/tcflow.c: Likewise.
67830         * termios/tcflush.c: Likewise.
67831         * termios/tcgetattr.c: Likewise.
67832         * termios/tcgetpgrp.c: Likewise.
67833         * termios/tcsendbrk.c: Likewise.
67834         * termios/tcsetattr.c: Likewise.
67835         * termios/tcsetpgrp.c: Likewise.
67836         * time/adjtime.c: Likewise.
67837         * time/clock.c: Likewise.
67838         * time/getitimer.c: Likewise.
67839         * time/gettimeofday.c: Likewise.
67840         * time/setitimer.c: Likewise.
67841         * time/settimeofday.c: Likewise.
67842         * time/stime.c: Likewise.
67843         * time/time.c: Likewise.
67845 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
67847         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
67848         /usr/old/bin.
67850         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
67851         instead of spaces.
67852         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
67854 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
67856         [BZ #14796]
67857         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
67858         FE_TONEAREST before applying Dekker multiplication and Knuth
67859         addition.  Clear inexact exceptions and check for exact zero
67860         results afterwards.
67861         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67862         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67863         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67864         * math/libm-test.inc (fma_test): Add more tests.
67865         (fma_test_towardzero): Likewise.
67866         (fma_test_downward): Likewise.
67867         (fma_test_upward): Likewise.
67868         * sysdeps/generic/math_private.h (default_libc_fesetround): New
67869         function.
67870         (libc_fesetround): New macro.
67871         (libc_fesetroundf): Likewise.
67872         (libc_fesetroundl): Likewise.
67873         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
67874         function.
67875         (libc_fesetround_387): Likewise.
67876         (libc_fesetroundf): New macro.
67877         (libc_fesetround): Likewise.
67878         (libc_fesetroundl): Likewise.
67879         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
67880         function.
67881         (libc_fesetroundf): New macro.
67882         (libc_fesetround): Likewise.
67883         (libc_fesetroundl): Likewise.
67884         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
67885         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
67886         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
67887         libm_hidden_ver.
67888         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
67889         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
67890         libm_hidden_def.
67891         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
67892         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
67893         libm_hidden_ver.
67894         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
67895         libm_hidden_def.
67897         [BZ #3439]
67898         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
67899         integer constant usable in #if and use that to give value to enum
67900         constant.
67901         (FE_DIVBYZERO): Likewise.
67902         (FE_UNDERFLOW): Likewise.
67903         (FE_OVERFLOW): Likewise.
67904         (FE_INVALID): Likewise.
67905         (FE_INVALID_SNAN): Likewise.
67906         (FE_INVALID_ISI): Likewise.
67907         (FE_INVALID_IDI): Likewise.
67908         (FE_INVALID_ZDZ): Likewise.
67909         (FE_INVALID_IMZ): Likewise.
67910         (FE_INVALID_COMPARE): Likewise.
67911         (FE_INVALID_SOFTWARE): Likewise.
67912         (FE_INVALID_SQRT): Likewise.
67913         (FE_INVALID_INTEGER_CONVERSION): Likewise.
67914         (FE_TONEAREST): Likewise.
67915         (FE_TOWARDZERO): Likewise.
67916         (FE_UPWARD): Likewise.
67917         (FE_DOWNWARD): Likewise.
67918         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
67919         (FE_DIVBYZERO): Likewise.
67920         (FE_OVERFLOW): Likewise.
67921         (FE_UNDERFLOW): Likewise.
67922         (FE_INEXACT): Likewise.
67923         (FE_TONEAREST): Likewise.
67924         (FE_DOWNWARD): Likewise.
67925         (FE_UPWARD): Likewise.
67926         (FE_TOWARDZERO): Likewise.
67927         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
67928         (FE_UNDERFLOW): Likewise.
67929         (FE_OVERFLOW): Likewise.
67930         (FE_DIVBYZERO): Likewise.
67931         (FE_INVALID): Likewise.
67932         (FE_TONEAREST): Likewise.
67933         (FE_TOWARDZERO): Likewise.
67934         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
67935         (FE_OVERFLOW): Likewise.
67936         (FE_UNDERFLOW): Likewise.
67937         (FE_DIVBYZERO): Likewise.
67938         (FE_INEXACT): Likewise.
67939         (FE_TONEAREST): Likewise.
67940         (FE_TOWARDZERO): Likewise.
67941         (FE_UPWARD): Likewise.
67942         (FE_DOWNWARD): Likewise.
67943         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
67944         (FE_DIVBYZERO): Likewise.
67945         (FE_OVERFLOW): Likewise.
67946         (FE_UNDERFLOW): Likewise.
67947         (FE_INEXACT): Likewise.
67948         (FE_TONEAREST): Likewise.
67949         (FE_DOWNWARD): Likewise.
67950         (FE_UPWARD): Likewise.
67951         (FE_TOWARDZERO): Likewise.
67953 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
67955         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
67957 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
67959         * scripts/cross-test-ssh.sh (command): Use newlines to separate
67960         commands.  Quote $PWD.
67961         (blacklist_exports): Don't use remove_newlines.  Replace "declare
67962         -x" by "export".
67963         (remove_newlines): Remove.
67965 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
67967         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
67968         * stdlib/stdlib.h (atof): Moved to ...
67969         * include/bits/stdlib-float.h: Here.  New file.
67970         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
67971         * stdlib/bits/stdlib-float.h: New file.
67972         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
67973         -mno-sse -mno-mmx.
67974         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
67975         <xmmintrin.h>.
67977 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67979         * conform/conformtest.pl (@headers): Add fenv.h.
67980         * conform/data/fenv.h-data: New file.
67981         * include/fenv.h [_ISOMAC]: Disable all contents of file except
67982         include of <math/fenv.h>.
67984         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
67985         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
67986         && !UNIX98].  Enables tests for XOPEN2K8.
67987         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
67988         POSIX2008]: Likewise.
67990         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
67991         (struct rusage): Do not expect type or its members.
67993         [BZ #3439]
67994         * math/math.h (FP_NAN): Define macro to integer constant usable in
67995         #if and use that to give value to enum constant.
67996         (FP_INFINITE): Likewise.
67997         (FP_ZERO): Likewise.
67998         (FP_SUBNORMAL): Likewise.
67999         (FP_NORMAL): Likewise.
68001 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
68003         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
68004         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
68005         arguments.
68007 2012-11-02  Roland McGrath  <roland@hack.frob.com>
68009         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
68010         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
68011         autoconf-time if not.
68012         * configure.in: Remove AC_PREREQ.
68014 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68016         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
68017         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
68018         of the internal implementation.
68020 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68022         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
68023         except include of <misc/sys/syslog.h>.
68025 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
68028         function returns with a NULL context exit with zero.
68030 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68032         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
68034 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
68036         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
68037         (run_program_cmd): This.
68038         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
68039         (tst_langinfo): New variable.  Use it.
68041 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
68043         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
68044         floating point opcodes.
68046 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68048         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
68049         variable.
68051         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
68053         * sysdeps/mach/hurd/powerpc: Remove directory.
68054         * sysdeps/mach/powerpc: Likewise.
68056 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68058         * scripts/check-local-headers.sh: Ignore c++ headers.
68060 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68062         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
68063         __libc_cleanup_region_start argument.
68065 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
68067         [BZ #14784]
68068         [BZ #14785]
68069         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
68070         x * y using scaling, not as x * y + z.
68071         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68072         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68073         * math/libm-test.inc (fma_test): Add more tests.
68074         (fma_test_towardzero): Likewise.
68075         (fma_test_downward): Likewise.
68076         (fma_test_upward): Likewise.
68078 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68080         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
68082 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68084         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
68085         New variable.
68087 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
68089         * rt/tst-shm.c (worker): Correct checking for mmap failure.
68091 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68094         Fix sort order.
68095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68096         Likewise.
68098 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68101         Fix the order of the list for glibc 2.17.
68102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68103         Likewise.
68105 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68109 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68111         [BZ #14610]
68112         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
68113         for low part of x being zero before using __atanl (y).
68114         * math/libm-test.inc (atan2_test): Add another test.
68116         * manual/install.texi (Configuring and compiling): Document
68117         general use of test-wrapper and test-wrapper-env.
68118         * INSTALL: Regenerated.
68120         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
68121         (__fma): Do not extract and scale down low bits on after-rounding
68122         systems when result rounded to normal precision would have normal
68123         exponent.
68124         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
68125         (__fmal): Do not extract and scale down low bits on after-rounding
68126         systems when result rounded to normal precision would have normal
68127         exponent.
68128         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
68129         (__fmal): Do not extract and scale down low bits on after-rounding
68130         systems when result rounded to normal precision would have normal
68131         exponent.
68132         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
68133         macro.
68134         (fma_test): Add more tests.
68135         (fma_test_towardzero): Likewise.
68136         (fma_test_downward): Likewise.
68137         (fma_test_upward): Likewise.
68139 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
68141         * sysdeps/i386/tininess.h: Renamed to ...
68142         * sysdeps/x86/tininess.h: This.
68143         * sysdeps/x86_64/tininess.h: Removed.
68145 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68147         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
68148         input.  Use $(build-program-cmd).
68149         ($(objpfx)tst-array1-static.out): Likewise.
68150         ($(objpfx)tst-array2.out): Likewise.
68151         ($(objpfx)tst-array3.out): Likewise.
68152         ($(objpfx)tst-array4.out): Likewise.
68153         ($(objpfx)tst-array5.out): Likewise.
68154         ($(objpfx)tst-array5-static.out): Likewise.
68156 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
68158         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
68159         if defined.
68161         * nss/nsswitch.h (nss_interface_function): Provide new
68162         macro for use with NSS functions.
68163         * grp/initgroups.c: Use new macro.
68164         * nss/getXXbyYY.c: Likewise.
68165         * nss/getXXbyYY_r.c: Likewise.
68166         * nss/getXXent.c: Likewise.
68167         * nss/getXXent_r.c: Likewise.
68168         * sysdeps/posix/getaddrinfo.c: Likewise.
68170 2012-10-30  Andreas Jaeger  <aj@suse.de>
68172         * po/ru.po: Update Russion translation from translation project.
68174 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68176         [BZ #14152]
68177         [BZ #14783]
68178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
68179         result and shift together with sticky bit instead of replicating
68180         round-to-nearest rounding.
68181         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68182         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68183         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
68184         missing underflow exceptions.
68185         (fma_test_towardzero): Add more tests.
68186         (fma_test_downward): Likewise.
68187         (fma_test_upward): Likewise.
68189         [BZ #14047]
68190         * sysdeps/generic/tininess.h: New file.
68191         * sysdeps/i386/tininess.h: Likewise.
68192         * sysdeps/sh/tininess.h: Likewise.
68193         * sysdeps/x86_64/tininess.h: Likewise.
68194         * stdlib/tst-strtod-underflow.c: Likewise.
68195         * stdlib/tst-tininess.c: Likewise.
68196         * stdlib/strtod_l.c: Include <tininess.h>.
68197         (round_and_return): Do not set errno for exact underflow cases.
68198         Force an underflow exception when setting errno for underflow.
68199         Determine underflow based on rounding to normal precision if
68200         TININESS_AFTER_ROUNDING.
68201         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
68202         ERANGE for exact underflow cases.
68203         * stdlib/Makefile (tests): Add tst-tininess and
68204         tst-strtod-underflow.
68205         ($(objpfx)tst-tininess): Use $(link-libm).
68206         ($(objpfx)tst-strtod-underflow): Likewise.
68208 2012-10-30  Andreas Jaeger  <aj@suse.de>
68210         [BZ#14767]
68211         * elf/Makefile (tests): Remove conditional for have-initfini-array
68212         since this is now always required and the variable does not exist
68213         anymore.
68214         (tests-static): Likewise.
68215         (modules-names): Likewise.
68217         * po/eo.po: Add Esperanto translation from translation project.
68219         * elf/tst-array1.c (fini_array): Make writeable so that it can be
68220         merged with constructor/destructor.
68221         (init_array): Likewise.
68222         * elf/tst-array2dep.c (fini_array): Likewise.
68223         (init_array): Likewise.
68225 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
68227         * manual/message.texi: Delete @cartouche tags.
68229 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
68231         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
68232         EOPNOTSUPP.
68233         * sysdeps/mach/hurd/fsync.c: Likewise.
68235         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
68236         [_POSIX_REALTIME_SIGNALS]: Change condition to
68237         [_POSIX_REALTIME_SIGNALS > 0].
68239 2012-10-27  Andreas Jaeger  <aj@suse.de>
68241         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
68242         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
68243         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
68244         [__WORDSIZE != 64]: Likewise.
68246 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
68248         *  iconvdata/tst-table.sh: Remove ${SHELL}.
68249         *  iconvdata/tst-tables.sh: Likewise.
68251 2012-10-25  David S. Miller  <davem@davemloft.net>
68253         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68254         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
68255         of strtoull.
68257         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
68258         ifunc-impl-list.c
68259         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68260         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
68261         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
68262         file.
68264 2012-10-25  Roland McGrath  <roland@hack.frob.com>
68266         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68267         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
68268         __getdirentries.
68270 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68271             Jim Blandy  <jimb@codesourcery.com>
68273         * scripts/cross-test-ssh.sh: New file.
68274         * manual/install.texi (Configuring and compiling): Document use of
68275         cross-test-ssh.sh.
68276         * INSTALL: Regenerated.
68278 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
68280         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
68281         EOPNOTSUPP.
68283 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68285         * Makeconfig (run-program-prefix): Fix comment.
68287 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68288             Jim Blandy  <jimb@codesourcery.com>
68290         * Makeconfig (test-wrapper): New variable,
68291         (test-wrapper-env): Likewise.
68292         [$(cross-compiling) = yes && $(test-wrapper) != ""]
68293         (run-built-tests): Define to yes.
68294         (run-program-prefix): Use $(test-wrapper).
68295         (built-program-cmd): Likewise.
68296         * Rules (make-test-out): Use $(test-wrapper-env) and
68297         $(host-built-program-cmd).
68298         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
68299         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
68300         tst-pathopt.sh.
68301         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
68302         $(test-wrapper-env) to tst-rtld-load-self.sh.
68303         ($(objpfx)order2.out): Use $(test-wrapper).
68304         ($(objpfx)tst-initorder.out): Likewise.
68305         ($(objpfx)tst-initorder2.out): Likewise.
68306         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
68307         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
68308         (test_wrapper_env): New variable.  Use it to run ld.so.
68309         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
68310         Use it to run ld.so.
68311         (test_wrapper_env): Likewise.
68312         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
68313         $(test-wrapper) to run-iconv-test.sh.
68314         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
68315         (ICONV): Use $test_wrapper.
68316         * posix/Makefile ($(objpfx)globtest.out): Pass
68317         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
68318         globtest.sh, not $(run-program-prefix).
68319         * posix/globtest.sh (run_via_rtld_prefix): New variable.
68320         (test_wrapper): Likewise.
68321         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
68322         set together with run_via_rtld_prefix.
68323         (run_program_prefix): Define in terms of test_wrapper and
68324         run_via_rtld_prefix.
68326 2012-10-24  Roland McGrath  <roland@hack.frob.com>
68328         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
68329         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
68330         Targets removed.
68332         [BZ #14743]
68333         * include/time.h: Remove librt_hidden_proto (clock_gettime).
68334         Declare __clock_getres, __clock_gettime, __clock_settime,
68335         __clock_nanosleep, and __clock_getcpuclockid.
68336         * rt/clock_gettime.c: Define __clock_gettime as an alias.
68337         Remove librt_hidden_def (clock_gettime).
68338         * sysdeps/unix/clock_gettime.c: Likewise.
68339         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
68340         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
68341         * rt/clock_getres.c: Define __clock_getres as an alias.
68342         * sysdeps/posix/clock_getres.c: Likewise.
68343         * rt/clock_settime.c: Define __clock_settime as an alias.
68344         * sysdeps/unix/clock_settime.c: Likewise.
68345         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
68346         * sysdeps/unix/clock_nanosleep.c: Likewise.
68347         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
68348         * rt/clock-compat.c: New file.
68349         * rt/Makefile (librt-routines): Add clock-compat and move
68350         $(clock-routines) to ...
68351         (routines): ... here, new variable.
68352         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
68353         Don't add get_clockfreq here.
68354         * rt/Versions (libc: GLIBC_2.17): New version set.
68355         Add clock_* symbols here.
68356         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
68357         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
68358         (GLIBC_2.17): Add clock_* symbols.
68359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68361         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68363         Likewise.
68364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68365         Likewise.
68366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68370         * NEWS: Mention the move.
68372         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
68373         Use __open, __read, __close rather than their public counterparts.
68374         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68375         (__get_clockfreq_via_cpuinfo): Likewise.
68376         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
68377         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
68379         * config.h.in (HAVE_IFUNC): New #undef.
68380         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
68381         was successful.
68382         * configure: Regenerated.
68384 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68386         * configure.in: Move READELF check to start of file.
68387         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
68388         libc_cv_asm_gnu_indirect_function in the process.
68389         * configure: Regenerated.
68391 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68393         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
68394         send the output to /dev/null.
68395         (libc_cv_cc_with_libunwind): Likewise.
68396         (libc_cv_as_noexecstack): Likewise.
68397         * configure: Regenerate.
68399 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68401         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
68403         * posix/globtest.sh (TMPDIR): Do not set.
68404         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
68405         (testout): Likewise.
68407 2012-10-24  Andreas Jaeger  <aj@suse.de>
68409         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
68410         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
68411         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
68412         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
68413         posix_fadvise64, posix_fallocate64.
68415         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
68416         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
68417         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
68418         Likewise.
68419         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
68420         Likewise.
68421         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
68423         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
68424         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
68425         <bits/fcntl-linux.h>.
68426         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
68428         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
68429         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
68430         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
68431         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
68432         [__WORDSIZE != 64]: Likewise.
68434 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68436         * Makeconfig (run-built-tests): New variable.
68437         * Rules [$(cross-compiling) = yes]: Change condition to
68438         [$(run-built-tests) = no].
68439         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
68440         to [$(run-built-tests) = yes].
68441         * elf/Makefile [$(cross-compiling) = no]: Likewise.
68442         * grp/Makefile [$(cross-compiling) = no]: Likewise.
68443         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
68444         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
68445         * intl/Makefile [$(cross-compiling) = no]: Likewise.
68446         * io/Makefile [$(cross-compiling) = no]: Likewise.
68447         * libio/Makefile [$(cross-compiling) = no]: Likewise.
68448         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
68449         * misc/Makefile [$(cross-compiling) = no]: Likewise.
68450         * posix/Makefile [$(cross-compiling) = no]: Likewise.
68451         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
68452         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
68453         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
68454         * string/Makefile [$(cross-compiling) = no]: Likewise.
68456         * posix/Makefile ($(objpfx)globtest.out): Pass
68457         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
68458         $(rtld-installed-name).
68459         * posix/globtest.sh (elf_objpfx): Remove variable.
68460         (rtld_installed_name): Likewise.
68461         (library_path): Likewise.
68462         (run_program_prefix): New variable.  Use for running globtest
68463         binary.
68465 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
68466             Joseph Myers  <joseph@codesourcery.com>
68468         * Makeconfig (host-built-program-cmd): New variable.
68469         * elf/Makefile (tst-stackguard1-ARGS): Use
68470         $(host-built-program-cmd).
68471         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
68472         (tst-spawn-ARGS): Likewise.
68473         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
68475 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68476             Jim Blandy  <jimb@codesourcery.com>
68478         * Makeconfig (run-via-rtld-prefix): New variable.
68479         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
68480         (built-program-cmd): Likewise.
68482 2012-10-22  Andreas Jaeger  <aj@suse.de>
68484         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
68485         __O_RSYNC if it exists, otherwise to O_SYNC.
68487 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
68488             Joseph Myers  <joseph@codesourcery.com>
68490         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
68491         /dev/null.
68492         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
68493         from /dev/null
68494         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
68495         /dev/null.
68497 2012-10-22  Andreas Jaeger  <aj@suse.de>
68499         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
68500         Define always.
68501         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
68503         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68504         bits/fcntl-linux.h.
68506         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
68507         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
68509         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
68510         to __O_LARGEFILE.
68511         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
68512         to __O_LARGEFILE.
68514 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
68515             Joseph Myers  <joseph@codesourcery.com>
68517         * config.make.in (NM): New variable.
68519 2012-10-21  Andreas Jaeger  <aj@suse.de>
68521         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
68522         definitions and declarations that are provided by
68523         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68525 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68527         [BZ #14683]
68528         * elf/Makefile (tests-static): Add tst-leaks1-static.
68529         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
68530         ($(objpfx)tst-leaks1-static): New rule.
68531         ($(objpfx)tst-leaks1-static-mem): Likewise.
68532         (tst-leaks1-static-ENV): New macro.
68533         * elf/dl-open.c (dl_open_worker): Check the main application
68534         only if SHARED is defined.
68535         * elf/tst-leaks1-static.c: New file.
68537 2012-10-20  Andreas Jaeger  <aj@suse.de>
68539         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
68540         generic values for Linux.
68541         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
68542         and declarations that are provided by <bits/fcntl-linux.h> and
68543         include <bits/fcntl-linux.h>.
68544         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68545         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68547 2012-10-20  Roland McGrath  <roland@hack.frob.com>
68549         * io/fcntl.h: Move include of <bits/types.h> to the top and
68550         include it unconditionally.
68552 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68554         * wcsmbs/Makefile (tests-ifunc): New variable.
68555         (tests): Add $(tests-ifunc).
68556         * wcsmbs/test-wcschr-ifunc.c: New file.
68557         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
68558         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
68559         * wcsmbs/test-wcslen-ifunc.c: Likewise.
68560         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
68561         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
68563         * string/Makefile (tests-ifunc): New variable.
68564         (tests): Add $(tests-ifunc).
68565         * string/test-memccpy.c (TEST_NAME): New macro.
68566         * string/test-memchr.c (TEST_NAME): Likewise.
68567         * string/test-memcmp.c (TEST_NAME): Likewise.
68568         * string/test-memcpy.c (TEST_NAME): Likewise.
68569         * string/test-memmem.c (TEST_NAME): Likewise.
68570         * string/test-memmove.c (TEST_NAME): Likewise.
68571         * string/test-memset.c (TEST_NAME): Likewise.
68572         * string/test-rawmemchr.c (TEST_NAME): Likewise.
68573         * string/test-stpcpy.c (TEST_NAME): Likewise.
68574         * string/test-stpncpy.c (TEST_NAME): Likewise.
68575         * string/test-strcasecmp.c (TEST_NAME): Likewise.
68576         * string/test-strcasestr.c (TEST_NAME): Likewise.
68577         * string/test-strcat.c (TEST_NAME): Likewise.
68578         * string/test-strchr.c (TEST_NAME): Likewise.
68579         * string/test-strcmp.c(TEST_NAME): Likewise.
68580         * string/test-strcpy.c (TEST_NAME): Likewise.
68581         * string/test-strcspn.c (TEST_NAME): Likewise.
68582         * string/test-strlen.c (TEST_NAME): Likewise.
68583         * string/test-strncasecmp.c (TEST_NAME): Likewise.
68584         * string/test-strncmp.c (TEST_NAME): Likewise.
68585         * string/test-strncpy.c (TEST_NAME): Likewise.
68586         * string/test-strnlen.c (TEST_NAME): Likewise.
68587         * string/test-strpbrk.c (TEST_NAME): Likewise.
68588         * string/test-strrchr.c (TEST_NAME): Likewise.
68589         * string/test-strspn.c (TEST_NAME): Likewise.
68590         * string/test-strstr.c (TEST_NAME): Likewise.
68591         * string/test-bcopy-ifunc.c: New file.
68592         * string/test-bzero-ifunc.c: Likewise.
68593         * string/test-memccpy-ifunc.c: Likewise.
68594         * string/test-memchr-ifunc.c: Likewise.
68595         * string/test-memcmp-ifunc.c: Likewise.
68596         * string/test-memcpy-ifunc.c: Likewise.
68597         * string/test-memmem-ifunc.c: Likewise.
68598         * string/test-memmove-ifunc.c: Likewise.
68599         * string/test-mempcpy-ifunc.c: Likewise.
68600         * string/test-memset-ifunc.c: Likewise.
68601         * string/test-rawmemchr-ifunc.c: Likewise.
68602         * string/test-stpcpy-ifunc.c: Likewise.
68603         * string/test-stpncpy-ifunc.c: Likewise.
68604         * string/test-strcasecmp-ifunc.c: Likewise.
68605         * string/test-strcasestr-ifunc.c: Likewise.
68606         * string/test-strcat-ifunc.c: Likewise.
68607         * string/test-strchr-ifunc.c: Likewise.
68608         * string/test-strchrnul-ifunc.c: Likewise.
68609         * string/test-strcmp-ifunc.c: Likewise.
68610         * string/test-strcpy-ifunc.c: Likewise.
68611         * string/test-strcspn-ifunc.c: Likewise.
68612         * string/test-strlen-ifunc.c: Likewise.
68613         * string/test-strncasecmp-ifunc.c: Likewise.
68614         * string/test-strncat-ifunc.c: Likewise.
68615         * string/test-strncmp-ifunc.c: Likewise.
68616         * string/test-strncpy-ifunc.c: Likewise.
68617         * string/test-strnlen-ifunc.c: Likewise.
68618         * string/test-strpbrk-ifunc.c: Likewise.
68619         * string/test-strrchr-ifunc.c: Likewise.
68620         * string/test-strspn-ifunc.c: Likewise.
68621         * string/test-strstr-ifunc.c: Likewise.
68623         * debug/Makefile (tests-ifunc): New variable.
68624         (tests): Add $(tests-ifunc).
68625         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
68626         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
68627         * debug/test-stpcpy_chk-ifunc.c: New file.
68628         * debug/test-strcpy_chk-ifunc.c: Likewise.
68630 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68632         [BZ #13601]
68633         * elf/dl-load.c (open_verify): Retry read if the entire ELF
68634         header is not read in.
68636 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
68638         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
68639         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
68640         directly.  Pass built executable to script as
68641         $(built-program-cmd).
68642         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
68643         $testprogram without using LD_LIBRARY_PATH and $ldso.
68645         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
68646         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
68647         $(rtld-installed-name).
68648         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
68649         (rtld_installed_name): Likewise.
68650         (library_path): Likewise.
68651         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
68652         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
68653         $(run-program-prefix) to tst-tables.sh.
68654         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
68655         it to run tst-table-from and tst-table-to.
68656         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
68657         Pass it to tst-table.sh.
68658         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
68659         $(run-program-prefix) to tst-gettext.sh.
68660         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
68661         tst-translit.sh.
68662         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
68663         tst-gettext2.sh.
68664         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
68665         to run tst-gettext.
68666         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
68667         to run tst-gettext2.
68668         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
68669         to run tst-translit.
68670         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
68671         $(run-program-prefix) to tst-mtrace.sh.
68672         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
68673         to run tst-mtrace.
68674         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
68675         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
68676         $(rtld-installed-name).
68677         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
68678         (rtld_installed_name): Likewise.
68679         (run_program_prefix): New variable.  Use it to run wordexp-test.
68681         * Makeconfig (ARCH): Remove all definitions.
68682         (machine): Likewise.
68683         [ARCH]: Remove conditional code.
68684         [!objdir]: Give error.
68685         [!objdir] (objpfx): Remove.
68686         [!objdir] (common-objpfx): Likewise.
68687         [!objdir] (common-objdir): Likewise.
68688         * configure.in (config_makefile): Remove.  Hardcode Makefile in
68689         AC_CONFIG_FILES call.
68690         * configure: Regenerated.
68692         [BZ #13888]
68693         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
68694         or TMPDIR.
68695         (testout): Likewise.
68697         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
68698         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
68699         $(rtld-installed-name).
68700         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
68701         (rtld_installed_name): Likewise.
68702         (runit): Remove function.
68703         (run_getconf): New variable,  Use it for running getconf binary.
68705 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
68707         [BZ #14716]
68708         * string/test-memmem.c (check_result): New function.
68709         (do_one_test): Use it.
68710         (check1): New function.
68711         (test_main): Use it.
68713 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
68715         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
68717 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
68719         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
68720         (_G_LSEEK64): Likewise.
68721         (_G_MMAP64): Likewise.
68722         (_G_FSTAT64): Likewise.
68723         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
68724         (_G_LSEEK64): Likewise.
68725         (_G_MMAP64): Likewise.
68726         (_G_FSTAT64): Likewise.
68727         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
68728         unconditional.  Call __mmap64 directly.
68729         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
68730         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
68731         __lseek64 directly.
68732         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
68733         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
68734         __mmap64 directly.
68735         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
68736         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68737         __lseek64 directly.
68738         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
68739         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68740         __lseek64 directly.
68741         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
68742         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
68743         __lseek64 directly.
68744         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
68745         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
68746         __fxstat64 directly.
68747         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
68748         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
68749         unconditional.
68750         (freopen64) [!_G_OPEN64]: Remove conditional code.
68751         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
68752         unconditional.
68753         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
68754         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
68755         unconditional.
68756         (ftello64) [!_G_LSEEK64]: Remove conditional code.
68757         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
68758         unconditional.
68759         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68760         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
68761         unconditional.
68762         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
68763         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
68764         unconditional.
68765         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68766         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
68767         unconditional.
68768         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68769         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
68770         unconditional.
68771         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68773 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68775         [BZ #12140]
68776         * manual/memory.texi (Malloc Tunable Parameters): Add note
68777         about free list pointers overwriting some perturb bytes.
68778         Wording suggested by Roland McGrath.
68780 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
68782         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
68783         (lgamma_test): Likewise.
68784         (tgamma_test): Likewise.
68786 2012-10-16  Florian Weimer  <fweimer@redhat.com>
68788         [BZ #14700]
68789         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
68790         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
68792 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
68794         * NEWS: Mention BZ #14716.
68795         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
68796         when removing AVAILABLE1_USES_J macro.
68798 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
68800         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
68801         (__bswap_64): __uint64_t for unsigned 64-bit int.
68803 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
68805         * include/string.h (memmem): Declare libc hidden alias.
68806         * string/memmem.c (memmem): Define libc hidden alias.
68807         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
68808         __read, __close instead of open, read, close.
68810 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
68812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
68813         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
68814         global and hidden.
68815         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
68816         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
68817         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
68818         Likewise.
68819         (__rawmemchr_sse2): Likewise.
68820         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
68821         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
68822         (__strchr_sse2): Likewise.
68823         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
68824         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
68825         (__strcasecmp_sse2): Likewise.
68826         (__strncasecmp_sse2): Likewise.
68827         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
68828         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
68829         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
68830         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
68831         (__strrchr_sse2): Likewise.
68832         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
68833         ifunc-impl-list.c.
68834         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
68835         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
68836         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
68837         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68838         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
68839         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
68840         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68841         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68842         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
68843         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
68844         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
68845         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
68846         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
68847         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
68848         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
68849         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
68850         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
68851         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
68852         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
68853         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
68854         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
68855         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
68856         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
68857         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68858         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
68859         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68860         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
68861         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68862         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
68863         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
68865         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
68866         global and hidden.
68867         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
68868         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
68869         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
68870         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
68871         Likewise.
68872         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
68873         Likewise.
68874         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
68875         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
68876         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
68877         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
68878         ifunc-impl-list.c.
68879         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68880         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68881         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68882         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68883         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68884         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68885         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68886         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68887         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68888         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68889         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68890         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68891         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68892         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
68893         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
68894         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68895         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
68896         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
68897         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68898         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68899         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68900         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68901         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68902         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68903         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68904         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
68905         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
68906         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
68907         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
68908         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68909         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
68910         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68911         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68912         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
68913         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68914         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68915         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68916         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68917         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68918         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68919         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
68921         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
68922         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
68923         * include/ifunc-impl-list.h: New file.
68924         * misc/ifunc-impl-list.c: Likewise.
68925         * misc/Makefile (routines): Add ifunc-impl-list.
68926         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
68927         * string/test-string.h: Include <ifunc-impl-list.h>.
68928         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
68929         TEST_NAME]: New variables.
68930         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
68931         are defined.
68932         (test_init): Call __libc_ifunc_impl_list to initialize
68933         func_list if TEST_IFUNC and TEST_NAME are defined.
68935         * string/Makefile (strop-tests): Add bcopy and bzero.
68936         * string/test-bcopy.c: New file.
68937         * string/test-bzero.c: Likewise.
68938         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
68939         defined.
68940         * string/test-memset.c: Support bzero test if TEST_BZERO is
68941         defined.
68942         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
68943         __libc_memmove.
68944         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
68945         __libc_memset.
68946         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
68947         of memset.
68949 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
68951         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
68952         * configure: Regenerated.
68954         * Makeconfig (+link-static-before-libc): Don't include
68955         $(link-static-libc).
68957         * libio/libio.h (_IO_pos_t): Remove.
68959 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68961         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
68962         McGrath.
68964 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68966         * crypt/crypt-entry.c: Include fips-private.h.
68967         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
68968         * crypt/md5c-test.c (main): Tolerate disabled MD5.
68969         * sysdeps/unix/sysv/linux/fips-private.h: New file.
68970         * sysdeps/generic/fips-private.h: New file, dummy fallback.
68972 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68974         * crypt/crypt-private.h: Include stdbool.h.
68975         (_ufc_setup_salt_r): Return bool.
68976         * crypt/crypt-entry.c: Include errno.h.
68977         (__crypt_r): Return NULL with EINVAL for bad salt.
68978         * crypt/crypt_util.c (bad_for_salt): New.
68979         (_ufc_setup_salt_r): Check that salt is long enough and within
68980         the specified alphabet.
68981         * crypt/badsalttest.c: New file.
68982         * crypt/Makefile (tests): Add it.
68983         ($(objpfx)badsalttest): New.
68985 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
68987         * NEWS: Add entry for BZ #14602.
68989 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
68991         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
68992         type-generic.
68993         * math/libm-test.inc: Update comment listing what functions and
68994         macros are tested.
68995         (isgreater_test): New function.
68996         (isgreaterequal_test): Likewise.
68997         (isless_test): Likewise.
68998         (islessequal_test): Likewise.
68999         (islessgreater_test): Likewise.
69000         (isunordered_test): Likewise.
69001         (main): Call the new functions.
69003 2012-10-09  Roland McGrath  <roland@hack.frob.com>
69005         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
69006         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
69007         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
69008         * sysdeps/i386/configure: Regenerated.
69009         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
69010         * sysdeps/mach/configure: Regenerated.
69011         * sysdeps/mach/hurd/configure: Regenerated.
69012         * sysdeps/powerpc/configure: Regenerated.
69013         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69014         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69015         * sysdeps/s390/s390-32/configure: Regenerated.
69016         * sysdeps/s390/s390-64/configure: Regenerated.
69017         * sysdeps/sh/configure: Regenerated.
69018         * sysdeps/sparc/configure: Regenerated.
69019         * sysdeps/unix/sysv/linux/configure: Regenerated.
69020         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
69021         * sysdeps/x86_64/configure: Regenerated.
69023         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
69024         defined.  Don't check if MAP is NULL.
69026 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69028         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
69029         (_G_stat64): Likewise.
69030         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
69031         (_G_stat64): Likewise.
69032         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
69033         instead of struct _G_stat64.
69034         * libio/fileops.c (mmap_remap_check): Likewise.
69035         (decide_maybe_mmap): Likewise.
69036         (_IO_new_file_seekoff): Likewise.
69037         (_IO_file_stat): Likewise.
69038         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
69039         _G_off64_t.
69040         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
69041         instead of struct _G_stat64.
69042         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69044 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
69046         [BZ #14602]
69047         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69048         Replace with ...
69049         (CHECK_EOL): New macro.
69050         (two_way_short_needle): Check beginning of haystack for EOL.  Use
69051         CHECK_EOL.
69052         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69053         Replace with CHECK_EOL.
69054         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69055         Replace with CHECK_EOL.
69057 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
69059         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
69060         type-generic.
69061         * math/libm-test.inc: Update comment listing what functions and
69062         macros are tested.
69063         (finite_test): New function.
69064         (isinf_test): Likewise.
69065         (isnan_test): Likewise.
69066         (fpclassify_test): Test subnormal input.
69067         (isfinite_test): Likewise.
69068         (isnormal_test): Likewise.
69069         (main): Call the new functions.
69071 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
69073         [BZ #14660]
69074         * Makerules (%.dynsym): Force C locale when running
69075         $(OBJDUMP) --dynamic-syms.
69077 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
69079         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
69080         <stdint.h>.
69082 2012-10-06  David S. Miller  <davem@davemloft.net>
69084         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
69085         upper 32-bits of the length value in %o2 since we use branch-on-register
69086         tests which consider the entire 64-bit register.
69088 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
69090         * string/test-strstr.c (check2): Add a test for page boundary.
69092 2012-10-05  David S. Miller  <davem@davemloft.net>
69094         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
69095         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
69096         file.
69097         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69098         sysdep_routines.
69099         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69100         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
69101         and bzero when HWCAP_SPARC_CRYPTO is present.
69103 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
69105         [BZ #14602]
69106         * string/test-strstr.c (check2): New function.
69107         (test_main): Call check2.
69109         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
69110         and bug-strchr1.
69111         * string/bug-strcasestr1.c (do_test): Moved to ...
69112         * string/test-strcasestr.c (check1): Here.  New function.
69113         (do_one_test): Break out result checking code into ...
69114         (check_result): This.  New function.
69115         (do_one_test): Call check_result.
69116         (test_main): Call check1.
69117         * string/bug-strchr1.c (do_test): Moved to ...
69118         * string/test-strchr.c (check1): Here.  New function.
69119         (do_one_test): Break out result checking code into ...
69120         (check_result): This.  New function.
69121         (do_one_test): Call check_result.
69122         (test_main): Call check1.
69123         * string/bug-strstr1.c (main): Moved to ...
69124         * string/test-strstr.c (check1): Here.  New function.
69125         (do_one_test): Break out result checking code into ...
69126         (check_result): This.  New function.
69127         (do_one_test): Call check_result.
69128         (test_main): Call check1.
69129         * string/bug-strcasestr1.c: Removed.
69130         * string/bug-strchr1.c: Likewise.
69131         * string/bug-strstr1.c: Likewise.
69133         * elf/Makefile (dl-routines): Add hwcaps.
69134         * elf/dl-support.c (_dl_important_hwcaps): Removed.
69135         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
69136         (_dl_important_hwcaps): Moved to ...
69137         * elf/dl-hwcaps.c: Here.  New file.
69138         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
69140         [BZ #14557]
69141         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
69142         if IS_IN_rtld isn't defined.
69144         * elf/dl-support.c (_dl_sysinfo_map): New.
69145         Include "get-dynamic-info.h" and "setup-vdso.h".
69146         (_dl_non_dynamic_init): Call setup_vdso.
69147         * elf/dynamic-link.h: Don't include <assert.h>.
69148         (elf_get_dynamic_info): Moved to ...
69149         * elf/get-dynamic-info.h: Here.  New file.
69150         * elf/dynamic-link.h: Include "get-dynamic-info.h".
69151         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
69152         * elf/setup-vdso.h: Here.  New file.
69153         * elf/rtld.c: Include "setup-vdso.h".
69154         (dl_main): Call setup_vdso.
69156 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
69158         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
69159         creal in comment listing functions tested.  List finite, isinf,
69160         isnan, isless, islessequal, isgreater, isgreaterequal,
69161         islessgreater, isunordered, lgamma_r and pow10 as functions and
69162         macros not tested.  Mention which functions not tested are aliases
69163         for other functions.  Fix typo.  Note that signs of NaNs are not
69164         tested.
69166         * scripts/config.guess: Update from config.git.
69167         * scripts/config.sub: Likewise.
69169 2012-10-04  Roland McGrath  <roland@hack.frob.com>
69171         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
69172         * misc/madvise.c (madvise): Renamed to __madvise.
69173         Make madvise a weak alias.
69174         * include/sys/mman.h: Declare __madvise.
69175         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
69176         * sysdeps/unix/syscalls.list
69177         (madvise): Make __madvise the strong name, and madvise a weak alias.
69178         * sysdeps/unix/sysv/linux/syscalls.list
69179         (madvise, mmap): Remove redundant entries.
69180         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
69181         * malloc/malloc.c (mtrim): Likewise.
69182         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
69184 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69186         * sysdeps/mach/hurd/dl-cache.c: File removed.
69187         * config.h.in (USE_LDCONFIG): New #undef.
69188         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
69189         * configure: Regenerated.
69190         * elf/Makefile (dl-routines): Add dl-cache only under
69191         [$(use-ldconfig) = yes].
69192         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
69193         cache on [USE_LDCONFIG].
69194         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
69195         [USE_LDCONFIG].
69196         * elf/rtld.c (dl_main): Likewise.
69198 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
69200         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
69201         _SC_LEVEL4_CACHE_LINESIZE.
69203 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69205         * sysdeps/unix/bsd/confstr.h: File removed.
69207 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
69209         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
69210         sys/sdt-config.h.
69212 2012-10-02  Roland McGrath  <roland@hack.frob.com>
69214         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
69215         Make 'mapoff' field ElfW(Off) rather than off_t.
69217 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
69219         * nscd/Makefile: Remove nscd-cflags and all its users.
69220         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
69221         (CFLAGS-nonlib): Add compiler flags for nscd modules.
69223         [BZ #10631]
69224         * malloc.c (malloc_printerr): Clarify error message.
69226 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
69228         [BZ #14648]
69229         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69230         Set bit_FMA_Usable if FMA is supported.
69231         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
69232         macro.
69233         (bit_FMA4_Usable): Updated.
69234         (index_FMA_Usable): New macro.
69235         (CPUID_FMA): Likewise.
69236         (HAS_FMA): Defined with bit_FMA_Usable.
69238 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69240         * bits/types.h (__swblk_t): Type removed.
69241         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
69242         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
69243         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69244         (__SWBLK_T_TYPE): Likewise.
69245         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69246         (__SWBLK_T_TYPE): Likewise.
69247         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69248         (__SWBLK_T_TYPE): Likewise.
69249         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69250         (__SWBLK_T_TYPE): Likewise.
69252 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
69253             Honza Horak <hhorak@redhat.com>
69255         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
69256         (xdr_mapname): Use YPMAXMAP as maxsize.
69257         (xdr_peername): Use YPMAXPEER as maxsize.
69258         (xdr_keydat): Use YPAXRECORD as maxsize.
69259         (xdr_valdat): Use YPMAXRECORD as maxsize.
69261 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69263         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
69265         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
69266         * csu/init-first.c: ... here.
69267         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
69268         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
69269         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
69270         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
69271         * sysdeps/i386/init-first.c: File removed.
69272         * sysdeps/sh/init-first.c: File removed.
69274 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
69276         [BZ #14645]
69277         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
69278         if x * y might underflow to zero and z is zero.
69279         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69280         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69281         * math/libm-test.inc (min_subnorm_value): New variable.
69282         (fma_test): Add more tests.
69283         (fma_test_towardzero): Likewise.
69284         (fma_test_downward): Likewise.
69285         (fma_test_upward): Likewise.
69286         (initialize): Set min_subnorm_value.
69288 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
69290         [BZ #14638]
69291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
69292         0 + 0.
69293         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
69294         mode for addition resulting in exact zero.
69295         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
69296         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
69297         exact 0 + 0.
69298         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69299         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69300         * math/libm-test.inc (fma_test): Add more tests.
69301         (fma_test_towardzero): New function.
69302         (fma_test_downward): Likewise.
69303         (fma_test_upward): Likewise.
69304         (main): Call the new functions.
69306 2012-09-28  David S. Miller  <davem@davemloft.net>
69308         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
69310 2012-09-28  Roland McGrath  <roland@hack.frob.com>
69312         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
69313         instead of SIGALRM.
69315         * sysdeps/gnu/_G_config.h: Moved to ...
69316         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
69317         * sysdeps/mach/hurd/_G_config.h: Moved to ...
69318         * sysdeps/generic/_G_config.h: ... here.
69320         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
69322         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
69324         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
69325         Conditionalize target on [libnss_test1.so-version].
69327         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
69329         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
69330         (elfobjdir): Move out of conditionals.
69332         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
69333         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
69334         (__nss_lookup_function): Conditionalize label remove_from_tree on
69335         [!DO_STATIC_NSS || SHARED], matching its only use.
69337 2012-09-28  David S. Miller  <davem@davemloft.net>
69339         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
69340         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
69341         file.
69342         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69343         sysdep_routines.
69344         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69345         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
69346         when HWCAP_SPARC_CRYPTO is present.
69348 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69350         * io/tst-mknodat.c: Create a FIFO instead of a socket.
69352 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
69354         [BZ #6530]
69355         * stdio-common/vfprintf.c (process_string_arg): Revert
69356         2000-07-22 change.
69358 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
69360         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
69361         for testcase.
69362         * stdio-common/tst-sprintf.c: Include <locale.h>
69363         (main): Test sprintf's handling of incomplete multibyte
69364         characters.
69366 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
69368         * elf/dl-runtime.c (VERSYMIDX): Removed.
69369         * elf/dl-version.c (VERSYMIDX): Likewise.
69370         * elf/do-rel.h (VERSYMIDX): Likewise.
69371         (VALIDX): Likewise.
69372         * elf/dynamic-link.h (VERSYMIDX): Likewise.
69373         * elf/rtld.c (VALIDX): Likewise.
69374         (ADDRIDX): Likewise.
69375         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
69376         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
69377         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
69378         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
69379         (VALIDX): Likewise.
69380         (ADDRIDX): Likewise.
69382 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69384         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
69386 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
69388         [BZ #11438]
69389         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
69390         to global scope.
69391         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
69392         addresses are in the same scope as 192.0.2/24.
69393         * posix/gai.conf: Document new scope table defaults.
69395 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69397         [BZ #5298]
69398         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
69399         for ftell.  Compute offsets from write pointers instead.
69400         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69402 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69404         [BZ #14543]
69405         * libio/Makefile (tests): New test case tst-fseek.
69406         * libio/tst-fseek.c: New test case to verify that fseek/ftell
69407         combination works in wide mode.
69408         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
69409         state when the external buffer state changes.
69411 2012-09-27  David S. Miller  <davem@davemloft.net>
69413         [BZ #14376]
69414         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
69415         pass reloc->r_addend in as the 'high' argument to
69416         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
69418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69420 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69422         * rt/tst-aio2.c: Include <pthread.h>.
69423         * rt/tst-aio3.c: Likewise.
69425 2012-09-27  Steve Ellcey  <sellcey@mips.com>
69427         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
69429 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
69431         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
69432         contents on [SHARED].
69434 2012-09-26  Marek Polacek  <polacek@redhat.com>
69436         [BZ #14530]
69437         [BZ #13741]
69438         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
69439         for C++ and GCC <4.3 as well as for non GCC compilers.
69441 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
69443         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69445 2012-09-25  Roland McGrath  <roland@hack.frob.com>
69447         * Makefile.in (all, install): Declare with .PHONY.
69448         Reported by Michael Hope <michael.hope@linaro.org>.
69450 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69452         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
69453         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
69454         system header.
69455         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
69456         Likewise.
69457         (sydep_routines): Add the new and the internal functions.
69458         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
69459         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
69460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
69461         (GLIBC_2.17): Add the new function.
69462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69463         (GLIBC_2.17): Likewise.
69464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
69465         (GLIBC_2.17): Likewise.
69466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
69467         (GLIBC_2.17): Likewise.
69468         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
69470 2012-09-25  Alan Modra  <amodra@gmail.com>
69472         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
69473         Add release barrier before setting once_control to say
69474         initialisation is done.  Add hints on lwarx.  Use macro in
69475         place of isync.
69476         (clear_once_control): Add release barrier.
69478 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69480         [BZ #13629]
69481         * math/s_clog.c (__clog): Handle more values close to |z| = 1
69482         specially.
69483         * math/s_clog10.c (__clog10): Likewise.
69484         * math/s_clog10f.c (__clog10f): Likewise.
69485         * math/s_clog10l.c (__clog10l): Likewise.
69486         * math/s_clogf.c (__clogf): Likewise.
69487         * math/s_clogl.c (__clogl): Likewise.
69488         * math/Makefile (libm-calls): Add x2y2m1.
69489         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
69490         (__x2y2m1): Likewise.
69491         (__x2y2m1l): Likewise.
69492         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
69493         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
69494         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
69495         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
69496         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
69497         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
69498         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
69499         * sysdeps/i386/fpu/libm-test-ulps: Update.
69500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69502         [BZ #14621]
69503         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
69504         int as type of variable DEPTH.
69505         (glob): Use size_t instead of int as type of variables NEWCOUNT
69506         and OLD_PATHC.
69508 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69510         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69511         Add s_sincosf-sse2.
69512         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
69513         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
69514         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
69515         macros for using routine as __sincosf_ia32.
69516         Use macro for function declaration and weak_alias.
69517         * sysdeps/i386/fpu/libm-test-ulps: Update.
69519         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
69520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69522         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
69523         subnormal argument.
69524         * math/s_cexpf.c (__cexpf): Likewise.
69525         * math/s_csinf.c (__csinf): Likewise.
69526         * math/s_csinhf.c (__csinhf): Likewise.
69527         * math/s_ctanf.c (__ctanf): Likewise.
69528         * math/s_ctanhf.c (__ctanhf): Likewise.
69529         * math/s_ccosh.c (__ccoshf): Likewise.
69530         * math/s_cexp.c (__cexpl): Likewise.
69531         * math/s_csin.c (__csin): Likewise.
69532         * math/s_csinh.c (__csinh): Likewise.
69533         * math/s_ctan.c (__ctan): Likewise.
69534         * math/s_ctanh.c (ctanh): Likewise.
69535         * math/s_ccoshl.c (__ccoshl): Likewise.
69536         * math/s_cexpl.c (__cexpl): Likewise.
69537         * math/s_csinl.c (__csinl): Likewise.
69538         * math/s_csinhl.c (__csinhl): Likewise.
69539         * math/s_ctanl.c (__ctanl): Likewise.
69540         * math/s_ctanhl.c (__ctanhl): Likewise.
69542 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69544         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
69545         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
69546         (_IO_off_t): Define to __off_t, not _G_off_t.
69547         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
69548         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
69549         (_IO_wint_t): Define to wint_t, not _G_wint_t.
69550         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
69551         type of __dummy and __dummy2 fields.
69552         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
69553         (_G_ssize_t): Likewise.
69554         (_G_off_t): Likewise.
69555         (_G_pid_t): Likewise.
69556         (_G_uid_t): Likewise.
69557         (_G_wchar_t): Likewise.
69558         (_G_wint_t): Likewise.
69559         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
69560         (_G_ssize_t): Likewise.
69561         (_G_off_t): Likewise.
69562         (_G_pid_t): Likewise.
69563         (_G_uid_t): Likewise.
69564         (_G_wchar_t): Likewise.
69565         (_G_wint_t): Likewise.
69566         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
69567         (_G_ssize_t): Likewise.
69568         (_G_off_t): Likewise.
69569         (_G_pid_t): Likewise.
69570         (_G_uid_t): Likewise.
69571         (_G_wchar_t): Likewise.
69572         (_G_wint_t): Likewise.
69574 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69576         * malloc/arena.c: Include malloc-sysdep.h.
69577         (shrink_heap): Use check_may_shrink_heap to decide if madvise
69578         is sufficient to shrink the heap or an unmap is needed.
69579         * sysdeps/generic/malloc-sysdep.h: New file.  Define
69580         new function check_may_shrink_heap.
69581         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
69582         new function check_may_shrink_heap.
69584 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69586         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
69587         comments.
69589 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
69591         * catgets/test-gencat.sh: Add "set -e".
69592         * elf/tst-pathopt.sh: Likewise.
69593         * grp/tst_fgetgrent.sh: Likewise.
69594         * iconvdata/run-iconv-test.sh: Likewise.
69595         * intl/tst-gettext.sh: Likewise.
69596         * intl/tst-gettext2.sh: Likewise.
69597         * intl/tst-gettext4.sh: Likewise.
69598         * intl/tst-gettext6.sh: Likewise.
69599         * intl/tst-translit.sh: Likewise.
69600         * io/ftwtest-sh: Likewise.
69601         * libio/test-freopen.sh: Likewise.
69602         * malloc/tst-mtrace.sh: Likewise.
69603         * posix/globtest.sh: Likewise.
69604         * posix/tst-getconf.sh: Likewise.
69605         * posix/wordexp-tst.sh: Likewise.
69606         * stdio-common/tst-printf.sh: Likewise.
69607         * stdio-common/tst-unbputc.sh: Likewise.
69608         * stdlib/tst-fmtmsg.sh: Likewise.
69609         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69610         * catgets/Makefile: Do not specify -e option when running
69611         testsuite shell scripts.
69612         * elf/Makefile: Likewise.
69613         * grp/Makefile: Likewise.
69614         * iconvdata/Makefile: Likewise.
69615         * intl/Makefile: Likewise.
69616         * io/Makefile: Likewise.
69617         * libio/Makefile: Likewise.
69618         * malloc/Makefile: Likewise.
69619         * posix/Makefile: Likewise.
69620         * stdio-common/Makefile: Likewise.
69621         * stdlib/Makefile: Likewise.
69622         * sysdeps/x86_64/Makefile: Likewise.
69624         * io/ftwtest-sh: Add copyright header.
69625         * posix/globtest.sh: Likewise.
69626         * posix/tst-getconf.sh: Likewise.
69627         * posix/wordexp-tst.sh: Likewise.
69628         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69630 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
69632         [BZ #13679]
69633         * Makeconfig (+link): Defined as $(+link-static) if
69634         $(build-shared) isn't yes.
69635         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
69636         isn't yes.
69637         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
69639         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
69641         [BZ #14562]
69642         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
69643         new chunk size with MALLOC_ALIGN_MASK.
69645 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
69647         [BZ #5044]
69648         * stdio-common/printf_fphex.c: Include <stdbool.h> and
69649         <rounding-mode.h>.
69650         (__printf_fphex): Determine rounding using get_rounding_mode and
69651         round_away.
69652         * stdio-common/tst-printf-round.c (struct hex_test): New
69653         structure.
69654         (hex_tests): New variable.
69655         (test_hex_in_one_mode): New function.
69656         (do_test): Also run tests for hex float output.
69658 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
69660         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69661         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69662         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
69663         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69664         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69665         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
69666         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69667         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69669 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
69671         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
69672         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
69673         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
69674         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
69676 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
69678         [BZ #14579]
69679         * elf/rtld.c (dl_main): Limit the check for self loading to normal
69680         mode only.
69681         * elf/tst-rtld-load-self.sh: New test.
69682         * elf/Makefile: Run it.
69684 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
69686         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
69687         (tst-writev-ENV): Remove.
69688         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
69690 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
69692         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
69694 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
69696         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
69697         unconditional.
69698         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
69699         Likewise.
69700         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
69701         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
69702         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
69703         Likewise.
69705 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
69707         [BZ #14587]
69708         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
69709         * config.make.in (have-cpp-asm-debuginfo): Removed.
69710         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
69711         * configure: Regenerated.
69713 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
69715         [BZ #5044]
69716         * stdio-common/printf_fp.c: Include <stdbool.h> and
69717         <rounding-mode.h>.
69718         (___printf_fp): Determine rounding using get_rounding_mode and
69719         round_away.
69720         * stdio-common/tst-printf-round.c: New file.
69721         * stdio-common/Makefile (tests): Add tst-printf-round.
69722         (link-libm): New variable.
69723         ($(objpfx)tst-printf-round): Depend in $(link-libm).
69725 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
69727         [BZ #14576]
69728         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
69729         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
69730         Likewise.
69731         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
69732         Likewise.
69734 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
69736         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
69737         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69738         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69739         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69741 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
69743         [BZ #14518]
69744         * include/rounding-mode.h: New file.
69745         * sysdeps/generic/get-rounding-mode.h: Likewise.
69746         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
69747         * stdlib/strtod_l.c: Include <rounding-mode.h>.
69748         (MAX_VALUE): New macro.
69749         (MIN_VALUE): Likewise.
69750         (overflow_value): New function.
69751         (underflow_value): Likewise.
69752         (round_and_return): Use overflow_value and underflow_value to
69753         determine return values in overflow and underflow cases.  Use
69754         round_away to determine rounding depending on rounding mode.
69755         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
69756         determine return values in overflow and underflow cases.
69757         * stdlib/tst-strtod-round.c: Include <fenv.h>.
69758         (struct test_results): New structure.
69759         (struct test): Use struct test_results to store expected results
69760         for all rounding modes.
69761         (TEST): Include expected results for all rounding modes.
69762         (test_in_one_mode): New function.
69763         (do_test): Use test_in_one_mode to compute and check results.
69764         Check results for all rounding modes.
69765         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
69766         $(link-libm).
69768 2012-12-09  Allan McRae  <allan@archlinux.org>
69770         * sysdeps/i386/fpu/libm-test-ulps: Update
69772 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
69774         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
69775         (_G_int32_t): Likewise.
69776         (_G_uint16_t): Likewise.
69777         (_G_uint32_t): Likewise.
69778         (_G_HAVE_BOOL): Likewise.
69779         (_G_HAVE_ATEXIT): Likewise.
69780         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69781         (_G_HAVE_IO_FILE_OPEN): Likewise.
69782         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
69783         (_G_int32_t): Likewise.
69784         (_G_uint16_t): Likewise.
69785         (_G_uint32_t): Likewise.
69786         (_G_HAVE_BOOL): Likewise.
69787         (_G_HAVE_ATEXIT): Likewise.
69788         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69789         (_G_HAVE_IO_FILE_OPEN): Likewise.
69790         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
69791         (_G_int32_t): Likewise.
69792         (_G_uint16_t): Likewise.
69793         (_G_uint32_t): Likewise.
69794         (_G_HAVE_BOOL): Likewise.
69795         (_G_HAVE_ATEXIT): Likewise.
69796         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69797         (_G_HAVE_IO_FILE_OPEN): Likewise.
69799 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
69801         * csu/libc-tls.c: Update copyright years.
69803 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
69805         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
69806         [!_G_USING_THUNKS]: Remove conditional code.
69807         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
69808         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
69810         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
69811         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
69812         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69813         (_G_VTABLE_LABEL_PREFIX): Likewise.
69814         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69815         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69816         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69817         (_G_VTABLE_LABEL_PREFIX): Likewise.
69818         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69819         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69820         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69821         (_G_VTABLE_LABEL_PREFIX): Likewise.
69822         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69824 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
69826         * libio/Makefile: Include ../Makeconfig before tests.
69827         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
69828         only if $(build-shared) is yes.
69830         * iconv/gconv_db.c: Update copyright years.
69832 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69834         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
69835         unwind info if defined PIC. Fix special cases description.
69836         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
69838         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
69839         DP_HI_MASK entry.
69840         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
69842 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
69844         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
69846         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
69847         is NULL.
69849         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
69850         (LDLIBS-tst-chk4): This.
69851         (LDFLAGS-tst-chk5): Renamed to ...
69852         (LDLIBS-tst-chk5): This.
69853         (LDFLAGS-tst-chk6): Renamed to ...
69854         (LDLIBS-tst-chk6): This.
69855         (LDFLAGS-tst-lfschk4): Renamed to ...
69856         (LDLIBS-tst-lfschk4): This.
69857         (LDFLAGS-tst-lfschk5): Renamed to ...
69858         (LDLIBS-tst-lfschk5): This.
69859         (LDFLAGS-tst-lfschk6): Renamed to ...
69860         (LDLIBS-tst-lfschk6): This.
69862         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
69863         on $(common-objpfx)soversions.mk.
69865 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
69867         [BZ #10014]
69868         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
69869         example host name.
69871 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69873         * malloc/arena.c (arena_get_retry): New function that gets
69874         another arena for the caller to try its request on.
69875         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
69876         current arena cannot fulfill the request.
69877         (__libc_memalign): Likewise.
69878         (__libc_memalign): Likewise.
69879         (__libc_pvalloc): Likewise.
69880         (__libc_calloc): Likewise.
69882 2012-09-05  John Tobey  <john.tobey@gmail.com>
69884         [BZ #13542]
69885         * manual/arith.texi (Operations on Complex): Fix description
69886         of carg branch cut.
69888 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69890         [BZ #10014]
69891         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
69892         host name.
69894         [BZ #10038]
69895         * manual/memory.texi (Memory): Make order of menu items match
69896         order of sections.
69898 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69900         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
69901         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
69902         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
69904 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69906         * csu/libc-tls.c (static_dtv): Renamed to ...
69907         (_dl_static_dtv): This.  Make it global.
69908         (_dl_initial_dtv): Removed.
69909         (__libc_setup_tls): Updated.
69910         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
69911         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
69912         DL_INITIAL_DTV.
69914 2012-09-06  Petr Machata  <pmachata@redhat.com>
69916         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
69917         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
69918         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
69919         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
69921 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69923         [BZ #14545]
69924         * csu/libc-tls.c (_dl_initial_dtv): New variable.
69925         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
69926         freeing dtv[-1].
69928 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69930         [BZ #14544]
69931         * Makeconfig (link-static-before-libc): Replace $(+prector)
69932         with $(+prectorT).
69933         (link-static-after-libc): Replace $(+postctor) with
69934         $(+postctorT).
69935         (link-bounded): Replace $(+prector)/$(+postctor) with
69936         $(+prectorT)/$(+postctorT).
69937         (+prectorT): New macro.
69938         (+postctorT): Likewise.
69940 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69942         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
69943         (round_str): Handle values above the maximum for IBM long double
69944         as inexact.
69945         * stdlib/tst-strtod-round.c (tests): Regenerated.
69947 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69949         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
69950         assembler flag.
69951         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
69952         zarch_nohighgprs around the zarch optimized routines.
69953         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
69954         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
69955         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
69956         for zarch.
69958 2012-09-05  David S. Miller  <davem@davemloft.net>
69960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69962         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
69963         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
69964         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
69965         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69966         entries.
69968 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69970         * malloc/arena.c: Fold copyright years.
69971         * malloc/mcheck.c, malloc/memusage.c: Likewise.
69973 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69975         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
69977 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69979         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
69981 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69983         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
69984         change internal state upon failure.
69986 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69988         * malloc/mcheck.c (mcheck_check_all): Fix typo.
69989         * malloc/memusage.c (mmap): Likewise.
69990         (mmap64, mremap): Likewise.  Adjust name in comment.
69992 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
69994         * libio/fileops.c: Fix typos in comments.
69995         * libio/oldfileops.c: Likewise.
69996         * libio/wfileops.c: Likewise.
69998 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70000         [BZ #1349]
70001         * malloc/Makefile (tests): Add tst-malloc-usable test case.
70002         (tst-malloc-usable-ENV): Set environment for test case.
70003         * malloc/hooks.c (malloc_check_get_size): New function to get
70004         requested size.
70005         * malloc/malloc.c (musable): Use malloc_check_get_size.
70006         * malloc/tst-malloc-usable.c: New test case.
70008 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70010         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
70012 2012-09-05  Allan McRae  <allan@archlinux.org>
70014         [BZ #13966]
70015         * configure.in (CXX_SYSINCLUDES): Use compiler output to
70016         determine header location.
70017         * configure: Regenerated.
70019 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70021         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
70022         float format.
70023         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
70024         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
70025         format.
70026         (test): Regenerate.
70028 2012-09-04  David S. Miller  <davem@davemloft.net>
70030         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
70031         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
70032         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
70034 2012-09-04  Florian Weimer  <fweimer@redhat.com>
70036         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
70037         failures.
70039         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
70041 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
70043         [BZ #9914]
70044         * libio/iogetdelim.c: Include <limits.h>.
70045         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
70046         + len + 1 would overflow.
70048 2012-09-03  Andreas Jaeger  <aj@suse.de>
70050         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70051         * sysdeps/i386/fpu/libm-test-ulps: Update.
70053 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70055         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70056         Add s_sinf-sse2, s_conf-sse2.
70058         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
70059         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
70060         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
70061         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
70063         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
70064         for using routine as __sinf_ia32.
70065         Use macro for function declaration and weak_alias.
70066         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
70067         for using routine as __cosf_ia32.
70068         Use macro for function declaration and weak_alias.
70070         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
70071         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
70073         * sysdeps/x86_64/fpu/s_sinf.S: New file.
70074         * sysdeps/x86_64/fpu/s_cosf.S: New file.
70075         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70077         * math/libm-test.inc (cos_test): Add more test cases.
70078         (sin_test): Likewise.
70079         (sincos_test): Likewise.
70081 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70083         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
70084         (IFUNC_RESOLVE): Make pointers to the specialized implementations
70085         hidden.
70086         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70088 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
70090         [BZ #14538]
70091         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
70092         first element of the GOT.
70093         (elf_machine_load_address): Return the difference between
70094         the runtime address of _DYNAMIC and elf_machine_dynamic ().
70096 2012-09-01  Allan McRae  <allan@archlinux.org>
70098         [BZ #13412]
70099         * configure.in (AWK): Require gawk version 3.0 or later.
70100         * configure: Regenerated.
70102 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
70104         * sysdeps/unix/sysv/linux/kernel-features.h
70105         (__ASSUME_POSIX_CPU_TIMERS): Remove.
70106         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70107         [__NR_clock_getres]: Make code unconditional.
70108         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
70109         (clock_getcpuclockid): Remove code left unreachable by removal of
70110         conditionals.
70111         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
70112         code unconditional.
70113         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70114         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70115         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
70116         Make code unconditional.
70117         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70118         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70119         * sysdeps/unix/sysv/linux/clock_settime.c
70120         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
70121         conditional code.
70122         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
70123         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70125 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
70127         [BZ #14476]
70128         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
70129         scripts/test-installation.pl.
70131         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
70132         and $ld_so_version if it is set.
70134 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70136         [BZ #14516]
70137         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
70138         failure if reading from procfs failed.
70139         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
70141 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70143         * sysdeps/unix/sysv/linux/kernel-features.h
70144         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
70145         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70146         Remove conditional code.
70147         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70148         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
70149         Remove conditional code.
70150         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70151         * sysdeps/unix/sysv/linux/i386/fxstat.c
70152         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70153         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70154         * sysdeps/unix/sysv/linux/i386/fxstatat.c
70155         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70156         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70157         * sysdeps/unix/sysv/linux/i386/lxstat.c
70158         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70159         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70160         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
70161         Remove conditional code.
70162         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70163         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70164         Remove conditional code.
70165         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70166         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
70167         <kernel-features.h>.
70168         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
70169         Remove.
70170         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
70171         Remove conditional code.
70172         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70173         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
70174         Remove conditional.
70176 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
70178         [BZ #5400]
70179         * NEWS: Add fixed bug number.
70181 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70183         [BZ #14519]
70184         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
70185         underflowing exponent in case of negative sign.
70186         * stdlib/tst-strtod-round-data: Add more tests.
70187         * stdlib/tst-strtod-round.c (tests): Regenerated.
70189         [BZ #3479]
70190         * stdlib/strtod_l.c (NDIG): Remove.
70191         (HEXNDIG): Likewise.
70192         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
70193         smallest representable value.
70194         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
70195         lie within an exact representation of 1/2 ulp of the result.
70196         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
70197         unconditionally.
70198         (TENS_P9_IDX): Define unconditionally.
70199         (TENS_P9_SIZE): Likewise.
70200         (TENS_P10_IDX): Likewise.
70201         (TENS_P10_SIZE): Likewise.
70202         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
70203         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
70204         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
70205         entries for 10^2^13 and 10^2^14.
70206         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
70207         (TENS_P13_IDX): Define.
70208         (TENS_P13_SIZE): Likewise.
70209         (TENS_P14_IDX): Likewise.
70210         (TENS_P14_SIZE): Likewise.
70211         (_fpioconst_pow10): Change array size to
70212         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
70213         unconditional.
70214         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
70215         1024]: Add entries for 10^2^13 and 10^2^14.
70216         [LAST_POW10 > _LAST_POW10]: Remove #error.
70217         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
70218         (_fpioconst_pow10): Change array size to
70219         FPIOCONST_POW10_ARRAY_SIZE.
70220         * stdlib/gen-fpioconst.c: New file.
70221         * stdlib/gen-tst-strtod-round.c: Likewise.
70222         * stdlib/tst-strtod-round-data: Likewise.
70223         * stdlib/tst-strtod-round.c: Likewise.
70224         * stdlib/Makefile (tests): Add tst-strtod-round.
70226         [BZ #14459]
70227         * stdlib/strtod_l.c: Include <stdint.h>.
70228         (NDEBUG): Do not define.
70229         (round_and_return): Change EXPONENT parameter to type intmax_t.
70230         Rearrange calculations to avoid internal overflow possibilities.
70231         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
70232         Rearrange calculations to avoid internal overflow possibilities.
70233         Assert that number fits inside MPNSIZE limbs.
70234         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
70235         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
70236         calculations and add assertions to avoid internal overflow
70237         possibilities.  Add casts to avoid signed/unsigned operations.
70238         * stdlib/tst-strtod-overflow.c: New file.
70239         * stdlib/Makefile (tests): Add tst-strtod-overflow.
70241 2012-08-25  Marek Polacek  <polacek@redhat.com>
70243         * time/time.h: Fix some typos in comments.
70245 2012-08-23  Roland McGrath  <roland@hack.frob.com>
70247         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
70248         * posix/tst-rfc3484-2.c: Likewise.
70249         * posix/tst-rfc3484-3.c: Likewise.
70251 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
70253         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
70254         (EF_ARM_ABI_FLOAT_HARD): Likewise.
70256 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
70258         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
70259         #include of fxstatat64.c.
70261 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70263         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
70264         * shadow/getspent_r.c: Likewise.
70265         * shadow/getspnam.c: Likewise.
70266         * shadow/getspnam_r.c: Likewise.
70267         * gshadow/getsgent.c: Likewise.
70268         * gshadow/getsgent_r.c: Likewise.
70269         * gshadow/getsgnam.c: Likewise.
70270         * gshadow/getsgnam_r.c: Likewise.
70271         * inet/getnetbyad.c: Likewise.
70272         * inet/getnetbyad_r.c: Likewise.
70273         * inet/getnetbynm.c: Likewise.
70274         * inet/getnetbynm_r.c: Likewise.
70275         * inet/getnetent.c: Likewise.
70276         * inet/getnetent_r.c: Likewise.
70277         * inet/getproto.c: Likewise.
70278         * inet/getproto_r.c: Likewise.
70279         * inet/getprtent.c: Likewise.
70280         * inet/getprtent_r.c: Likewise.
70281         * inet/getprtname.c: Likewise.
70282         * inet/getprtname_r.c: Likewise.
70283         * inet/getrpcbyname.c: Likewise.
70284         * inet/getrpcbyname_r.c: Likewise.
70285         * inet/getrpcbynumber.c: Likewise.
70286         * inet/getrpcbynumber_r.c: Likewise.
70287         * inet/getrpcent.c: Likewise.
70288         * inet/getrpcent_r.c: Likewise.
70289         * inet/getaliasent.c: Likewise.
70290         * inet/getaliasent_r.c: Likewise.
70291         * inet/getaliasname.c: Likewise.
70292         * inet/getaliasname_r.c: Likewise.
70293         * nscd/getgrgid_r.c: Likewise.
70294         * nscd/getgrnam_r.c: Likewise.
70295         * nscd/gethstbyad_r.c: Likewise.
70296         * nscd/gethstbynm3_r.c: Likewise.
70297         * nscd/getpwnam_r.c: Likewise.
70298         * nscd/getpwuid_r.c: Likewise.
70299         * nscd/getsrvbynm_r.c: Likewise.
70300         * nscd/getsrvbypt_r.c: Likewise.
70301         * nscd/gai.c: Likewise.
70303         * configure.in (build_nscd): New substituted variable, set
70304         by --disable-build-nscd and defaults to $use_nscd.
70305         * configure: Regenerated.
70306         * config.make.in (build-nscd): New substituted variable.
70307         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
70308         Change conditional to require [$(build-nscd) = yes] as well.
70309         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
70311         [BZ# 13696]
70312         * configure.in (use_nscd): New substituted variable, set by
70313         --disable-nscd.  If enabled, define USE_NSCD.
70314         * configure: Regenerated.
70315         * config.h.in: Add USE_NSCD.
70316         * config.make.in (use-nscd): New substituted variable.
70317         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
70318         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
70319         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
70320         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
70321         (CFLAGS-getgrnam_r.c): Likewise.
70322         (CFLAGS-initgroups.c): Likewise.
70323         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
70324         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
70325         Variables removed.
70326         * inet/getnetgrent_r.c
70327         (nscd_setnetgrent): New function, broken out of ...
70328         (setnetgrent): ... here.  Call it.
70329         (innetgr): Conditionalize nscd bits on [USE_NSCD].
70330         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
70331         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
70332         * nscd/Makefile (routines, aux): Move definitions after include of
70333         Makeconfig.  Conditionalize on [$(use-nscd) != no].
70334         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
70335         Conditionalize on [USE_NSCD].
70336         (is_nscd, nscd_init_cb): Likewise.
70337         (nss_load_library): Conditionalize init callback on [USE_NSCD].
70338         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
70339         * nss/nss_db/db-init.c: Likewise.
70340         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
70341         [USE_NSCD].
70342         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
70343         (make_request): Use it.
70344         (cache_valid_p): New function.
70345         (__check_pf): Use it.
70346         * NEWS: Add item for --disable-nscd.
70348 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
70350         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
70351         to support sed >= 4.2.1-20-ga9bf076.
70352         * configure: Regenerated.
70354 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70356         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
70357         Conditionalize whole body on [IREL].
70359 2012-08-22  Jeff Law <law@redhat.com>
70361         [BZ #14505]
70362         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
70363         if the family is PF_UNSPEC.
70365 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
70367         * Makerules (lib-version): Rename from V.
70368         (install-lib-nosubdir): Change V to lib-version.
70370 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
70372         [BZ #14252]
70373         * powerpc32/power6/wcschr.c: New file.
70374         * powerpc32/power6/wcscpy.c: New file.
70375         * powerpc32/power6/wcsrchr.c: New file.
70376         * powerpc64/power6/wcschr.c: New file.
70377         * powerpc64/power6/wcscpy.c: New file.
70378         * powerpc64/power6/wcsrchr.c: New file.
70380 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70382         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
70383         (two_way_short_needle): Use it.
70384         * string/strstr.c (AVAILABLE1_USES_J): Define.
70385         * string/strcasestr.c: Likewise.
70387         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
70388         array references.
70389         * string/strcasestr.c (TOLOWER): Make side-effect safe.
70391         [BZ #11607]
70392         * NEWS: Add an entry.
70393         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
70394         define their defaults.
70395         (two_way_short_needle): Detect end-of-string on-the-fly.
70396         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
70397         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
70398         * string/bug-strcasestr1.c: New test.
70399         * string/Makefile: Run it.
70401 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70403         [BZ #11607]
70404         * string/str-two-way.h (two_way_short_needle): Optimize matching of
70405         the first character.
70407 2012-08-21  Roland McGrath  <roland@hack.frob.com>
70409         * csu/elf-init.c (__libc_csu_irel): Function removed.
70410         * csu/libc-start.c (apply_irel): New function.
70411         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
70413 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
70415         * sysdeps/unix/sysv/linux/kernel-features.h
70416         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
70417         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70418         <kernel-features.h>.
70419         [__NR_fadvise64_64]: Make code unconditional.
70420         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
70421         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70422         !__NR_fadvise64_64)]: Likewise.
70423         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70424         !__NR_fadvise64_64))]: Likewise.
70425         [__NR_fadvise64]: Make code unconditional.
70426         [!__NR_fadvise64]: Remove conditional code.
70427         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
70428         <kernel-features.h>.
70429         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70430         unconditional.
70431         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70432         conditional code.
70433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
70434         not include <kernel-features.h>.
70435         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70436         unconditional.
70437         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70438         conditional code.
70439         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
70440         include <kernel-features.h>.
70441         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70442         unconditional.
70443         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70444         conditional code.
70446 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70448         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
70449         slight instruction rearrangements per scrollpipe analysis.
70450         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70452 2012-08-20  Roland McGrath  <roland@hack.frob.com>
70454         * manual/syslog.texi (syslog; vsyslog, closelog):
70455         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
70456         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
70458         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
70459         DSOCAPS to match condition on defining it.
70461 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
70463         * sysdeps/unix/sysv/linux/kernel-features.h
70464         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
70465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
70466         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70467         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
70469         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70470         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
70472         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70473         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70475         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
70476         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
70478         * sysdeps/unix/sysv/linux/kernel-features.h
70479         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
70480         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
70481         unconditional.
70482         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70483         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
70484         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70485         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70486         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
70487         Make code unconditional.
70488         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70489         (__mmap64) [!__NR_mmap2]: Likewise.
70490         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
70491         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70492         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70493         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
70494         [__NR_mmap2]: Make code unconditional.
70495         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70496         (__mmap64) [!__NR_mmap2]: Likewise.
70498 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70500         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
70502 2012-08-18  Andreas Jaeger  <aj@suse.de>
70504         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
70506 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70508         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
70509         * include/unistd.h (__have_sock_cloexec): Likewise.
70510         (__have_pipe2): Likewise.
70511         (__have_dup3): Likewise.
70513 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70515         [BZ #9685]
70516         * include/unistd.h (__have_pipe2): Change define into an extern int.
70517         (__have_dup3): Likewise.
70518         * socket/have_sock_cloexec.c: Include fcntl.h.
70519         (__have_pipe2): New variable.
70520         (__have_dup3): Likewise.
70522 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
70524         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
70526 2012-08-17  Marek Polacek  <polacek@redhat.com>
70528         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
70529         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
70531 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70533         * configure.in: Add AC_SUBST for sysheaders.
70534         * configure: Regenerated.
70535         * config.make.in (sysheaders): New substituted variable.
70537         * sysdeps/unix/mkfifo.c: Moved ...
70538         * sysdeps/posix/mkfifo.c: ... here.
70539         * sysdeps/unix/mkfifoat.c: Moved ...
70540         * sysdeps/posix/mkfifoat.c: ... here.
70542         * sysdeps/unix/utime.c: Moved ...
70543         * sysdeps/posix/utime.c: ... here.
70545         * sysdeps/unix/time.c: Moved ...
70546         * sysdeps/posix/time.c: ... here.
70547         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
70548         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
70550         * sysdeps/unix/nice.c: Moved ...
70551         * sysdeps/posix/nice.c: ... here.
70553         * sysdeps/unix/alarm.c: Moved ...
70554         * sysdeps/posix/alarm.c: ... here.
70556         * intl/Makefile ($(codeset_mo)): Depend on the input file.
70558 2012-08-17  Jeff Law <law@redhat.com>
70560         * intl/Makefile (codeset_mo): New variable.
70561         ($(codeset_mo)): New target.
70562         (tst-codeset.out): Depend on that.  Remove explicit rule.
70563         (tst-gettext3.out, tst-gettext5.out): Likewise.
70564         (LOCPATH-ENV, tst-codeset-ENV): New variables.
70565         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
70566         * intl/tst-codeset.sh: Remove.
70567         * intl/tst-gettext3.sh: Likewise.
70568         * intl/tst-gettext5.sh: Likewise.
70570 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70572         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
70573         * sysdeps/unix/syscalls.list: ... here.
70575         * sysdeps/posix/getaddrinfo.c
70576         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
70577         (gaiconf_init, gaiconf_reload): Use them.
70578         [!_STATBUF_ST_NSEC]
70579         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
70580         Define using time_t rather than struct timespec.
70582         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
70583         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
70584         Macros removed.
70585         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
70586         [!NO_THREADS].
70587         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
70588         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
70589         Likewise.
70591         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
70592         __libc_cleanup_push argument.
70594         * bits/param.h: New file.
70595         * misc/sys/param.h: New file.
70596         * include/sys/param.h: New file.
70597         * misc/Makefile (headers): Add bits/param.h.
70598         * sysdeps/generic/sys/param.h: File removed.
70599         * sysdeps/unix/sysv/linux/bits/param.h: New file.
70600         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
70601         * sysdeps/mach/hurd/bits/param.h: New file.
70602         * sysdeps/mach/hurd/sys/param.h: File removed.
70604         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
70605         last change.
70607         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
70608         [_IO_MTSAFE_IO].
70609         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
70610         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
70611         New macros.
70613         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
70614         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
70615         rather than -D_IO_MTSAFE_IO conditionally.
70616         * stdio-common/Makefile (CPPFLAGS): Likewise.
70617         * wcsmbs/Makefile (CPPFLAGS): Likewise.
70618         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
70619         Use $(libio-mtsafe).
70620         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
70621         of -D_IO_MTSAFE_IO.
70622         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
70623         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
70624         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
70625         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
70626         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
70627         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
70628         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
70629         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
70630         (CFLAGS-fread_u_chk.c): Likewise.
70631         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
70632         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
70633         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
70634         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
70635         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
70636         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
70637         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
70638         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
70639         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
70641         * libio/Makefile: Test [$(libc-reentrant) = yes]
70642         instead of [$(filter %REENTRANT, $(defines)) nonempty].
70644         * Makeconfig
70645         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
70646         * sysdeps/pthread/configure: File removed.
70647         * sysdeps/pthread/Makeconfig: New file.
70648         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
70649         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
70651 2012-08-16  Gary Benson  <gbenson@redhat.com>
70653         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
70654         unmapping the first object in a namespace.
70656 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70658         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
70659         (__internal_setnetgrent): ... this.  Add internal_function to
70660         definition.  Add libc_hidden_def.
70661         (setnetgrent): Update caller.
70662         (internal_endnetgrent): Renamed to ...
70663         (__internal_endnetgrent): ... this.  Add internal_function to
70664         definition.  Add libc_hidden_def.
70665         (endnetgrent): Update caller.
70666         (internal_getnetgrent_r): Renamed to ...
70667         (__internal_getnetgrent_r): ... this.  Add internal_function to
70668         definition.  Add libc_hidden_def.
70669         (__getnetgrent_r): Update caller.
70670         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
70672 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70674         * stdlib/longlong.h: Update from GCC.
70676 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70678         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
70679         on _QL, which is set by umul_ppmm but never used.
70680         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
70681         variables, which are set by GMP macros but never used.
70682         * stdio-common/_itowa.c (_itowa): Likewise.
70683         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
70684         * stdlib/mod_1.c (mpn_mod_1): Likewise.
70686 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
70688         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
70689         struct La_sh_regs is not constant.
70690         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
70691         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
70692         and struct La_sparc64_regs are not constant.
70694 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70696         * sysdeps/unix/sysv/linux/kernel-features.h
70697         (__ASSUME_POSIX_TIMERS): Remove.
70698         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70699         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70700         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
70701         Make code unconditional.
70702         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70703         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
70704         Make code unconditional.
70705         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70706         * sysdeps/unix/sysv/linux/clock_nanosleep.c
70707         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
70708         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70709         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
70710         Make code unconditional.
70711         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70712         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
70713         (__libc_missing_posix_timers): Remove.
70715 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70717         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
70718         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
70720         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
70722         * elf/dl-sym.c: Include <stdlib.h>.
70724         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
70725         constants, which avoids warnings in 32-bit builds.
70727         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
70728         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
70730         * misc/lseek.c: File moved to ...
70731         * io/lseek.c: ... here.
70733         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
70735         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
70736         shifting LEN more than 31 bits at once.
70738 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70740         [BZ #14195]
70741         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
70742         segmentation fault for a case of two empty input strings.
70743         * string/test-strncasecmp.c (check1): Renamed to...
70744         (bz12205): ...this.
70745         (bz14195): Add new testcase for two empty input strings and N > 0.
70746         (test_main): Call new testcase, adapt for renamed function.
70748 2012-08-15  Andreas Jaeger  <aj@suse.de>
70750         [BZ #14090]
70751         * crypt/md5test2.c: New test, based on test supplied by Serge
70752         Belyshev <belyshev@depni.sinp.msu.ru>.
70753         * crypt/Makefile (xtests): Add md5test-giant..
70754         * crypt/Makefile ($(objpfx)md5test-giant): Add.
70756 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
70758         [BZ #14090]
70759         * crypt/md5.c (md5_process_block): Don't assume the buffer
70760         length is less than 2**32.
70761         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
70762         length is less than 2**64.
70764 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70766         * string/str-two-way.h: Include <sys/param.h>.
70767         (MAX): Macro removed.
70769         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
70770         Move #define and #undef of memmove to just before and after
70771         including <string.h>.
70773         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
70774         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
70775         and after including <string.h>.  Move declarations of
70776         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
70777         to before #include "string/memmove.c".
70779         * include/dirent.h: Declare __getdirentries.
70781         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
70782         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
70784 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
70786         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
70787         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
70788         * sysdeps/i386/configure: Regenerated.
70789         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
70790         STABS_CURRENT_FILE, and STABS_FUN.
70791         (END): Remove call to STABS_FUN_END.
70792         (STABS_CURRENT_FILE1): Delete.
70793         (STABS_CURRENT_FILE): Likewise.
70794         (STABS_FUN): Likewise.
70795         (STABS_FUN_END): Likewise.
70796         (STABS_FUN2): Likewise.
70797         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
70798         * sysdeps/x86_64/configure: Regenerated.
70800 2012-08-14  Roland McGrath  <roland@hack.frob.com>
70802         * elf/dl-open.c: Include <atomic.h>.
70803         * elf/dl-lookup.c: Likewise.
70805 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
70807         * sysdeps/unix/sysv/linux/kernel-features.h
70808         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
70809         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
70810         unconditionally.
70811         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
70812         unconditionally.
70813         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
70814         condition on __ASSUME_CLONE_THREAD_FLAGS.
70816 2012-08-14  Andreas Jaeger  <aj@suse.de>
70818         * sysdeps/i386/fpu/libm-test-ulps: Update.
70820 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
70822         * include/atomic.h (atomic_exchange_and_add): Split into ...
70823         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
70824         New atomic macros.
70826 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
70828         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70830 2012-08-13  Jeff Law <law@redhat.com>
70832         * manual/stdio.texi (snprintf): Clarify handling of the trailing
70833         null byte in the output string.
70835 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
70837         * sysdeps/unix/sysv/linux/kernel-features.h
70838         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
70839         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
70840         (__ASSUME_ARG_MAX_STACK_BASED): Define.
70841         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
70842         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
70843         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
70844         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
70846 2012-08-09  Jeff Law <law@redhat.com>
70848         [BZ #13939]
70849         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
70850         When avoid_arena is set, don't retry in the that arena.  Pick the
70851         next one, whatever it might be.
70852         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
70853         (arena_lock): Pass in new parameter to arena_get2.
70854         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
70855         arena_get2.
70856         (__libc_malloc): Unify retrying after main arena failure with
70857         __libc_memalign version.
70858         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
70860 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
70862         [BZ #14166]
70863         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
70864         to __redirect_strstr.
70865         (__strstr_sse42): Use typeof __redirect_strstr.
70866         (__strstr_ia32): Likewise.
70867         (__libc_strstr): New prototype.
70868         (strstr): Renamed to ...
70869         (__libc_strstr): This.
70870         (strstr): New strong alias of __libc_strstr.
70871         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70872         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
70873         __redirect_time.
70874         Include <time.h>.
70875         (__libc_time): New prototype.
70876         (time_ifunc): Replace time with __libc_time.
70877         (time): New strong alias and hidden definition of __libc_time.
70878         (__GI_time): Remove strong alias.
70879         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
70880         Include <stddef.h>.
70881         (memmove): Redefined to __redirect_memmove.
70882         (__memmove_sse2): Use typeof __redirect_memmove.
70883         (__memmove_ssse3): Likewise.
70884         (__memmove_ssse3_back): Likewise.
70885         (__libc_memmove): New prototype.
70886         (memmove): Renamed to ...
70887         (__libc_memmove): This.
70888         (memmove): New strong alias of __libc_memmove.
70890 2012-08-08  Mark Salter  <msalter@redhat.com>
70892         * elf/elf.h
70893         (R_MN10300_TLS_GD): Define.
70894         (R_MN10300_TLS_LD): Likewise.
70895         (R_MN10300_TLS_LDO): Likewise.
70896         (R_MN10300_TLS_GOTIE): Likewise.
70897         (R_MN10300_TLS_IE): Likewise.
70898         (R_MN10300_TLS_LE): Likewise.
70899         (R_MN10300_TLS_DTPMOD): Likewise.
70900         (R_MN10300_TLS_DTPOFF): Likewise.
70901         (R_MN10300_TLS_TPOFF): Likewise.
70902         (R_MN10300_SYM_DIFF): Likewise.
70903         (R_MN10300_ALIGN): Likewise.
70904         (R_MN10300_NUM): Update.
70906 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
70908         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
70909         Remove.
70911 2012-08-08  Roland McGrath  <roland@hack.frob.com>
70913         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
70915         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
70916         sysdeps/unix -> sysdeps/posix move.
70917         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
70919 2012-08-07      Allan McRae     <allan@archlinux.org>
70921         [BZ #14303]
70922         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
70923         (SUNOS_CPP): Likewise.
70924         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
70925         not found.
70926         (open_input): Call CPP using execvp.
70928 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70930         * sysdeps/unix/sysv/linux/kernel-features.h
70931         (__ASSUME_PROT_GROWSUPDOWN): Remove.
70932         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70933         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70934         (__ASSUME_WAITID_SYSCALL): Likewise.
70935         * sysdeps/unix/sysv/linux/dl-execstack.c
70936         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
70937         code unconditional.
70938         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
70939         conditional code.
70940         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
70941         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
70942         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
70943         code.
70944         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
70945         unconditional.
70946         [__ASSUME_WAITID_SYSCALL]: Likewise.
70947         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
70949 2012-08-07  Roland McGrath  <roland@hack.frob.com>
70951         * sysdeps/unix/closedir.c: Renamed to ...
70952         * sysdeps/posix/closedir.c: ... here.
70953         * sysdeps/unix/dirfd.c: Renamed to ...
70954         * sysdeps/posix/dirfd.c: ... here.
70955         * sysdeps/unix/dirstream.h: Renamed to ...
70956         * sysdeps/posix/dirstream.h: ... here.
70957         * sysdeps/unix/fdopendir.c: Renamed to ...
70958         * sysdeps/posix/fdopendir.c: ... here.
70959         * sysdeps/unix/opendir.c: Renamed to ...
70960         * sysdeps/posix/opendir.c: ... here.
70961         * sysdeps/unix/readdir.c: Renamed to ...
70962         * sysdeps/posix/readdir.c: ... here.
70963         * sysdeps/unix/readdir_r.c: Renamed to ...
70964         * sysdeps/posix/readdir_r.c: ... here.
70965         * sysdeps/unix/rewinddir.c: Renamed to ...
70966         * sysdeps/posix/rewinddir.c: ... here.
70967         * sysdeps/unix/seekdir.c: Renamed to ...
70968         * sysdeps/posix/seekdir.c: ... here.
70969         * sysdeps/unix/telldir.c: Renamed to ...
70970         * sysdeps/posix/telldir.c: ... here.
70971         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
70972         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
70973         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
70974         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
70976         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
70977         * bits/fcntl.h: ... here.
70979         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
70980         not 0.
70981         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
70982         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
70983         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
70984         (struct flock): Move l_start, l_len to the beginning.
70985         Use __pid_t for l_pid.
70986         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
70987         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
70988         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
70989         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
70990         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
70991         [__USE_LARGEFILE64] (struct flock64): New type.
70992         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
70994         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
70995         * bits/dirent.h: ... here.
70997         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
70998         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
71000 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71002         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71003         Change from 2.6.0 to 2.6.16.
71004         * sysdeps/unix/sysv/linux/configure: Regenerated.
71005         * sysdeps/unix/sysv/linux/kernel-features.h
71006         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
71007         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
71008         version.
71009         (__ASSUME_UTIMES): Likewise.
71010         (__ASSUME_CLONE_STOPPED): Remove.
71011         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
71012         architectures, not kernel version.
71013         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
71014         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71015         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71016         (__ASSUME_WAITID_SYSCALL): Likewise.
71017         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
71018         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
71019         * README: State 2.6.16 as minimum Linux kernel version.  Do not
71020         refer to older versions.
71022 2012-08-06  Roland McGrath  <roland@hack.frob.com>
71024         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
71025         Define alphasort64 as an alias.
71026         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
71027         Define versionsort64 as an alias.
71028         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
71029         Define scandir64 as an alias.
71030         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
71031         Define scandirat64 as an alias.
71032         * dirent/alphasort64.c (alphasort64):
71033         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
71034         * dirent/versionsort64.c: Likewise.
71035         * dirent/scandir64.c: Likewise.
71036         * dirent/scandirat64.c: Likewise.
71037         * sysdeps/wordsize-64/alphasort.c: File removed.
71038         * sysdeps/wordsize-64/alphasort64.c: File removed.
71039         * sysdeps/wordsize-64/scandir.c: File removed.
71040         * sysdeps/wordsize-64/scandir64.c: File removed.
71041         * sysdeps/wordsize-64/scandirat.c: File removed.
71042         * sysdeps/wordsize-64/scandirat64.c: File removed.
71043         * sysdeps/wordsize-64/versionsort.c: File removed.
71044         * sysdeps/wordsize-64/versionsort64.c: File removed.
71045         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
71046         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
71047         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
71048         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
71049         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
71050         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
71051         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
71052         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
71054         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
71055         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71056         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
71057         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71058         [defined __arch64__ || defined __sparcv9]
71059         (__INO_T_MATCHES_INO64_T): New macro.
71060         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71061         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
71062         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
71063         * sysdeps/unix/sysv/linux/bits/dirent.h
71064         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
71065         (_DIRENT_MATCHES_DIRENT64): New macro.
71067         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
71068         Define lockf64 as an alias.
71069         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
71070         Define fseeko64 as an alias.
71071         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
71072         Define ftello64 as an alias.
71073         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
71074         Define _IO_fgetpos64 and fgetpos64 as aliases.
71075         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
71076         Define _IO_fsetpos64 and fsetpos64 as aliases.
71077         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
71078         Conditionalize body on this.
71079         * libio/fseeko64.c: Likewise.
71080         * libio/ftello64.c: Likewise.
71081         * libio/iofgetpos64.c: Likewise.
71082         * libio/iofsetpos64.c: Likewise.
71083         * sysdeps/wordsize-64/lockf.c: File removed.
71084         * sysdeps/wordsize-64/lockf64.c: File removed.
71085         * sysdeps/wordsize-64/fseeko.c: File removed.
71086         * sysdeps/wordsize-64/fseeko64.c: File removed.
71087         * sysdeps/wordsize-64/ftello.c: File removed.
71088         * sysdeps/wordsize-64/ftello64.c: File removed.
71089         * sysdeps/wordsize-64/iofgetpos.c: File removed.
71090         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
71091         * sysdeps/wordsize-64/iofsetpos.c: File removed.
71092         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
71093         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
71094         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
71095         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
71096         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
71097         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
71098         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
71099         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
71100         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
71101         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
71102         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
71104         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71105         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71106         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
71107         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71108         [defined __arch64__ || defined __sparcv9]
71109         (__OFF_T_MATCHES_OFF64_T): New macro.
71110         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71111         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71112         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71113         (__OFF_T_MATCHES_OFF64_T): New macro.
71115 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71117         * stdlib/secure-getenv.c (__secure_getenv): Replace
71118         GLIBC_2_16 with GLIBC_2_17.
71120 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71122         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
71123         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71125 2012-08-03  David S. Miller  <davem@davemloft.net>
71127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71129 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71131         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
71132         Remove.
71133         (__ASSUME_CORRECT_SI_PID): Likewise.
71134         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
71135         (__ASSUME_TMPFS_NAME): Likewise.
71136         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
71137         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
71138         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
71139         (HAVE_AUX_SECURE): Make definition unconditional.
71140         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
71141         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
71143 2012-08-03  Roland McGrath  <roland@hack.frob.com>
71145         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
71146         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
71147         * sysdeps/mach/hurd/eloop-threshold.h: New file.
71148         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71149         __eloop_threshold instead of SYMLOOP_MAX.
71151         * sysdeps/generic/eloop-threshold.h: New file.
71152         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
71153         of MAXSYMLINKS.
71154         * elf/chroot_canon.c (chroot_canon): Likewise.
71156 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71158         [BZ #13717]
71159         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71160         Change to 2.6.0 everywhere.
71161         * sysdeps/unix/sysv/linux/configure: Regenerated.
71162         * sysdeps/unix/sysv/linux/kernel-features.h
71163         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
71164         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
71165         kernel versions.
71166         (__ASSUME_POSIX_TIMERS): Define unconditionally.
71167         (__ASSUME_FUTEX_REQUEUE): Remove.
71168         (__ASSUME_STATFS64): Define unconditionally.
71169         (__ASSUME_AT_SECURE): Likewise.
71170         (__ASSUME_CORRECT_SI_PID): Likewise.
71171         (__ASSUME_TGKILL): Define without depending on kernel version for
71172         i386.
71173         (__ASSUME_UTIMES): Likewise.
71174         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
71175         kernel version.
71176         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
71177         (__ASSUME_TMPFS_NAME): Likewise.
71178         * README: Update reference to Linux kernel versions.
71180 2012-08-02  Marek Polacek  <polacek@redhat.com>
71182         [BZ# 14150]
71183         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
71184         libc_cv_asm_type_prefix with %.
71185         * configure: Regenerated.
71186         * include/libc-symbols.h: Remove comment about
71187         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71188         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
71189         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
71190         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
71191         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
71192         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71193         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
71194         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
71195         * elf/tst-unique2mod1.c: Likewise.
71196         * elf/tst-unique1mod2.c: Likewise.
71197         * elf/tst-unique1mod1.c: Likewise.
71198         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
71199         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
71200         Replace ASM_TYPE_DIRECTIVE with .type.
71201         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71202         * sysdeps/i386/sysdep.h: Likewise.
71203         * sysdeps/x86_64/sysdep.h: Likewise.
71204         * sysdeps/sh/sysdep.h: Likewise.
71205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71206         Do not define ASM_TYPE_DIRECTIVE.
71207         * sysdeps/powerpc/sysdep.h: Likewise.
71208         * sysdeps/powerpc/powerpc32/sysdep.h:
71209         Replace ASM_TYPE_DIRECTIVE with .type.
71210         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71211         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71212         * sysdeps/i386/fpu/e_powf.S: Likewise.
71213         * sysdeps/i386/fpu/e_expl.S: Likewise.
71214         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71215         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71216         * sysdeps/i386/fpu/e_pow.S: Likewise.
71217         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71218         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71219         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71220         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71221         * sysdeps/i386/fpu/e_log2.S: Likewise.
71222         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71223         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71224         * sysdeps/i386/fpu/e_powl.S: Likewise.
71225         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71226         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71227         * sysdeps/i386/fpu/e_logl.S: Likewise.
71228         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71229         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71230         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71231         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71232         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71233         * sysdeps/i386/fpu/e_log.S: Likewise.
71234         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71235         * sysdeps/i386/fpu/e_logf.S: Likewise.
71236         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71237         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71238         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71239         * sysdeps/i386/fpu/e_log10.S: Likewise.
71240         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71241         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71242         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71243         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71244         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71245         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
71246         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71247         * sysdeps/i386/i686/strtok.S: Likewise.
71248         * sysdeps/i386/i386-mcount.S: Likewise.
71249         * sysdeps/i386/strtok.S: Likewise.
71250         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
71251         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71252         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71253         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71254         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71255         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71256         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71257         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71258         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71259         * sysdeps/x86_64/_mcount.S: Likewise.
71260         * sysdeps/x86_64/strtok.S: Likewise.
71261         * sysdeps/sh/_mcount.S: Likewise.
71263 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71265         * libio/iofopen.c: Include <fcntl.h>.
71266         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
71267         (_IO_fopen64, fopen64): Define as aliases.
71268         * libio/iofopen64.c: Include <fcntl.h>.
71269         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
71270         Conditionalize body on this.
71271         * sysdeps/wordsize-64/iofopen.c: File removed.
71272         * sysdeps/wordsize-64/iofopen64.c: File removed.
71274 2012-08-01  Marek Polacek  <polacek@redhat.com>
71276         * libc/Makeconfig: Use elf in place of binfmt-subdir.
71277         Use dlfcn directly instead of a variable.
71278         (binfmt-subdir): Do not define.
71279         (dlfcn): Likewise.
71281 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
71283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
71284         Remove all definitions.
71285         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
71286         <kernel-features.h>.
71287         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71288         (miss_F_GETOWN_EX): Remove all definitions.
71289         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
71290         macro definition.
71291         [!__ASSUME_FCNTL64]: Remove conditional code.
71292         [__ASSUME_FCNTL64]: Make code unconditional.
71293         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
71294         <kernel-features.h>.
71295         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71296         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
71297         (lockf64) [__NR_fcntl64]: Make code unconditional.
71298         (lockf64) [__ASSUME_FCNTL64]: Likewise.
71300         * sysdeps/unix/sysv/linux/kernel-features.h
71301         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
71302         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
71303         Make code unconditional.
71304         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71305         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
71307         [__NR_vfork]: Make code unconditional.
71308         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71309         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
71311         [__NR_vfork]: Make code unconditional.
71312         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71313         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71315 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71317         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
71318         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
71320         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71321         Define mkstemp64 as an alias.
71322         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71323         Define mkstemps64 as an alias.
71324         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71325         Define mkostemp64 as an alias.
71326         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71327         Define mkostemps64 as an alias.
71328         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
71329         Conditionalize body on this.
71330         * misc/mkostemp64.c: Likewise.
71331         * misc/mkostemps64.c: Likewise.
71332         * misc/mkstemps64.c: Likewise.
71333         * sysdeps/wordsize-64/mkstemp64.c: File removed.
71334         * sysdeps/wordsize-64/mkostemp64.c: File removed.
71335         * sysdeps/wordsize-64/mkostemp.c: File removed.
71336         * sysdeps/wordsize-64/mkstemp.c: File removed.
71337         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
71338         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
71339         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
71340         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
71342         [BZ #14138]
71343         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
71344         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
71345         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
71346         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
71348         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
71349         compat_symbol macros from <shlib-compat.h> rather than the underlying
71350         default_symbol_version and symbol_version macros, so that DEFAULT
71351         lines in shlib-versions are respected.
71352         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
71354 2012-08-01  Florian Weimer  <fweimer@redhat.com>
71356         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
71357         Declare with warn_unused_result.
71358         (setgid, setregid, setegid, setresgid): Likewise.
71359         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
71360         Likewise.
71361         * WUR-REPORT: Remove set*id functions.
71363 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
71365         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
71367 2012-07-31  Roland McGrath  <roland@hack.frob.com>
71369         [BZ #10191]
71370         * include/sys/socket.h (__libc_accept, __libc_accept4):
71371         Add attribute_hidden.
71372         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
71374         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
71375         use of PTR_MANGLE.
71376         * inet/getnetgrent_r.c (setup): Likewise.
71378         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
71380 2012-07-31  David S. Miller  <davem@davemloft.net>
71382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71384 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
71386         [BZ #13629]
71387         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
71388         value between 1.0 and 2.0 and smaller part has absolute value less
71389         than 1.0.
71390         * math/s_clog10.c (__clog10): Likewise.
71391         * math/s_clog10f.c (__clog10f): Likewise.
71392         * math/s_clog10l.c (__clog10l): Likewise.
71393         * math/s_clogf.c (__clogf): Likewise.
71394         * math/s_clogl.c (__clogl): Likewise.
71395         * math/libm-test.inc (clog_test): Add more tests.
71396         (clog10_test): Likewise.
71397         * sysdeps/i386/fpu/libm-test-ulps: Update.
71398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71400 2012-07-31  Florian Weimer  <fweimer@redhat.com>
71402         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
71403         Exit with zero in case no suitable GID is found, and write a
71404         message to standard error.
71406 2012-07-30  Roland McGrath  <roland@hack.frob.com>
71408         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
71409         rather than to 1.
71410         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
71411         (MAXPATHLEN): Removed.
71412         (NOGROUP, NODEV): New macros.
71413         (setbit, clrbit, isset, isclr): New macros.
71414         (howmany, roundup, powerof2): New macros.
71415         (DEV_BSIZE): New macro.
71417         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
71418         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
71420         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
71421         definition on [!__NO_LONG_DOUBLE_MATH].
71423         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
71424         PTR_MANGLE and PTR_DEMANGLE.
71426         * socket/accept4.c (accept4): Rename to __libc_accept4.
71427         Define accept4 as a weak alias.
71429         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
71430         on [_DIRENT_HAVE_D_TYPE].
71431         * io/ftw.c (ftw_dir): Likewise.
71433         * io/xmknod.c (__xmknod): Don't check PATH for being null.
71435         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
71437         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
71438         Use the BSD numbers rather than the arbitrary ones we had.
71439         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
71440         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
71441         (SIGXCPU, SIGXFSZ): New macros.
71442         (_NSIG): Now 32.
71444         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
71445         initializer on [_LIBC_REENTRANT].
71447         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
71448         definitions inside [_POSIX_MAPPED_FILES].
71450         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
71452         * dirent/opendir.c: Include <fcntl.h>.
71454         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
71455         (__libc_getspecific): Likewise.
71456         (__libc_key_create): Likewise.
71458         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
71459         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
71460         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
71461         (tmpfile64): Define as alias.
71462         * sysdeps/wordsize-64/tmpfile.c: File removed.
71463         * sysdeps/wordsize-64/tmpfile64.c: File removed.
71464         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
71465         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
71467         * stdio-common/vfscanf.c: Include <stdbool.h>.
71468         * nss/makedb.c: Likewise.
71469         * stdio-common/_i18n_number.h: Likewise.
71470         * argp/argp-help.c: Likewise.
71471         * posix/wordexp.c: Likewise.
71472         * sysdeps/posix/spawni.c: Likewise.
71473         * nss/nss_files/files-initgroups.c: Likewise.
71474         * stdio-common/reg-modifier.c: Include <stdlib.h>.
71475         * nss/nss_files/files-initgroups.c: Likewise.
71476         * nss/nss_db/db-netgrp.c: Likewise.
71477         * nss/nss_db/db-initgroups.c: Likewise.
71478         * io/fchmodat.c: Include <sys/stat.h>.
71480         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
71481         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
71483         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
71484         [HAVE_MMAP].
71486         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
71487         Add multiple inclusion protection.
71489 2012-07-27  David S. Miller  <davem@davemloft.net>
71491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71493 2012-07-27  Gary Benson  <gbenson@redhat.com>
71495         [BZ #14298]
71496         * elf/rtld.c: Include <stap-probe.h>.
71497         (dl_main): Added static probes "init_start" and "init_complete".
71498         * elf/dl-load.c: Include <stap-probe.h>.
71499         (lose): Take new parameter "nsid".
71500         Added static probe "map_failed".
71501         (_dl_map_object_from_fd): Pass namespace id to lose.
71502         Added static probe "map_start".
71503         (open_verify): Pass namespace id to lose.
71504         * elf/dl-open.c: Include <stap-probe.h>.
71505         (dl_open_worker) Added static probes "map_complete", "reloc_start"
71506         and "reloc_complete".
71507         * elf/dl-close.c: Include <stap-probe.h>.
71508         (_dl_close_worker): Added static probes "unmap_start" and
71509         "unmap_complete".
71510         * elf/rtld-debugger-interface.txt: New file documenting the above.
71512 2012-07-26  Roland McGrath  <roland@hack.frob.com>
71514         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
71515         rather than a string variable.
71516         * sunrpc/rpc_main.c (h_output): Likewise.
71517         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
71519 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
71521         * inet/check_native.c: New file.
71523 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
71525         [BZ #13629]
71526         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
71527         if larger part has absolute value 1.0.
71528         * math/s_clog10.c (__clog10): Likewise.
71529         * math/s_clog10f.c (__clog10f): Likewise.
71530         * math/s_clog10l.c (__clog10l): Likewise.
71531         * math/s_clogf.c (__clogf): Likewise.
71532         * math/s_clogl.c (__clogl): Likewise.
71533         * math/libm-test.inc (clog_test): Add more tests.
71534         (clog10_test): Likewise.
71535         * sysdeps/i386/fpu/libm-test-ulps: Update.
71536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71538         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
71539         (pltexit): Likewise.
71540         (La_regs): Likewise.
71541         (La_retval): Likewise.
71542         (int_retval): Likewise.
71543         Update #error for removed macros to refer only to definitions in
71544         tst-audit.h.
71545         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
71546         macro.
71547         (pltexit): Likewise.
71548         (La_regs): Likewise.
71549         (La_retval): Likewise.
71550         (int_retval): Likewise.
71551         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
71552         macro.
71553         (pltexit): Likewise.
71554         (La_regs): Likewise.
71555         (La_retval): Likewise.
71556         (int_retval): Likewise.
71557         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
71558         macro.
71559         (pltexit): Likewise.
71560         (La_regs): Likewise.
71561         (La_retval): Likewise.
71562         (int_retval): Likewise.
71563         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
71564         macro.
71565         (pltexit): Likewise.
71566         (La_regs): Likewise.
71567         (La_retval): Likewise.
71568         (int_retval): Likewise.
71569         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
71570         macro.
71571         (pltexit): Likewise.
71572         (La_regs): Likewise.
71573         (La_retval): Likewise.
71574         (int_retval): Likewise.
71575         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
71576         macro.
71577         (pltexit): Likewise.
71578         (La_regs): Likewise.
71579         (La_retval): Likewise.
71580         (int_retval): Likewise.
71581         * sysdeps/generic/tst-audit.h: Update comment to refer only to
71582         macro definitions in tst-audit.h.
71583         * sysdeps/i386/tst-audit.h: New file.
71584         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
71585         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
71586         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
71587         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
71588         * sysdeps/sh/tst-audit.h: Likewise.
71589         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
71590         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
71591         * sysdeps/x86_64/tst-audit.h: Likewise.
71593 2012-07-26  Andreas Jaeger  <aj@suse.de>
71595         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
71596         ptrace.
71598         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
71599         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
71600         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
71601         PTRACE_O_MASK.
71602         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
71603         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
71604         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
71606         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
71607         value.
71609         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
71610         _sigsys.
71611         (si_call_addr, si_syscall, si_arch): Define new macro.
71612         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
71613         _sigsys.
71614         (si_call_addr, si_syscall, si_arch): Define new marcro.
71615         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
71616         _sigsys.
71617         (si_call_addr, si_syscall, si_arch): Define new macro.
71618         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
71619         _sigsys.
71620         (si_call_addr, si_syscall, si_arch): Define new macro.
71622 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71624         [BZ #13717]
71625         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71626         Change to 2.4.21 where previously 2.4.1.
71627         * sysdeps/unix/sysv/linux/configure: Regenerated.
71628         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
71629         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
71630         Linux kernel version.
71631         (__ASSUME_STD_AUXV): Remove.
71632         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
71633         kernel version.
71634         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
71635         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
71636         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
71637         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
71638         (__ASSUME_NETLINK_SUPPORT): Likewise.
71639         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
71640         (__no_netlink_support): Remove conditional definition.
71641         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
71642         Remove.
71643         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71644         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
71645         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
71646         (if_nameindex_ioctl): Remove.
71647         (if_nameindex_netlink): Do not handle __no_netlink_support.
71648         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71649         code.
71650         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
71651         Remove conditional code.
71652         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71653         code.
71654         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
71655         unconditional.
71656         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71657         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
71658         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
71659         Remove.
71660         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
71661         [!__ASSUME_STD_AUXV]: Remove conditional code.
71662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
71663         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
71664         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
71665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
71666         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
71667         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71668         code.
71669         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
71671         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
71672         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71673         conditional code.
71674         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
71676         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71677         code.
71678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
71679         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71680         conditional code.
71681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
71682         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71683         code unconditional.
71684         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71685         conditional code.
71686         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71687         unconditional.
71688         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71689         conditional code.
71690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71691         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71692         unconditional.
71693         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71694         conditional code.
71695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
71696         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71697         code unconditional.
71698         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71699         conditional code.
71700         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71701         unconditional.
71702         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71703         conditional code.
71704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
71705         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71706         code unconditional.
71707         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71708         conditional code.
71709         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71710         unconditional.
71711         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71712         conditional code.
71714 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
71716         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
71717         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
71718         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
71719         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
71720         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
71721         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
71722         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
71723         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
71724         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
71725         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
71726         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
71727         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
71728         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
71729         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
71730         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
71731         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
71732         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
71733         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
71734         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
71735         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
71736         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
71737         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
71738         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71740 2012-07-25  Florian Weimer  <fweimer@redhat.com>
71742         * Versions.def: Add GLIBC_2.17.
71743         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
71744         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
71745         Introduce __libc_secure_getenv.
71746         * stdlib/Versions (2.17): Add secure_getenv
71747         (GLIBC_PRIVATE): Add __libc_secure_getenv.
71748         * stdlib/secure-getenv.c: Rename __secure_getenv to
71749         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
71750         symbol __secure_getenv for GLIBC_2.0.
71751         * stdlib/tst-secure-getenv.c: New.
71752         * stdlib/Makefile (tests): Add testcase.
71753         * manual/startup.texi (Environment Access): Document
71754         secure_getenv.
71755         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
71756         __libc_secure_getenv.
71757         * inet/ruserpass.c (ruserpass): Likewise.
71758         * malloc/mtrace.c (mtrace): Likewise.
71759         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
71760         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
71761         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
71762         * sysdeps/posix/tempname.c: Likewise.  Evaluate
71763         HAVE_SECURE_GETENV.
71764         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
71765         __secure_getenv to __libc_secure_getenv.
71766         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
71767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71768         Likewise.
71769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71770         Likewise.
71771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71773         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71779 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71781         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
71782         (struct La_i86_retval): Likewise.
71783         (struct La_x86_64_regs): Likewise.
71784         (struct La_x86_64_retval): Likewise.
71785         (struct La_x32_regs): Likewise.
71786         (struct La_x32_retval): Likewise.
71787         (struct La_ppc32_regs): Likewise.
71788         (struct La_ppc32_retval): Likewise.
71789         (struct La_ppc64_regs): Likewise.
71790         (struct La_ppc64_retval): Likewise.
71791         (struct La_sh_regs): Likewise.
71792         (struct La_sh_retval): Likewise.
71793         (struct La_s390_32_regs): Likewise.
71794         (struct La_s390_32_retval): Likewise.
71795         (struct La_s390_64_regs): Likewise.
71796         (struct La_s390_64_retval): Likewise.
71797         (struct La_sparc32_regs): Likewise.
71798         (struct La_sparc32_retval): Likewise.
71799         (struct La_sparc64_regs): Likewise.
71800         (struct La_sparc64_retval): Likewise.
71801         (struct audit_ifaces): Remove architecture-specific pltenter and
71802         pltexit members.
71803         * sysdeps/i386/ldsodefs.h: New file.
71804         * sysdeps/powerpc/ldsodefs.h: Likewise.
71805         * sysdeps/s390/ldsodefs.h: Likewise.
71806         * sysdeps/sh/ldsodefs.h: Likewise.
71807         * sysdeps/sparc/ldsodefs.h: Likewise.
71808         * sysdeps/x86_64/ldsodefs.h: Likewise.
71810 2012-07-25  Marek Polacek  <polacek@redhat.com>
71812         [BZ #6808]
71813         * math/libm-test.inc (yn_test): Add another test.
71814         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
71815         to ERANGE when the result is +-Inf.
71816         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
71817         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
71818         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
71819         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
71821 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
71823         * conform/data/time.h-data (NULL): Use macro-constant.  Require
71824         equal to 0.
71825         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
71826         clock_t.
71827         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
71829 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
71831         * configure.in <sysdeps resolving>: Correct printing
71832         Implies_before.
71833         * configure: Regenerate.
71835 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
71837         * math/w_ilogb.c: Include <limits.h>.
71838         * math/w_ilogbl.c: Likewise.
71840 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71842         * manual/lang.texi (__va_copy): Document primarily as ISO C99
71843         va_copy.  Document allowing for unavailable va_copy only as
71844         pre-C99 compatibility.
71845         * manual/string.texi (Copying and Concatenation): Use va_copy
71846         instead of __va_copy in concat example.
71848 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
71850         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
71851         (__sendto): Use create_address_port.  Initialize APORT and deallocate
71852         it if not null.
71854         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
71855         with O_NOLINK passed to __file_name_lookup.
71857         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
71858         with O_NOLINK passed to __file_name_lookup.
71860         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
71861         negative N or less than NGIDS.
71863         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
71864         type to string_t.  Set ERANGE as errno and return it if NAME is not big
71865         enough.  Use memcpy instead of strncpy.
71867 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71869         * elf/Makefile (check-data): Remove.
71870         (localplt.data): New vpath directive.
71871         ($(objpfx)check-localplt.out): Use localplt.data from vpath
71872         instead of $(check-data).
71873         * scripts/data/localplt-generic.data: Move to ...
71874         * sysdeps/generic/localplt.data: ... here.
71875         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
71876         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
71877         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
71878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
71879         ... here.
71880         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
71881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
71882         ... here.
71883         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
71884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
71885         ... here.
71886         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
71887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
71888         ... here.
71889         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
71890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
71891         ... here.
71892         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
71893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
71894         ... here.
71896 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71898         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
71899         PPC32 and PPC64 files.
71900         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
71901         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
71903 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71905         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
71906         __makecontext_ret to ...
71907         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
71908         ... here and call exit if uc_link is NULL.  New file.
71909         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
71910         __makecontext_ret.S.
71911         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
71912         __makecontext_ret to ...
71913         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
71914         ... here and call exit if uc_link is NULL.  New file.
71915         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
71916         __makecontext_ret.S.
71918 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71920         * elf/elf.h (R_390_IRELATIVE): New definition.
71921         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
71922         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
71923         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
71924         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
71925         (elf_machine_lazy_rel): Likewise.
71926         * sysdeps/s390/dl-irel.h: New file.
71927         * sysdeps/s390/s390-64/memcpy.S: New asm code.
71928         * sysdeps/s390/s390-64/memset.S: New asm code.
71929         * sysdeps/s390/s390-64/memcmp.S: New asm code.
71930         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
71931         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
71932         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
71933         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
71934         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
71935         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
71936         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
71937         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
71938         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
71939         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
71940         * sysdeps/s390/s390-32/memcpy.S: New asm code.
71941         * sysdeps/s390/s390-32/memset.S: New asm code.
71942         * sysdeps/s390/s390-32/memcmp.S: New asm code.
71944 2012-07-17  Marek Polacek  <polacek@redhat.com>
71946         [BZ #14349]
71947         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
71948         * sysdeps/s390/s390-64/configure.in: Likewise.
71949         * sysdeps/sparc/configure.in: Likewise.
71950         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
71951         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
71952         * sysdeps/i386/configure.in: Likewise.
71953         * sysdeps/x86_64/configure.in: Likewise.
71954         * sysdeps/sh/configure.in: Likewise.
71955         * sysdeps/s390/s390-32/configure: Regenerated.
71956         * sysdeps/s390/s390-64/configure: Likewise.
71957         * sysdeps/x86_64/configure: Likewise.
71958         * sysdeps/sh/configure: Likewise.
71959         * sysdeps/powerpc/powerpc64/configure: Likewise.
71960         * sysdeps/powerpc/powerpc32/configure: Likewise.
71961         * sysdeps/sparc/configure: Likewise.
71962         * sysdeps/i386/configure: Likewise.
71964         * elf/dl-open.c: Comment fixes.
71966 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
71968         * Makefile [CXX] (check-data): Remove.
71969         [CXX] (c++-types.data): New vpath directive.
71970         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
71971         vpath.  Do not allow for C++ type data being missing.
71972         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
71973         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
71974         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
71975         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
71976         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
71977         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
71978         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
71979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
71980         ... here.
71981         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
71982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
71983         ... here.
71984         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
71985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
71986         ... here.
71987         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
71988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
71989         ... here.
71990         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
71991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
71992         ... here.
71993         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
71994         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
71995         ... here.
71996         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
71997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
71998         ... here.
71999         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
72000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
72002         * elf/tls-macros.h (TLS_LE): Move architecture-specific
72003         definitions to architecture-specific files.
72004         (TLS_IE): Likewise.
72005         (TLS_LD): Likewise.
72006         (TLS_GD): Likewise.
72007         * sysdeps/i386/tls-macros.h: New file.
72008         * sysdeps/powerpc/tls-macros.h: Likewise.
72009         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
72010         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
72011         * sysdeps/sh/tls-macros.h: Likewise.
72012         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
72013         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
72014         * sysdeps/x86_64/tls-macros.h: Likewise.
72016 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72018         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
72019         zero value for regular exit case.
72021         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
72022         (__start_context): Preserve zero value for regular exit case.
72024 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72025             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72027         * manual/setjmp.texi (setcontext): Clarify normal process
72028         termination when uc_link is the null pointer.
72029         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
72030         exit call.
72032 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
72034         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
72035         preprocessor.  Test for each exception mask separately.
72037 2012-07-16  Andreas Jaeger  <aj@suse.de>
72039         * po/ru.po: Update from translation team.
72041 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
72043         * conform/data/string.h-data (NULL): Use macro-constant.  Require
72044         equal to 0.
72045         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72046         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72047         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
72048         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
72049         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72051 2012-07-13  Andreas Jaeger  <aj@suse.de>
72053         * po/fr.po: Update from translation team.
72055 2012-07-12  Marek Polacek  <polacek@redhat.com>
72057         [BZ #14173]
72058         * math/libm-test.inc (yn_test): Add test for BZ #14173.
72059         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
72060         loop condition.
72062 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
72064         [BZ #13717]
72065         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72066         Change to 2.4.1 where previously 2.4.0.
72067         * sysdeps/unix/sysv/linux/configure: Regenerated.
72068         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
72069         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
72070         version.
72071         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
72072         (__ASSUME_AT_CLKTCK): Remove.
72073         (__ASSUME_AT_PAGESIZE): Likewise.
72074         (__ASSUME_AT_XID): Likewise.
72075         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
72076         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
72077         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
72078         unconditionally.
72079         (HAVE_AUX_PAGESIZE): Likewise.
72080         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
72081         [__ASSUME_AT_CLKTCK]: Make code unconditional.
72082         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
72084 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
72086         [BZ #14307]
72087         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
72088         the temporary buffer used to invoke __gethostbyname2_r,
72089         __gethostbyaddr_r and gethostbyname4_r to make room for struct
72090         host_data / struct gaih_addrtuple.
72091         * resolv/nss_dns/dns-host.c (global scope): Move definition of
72092         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
72093         header file nss/nsswitch.h.
72094         * nss/nsswitch.h (global scope): Add definition of implementation
72095         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
72096         resolv/nss_dns/dns-host.c).
72098 2012-07-11  Andreas Jaeger  <aj@suse.de>
72100         * po/fr.po: Update from translation team.
72102         * po/sv.po: Update from translation team
72103         * po/fr.po: Another update from translation team.
72105 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72107         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
72108         for subnormals or multiply small sinh result by itself.
72109         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72112 2012-07-11  David S. Miller  <davem@davemloft.net>
72114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72116 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
72118         [BZ #14347]
72119         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
72120         (INTERNAL_MARK): Shift it here.
72122 2012-07-10  Marek Polacek  <polacek@redhat.com>
72124         [BZ #14151]
72125         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
72126         libc_cv_asm_global_directive with .globl.
72127         * configure: Regenerated.
72128         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
72129         with .globl.
72130         * sysdeps/i386/configure: Regenerated.
72131         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
72132         with .globl.
72133         * sysdeps/x86_64/configure: Regenerated.
72134         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
72135         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
72136         * elf/tst-unique2mod2.c: Likewise.
72137         * elf/tst-unique2mod1.c: Likewise.
72138         * elf/tst-unique1mod2.c: Likewise.
72139         * elf/tst-unique1mod1.c: Likewise.
72140         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72141         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72142         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72143         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72144         * sysdeps/mach/sysdep.h: Likewise.
72145         * sysdeps/i386/sysdep.h: Likewise.
72146         * sysdeps/i386/i386-mcount.S: Likewise.
72147         * sysdeps/x86_64/_mcount.S: Likewise.
72148         * sysdeps/x86_64/sysdep.h: Likewise.
72149         * sysdeps/sh/_mcount.S: Likewise.
72150         * sysdeps/sh/sysdep.h: Likewise.
72151         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
72152         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
72153         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
72154         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72155         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
72156         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
72157         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
72158         * locale/localeinfo.h: Likewise.
72159         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
72160         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
72162 2012-07-09  Roland McGrath  <roland@hack.frob.com>
72164         [BZ #14336]
72165         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
72166         system".
72167         * manual/message.texi (The Uniforum approach): Likewise.
72168         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
72169         (glibc iconv Implementation): Likewise.
72171 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
72173         [BZ #14337]
72174         * math/s_clog.c (__clog): Avoid scaling a value down where that
72175         could result in underflow.
72176         * math/s_clog10.c (__clog10): Likewise.
72177         * math/s_clog10f.c (__clog10f): Likewise.
72178         * math/s_clog10l.c (__clog10l): Likewise.
72179         * math/s_clogf.c (__clogf): Likewise.
72180         * math/s_clogl.c (__clogl): Likewise.
72181         * math/libm-test.inc (clog_test): Add more tests.
72182         (clog10_test): Likewise.
72183         * sysdeps/i386/fpu/libm-test-ulps: Update.
72184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72186 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
72188         [BZ #14283]
72189         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
72190         by 7 not 8 to examine high bit of fractional part.
72192         [BZ #14042]
72193         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
72194         for call to __mcount_internal.
72195         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
72196         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
72197         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
72199 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
72201         [BZ #14154]
72202         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
72203         approximation for values within 0x1p-13f of an odd multiple of
72204         pi/4.
72205         * math/libm-test.inc (tan_test): Do not allow spurious underflow
72206         exception.  Add more tests.
72207         * sysdeps/i386/fpu/libm-test-ulps: Update.
72209         [BZ #6778]
72210         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
72211         inputs and return -1 for them.  Do not check for +Inf in case not
72212         reachable for +Inf.
72213         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
72214         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
72215         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72216         and return -1 for them.  Do not check for +Inf in case not
72217         reachable for +Inf.
72218         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
72219         define.
72220         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72221         and return -1 for them.  Do not check for +Inf in case not
72222         reachable for +Inf.
72223         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
72224         spurious underflow.
72225         * sysdeps/i386/fpu/libm-test-ulps: Update.
72226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72228 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
72230         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
72232 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
72234         [BZ #14157]
72235         [BZ #14331]
72236         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
72237         could result in spurious underflow.  Scale down values above
72238         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
72239         * math/s_csqrtf.c (__csqrtf): Likewise.
72240         * math/s_csqrtl.c (__csqrtl): Likewise.
72241         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
72242         spurious underflow.
72243         * sysdeps/i386/fpu/libm-test-ulps: Update.
72244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72246 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
72248         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
72249         xopen-msg.sed.
72250         * catgets/xopen-msg.awk: New file.
72251         * catgets/xopen-msg.sed: Removed.
72253         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
72254         po2text.sed.
72255         * intl/po2test.awk: New file.
72256         * intl/po2test.sed: Removed.
72258 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
72260         [BZ #14328]
72261         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
72262         or multiply small sinh result by itself.
72263         * math/s_ctanf.c (__ctanf): Likewise.
72264         * math/s_ctanh.c (__ctanh): Likewise.
72265         * math/s_ctanhf.c (__ctanhf): Likewise.
72266         * math/s_ctanhl.c (__ctanhl): Likewise.
72267         * math/s_ctanl.c (__ctanl): Likewise.
72268         * math/libm-test.inc (ctan_test_tonearest): New function.
72269         (ctan_test_towardzero): Likewise.
72270         (ctan_test_downward): Likewise.
72271         (ctan_test_upward): Likewise.
72272         (ctanh_test_tonearest): Likewise.
72273         (ctanh_test_towardzero): Likewise.
72274         (ctanh_test_downward): Likewise.
72275         (ctanh_test_upward): Likewise.
72276         (main): Call these new functions.
72277         * sysdeps/i386/fpu/libm-test-ulps: Update.
72278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72280 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
72282         * .gitignore: Delete /ports entry.
72284 2012-07-03  Andreas Jaeger  <aj@suse.de>
72286         * po/bg.po: Update from translation team.
72287         * po/cs.po: Likewise.
72288         * po/de.po: Likewise.
72289         * po/hr.po: Likewise.
72290         * po/nl.pl: Likewise.
72291         * po/pl.po: Likewise.
72292         * po/vi.po: Likewise.
72294 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
72296         * Makeconfig [!+link] (+link-before-libc): New variable.
72297         [!+link] (+link-after-libc): Likewise.
72298         [!+link] (+link-tests): Likewise.
72299         [!+link] (+link): Define in terms of $(+link-before-libc) and
72300         $(+link-after-libc).
72301         [!+link-static] (+link-static-before-libc): New variable.
72302         [!+link-static] (+link-static-after-libc): Likewise.
72303         [!+link-static] (+link-static-tests): Likewise.
72304         [!+link-static] (+link-static): Define in terms of
72305         $(+link-static-before-libc) and $(+link-static-after-libc).
72306         [build-shared] (link-libc-before-gnulib): New variable.
72307         [build-shared] (link-libc-tests): Likewise.
72308         [build-shared] (link-libc): Define in terms of
72309         $(link-libc-before-gnulib).
72310         [!build-shared] (link-libc-tests): New variable.
72311         (link-libc-static-tests): New variable.
72312         [!gnulib] (gnulib-arch): New variable.
72313         [!gnulib] (gnulib-tests): Likewise.
72314         [!gnulib] (static-gnulib-arch): Likewise.
72315         [!gnulib] (static-gnulib-tests): Likewise.
72316         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
72317         Define with "=" instead of ":=".
72318         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
72319         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
72320         * Rules (binaries-all-notests): New variable.
72321         (binaries-all-tests): Likewise.
72322         (binaries-static-notests): Likewise.
72323         (binaries-static-tests): Likewise.
72324         (binaries-all): Define using $(binaries-all-notests) and
72325         $(binaries-all-tests).
72326         (binaries-static): Define using $(binaries-static-notests) and
72327         $(binaries-static-tests).
72328         (binaries-shared-tests): New variable.
72329         (binaries-shared-notests): Likewise.
72330         (binaries-shared): Remove variable.
72331         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
72332         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
72333         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
72334         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
72335         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
72336         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
72337         * elf/Makefile (sln-modules): New variable.
72338         (extra-objs): Add $(sln-modules:=.o).
72339         (ldconfig-modules): Add static-stubs.
72340         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
72341         * elf/static-stubs.c: New file.
72343         [BZ #14283]
72344         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
72345         by 7 not 8 to examine high bit of fractional part.  Use volatile
72346         variables when splitting into final array of floats if
72347         __FLT_EVAL_METHOD__ != 0.
72348         * math/libm-test.inc (cos_test): Add another test.
72349         (sin_test): Likewise.
72350         * sysdeps/i386/fpu/libm-test-ulps: Update.
72352         [BZ #14273]
72353         * math/libm-test.inc (cosh_test): Add more tests.
72355         * version.h (RELEASE): Set to "development".
72356         (VERSION): Set to "2.16.90".
72358 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
72360         * NEWS: Update copyright. Remove last-updated date.
72361         Mention math library bug fixes and timezone data changes.
72362         * README: Mention GNU/Hurd, x32, and HPPA support status.
72364 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
72366         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
72368 2012-06-27  Andreas Jaeger  <aj@suse.de>
72370         * manual/contrib.texi (Contributors): Add Samuel Thibault.
72372 2012-06-25  Andreas Jaeger  <aj@suse.de>
72374         * sysdeps/s390/fpu/libm-test-ulps: Update.
72376 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
72377             Thomas Schwinge  <thomas@codesourcery.com>
72379         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
72380         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
72381         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
72382         fanotify_mark.
72384 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
72386         * sysdeps/mach/start.c: Remove file.
72387         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
72388         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
72389         * sysdeps/sh/init-first.c: Likewise.
72391         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
72392         registers for frame unwinding purposes, add CFI directives.
72393         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72394         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
72395         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
72396         Likewise.
72398         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
72399         __fortify_fail returning.
72400         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72402         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
72403         sysdeps/sh/____longjmp_chk.S.
72404         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
72405         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
72406         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
72407         (gen-as-const-headers): Append sigaltstack-offsets.sym.
72409         * sysdeps/sh/abort-instr.h: New file.
72410         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
72411         process in case exit returns.
72413         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
72414         initialize the GOT register before use.
72416         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
72417         calculation of ARGC > 4.
72419         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
72420         meaningful names to some local labels.
72422 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72423             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72425         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
72426         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
72427         (__arch_compare_and_exchange_val_16_acq): Likewise.
72428         (__arch_compare_and_exchange_val_32_acq): Likewise.
72429         (atomic_exchange_and_add): Fix gUSA sequence.
72430         (atomic_add): Likewise.
72431         (atomic_add_negative): Likewise.
72432         (atomic_add_zero): Likewise.
72433         (atomic_bit_test_set): Likewise.
72435 2012-06-22  Andreas Schwab  <schwab@redhat.com>
72437         [BZ #13579]
72438         * include/link.h (struct link_map): Add l_free_initfini.
72439         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
72440         l_initfini.
72441         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
72442         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
72443         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
72444         set.
72446 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
72448         * configure.in: Use AC_LANG_SOURCE.
72449         * configure: Regenerate.
72451 2012-06-22  Roland McGrath  <roland@hack.frob.com>
72453         * configure.in (libc_cv_localstatedir): New substituted variable.
72454         * configure: Regenerated.
72455         * config.make.in (localstatedir): New variable, substituted from
72456         libc_cv_localstatedir.
72457         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
72458         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
72459         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
72460         * sysdeps/gnu/configure: Regenerated.
72462 2012-06-21  Jeff Law  <law@redhat.com>
72464         [BZ #14277]
72465         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
72466         free.  Simplify list management for _LIBC case.
72468 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
72470         [BZ #14273]
72471         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
72472         Clear sign bit of 64-bit integer value before comparing against
72473         overflow value.
72475         * sysdeps/mach/configure: Regenerated.
72477 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
72479         [BZ #14278]
72480         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
72482 2012-06-21  Jeff Law  <law@redhat.com>
72484         [BZ #13882]
72485         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
72486         uint16_t for elements in the "seen" array to avoid char overflows.
72487         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72488         * elf/dl-open.c (dl_open_worker): Likewise.
72490 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
72492         * scripts/list-sources.sh: Scan PORTS for translations.
72493         * po/libc.pot: Regenerated.
72495 2012-06-21  Andreas Jaeger  <aj@suse.de>
72497         [BZ #12194]
72498         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
72499         warning.
72500         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
72501         * bits/byteswap-16.h (__bswap_16): Likewise.
72502         * bits/byteswap.h (__bswap_constant_16): Likewise.
72504 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
72506         [BZ #14117]
72507         * sysdeps/i386/fpu_control.h: Removed.
72508         * sysdeps/x86_64/fpu_control.h: Moved to ...
72509         * sysdeps/x86/fpu_control.h: Here.
72511         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
72512         (_FPU_SETCW): Likewise.
72514 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
72516         [BZ #14117]
72517         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
72518         * sysdeps/x86/fpu/bits/mathinline.h: This.
72519         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
72521         [BZ #14050]
72522         [BZ #14117]
72523         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
72524         functions if __x86_64__ is defined.
72526 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
72528         * string/endian.h: Add !__ASSEMBLER__ condition for including
72529         conversion interfaces.
72531 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
72533         [BZ #14241]
72534         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
72535         of ABS(x) in calculating zero to negative powers other than odd
72536         integers.
72537         * math/libm-test.inc (pow_test): Add more tests.
72539 2012-06-15  Andreas Jaeger  <aj@suse.de>
72541         * manual/contrib.texi (Contributors): Update entry of Liubov
72542         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
72543         Machado Filho.
72545 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
72547         * string/string.h: Add __wur to GNU version of strerror_r.
72549 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
72551         [BZ #14229]
72552         * string/Makefile (tests): Add tst-strtok_r.
72553         * string/tst-strtok_r.c: New file.
72554         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
72555         RAX_LP/RDX_LP on SAVE_PTR.
72557 2012-06-14  Roland McGrath  <roland@hack.frob.com>
72559         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
72561 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
72563         * libm_test.inc (csqrt_test): Allow more spurious underflow
72564         exceptions.
72565         (j0_test): Likewise.
72566         (j1_test): Likewise.
72567         (y0_test): Likewise.
72568         (y1_test): Likewise.
72570 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
72572         * po/Makefile (libc.pot): Use UTF-8 charset.
72574 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
72576         [BZ #14210]
72577         Suppress sign-conversion warning from FD_SET.
72578         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
72579         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
72580         not unsigned long int.
72581         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
72583 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
72585         [BZ #14050]
72586         [BZ #14117]
72587         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
72588         __extern_always_inline instead of __extern_inline.
72589         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
72590         (__signbit): Likewise.
72591         (__signbitl): Support C++ namespace.
72592         (lrintf): New inline function.
72593         (lrint): Likewise.
72594         (llrintf): Likewise.
72595         (llrint): Likewise.
72596         (fmaxf): Likewise.
72597         (fmax): Likewise.
72598         (fminf): Likewise.
72599         (fmin): Likewise.
72600         (rint): Likewise.
72601         (rintf): Likewise.
72602         (ceil): Likewise.
72603         (ceilf): Likewise.
72604         (floor): Likewise.
72605         (floorf): Likewise.
72606         (nearbyint): Likewise.
72607         (nearbyintf): Likewise.
72609 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
72611         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
72612         non-default versions.
72614 2012-06-11  Roland McGrath  <roland@hack.frob.com>
72616         [BZ #14218]
72617         * manual/argp.texi (Argp): Reword argp_parse description slightly.
72619 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
72621         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
72622         (FE_UPWARD, FE_DOWNWARD): Don't define.
72623         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
72624         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72626         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
72627         reading it.
72628         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72629         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72631 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72633         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72634         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
72635         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
72636         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
72638 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
72640         [BZ #14117]
72641         * sysdeps/i386/fpu/bits/fenv.h: Removed.
72642         * sysdeps/i386/fpu/Implies: New file.
72643         * sysdeps/x86_64/fpu/Implies: Likewise.
72644         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
72645         * sysdeps/x86/fpu/bits/fenv.h: This.
72647         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
72648         __SSE_MATH__.
72650 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
72652         [BZ #14134]
72653         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
72654         character 0xffff that matches the last element of the
72655         conversion table.
72657 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72659         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
72660         fmodl commit.
72662 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72664         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
72665         values higher than 25.6283.
72667 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72669         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
72670         subnormal exponent extraction and add some __builtin_expect.
72671         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
72672         Fix for subnormal mantissa calculation.
72674 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
72676         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
72677         cpu2 is -1 and errno is not ENOSYS.
72679 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
72681         [BZ #14117]
72682         * sysdeps/i386/i486/bits/string.h: Renamed to ...
72683         * sysdeps/x86/bits/string.h: This.
72684         * sysdeps/x86_64/bits/string.h: Removed.
72686         * sysdeps/i386/i486/bits/string.h: Define inline functions only
72687         if not compiling for x86-64, but compiling for >= i486.
72689         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
72690         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
72692         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
72693         New macro from Linux kernel 3.4.0.
72694         (FP_XSTATE_MAGIC2): Likewise.
72695         (FP_XSTATE_MAGIC2_SIZE): Likewise.
72696         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
72697         (struct _fpx_sw_bytes): New struct.
72698         (struct _xsave_hdr): Likewise.
72699         (struct _ymmh_state): Likewise.
72700         (struct _xstate): Likewise.
72702         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
72703         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
72704         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
72705         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
72706         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
72707         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
72709         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
72710         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
72711         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
72712         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
72713         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
72714         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
72716 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72718         [BZ #13743]
72719         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
72720         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
72721         (sysdep_headers): Include sys/platform/ppc.h.
72722         * sysdeps/powerpc/test-gettimebase.c: Test for
72723         __ppc_get_timebase() to catch future ISA opcode/insn changes.
72724         * manual/Makefile (appendices): Include platform.texi.
72725         * manual/contrib.texi (Contributors): Update @node pointers.
72726         * manual/maint.texi (Maintenance): Likewise.
72727         (Platform): New node.
72728         * manual/platform.texi: New file.  Document the new features.
72730 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72731             Jakub Jelinek  <jakub@redhat.com>
72733         [BZ #14188]
72734         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
72735         where __builtin_expect is unavailable.
72737 2012-06-03  David S. Miller  <davem@davemloft.net>
72739         * stdlib/longlong.h: Updated from GCC.
72741 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
72743         [BZ #14042]
72744         * sysdeps/powerpc/powerpc32/mcount.c: New file.
72745         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
72746         __mcount_internal.
72747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72748         (GLIBC_2.16): Likewise.
72750 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72752         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
72754 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
72757         (default-abi): New variable.
72758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
72759         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
72760         variable.
72761         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
72762         Likewise.
72763         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
72764         Likewise.
72765         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
72766         Likewise.
72768         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
72769         definition.  Document in comment.
72771 2012-06-01  David S. Miller  <davem@davemloft.net>
72773         * stdlib/longlong.h: Updated from GCC.
72775 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72777         [BZ #14117]
72778         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
72779         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
72780         sys/debugreg.h sys/io.h here.
72781         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
72782         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
72783         sys/io.h.
72784         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
72785         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
72786         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
72787         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
72788         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
72789         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
72791         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
72792         Define only if __x86_64__ is defined.
72794 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72796         [BZ #14048]
72797         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
72798         Use int64_t for variable i.
72799         * math/libm-test.inc (fmod_test): Add more tests.
72801         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
72802         z computation is not scheduled after fetestexcept.
72803         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
72804         Use math_force_eval instead of asm to ensure calculation scheduled
72805         before exception test.
72806         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
72807         Ensure a1 + u.d computation is not scheduled after fetestexcept.
72809 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
72811         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
72812         computation is not scheduled after fetestexcept.
72814 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72816         [BZ #14117]
72817         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
72818         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
72820 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72822         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
72823         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72825 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72827         [BZ #14117]
72828         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
72829         <bits/wordsize.h>.
72830         (__WCHAR_MIN): Support __WORDSIZE == 64.
72831         (__WCHAR_MAX): Likewise.
72833         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
72834         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
72836         [BZ #14183]
72837         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
72838         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
72840         [BZ #14117]
72841         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
72842         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
72844         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
72845         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
72847         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
72848         Defined to 1 if __x86_64__ isn't defined.
72849         (_STAT_VER_LINUX_OLD): New.
72850         (st_atime): Remove duplicate.
72851         (st_mtime): Likewise.
72852         (st_ctime): Likewise.
72854 2012-05-31  David S. Miller  <davem@davemloft.net>
72856         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
72857         entries.
72859 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
72861         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
72862         gen-libm-test.pl.
72864         [BZ #14132]
72865         * elf/dl-reloc.c: Include <_itoa.h>.
72866         (_dl_reloc_bad_type): Remove use of INTUSE.
72867         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
72868         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
72869         * stdio-common/psiginfo.c (psiginfo): Likewise.
72870         * stdio-common/psignal.c (psignal): Likewise.
72871         * string/strsignal.c (strsignal): Likewise.
72872         * include/signal.h (_sys_siglist): Declare hidden proto.
72873         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
72874         INTVARDEF with libc_hidden_data_def.
72875         * stdio-common/itoa-udigits.c: Likewise.
72876         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
72877         (_itoa_lower_digits_internal): Remove declaration.
72878         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
72879         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
72880         (_sys_sigabbrev_internal): Remove aliases.
72881         (_sys_siglist): Define hidden alias.
72883 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
72885         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72886         bits/sysctl.h.
72888 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72890         [BZ #14117]
72891         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
72892         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
72894         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
72895         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
72896         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
72897         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
72898         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
72899         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
72901         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
72902         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
72903         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
72905         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
72906         with __addr.
72907         (insw): Likewise.
72908         (insl): Likewise.
72909         (outsb): Likewise.
72910         (outsw): Likewise.
72911         (outsl): Likewise.
72913         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
72914         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
72915         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
72917         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
72918         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
72919         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
72920         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
72921         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
72922         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
72924         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
72925         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
72927         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
72928         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
72930         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
72931         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
72932         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
72934         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
72935         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
72936         to ...
72937         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
72939         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
72940         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
72941         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
72943         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
72944         for x86-64.
72945         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
72947 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
72949         * math/math.h (M_El): Use two more decimal places.
72950         (M_LOG2El): Likewise.
72951         (M_LOG10El): Likewise.
72952         (M_LN2l): Likewise.
72953         (M_LN10l): Likewise.
72954         (M_PIl): Likewise.
72955         (M_PI_2l): Likewise.
72956         (M_PI_4l): Likewise.
72957         (M_1_PIl): Likewise.
72958         (M_2_PIl): Likewise.
72959         (M_2_SQRTPIl): Likewise.
72960         (M_SQRT2l): Likewise.
72961         (M_SQRT1_2l): Likewise.
72963 2012-05-31  David S. Miller  <davem@davemloft.net>
72965         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
72966         values between float registers.
72967         * sysdeps/sparc/sparc64/memset.S: Likewise.
72968         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72970 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
72972         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
72973         -D_FORTIFY_SOURCE=1.
72974         (CPPFLAGS-tst-longjmp_chk.c): Define.
72975         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
72976         (CPPFLAGS-tst-longjmp_chk2.c): Define.
72977         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
72978         CFLAGS-tst-wchar-h.c.
72980 2012-05-31  Marek Polacek  <polacek@redhat.com>
72982         [BZ #14132]
72983         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
72984         __endmntent_internal): Remove declaration.
72985         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
72986         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
72987         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
72989 2012-05-30  David S. Miller  <davem@davemloft.net>
72991         * sysdeps/sparc/sparc32/soft-fp/q_util.c
72992         (___Q_simulate_exceptions): Use real FP ops rather than writing
72993         into the %fsr.
72994         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
72995         Likewise.
72997 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72999         [BZ #14117]
73000         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
73001         * sysdeps/x86/bits/xtitypes.h: This.
73003         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
73004         * sysdeps/x86/bits/wordsize.h: This.
73006         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
73007         * sysdeps/x86/bits/huge_vall.h: This.
73009         * sysdeps/i386/bits/select.h: Removed.
73010         * sysdeps/x86_64/bits/select.h: Renamed to ...
73011         * sysdeps/x86/bits/select.h: This.
73013         * sysdeps/i386/bits/setjmp.h: Removed.
73014         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
73015         * sysdeps/x86/bits/setjmp.h: This.
73017         * sysdeps/i386/bits/mathdef.h: Removed.
73018         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
73019         * sysdeps/x86/bits/mathdef.h: This.
73021 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
73023         [BZ #14132]
73024         * include/sys/socket.h (__connect_internal)
73025         (__libc_sa_len_internal): Remove declaration.
73026         (__connect, __libc_sa_len): Declare hidden_proto.
73027         (SA_LEN): Remove use of INTUSE.
73028         * socket/connect.c: Add libc_hidden_def.
73029         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
73030         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
73031         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
73032         alias.
73033         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
73034         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
73035         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
73036         of adding _internal alias.
73038 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73040         [BZ #14117]
73041         * sysdeps/i386/bits/link.h: Removed.
73042         * sysdeps/i386/bits/linkmap.h: Likewise.
73043         * sysdeps/x86_64/bits/link.h: Renamed to ...
73044         * sysdeps/x86/bits/link.h: This.
73045         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
73046         * sysdeps/x86/bits/linkmap.h: This.
73048         * sysdeps/i386/bits/endian.h: Removed.
73049         * sysdeps/x86_64/bits/endian.h: Renamed to ...
73050         * sysdeps/x86/bits/endian.h: This.
73052         * sysdeps/i386/bits/byteswap.h: Removed.
73053         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73054         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
73055         * sysdeps/x86/bits/byteswap.h: This.
73056         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
73057         * sysdeps/x86/bits/byteswap-16.h: This.
73058         * sysdeps/i386/Implies: Add x86.
73059         * sysdeps/x86_64/Implies: Likewise.
73061 2012-05-30  David S. Miller  <davem@davemloft.net>
73063         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
73064         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
73065         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
73066         (FP_TRAPPING_EXCEPTIONS): Define.
73067         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
73068         (FP_TRAPPING_EXCEPTIONS): Define.
73069         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
73070         subnormals only when inexact has been signalled or underflow
73071         exceptions are enabled.
73072         (_FP_PACK_CANONICAL): Likewise.
73074 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73076         [BZ #14183]
73077         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
73078         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
73080 2012-05-30  Richard Henderson  <rth@twiddle.net>
73082         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
73083         with #ifndef NOT_IN_libc.
73085         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
73086         marked to avoid plt entry.
73088 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73090         [BZ #14112]
73091         * Makeconfig (default-abi): New macro.
73092         (abi-includes): Likewise.
73093         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
73094         $(abi-$(default-abi)-lib-soname) for soname if defined.
73095         ($(common-objpfx)gnu/lib-names.stmp): Generate from
73096         abi-variants.
73097         * Makefile (installed-stubs): Likewise.
73098         * include/stubs-biarch.h: Removed.
73099         * scripts/lib-names.awk: Only handle one library at a time.
73100         * scripts/soversions.awk: Remove WORDSIZE support.
73101         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
73102         entries.
73103         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
73104         Removed.
73105         (syscall-list-default-condition): Likewise.
73106         (syscall-list-default-condition): Likewise.
73107         (syscall-list-includes): Likewise.
73108         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
73109         syscall-list-* with abi-*.  Handle undefined abi-variants.
73110         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
73111         * sysdeps/unix/sysv/linux/i386/Implies: New file.
73112         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
73113         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
73114         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
73115         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
73116         Removed.
73117         (syscall-list-32-options): Likewise.
73118         (syscall-list-32-condition): Likewise.
73119         (syscall-list-64-options): Likewise.
73120         (syscall-list-64-condition): Likewise.
73121         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
73122         macro.
73123         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
73124         Renamed to ...
73125         (abi-*): This.
73126         (abi-64-ld-soname): New macro.
73127         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
73128         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
73129         Renamed to ...
73130         (abi-*): This.
73131         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
73132         * sysdeps/x86_64/x32/shlib-versions: Likewise.
73134 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
73136         * sysdeps/unix/sysv/linux/kernel-features.h
73137         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
73138         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
73139         include <kernel-features.h>.
73140         [!__NR_ftruncate64]: Remove conditional code.
73141         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73142         [__NR_ftruncate64]: Make code unconditional.
73143         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73144         * sysdeps/unix/sysv/linux/truncate64.c: Do not
73145         include <kernel-features.h>.
73146         [!__NR_ftruncate64]: Remove conditional code.
73147         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73148         [__NR_ftruncate64]: Make code unconditional.
73149         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
73151         include <kernel-features.h>.
73152         [!__NR_ftruncate64]: Remove conditional code.
73153         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73154         [__NR_ftruncate64]: Make code unconditional.
73155         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
73157         include <kernel-features.h>.
73158         [!__NR_ftruncate64]: Remove conditional code.
73159         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73160         [__NR_ftruncate64]: Make code unconditional.
73161         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73163         * configure.in (libc_cv_fpie): Weaken to a compile test using
73164         LIBC_TRY_CC_OPTION.
73165         * configure: Regenerated.
73167 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
73170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
73171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
73172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73173         Refreshed.
73174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
73175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
73176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
73177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
73178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
73179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73180         Refreshed.
73182 2012-05-27  David S. Miller  <davem@davemloft.net>
73184         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
73185         (___Q_zero): New.
73186         (__Q_simulate_exceptions): Return void.  Change to simulate
73187         exceptions by writing into the %fsr.
73188         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
73189         (__Qp_handle_exceptions): Likewise.
73190         (numbers): Delete.
73191         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
73192         __Qp_handle_exceptions.
73193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
73194         __Qp_handle_exceptions.
73195         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73196         as unused and give dummy FP_RND_NEAREST initializer.
73197         (FP_INHIBIT_RESULTS): Define.
73198         (___Q_simulate_exceptions): Update declaration.
73199         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
73200         formatting.
73201         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73202         as unused and give dummy FP_RND_NEAREST initializer.
73203         (__Qp_handle_exceptions): Update declaration.
73204         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
73205         formatting.
73207 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
73209         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
73210         the temporary FPU control word.
73211         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
73212         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
73213         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
73214         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73215         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
73216         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
73217         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
73218         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73219         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
73220         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
73221         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73223 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73225         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
73226         fields.
73228 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
73230         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
73231         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
73232         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
73233         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
73234         Likewise.
73235         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
73236         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
73237         Likewise.
73239 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
73241         * po/h.po: Update from translation team.
73243 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
73245         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
73247         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
73248         handling of denormals.
73249         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
73250         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
73251         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73252         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
73253         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73254         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
73255         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
73256         Likewise.
73258 2012-05-26  Marek Polacek  <polacek@redhat.com>
73260         [BZ #14152]
73261         * math/libm-test.inc (fma_test): Don't always expect underflow
73262         exception.
73264 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73266         [BZ #12416]
73267         * elf/tst-execstack.c: Include stackinfo.h.
73268         (do_test): Adjust test case to ensure that pthread_getattr_np
73269         behaviour remains the same after marking stack executable.
73271 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73273         * sysdeps/unix/sysv/linux/kernel-features.h
73274         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
73275         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
73276         kernel-features.h.
73277         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73278         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73279         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
73280         kernel-features.h.
73281         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73282         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73284 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
73286         * configure.in: Define the default includes to being none.
73287         * configure: Regenerated.
73289 2012-05-25  Roland McGrath  <roland@hack.frob.com>
73291         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
73292         * sysdeps/x86_64/setjmp.S: Likewise.
73293         * sysdeps/i386/bsd-setjmp.S: Likewise.
73294         * sysdeps/i386/bsd-_setjmp.S: Likewise.
73295         * sysdeps/i386/setjmp.S: Likewise.
73296         * sysdeps/i386/__longjmp.S: Likewise.
73297         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73298         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
73300         * include/stap-probe.h: New file.
73301         * configure.in: Handle --enable-systemtap.
73302         * configure: Regenerated.
73303         * config.h.in (USE_STAP_PROBE): New #undef.
73304         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
73305         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
73306         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
73308 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73310         [BZ #13717]
73311         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73312         to 2.4.0 where earlier.
73313         * sysdeps/unix/sysv/linux/configure: Regenerated.
73314         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
73315         <kernel-features.h>.
73316         [__ASSUME_32BITUIDS]: Make code unconditional.
73317         [!__ASSUME_32BITUIDS]: Remove conditional code.
73318         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
73319         <kernel-features.h>.
73320         [__ASSUME_32BITUIDS]: Make code unconditional.
73321         [!__ASSUME_32BITUIDS]: Remove conditional code.
73322         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
73323         [__ASSUME_32BITUIDS]: Make code unconditional.
73324         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
73325         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/i386/lchown.c: Do not include
73354         <kernel-features.h>.
73355         [__ASSUME_32BITUIDS]: Make code unconditional.
73356         [!__ASSUME_32BITUIDS]: Remove conditional code.
73357         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
73358         <kernel-features.h>.
73359         [__ASSUME_32BITUIDS]: Make code unconditional.
73360         [!__ASSUME_32BITUIDS]: Remove conditional code.
73361         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
73362         <kernel-features.h>.
73363         [__ASSUME_32BITUIDS]: Make code unconditional.
73364         [!__ASSUME_32BITUIDS]: Remove conditional code.
73365         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
73366         <kernel-features.h>.
73367         [__NR_setresgid] (__setresgid): Do not declare.
73368         [__ASSUME_32BITUIDS]: Make code unconditional.
73369         [!__ASSUME_32BITUIDS]: Remove conditional code.
73370         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
73371         <kernel-features.h>.
73372         [__NR_setresuid] (__setresuid): Do not declare.
73373         [__ASSUME_32BITUIDS]: Make code unconditional.
73374         [!__ASSUME_32BITUIDS]: Remove conditional code.
73375         * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.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/i386/setgid.c: Do not include
73384         <kernel-features.h>.
73385         [__ASSUME_32BITUIDS]: Make code unconditional.
73386         [!__ASSUME_32BITUIDS]: Remove conditional code.
73387         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
73388         <kernel-features.h>.
73389         [__ASSUME_32BITUIDS]: Make code unconditional.
73390         [!__ASSUME_32BITUIDS]: Remove conditional code.
73391         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
73392         <kernel-features.h>.
73393         [__ASSUME_32BITUIDS]: Make code unconditional.
73394         [!__ASSUME_32BITUIDS]: Remove conditional code.
73395         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
73396         <kernel-features.h>.
73397         [__ASSUME_32BITUIDS]: Make code unconditional.
73398         [!__ASSUME_32BITUIDS]: Remove conditional code.
73399         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
73400         <kernel-features.h>.
73401         [__ASSUME_32BITUIDS]: Make code unconditional.
73402         [!__ASSUME_32BITUIDS]: Remove conditional code.
73403         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
73404         <kernel-features.h>.
73405         [__ASSUME_32BITUIDS]: Make code unconditional.
73406         [!__ASSUME_32BITUIDS]: Remove conditional code.
73407         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
73408         <kernel-features.h>.
73409         [__ASSUME_32BITUIDS]: Make code unconditional.
73410         [!__ASSUME_32BITUIDS]: Remove conditional code.
73411         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
73412         <kernel-features.h>.
73413         [__ASSUME_32BITUIDS]: Make code unconditional.
73414         [!__ASSUME_32BITUIDS]: Remove conditional code.
73415         * sysdeps/unix/sysv/linux/kernel-features.h
73416         (__ASSUME_SETRESUID_SYSCALL): Remove.
73417         (__ASSUME_SETRESGID_SYSCALL): Likewise.
73418         (__ASSUME_32BITUIDS): Likewise.
73419         (__ASSUME_LDT_WORKS): Likewise.
73420         (__ASSUME_O_DIRECTORY): Likewise.
73421         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
73422         architecture but not kernel version.
73423         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
73424         (__ASSUME_MMAP2_SYSCALL): Likewise.
73425         (__ASSUME_STAT64_SYSCALL): Likewise.
73426         (__ASSUME_IPC64): Likewise.
73427         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
73428         <kernel-features.h>.
73429         [__ASSUME_32BITUIDS]: Make code unconditional.
73430         [!__ASSUME_32BITUIDS]: Remove conditional code.
73431         * sysdeps/unix/sysv/linux/opendir.c: Do not include
73432         <kernel-features.h>.
73433         [__ASSUME_O_DIRECTORY]: Make code unconditional.
73434         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
73435         132096]: Remove conditional code.
73436         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
73437         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
73438         <kernel-features.h>.
73439         [__ASSUME_32BITUIDS]: Make code unconditional.
73440         [!__ASSUME_32BITUIDS]: Remove conditional code.
73441         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
73442         <kernel-features.h>.
73443         [__ASSUME_32BITUIDS]: Make code unconditional.
73444         [!__ASSUME_32BITUIDS]: Remove conditional code.
73445         * sysdeps/unix/sysv/linux/setegid.c: Do not include
73446         <kernel-features.h>.
73447         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
73448         unconditional.
73449         (__setresgid): Do not declare.
73450         [__ASSUME_32BITUIDS]: Make code unconditional.
73451         [!__ASSUME_32BITUIDS]: Remove conditional code.
73452         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
73453         <kernel-features.h>.
73454         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
73455         unconditional.
73456         (__setresuid): Do not declare.
73457         [__ASSUME_32BITUIDS]: Make code unconditional.
73458         [!__ASSUME_32BITUIDS]: Remove conditional code.
73459         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
73460         <kernel-features.h>.
73461         [__ASSUME_32BITUIDS]: Make code unconditional.
73462         [!__ASSUME_32BITUIDS]: Remove conditional code.
73463         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
73464         <kernel-features.h>.
73465         [__ASSUME_32BITUIDS]: Make code unconditional.
73466         [!__ASSUME_32BITUIDS]: Remove conditional code.
73468 2012-05-25  Richard Henderson  <rth@twiddle.net>
73470         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
73471         dl_hwcap to ifunc resolver.
73472         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
73473         elf_ifunc_invoke.
73474         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
73475         dl_hwcap to ifunc resolver.
73476         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
73478 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73480         [BZ #14153]
73481         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
73482         for |x| <= 2**-26, not 2**-57.
73483         * math/libm-test.inc (acos_test): Do not allow spurious underflow
73484         exception.
73486 2012-05-24  Jeff Law  <law@redhat.com>
73488         * stdio-common/Makefile (tests): Add bug25.
73489         * stdio-common/bug25.c: New test.
73491 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73493         [BZ #13576]
73494         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
73495         multiple of MALLOC_ALIGNMENT in size.
73496         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
73498 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73500         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
73501         Require >= 256.
73502         (FILENAME_MAX): Use macro-int-constant.
73503         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
73504         (_IOFBF): Use macro-int-constant.
73505         (_IOLBF): Likewise.
73506         (_IONBF): Likewise.
73507         (SEEK_CUR): Likewise.
73508         (SEEK_END): Likewise.
73509         (SEEK_SET): Likewise.
73510         (TMP_MAX): Likewise.
73511         (EOF): Use macro-int-constant.  Require < 0.
73512         (NULL): Use macro-constant.  Require == 0.
73513         (stdin): Require type to be FILE *.
73514         (stdout): Likewise.
73515         (stderr): Likewise.
73516         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
73517         macro-int-constant.
73518         (EXIT_SUCCESS): Likewise.
73519         (NULL): Use macro-constant.  Require == 0.
73520         (RAND_MAX): Use macro-int-constant.
73521         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
73522         [C99-based standards] (strtof): Require function.
73523         [C99-based standards] (strtold): Likewise.
73524         [C99-based standards] (strtoll): Likewise.
73525         [C99-based standards] (strtoull): Likewise.
73526         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73527         [ISO || ISO99 || ISO11] (limits.h): Likewise.
73528         [ISO || ISO99 || ISO11] (math.h): Likewise.
73529         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
73530         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73531         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73533 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
73535         [BZ #14132]
73536         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
73537         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
73538         * intl/dgettext.c (DCGETTEXT): Likewise.
73539         * intl/gettext.c (DCGETTEXT): Likewise.
73540         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
73541         * posix/regex_internal.h (gettext): Likewise.
73542         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
73543         Remove declaration.
73544         * include/argz.h (__argz_count_internal)
73545         (__argz_stringify_internal): Remove declaration.
73546         (__argz_count, __argz_stringify): Declare hidden proto.
73547         * intl/dcgettext.c: Remove use of INTDEF.
73548         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
73549         * string/argz-stringify.c: Likewise.
73550         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73551         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73552         Declare hidden proto.
73553         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73554         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73555         Declare hidden proto.
73556         * include/stdio.h (__asprintf_internal): Don't declare.
73557         (__asprintf): Don't define as macro.  Declare hidden proto.
73558         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
73559         (__fsetlocking): Declare hidden proto.
73560         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
73561         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
73562         hidden proto.
73563         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
73564         (_IO_setlinebuf): Remove use of INTUSE.
73565         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
73566         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
73567         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
73568         Remove declaration.
73569         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
73570         (_IO_do_flush): Remove use of INTUSE.
73571         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
73572         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
73573         (_IO_adjust_column, _IO_least_wmarker)
73574         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
73575         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
73576         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
73577         (_IO_default_doallocate, _IO_wdefault_doallocate)
73578         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
73579         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
73580         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
73581         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
73582         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
73583         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
73584         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
73585         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
73586         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
73587         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
73588         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
73589         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
73590         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
73591         proto.
73592         (_IO_flush_all_internal, _IO_adjust_column_internal)
73593         (_IO_default_uflow_internal, _IO_default_finish_internal)
73594         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
73595         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
73596         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
73597         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
73598         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
73599         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
73600         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
73601         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
73602         (_IO_file_close_internal, _IO_file_close_it_internal)
73603         (_IO_file_underflow_internal, _IO_file_overflow_internal)
73604         (_IO_file_init_internal, _IO_file_attach_internal)
73605         (_IO_file_fopen_internal, _IO_file_read_internal)
73606         (_IO_file_sync_internal, _IO_file_seek_internal)
73607         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
73608         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
73609         (_IO_str_underflow_internal, _IO_str_overflow_internal)
73610         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
73611         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
73612         (_IO_list_all_internal, _IO_link_in_internal)
73613         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
73614         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
73615         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
73616         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
73617         (_IO_do_write_internal, _IO_padn_internal)
73618         (_IO_getline_info_internal, _IO_getline_internal)
73619         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
73620         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
73621         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
73622         (_IO_vfscanf_internal, _IO_vfprintf_internal)
73623         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
73624         (_IO_init_internal, _IO_un_link_internal): Don't declare.
73625         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
73626         with libc_hidden_ver, remove use of INTUSE.
73627         * libio/genops.c: Likewise.
73628         * libio/freopen.c: Likewise.
73629         * libio/freopen64.c: Likewise.
73630         * libio/iofclose.c: Likewise.
73631         * libio/iofdopen.c: Likewise.
73632         * libio/iofflush.c: Likewise.
73633         * libio/iofflush_u.c: Likewise.
73634         * libio/iofgets.c: Likewise.
73635         * libio/iofgets_u.c: Likewise.
73636         * libio/iofopen.c: Likewise.
73637         * libio/iofopncook.c: Likewise.
73638         * libio/iofread.c: Likewise.
73639         * libio/iofread_u.c: Likewise.
73640         * libio/ioftell.c: Likewise.
73641         * libio/iofwrite.c: Likewise.
73642         * libio/iogetline.c: Likewise.
73643         * libio/iogets.c: Likewise.
73644         * libio/iogetwline.c: Likewise.
73645         * libio/iopadn.c: Likewise.
73646         * libio/iopopen.c: Likewise.
73647         * libio/ioseekoff.c: Likewise.
73648         * libio/ioseekpos.c: Likewise.
73649         * libio/iosetbuffer.c: Likewise.
73650         * libio/iosetvbuf.c: Likewise.
73651         * libio/ioungetc.c: Likewise.
73652         * libio/ioungetwc.c: Likewise.
73653         * libio/iovdprintf.c: Likewise.
73654         * libio/iovsprintf.c: Likewise.
73655         * libio/iovsscanf.c: Likewise.
73656         * libio/memstream.c: Likewise.
73657         * libio/obprintf.c: Likewise.
73658         * libio/oldfileops.c: Likewise.
73659         * libio/oldiofclose.c: Likewise.
73660         * libio/oldiofdopen.c: Likewise.
73661         * libio/oldiofopen.c: Likewise.
73662         * libio/oldiopopen.c: Likewise.
73663         * libio/oldstdfiles.c: Likewise.
73664         * libio/putc.c: Likewise.
73665         * libio/setbuf.c: Likewise.
73666         * libio/setlinebuf.c: Likewise.
73667         * libio/stdfiles.c: Likewise.
73668         * libio/strops.c: Likewise.
73669         * libio/vasprintf.c: Likewise.
73670         * libio/vscanf.c: Likewise.
73671         * libio/vsnprintf.c: Likewise.
73672         * libio/vswprintf.c: Likewise.
73673         * libio/wfiledoalloc.c: Likewise.
73674         * libio/wfileops.c: Likewise.
73675         * libio/wgenops.c: Likewise.
73676         * libio/wmemstream.c: Likewise.
73677         * libio/wstrops.c: Likewise.
73678         * libio/__fpurge.c: Likewise.
73679         * libio/__fsetlocking.c: Likewise.
73680         * assert/assert.c: Likewise.
73681         * debug/fgets_chk.c: Likewise.
73682         * debug/fgets_u_chk.c: Likewise.
73683         * debug/fread_chk.c: Likewise.
73684         * debug/fread_u_chk.c: Likewise.
73685         * debug/gets_chk.c: Likewise.
73686         * debug/obprintf_chk.c: Likewise.
73687         * debug/vasprintf_chk.c: Likewise.
73688         * debug/vdprintf_chk.c: Likewise.
73689         * debug/vsnprintf_chk.c: Likewise.
73690         * debug/vsprintf_chk.c: Likewise.
73691         * malloc/mtrace.c: Likewise.
73692         * misc/error.c: Likewise.
73693         * misc/syslog.c: Likewise.
73694         * stdio-common/asprintf.c: Likewise.
73695         * stdio-common/fxprintf.c: Likewise.
73696         * stdio-common/getw.c: Likewise.
73697         * stdio-common/isoc99_fscanf.c: Likewise.
73698         * stdio-common/isoc99_scanf.c: Likewise.
73699         * stdio-common/isoc99_vfscanf.c: Likewise.
73700         * stdio-common/isoc99_vscanf.c: Likewise.
73701         * stdio-common/isoc99_vsscanf.c: Likewise.
73702         * stdio-common/printf-prs.c: Likewise.
73703         * stdio-common/printf_fp.c: Likewise.
73704         * stdio-common/printf_fphex.c: Likewise.
73705         * stdio-common/printf_size.c: Likewise.
73706         * stdio-common/putw.c: Likewise.
73707         * stdio-common/scanf.c: Likewise.
73708         * stdio-common/sprintf.c: Likewise.
73709         * stdio-common/tmpfile.c: Likewise.
73710         * stdio-common/vfprintf.c: Likewise.
73711         * stdio-common/vfscanf.c: Likewise.
73712         * stdlib/strfmon_l.c: Likewise.
73713         * sunrpc/openchild.c: Likewise.
73714         * sunrpc/xdr_stdio.c: Likewise.
73715         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
73716         * sysdeps/mach/hurd/tmpfile.c: Likewise.
73718 2012-05-24  Roland McGrath  <roland@hack.frob.com>
73720         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73722         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
73723         in the third column, to generate for the shared library an IFUNC
73724         that uses _dl_vdso_vsym.
73725         * Makerules (COMPILE.c, compile-stdin.c): New variables.
73726         * Makeconfig (object-suffixes-noshared): New variable.
73728         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
73729         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
73730         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
73731         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
73733         [BZ #14132]
73734         * include/sys/time.h (__gettimeofday): Remove macro.
73735         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
73736         * time/gettimeofday.c (__gettimeofday): Remove #undef.
73737         Remove INTDEF.
73738         (__gettimeofday): Add libc_hidden_def.
73739         (gettimeofday): Add libc_hidden_weak.
73740         * sysdeps/mach/gettimeofday.c: Likewise.
73741         * sysdeps/posix/gettimeofday.c: Likewise.
73742         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
73743         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
73744         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
73745         (__gettimeofday_internal): Remove strong_alias.
73746         (__gettimeofday): Add libc_hidden_def.
73747         (gettimeofday): Add libc_hidden_weak.
73748         * sysdeps/unix/syscalls.list (gettimeofday):
73749         Remove __gettimeofday_internal alias.
73751 2012-05-24  Daniel Jacobowitz  <drow@false.org>
73752             H.J. Lu  <hongjiu.lu@intel.com>
73754         [BZ #12495]
73755         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
73756         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
73757         (largebin_index_32_big): New.
73758         (largebin_index): Use it for 16-byte alignment.
73759         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
73760         correction with front_misalign.
73762 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
73765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
73766         Likewise.
73767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
73768         Likewise.
73769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
73770         Likewise.
73771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
73772         Likewise.
73773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
73774         Likewise.
73775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
73776         Likewise.
73777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
73778         Likewise.
73779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
73780         Likewise.
73781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
73782         Likewise.
73783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
73784         Likewise.
73785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
73786         Likewise.
73787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
73788         Likewise.
73790         * scripts/data/c++-types-x32-linux-gnu.data: New file.
73791         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
73793 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73795         [BZ #10846]
73796         [BZ #14036]
73797         * math/libm-test.inc (exp_test): Add test from bug 14036.
73798         (pow_test): Add test from bug 10846.
73800         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
73801         and other flags.
73802         (special_function): Do not include flags in test name.
73803         (parse_args): Likewise.
73804         * sysdeps/i386/fpu/libm-test-ulps: Update.
73805         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73806         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
73807         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
73808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73810         * math/gen-libm-test.pl (%beautify): Add entries for underflow
73811         exceptions.
73812         * math/libm-test.inc ("Philosophy"): Update comment about
73813         exception testing.
73814         (UNDERFLOW_EXCEPTION): New macro.
73815         (UNDERFLOW_EXCEPTION_OK): Likewise.
73816         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
73817         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
73818         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
73819         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
73820         (INVALID_EXCEPTION_OK): Update value.
73821         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73822         (OVERFLOW_EXCEPTION_OK): Likewise.
73823         (IGNORE_ZERO_INF_SIGN): Likewise.
73824         (test_exceptions): Handle underflow exceptions.
73825         (acos_test): Update for underflow exception expectations.
73826         (cexp_test): Likewise.
73827         (clog_test): Likewise.
73828         (clog10_test): Likewise.
73829         (csqrt_test): Likewise.
73830         (ctan_test): Likewise.
73831         (ctanh_test): Likewise.
73832         (exp_test): Likewise.
73833         (exp10_test): Likewise.
73834         (exp2_test): Likewise.
73835         (expm1_test): Likewise.
73836         (fma_test): Likewise.
73837         (j0_test): Likewise.
73838         (jn_test): Likewise.
73839         (nexttoward_test): Likewise.
73840         (pow_test): Likewise.
73841         (scalbn_test): Likewise.
73842         (scalbln_test): Likewise.
73843         (tan_test): Likewise.
73844         (y1_test): Likewise.
73845         * sysdeps/i386/fpu/libm-test-ulps: Update.
73846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73848 2012-05-23  David S. Miller  <davem@davemloft.net>
73850         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73851         (__libc_sigaction): Remove unused local variables.
73853 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73855         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
73857 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
73859         mktime: avoid signed integer overflow
73860         * time/mktime.c (__mktime_internal): Do not mishandle the case
73861         where diff == INT_MIN.
73863         mktime: simplify computation of average
73864         * time/mktime.c (ranged_convert): Use new time_t_avg function
73865         instead of rolling our own (probably-slower) code.
73867         mktime: do not assume signed right shift propagates sign bit
73868         * time/mktime.c (isdst_differ): New static function.
73869         (__mktime_internal): No need to normalize tm_isdst now.
73870         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
73871         tm_isdst values.
73873         mktime: merge another wrapv change from gnulib
73874         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
73875         from some compilers.
73877         mktime: remove incorrect attempt at unusual arithmetics
73878         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
73879         The code didn't really work on such machines anyway.
73880         (TYPE_MINIMUM): Assume two's complement.
73881         (twos_complement_arithmetic): Verify that long_int and time_t
73882         are two's complement (or unsigned, in the latter case).
73884         mktime: check signed shifts on long_int and time_t, too
73885         * time/mktime.c (SHR): Check that shifts work as desired
73886         on the types long_int and time_t too, as SHR is used on
73887         such types.
73889         mktime: do not assume 'long' is wide enough
73890         * time/mktime.c (verify): Move decl up.
73891         (long_int): New type.
73892         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
73893         to remove assumption in the code that 'long' is wide enough to
73894         store year values.  This assumption is not true on x32 and on
73895         some non-glibc platforms.
73897         mktime: merge wrapv change from gnulib
73898         * time/mktime.c (WRAPV): New macro.
73899         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
73900         (guess_time_tm, __mktime_internal): Do not assume that signed
73901         integer overflow wraps around; modern compilers generate code
73902         where this assumption is no longer valid.
73904 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73906         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73907         Replace "jmp L(pseudo_end)" with "ret".
73908         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
73909         Likewise.
73911 2012-05-23  Andreas Jaeger  <aj@suse.de>
73913         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
73914         * sysdeps/unix/sysv/linux/poll.c: Remove file.
73916 2012-05-23  Andreas Jaeger  <aj@suse.de>
73917             Maximilian Attems  <max@stro.at>
73919         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
73920         New macros.
73922 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73924         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
73925         code so that pseudo_end is just ret and the stack pointer is
73926         correct also for static library in error case.
73928 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
73930         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
73931         move to syscalls.list.
73932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
73933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
73934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
73935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
73937         * manual/install.texi (Running make install): Do not mention Linux
73938         kernel version for which pt_chown is not needed.
73939         (Linux): Do not mention problems with nscd with 2.0 kernels.
73940         * INSTALL: Regenerated.
73942 2012-05-23  Andreas Jaeger  <aj@suse.de>
73944         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
73945         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
73946         macro.
73947         * sysdeps/unix/sysv/linux/s390/bits/mman.h
73948         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73949         * sysdeps/unix/sysv/linux/sh/bits/mman.h
73950         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73951         * sysdeps/unix/sysv/linux/i386/bits/mman.h
73952         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73953         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
73954         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73955         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
73956         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73957         * sysdeps/unix/sysv/linux/bits/in.h
73958         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
73960 2012-05-22  Roland McGrath  <roland@hack.frob.com>
73962         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
73963         (PREPARE_VERSION): Just use assert instead, it will be elided
73964         under [NDEBUG] anyway.
73966 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73968         * sysdeps/unix/sysv/linux/Makefile: Include
73969         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
73970         (sysdep_routines): Remove sysctl.
73971         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
73972         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
73973         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
73974         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
73975         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
73977 2012-05-22  Andreas Jaeger  <aj@suse.de>
73979         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
73980         that pseudo_end is just ret and the stack pointer is correct also
73981         for static library in error case.
73983 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
73985         [BZ #14122]
73986         * nss/nsswitch.c (defconfig_entries): New variable.
73987         (__nss_database_lookup): Don't leak defconfig entries.
73988         (nss_parse_service_list): Don't leak on error paths.
73989         (free_database_entries): New function.
73990         (free_defconfig): New function.
73991         (free_mem): Move common code to free_database_entries.
73993 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73995         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
73996         Add arch_prctl.
73997         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
73999         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
74000         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
74001         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
74002         New macro.
74003         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
74004         (INTERNAL_SYSCALL_TYPES): Likewise.
74005         (LOAD_ARGS_TYPES_[1-6]): Likewise.
74006         (LOAD_REGS_TYPES_[1-6]): Likewise.
74007         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
74008         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
74010 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74012         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
74013         copysignl for GLIBC_2_0.
74014         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
74015         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
74016         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
74017         logbl for GLIBC_2_0.
74018         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
74019         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
74021 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74023         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
74024         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74026         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74027         Use "neg %eax".
74029         * time/mktime.c: Update copyright years.
74031 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
74033         mktime: merge comment-quoting-style change from gnulib
74034         * time/mktime.c: Quote 'like this' in comments.
74035         The GNU coding standards suggest that we no longer quote `like this',
74036         as "`" and "'" are typically rendered asymmetrically nowadays.
74037         The typical gnulib style is to quote 'like this' when quoting
74038         code, and "like this" when quoting English.
74040         * time/mktime.c (compile-command): Add "-I.".
74042         mktime: merge mktime-internal.h change from gnulib
74043         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
74045         mktime: merge time_r change from gnulib
74046         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
74048         mktime: merge DEBUG change from gnulib
74049         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
74050         case system <time.h> has a #define.
74052         mktime: merge <sys/types.h> change from gnulib
74053         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
74054         since <time.t> is now guaranteed to define time_t.
74056         mktime: merge HAVE_CONFIG_H change from gnulib
74057         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
74059 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74061         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74062         Use "neg %eax".
74064         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
74065         __rlim_t cast.
74066         (struct rusage): Use anonymous union to pad each field to
74067         __syscall_slong_t.
74069 2012-05-21  David S. Miller  <davem@davemloft.net>
74071         * Makefules (o-iterator): Remove .s cases.
74072         (compile-command.s): Delete.
74073         (COMPILE.s): Delete.
74074         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
74076 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
74078         * configure.in (libc_cv_predef_stack_protector): Only consider
74079         "foobar" and "__stack_chk_fail" lines in libc_undefs.
74080         * configure: Regenerated.
74082 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74084         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74085         New macro.  Use R*LP on int and pointer.
74086         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
74087         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
74088         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
74089         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
74091         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
74092         [__WORDSIZE_TIME64_COMPAT32] instead of
74093         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
74094         (struct utmp): Likewise.
74095         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
74096         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
74097         Renamed to ...
74098         (__WORDSIZE_TIME64_COMPAT32): This.
74099         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
74100         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
74101         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
74102         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
74103         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
74104         (__WORDSIZE_TIME64_COMPAT32): New macro.
74106 2012-05-21  Andreas Jaeger  <aj@suse.de>
74108         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
74109         only if [SHARED]. Add prototype for __wcschr_ia32.
74111 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74113         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
74114         of %rbp unmolested in the jmp_buf while mangling the low bits.
74115         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
74116         unmolested high bits of %rbp while demangling the low bits.
74117         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74119 2012-05-21  Andreas Jaeger  <aj@suse.de>
74121         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
74122         * sunrpc/svc_simple.c: Use it for registerrpc.
74123         * sunrpc/xcrypt.c: Use it for passwd2des.
74125         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
74127 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74129         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
74130         Don't define if [__SYSCALL_WORDSIZE != 32].
74131         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
74132         New macro.
74134 2012-05-21  Bruno Haible  <bruno@clisp.org>
74135             Andreas Jaeger  <aj@suse.de>
74137         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
74138         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
74139         inptr and inend for must_buffer_ch.
74140         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
74141         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
74142         * stdio-common/Makefile (tests): Remove bug15.
74143         (bug15-ENV): Remove macro.
74144         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
74145         anymore.
74147 2012-05-19  Andreas Jaeger  <aj@suse.de>
74148             Roland McGrath  <roland@hack.frob.com>
74150         * manual/contrib.texi: Completely rewritten. It contains now an
74151         alphabetical list of contributors and their contributions.
74153 2012-05-21  Richard Henderson  <rth@twiddle.net>
74155         * misc/getauxval.c (__getauxval): Use unsigned long int.
74156         * misc/sys/auxv.h: Include <sys/cdefs.h>.
74157         (getauxval): Use unsigned long int.
74159 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74161         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74163 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74165         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
74166         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
74167         __alignof__ (long double).
74169 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74173 2012-05-20  Richard Henderson  <rth@twiddle.net>
74175         * misc/getauxval.c: New file.
74176         * misc/sys/auxv.h: New file.
74177         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
74178         (routines): Add getauxval.
74179         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
74180         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
74181         * elf/dl-sysdep.c (_dl_auxv): Remove.
74182         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
74183         * elf/dl-support.c (_dl_auxv): New variable.
74184         (_dl_aux_init): Initialize it.
74185         * manual/startup.texi (Auxiliary Vector): New node.
74186         * sysdeps/generic/bits/hwcap.h: New file.
74187         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
74188         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
74189         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
74190         * sysdeps/sparc/sysdep.h: ... here.  Include it.
74191         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
74192         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
74193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74194         Update.
74195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
74196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
74197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
74198         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
74199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
74202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
74204 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74208 2012-05-19  David S. Miller  <davem@davemloft.net>
74210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74212 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74214         [BZ #14123]
74215         * math/s_ccosh.c: Include <float.h>
74216         (__ccosh): Avoid internal overflow calculating sinh and cosh
74217         values before multiplying by sin and cos values.
74218         * math/s_ccoshf.c: Likewise.
74219         * math/s_ccoshl.c: Likewise.
74220         * math/s_csin.c: Likewise.
74221         * math/s_csinf.c: Likewise.
74222         * math/s_csinl.c: Likewise.
74223         * math/s_csinh.c: Likewise.
74224         * math/s_csinhf.c: Likewise.
74225         * math/s_csinhl.c: Likewise.
74226         * math/libm-test.inc (ccos_test): Add more tests.
74227         (ccosh_test): Likewise.
74228         (csin_test): Likewise.
74229         (csinh_test): Likewise.
74230         * sysdeps/i386/fpu/libm-test-ulps: Update.
74231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74233 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
74235         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
74236         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
74238         * sysdeps/x86_64/x32/_itoa.h: Add comment.
74240 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74242         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
74243         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
74244         * sysdeps/powerpc/soft-fp/Versions: Likewise.
74245         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
74246         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
74247         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
74248         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
74249         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
74250         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
74251         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
74252         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
74253         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
74254         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
74255         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
74256         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
74257         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
74258         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
74259         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
74260         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
74261         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
74262         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
74263         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
74264         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
74265         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
74266         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
74267         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
74268         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
74269         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
74270         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
74271         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
74272         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
74274 2012-05-18  Andreas Jaeger  <aj@suse.de>
74276         * csu/.gitignore: Delete.
74278 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74280         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
74281         (timex): Use __syscall_slong_t.
74283 2012-05-18  Andreas Jaeger  <aj@suse.de>
74284             Carlos O'Donell  <carlos_odonell@mentor.com>
74286         * manual/install.texi (Configuring and compiling): Update
74287         description about files modified in the source directory.
74288         * INSTALL: Regenerated.
74290 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74292         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
74293         value.  Use "or" to set return value to -1.
74294         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
74295         negate return value.
74297 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74299         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
74300         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
74301         failure if the compiler has Graphite support disabled.
74302         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
74303         Likewise.
74304         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
74305         (CFLAGS-memmove.c): Likewise.
74306         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
74307         Likewise.
74309 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74311         * sysdeps/x86_64/x32/_itoa.h: New file.
74313         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
74314         getdents system call only if kernel and user dirents have the
74315         same d_ino and d_off.
74317         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74318         LLONG_MAX != LONG_MAX.
74319         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74320         (_fitoa_word): Likewise.
74322         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
74323         years.
74324         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
74325         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
74326         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
74328         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
74329         include <bits/wordsize.h>.  Check __x86_64__ instead of
74330         __WORDSIZE.
74331         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
74332         if __x86_64__ is defined.  Use anonymous union on fpstate.
74334         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
74335         anonymous union.
74337 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
74339         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
74340         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
74341         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
74342         Refer to _rtld_local_ro instead of _rtld_global_ro.
74343         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
74344         Likewise.
74345         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
74346         Likewise.
74347         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
74348         Likewise.
74349         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
74350         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
74351         of _rtld_global, and rtld_progname instead of _dl_argv[0].
74353         [BZ #10882]
74354         * sysdeps/powerpc/powerpc32/dl-machine.c
74355         (__elf_machine_runtime_setup) [PROF]: Don't reference
74356         _dl_prof_resolve.
74358 2012-05-18  Andreas Jaeger  <aj@suse.de>
74360         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
74361         function only available for GCCs before 3.4 since GCC 3.4
74362         introduced a builtin.
74363         (lrint): Likewise.
74364         (llrintf): Likewise.
74365         (llrint): Likewise.
74366         (fmaxf): Likewise.
74367         (fmax): Likewise.
74368         (fminf): Likewise.
74369         (fmin): Likewise.
74370         (rint): Likewise.
74371         (rintf): Likewise.
74372         (nearbyint): Likewise.
74373         (nearbyintf): Likewise.
74374         (ceil): Likewise.
74375         (ceilf): Likewise.
74376         (floor): Likewise.
74377         (floorf): Likewise.
74379 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74381         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
74382         on both fields and cast pointer to __syscall_ulong_t.
74384         * bits/types.h (__fsword_t): New type.
74385         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
74386         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
74387         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74388         (__FSWORD_T_TYPE): Likewise.
74389         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74390         (__FSWORD_T_TYPE): Likewise.
74391         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74392         (__FSWORD_T_TYPE): Likewise.
74393         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
74394         (__FSWORD_T_TYPE): Likewise.
74395         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
74396         __SWORD_TYPE with __fsword_t.
74397         (statfs64): Likewise.
74399 2012-05-17  David S. Miller  <davem@davemloft.net>
74401         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
74403 2012-05-17  Andreas Jaeger  <aj@suse.de>
74405         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
74406         warning.
74408 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74410         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
74412 2012-05-17  Andreas Jaeger  <aj@suse.de>
74414         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
74415         when it is used.
74417 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74419         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
74421 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74423         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
74424         * sysdeps/x86_64/tst-mallocalign1.c: New file.
74426 2012-05-17  Andreas Jaeger  <aj@suse.de>
74427             Carlos O'Donell  <carlos_odonell@mentor.com>
74429         [BZ #14059]
74430         * sysdeps/x86_64/multiarch/init-arch.h
74431         (bit_YMM_Usable): Rename to...
74432         (bit_AVX_Usable): ... this.
74433         (bit_FMA4_Usable): New macro.
74434         (bit_XMM_state): New macro.
74435         (bit_YMM_state): New macro.
74436         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
74437         [__ASSEMBLER__] (index_AVX_Usable): ... this.
74438         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
74439         (CPUID_OSXSAVE): New macro.
74440         (CPUID_AVX): New macro.
74441         (CPUID_FMA4): New macro.
74442         (index_YMM_Usable): Rename to...
74443         (index_AVX_Usable): ... this.
74444         (HAS_AVX): Use HAS_ARCH_FEATURE.
74445         (HAS_FMA4): Likewise.
74446         (HAS_YMM_USABLE): Remove.
74447         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74448         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
74449         are present.
74450         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
74451         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
74452         * sysdeps/x86_64/multiarch/Makefile: Likewise.
74453         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
74454         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
74456 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74458         * math/libm-test.c: Support platforms without multiple rounding modes.
74459         * math/bug-nextafter.c: Support platforms without FP exceptions.
74460         * math/bug-nexttoward.c: Likewise.
74461         * math/test-fenv.c: Likewise.
74462         * math/test-misc.c: Likewise.
74463         * stdlib/bug-getcontext.c: Likewise.
74465 2012-05-17  Andreas Jaeger  <aj@suse.de>
74467         * manual/examples/search.c (critter_cmp): Change signature to
74468         avoid warnings.
74469         * manual/string.texi (Collation Functions): Likewise.
74471 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74473         * bits/types.h: Fold copyright years.
74474         * bits/typesizes.h: Likewise.
74475         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
74476         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
74477         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
74478         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
74479         * time/time.h: Likewise.
74481 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
74483         [BZ #208]
74484         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
74485         in instead of returning them.  Return void.
74486         (__libc_mallinfo): Accumulate over all arenas.
74487         (__malloc_stats): Adjust for change in int_mallinfo interface.
74489 2012-05-16  Roland McGrath  <roland@hack.frob.com>
74491         [BZ #10375]
74492         * configure.in (NM): Add AC_CHECK_TOOL for it.
74493         (libc_extra_cflags): New substituted variable.
74494         Check for -fstack-protector being used implicitly.
74495         * configure: Regenerated.
74496         * config.make.in (config-extra-cflags): New variable,
74497         gets @libc_extra_cflags@.
74498         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
74500         [BZ #10375]
74501         * configure.in: Check for _FORTIFY_SOURCE being predefined.
74502         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
74503         * configure: Regenerated.
74504         * config.make.in (CPPUNDEFS): New substituted variable.
74505         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
74506         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
74507         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
74509 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74511         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
74512         (mq_attr): Use __syscall_slong_t.
74514 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74516         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
74517         Check __x86_64__ instead of __WORDSIZE.
74518         (_STAT_VER_LINUX): Likewise.
74519         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
74520         __syscall_ulong_t and __syscall_slong_t.
74521         (stat64): Likewise.
74523 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74525         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
74527 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74529         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
74531 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74533         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
74534         __syscall_ulong_t.
74536         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
74537         include <bits/wordsize.h>.  Check __x86_64__ instead of
74538         __WORDSIZE.
74539         (greg_t): Use "__extension__ long long int" if __x86_64__ is
74540         defined.
74541         (mcontext_t): Replace "unsigned long" with "unsigned long long".
74543         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
74544         include <bits/wordsize.h>.  Check __x86_64__ instead of
74545         __WORDSIZE.
74546         (user_regs_struct): Use "__extension__ unsigned long long"
74547         instead of "unsigned long" if __x86_64__ is defined.
74548         (user): Likewise.  Pad after pointer field if __ILP32__ is
74549         defined.
74551 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
74553         * configure.in (makeinfo): Require version 4.5 or later.  Allow
74554         versions 5 to 9.
74555         * configure: Regenerated.
74556         * manual/install.texi (texinfo): Increase version requirement to
74557         4.5 or later.
74558         * INSTALL: Regenerated.
74560         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
74562 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74564         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
74566         * sysdeps/x86_64/x32/ffs.c: New file.
74568         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
74569         __syscall_ulong_t.
74570         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
74571         defined.  Use __syscall_ulong_t.
74572         (shminfo): Use __syscall_ulong_t.
74573         (shm_info): Likewise.
74575         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
74576         __syscall_ulong_t.
74578         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
74579         <bits/wordsize.h>.
74580         (msgqnum_t): Use __syscall_ulong_t.
74581         (msglen_t): Likewise.
74582         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
74583         __syscall_ulong_t.
74585         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
74586         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74588         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
74590         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
74591         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
74593         * sysvipc/sys/msg.h (msgbuf): Replace long int with
74594         __syscall_slong_t.
74596         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
74597         include <bits/wordsize.h>.  Check __x86_64__ instead of
74598         __WORDSIZE.
74600         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
74601         "unsigned long long int" if __x86_64__ is defined.
74602         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
74604         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
74605         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74606         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
74608         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
74609         <stdint.h>.
74610         (GET_PC): Cast to uintptr_t first.
74611         (GET_FRAME): Likewise.
74612         (GET_STACK): Likewise.
74614         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
74615         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
74616         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
74617         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
74618         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
74619         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
74620         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
74621         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
74622         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
74623         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
74624         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
74625         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
74626         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74627         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
74628         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
74629         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
74630         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
74631         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
74632         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
74633         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
74634         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
74635         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
74636         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
74637         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
74638         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
74639         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
74640         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
74641         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
74642         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
74644 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
74646         * Makerules (+depfiles): Also collect depfiles from .oS in
74647         $(extra-objs).
74648         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
74649         .oS, $(libnldbl-routines)).
74651         * Makerules (native-compile-mkdep-flags): Define.
74652         * sunrpc/Makefile (extra-objs): Add $(addprefix
74653         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
74654         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
74655         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
74656         calling $(make-target-directory).
74658 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74660         * bits/types.h (__snseconds_t): Removed.
74661         * time/time.h (struct timespec): Replace __snseconds_t with
74662         __syscall_slong_t.
74663         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
74664         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
74665         Likewise.
74666         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74667         (__SNSECONDS_T_TYPE): Likewise.
74668         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74669         (__SNSECONDS_T_TYPE): Likewise.
74670         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74671         (__SNSECONDS_T_TYPE): Likewise.
74673 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74675         * sysdeps/mach/hurd/bits/typesizes.h
74676         (__SYSCALL_SLONG_TYPE): New macro.
74677         (__SYSCALL_ULONG_TYPE): Likewise.
74679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74681         * bits/types.h (__syscall_slong_t): New type.
74682         (__syscall_ulong_t): Likewise.
74684         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
74685         (__SYSCALL_ULONG_TYPE): Likewise.
74686         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74687         (__SYSCALL_SLONG_TYPE): Likewise.
74688         (__SYSCALL_ULONG_TYPE): Likewise.
74689         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74690         (__SYSCALL_SLONG_TYPE): Likewise.
74691         (__SYSCALL_ULONG_TYPE): Likewise.
74692         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74693         (__SYSCALL_SLONG_TYPE): Likewise.
74694         (__SYSCALL_ULONG_TYPE): Likewise.
74696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74698         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
74699         Add sigaltstack-offsets.sym.
74700         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
74701         <sigaltstack-offsets.h>.
74702         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
74703         longjmp_msg pointer.
74704         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
74705         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
74706         signal stack.
74707         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
74709 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74711         * elf/stackguard-macros.h: Remove file.
74712         * sysdeps/generic/stackguard-macros.h: New file.
74713         * sysdeps/i386/stackguard-macros.h: Likewise.
74714         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
74715         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
74716         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
74717         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
74718         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
74719         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
74720         * sysdeps/x86_64/stackguard-macros.h: Likewise.
74721         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
74722         <elf/stackguard-macros.h>.
74724         [BZ #14109]
74725         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
74726         __aligned__ in attribute.
74727         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
74728         (gregset_t): Likewise.
74730 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74732         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
74733         * sysdeps/x86_64/64/Implies-after: Here.  New file.
74734         * sysdeps/x86_64/x32/Implies-after: New file.
74736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74738         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
74739         and access return value for _dl_profile_fixup.  Use R10_LP to
74740         load frame size.
74742 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74744         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
74746 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74748         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
74749         * sysdeps/x86_64/x32/sysdep.h: New file.
74751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74753         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
74754         * sysdeps/x86_64/setjmp.S: Likewise.
74756 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74758         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
74759         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
74760         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
74761         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
74762         remove unused global constant.
74764 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
74766         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
74767         include of <not-cancel.h>.
74769 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74771         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
74773 2012-05-15  Jeff Law  <law@redhat.com>
74774             Andreas Jaeger  <aj@suse.de>
74776         [BZ #13594]
74777         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
74778         out from...
74779         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
74780         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
74781         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
74782         code changing __hst_map_handle.map.
74784 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74786         * configure.in (sysnames): Look for Implies-before and Implies-after
74787         files.
74788         * configure: Regenerated.
74790 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74792         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
74793         8-byte data alignment with LP_SIZE alignment.
74795 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74797         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
74798         into R10_LP.
74800 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74802         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
74804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74806         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
74807         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
74808         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
74809         Likewise.
74810         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74812 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74814         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
74815         (stackinfo_sub_sp): Likewise.
74817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74819         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
74820         RAX_LP.
74822 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74824         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
74825         into R*_LP.
74827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74829         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
74830         sizes into R*_LP.
74832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74834         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
74836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74838         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
74839         into R11_LP and load __x86_64_shared_cache_size_half into
74840         R8_LP.
74842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74844         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
74845         R8_LP.
74847 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74849         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
74850         logb for POWER7.
74851         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
74852         logbf for POWER7.
74853         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
74854         logbl for POWER7.
74855         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
74856         powerpc32/power7/fpu/s_logb.c via #include.
74857         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
74858         powerpc32/power7/fpu/s_logbf.c via #include.
74859         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
74860         powerpc32/power7/fpu/s_logbl.c via #include.
74862 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74864         * README.libm: Remove file.
74866 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74868         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
74869         count for x32.  Use R*_LP and omit operand-size suffix.
74871 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74873         * shlib-versions: Move x86_64-.*-linux.* entries to ...
74874         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
74875         * sysdeps/x86_64/x32/shlib-versions: New file.
74877 2012-05-14  Roland McGrath  <roland@hack.frob.com>
74879         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
74880         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
74881         Use _dl_fatal_printf instead.
74883 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74885         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
74886         set if not set by the user.  Do not allow for being unset.
74887         * sysdeps/unix/sysv/linux/configure: Regenerated.
74889 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74891         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
74892         the `q' suffix from lea and replace .quad with ASM_ADDR.
74894 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74896         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
74897         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
74898         instead of $17.
74899         (PTR_DEMANGLE): Likewise.
74901 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74903         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
74904         (LP_OP): Likewise.
74905         (ASM_ADDR): Likewise.
74906         (RAX_LP): Likewise.
74907         (RBP_LP): Likewise.
74908         (RBX_LP): Likewise.
74909         (RCX_LP): Likewise.
74910         (RDI_LP): Likewise.
74911         (RSI_LP): Likewise.
74912         (RSP_LP): Likewise.
74913         (R8_LP): Likewise.
74914         (R9_LP): Likewise.
74915         (R10_LP): Likewise.
74916         (R10_LP): Likewise.
74917         (R11_LP): Likewise.
74918         (R12_LP): Likewise.
74919         (R13_LP): Likewise.
74920         (R14_LP): Likewise.
74921         (R15_LP): Likewise.
74923 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74925         * sysdeps/x86_64/x32/dl-machine.h: New file.
74927 2012-05-14  Andreas Jaeger  <aj@suse.de>
74929         * manual/Makefile (subdir): Remove export of subdir.
74930         (all): Remove target.
74931         (.PHONY): Remove all from list.
74932         (mkinstalldirs): Remove.
74933         (.PHONY): Remove installdirs from list.
74934         ($(inst_infodir)/libc.info): Use make-target-directory.
74935         (installdirs): Remove.
74936         (subdir_%): Remove.
74937         (glibc-targets): Remove.
74938         (lib): Remove.
74939         (stubs): Remove.
74940         ($(objpfx)stubs ../po/manual.pot): Remove.
74941         ($(objpfx)stamp%): Remove.
74942         (make-target-directory): Remove.
74943         (subdir_install): Remove.
74944         (routines): Remove.
74945         (aux): Remove.
74946         (sources): Remove.
74947         (objects): Remove.
74948         (headers): Remove.
74950         [BZ #13750]
74951         * manual/.gitignore: Remove, it's not needed anymore.
74952         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
74953         all files in it.
74954         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
74955         directory.
74956         (texis): Renamed to $(objpfx)texis.
74957         (texis-path): New, contains path to generated files.
74958         (chapters.%): Use texis-path for complete path, add extra argument
74959         libc-texinfo.sh.
74960         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
74961         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
74962         (summary,texi, stamp-summary): Use complete path of
74963         files. Generate files in build dir.
74964         (dir-add.texi): Build in build dir.
74965         (libm-err.texi,stamp-libm-err): Likewise.
74966         (version.texi, stamp-version): Likewise.
74967         (.%c.texi): Likewise.
74968         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
74969         (mostlyclean): Remove target.
74970         (realclean): Remove target.
74971         (generated): Add new variable with contents from mostlyclean and
74972         realclean, remove entries duplicated in common-mostlyclean, add
74973         stamp-libm-err and stamp-version.
74974         (generated-dirs): Add libc directory.
74975         ($(inst_infodir)/libc.info): Install files from build dir.
74977         * manual/install.texi (Configuring and compiling): Adjust since
74978         the info files are not part of the tar ball anymore.
74980 2012-05-14  Andreas Jaeger  <aj@suse.de>
74982         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
74983         variable.
74985 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74987         [BZ #13717]
74988         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74989         to 2.2.0 where earlier.
74990         * sysdeps/unix/sysv/linux/configure: Regenerated.
74991         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
74992         Remove conditional code.
74993         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
74994         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
74995         Remove conditional code.
74996         [!__NR_lchown]: Likewise.
74997         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74998         [__NR_lchown]: Likewise.
74999         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
75000         comment referencing __ASSUME_LCHOWN_SYSCALL.
75001         * sysdeps/unix/sysv/linux/i386/sigaction.c
75002         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75003         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75004         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
75005         Remove conditional code.
75006         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
75007         (__protocol_available): Remove #if 0 code.
75008         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
75009         conditional code.
75010         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
75011         * sysdeps/unix/sysv/linux/kernel-features.h
75012         (__ASSUME_GETCWD_SYSCALL): Don't define.
75013         (__ASSUME_REALTIME_SIGNALS): Likewise.
75014         (__ASSUME_PREAD_SYSCALL): Likewise.
75015         (__ASSUME_PWRITE_SYSCALL): Likewise.
75016         (__ASSUME_POLL_SYSCALL): Likewise.
75017         (__ASSUME_LCHOWN_SYSCALL): Likewise.
75018         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
75019         non-SPARC.
75020         (__ASSUME_SIOCGIFNAME): Don't define.
75021         (__ASSUME_MSG_NOSIGNAL): Likewise.
75022         (__ASSUME_SENDFILE): Define unconditionally.
75023         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
75024         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
75025         conditional code.
75026         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
75027         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
75028         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75029         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75030         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
75031         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75032         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
75034         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75035         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
75037         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75038         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
75040         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75041         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
75043         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75044         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
75046         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75047         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
75049         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75050         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
75052         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75053         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
75055         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75056         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75057         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
75058         Remove conditional code.
75059         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75060         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75061         Remove conditional code.
75062         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75063         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
75064         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
75065         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75066         Remove conditional code.
75067         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75068         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
75069         Remove conditional code.
75070         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75071         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
75072         Remove conditional code.
75073         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75074         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75075         Remove conditional code.
75076         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75077         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75078         Remove conditional code.
75079         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75080         * sysdeps/unix/sysv/linux/sh/pwrite64.c
75081         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75082         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75083         * sysdeps/unix/sysv/linux/sigaction.c
75084         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75085         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75086         * sysdeps/unix/sysv/linux/sigpending.c
75087         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75088         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75089         * sysdeps/unix/sysv/linux/sigprocmask.c
75090         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75091         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75092         * sysdeps/unix/sysv/linux/sigsuspend.c
75093         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75094         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75095         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75096         (__libc_missing_rt_sigs): Remove.
75097         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
75098         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
75099         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
75100         Remove conditional code.
75101         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
75102         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
75103         return 1.
75104         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
75105         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
75106         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
75107         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
75109 2012-05-14  Andreas Jaeger  <aj@suse.de>
75111         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
75112         it's not used in glibc.
75113         (__coshm1): Likewise.
75114         (__acosh1p): Likewise.
75115         (__sgn): Likewise.
75117         * manual/string.texi (Copying and Concatenation): Add missing
75118         variable in concat example.
75119         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
75121 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75123         [BZ #14103]
75124         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
75125         __builtin_clzl with __builtin_clzll.
75127 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75129         [BZ #14104]
75130         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
75131         libc_freeres_ptr.
75133 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75135         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
75136         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
75137         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
75138         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
75140 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
75142         * NEWS: Update ia64 info.
75144 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
75146         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
75147         used as bcopy.
75149 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
75151         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
75152         * sysdeps/unix/syscalls.list (dup3): Likewise.
75153         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
75154         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
75156 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75158         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
75159         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
75161 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75163         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
75164         thread pointer.
75165         (TLS_IE): Use mov/add instead of movq/addq to load thread
75166         pointer.
75167         (TLS_GD_PREFIX): New.
75168         (TLS_GD): Use it.
75170 2012-05-11  David S. Miller  <davem@davemloft.net>
75172         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
75173         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
75174         (_FPU_SETCW): Likewise.
75176 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75178         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
75179         is 32-byte aligned.
75181 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
75183         [BZ #11837]
75184         * iconvdata/gb18030.c: Update tables.
75185         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
75186         characters specially.
75187         (BODY for TO_LOOP): Add encoding of missing ranges.
75189 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
75191         [BZ #13673]
75192         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
75193         * sysdeps/mach/hurd/dup3.c: Likewise.
75194         * sysdeps/mach/hurd/readlinkat.c: Likewise.
75195         * sysdeps/powerpc/memmove.c:: Likewise.
75197 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75199         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
75200         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
75202 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75204         * elf/elf.h (R_X86_64_RELATIVE64): New.
75205         (R_X86_64_NUM): Updated.
75206         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
75207         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
75208         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
75209         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
75210         tst-quad1pie tst-quad2pie
75211         (modules-names): Add tst-quadmod1 tst-quadmod2.
75212         ($(objpfx)tst-quad1): New dependency.
75213         ($(objpfx)tst-quad2): Likewise.
75214         ($(objpfx)tst-quad1pie): Likewise.
75215         ($(objpfx)tst-quad2pie): Likewise.
75216         * sysdeps/x86_64/tst-quad1.c: New file.
75217         * sysdeps/x86_64/tst-quad1pie.c: New file.
75218         * sysdeps/x86_64/tst-quad2.c: Likewise.
75219         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
75220         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
75221         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
75222         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
75223         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
75225 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75227         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
75228         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
75229         * streams/stropts.h (t_scalar_t): Define type.
75231         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
75232         (_PATH_PRESERVE): Set to "/var/lib".
75233         (_PATH_RWHODIR): Set to "/var/spool/rwho".
75235         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
75236         instead of int.
75238         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
75239         if __dir_mkfile succeeded.
75241         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
75242         checking for _hurd_dtablesize.  Unlock it right after having
75243         finished _hurd_dtable allocation.
75245 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75247         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
75248         * sysdeps/mach/hurd/configure: Regenerated.
75249         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
75250         special-casing to...
75251         * sysdeps/gnu/configure.in: ... this new file.
75252         * sysdeps/unix/sysv/linux/configure: Regenerated.
75253         * sysdeps/gnu/configure: New generated file.
75255         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
75256         for Linux: use nsec instead of usec, as well as:
75257         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
75258         members of type struct timespec.
75259         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
75260         New macros.
75261         (struct stat64): Likewise.
75262         (_STATBUF_ST_NSEC): New macro.
75263         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
75265         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75266         __strtoul_internal rather than strtoul.
75268 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75270         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
75271         and reject them.
75273 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75275         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
75276         which preserves existing values.
75277         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
75279 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75281         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
75282         TIMEOUT values.  Return EINVAL for NFDS values either negative or
75283         greater than FD_SETSIZE.
75285 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75287         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
75288         allocated, call __vm_protect to finish enabling the existing space, and
75289         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
75290         allocate the remainder.
75292 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75294         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
75295         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
75297 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75299         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
75300         sysdeps/mach/hurd/readlink.c.
75302         * posix/tst-sysconf.c (posix_options): Only use
75303         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
75304         _POSIX_SYNCHRONIZED_IO when they are defined
75305         * sysdeps/mach/hurd/bits/posix_opt.h:
75306         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
75307         (_XOPEN_REALTIME): Undefine macro.
75308         (_XOPEN_REALTIME_THREADS): Undefine macro.
75309         (_XOPEN_SHM): Undefine macro.
75310         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
75311         macro to -1.
75312         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
75313         macro to -1.
75314         (_POSIX_ASYNC_IO): Undefine macro.
75315         (_POSIX_PRIORITIZED_IO): Undefine macro.
75316         (_POSIX_SPIN_LOCKS): Define macro to -1.
75318         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
75319         SA_NODEFER, SA_RESETHAND.
75320         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
75321         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
75322         F_DUPFD_CLOEXEC.
75324 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75326         * elf/Makefile (pldd-modules): Define unconditionally.
75328 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75330         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
75332 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75334         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
75335         Return ENOENT when name is empty.
75336         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
75338 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75340         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
75342         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
75344 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75346         Fix mlock in all cases except non-readable pages.
75347         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
75348         instead of VM_PROT_ALL as parameter to __vm_wire function.
75350         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
75351         (__mkdir): When path is `/', just fail with EEXIST.
75352         * sysdeps/mach/hurd/mkdirat.c: Likewise.
75354 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75356         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
75357         <sys/uio.h> (for writev).
75358         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
75359         and <sys/param.h> (for MIN).
75361 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75363         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
75364         REQUESTED_TIME.  Properly set the remaining time and return EINTR
75365         if interrupted.
75367 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75369         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
75370         Depend on against $(link-rpcuserlibs).
75372 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75374         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
75375         (__libc_stack_end): Do not use attribute_relro.
75376         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
75377         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
75378         to libthread-provided value.
75379         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
75380         attribute_relro.
75382 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75384         [BZ #3748]
75385         * bits/libc-lock.h (__libc_once_get): New macro.
75386         * sysdeps/mach/bits/libc-lock.h: Likewise.
75387         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
75388         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
75389         instead of using implementation details.
75391         * libio/fileops.c: Unconditionally include <kernel-features.h>.
75392         * libio/freopen.c: Likewise.
75393         * libio/freopen64.c: Likewise.
75394         * misc/syslog.c: Likewise.
75395         * nscd/connections.c: Likewise.
75396         * nscd/netgroupcache.c: Likewise.
75397         * sysdeps/posix/getcwd.c: Likewise.
75399 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75401         * math/w_ilogbf.c: Add #include <limits.h>.
75403 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75405         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
75406         path instead of returning without unlocking.
75408         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
75409         immediate-write ioctls.
75410         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
75412 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75414         * sysdeps/mach/hurd/i386/init-first.c (init): Use
75415         __builtin_frame_address instead of making assumptions about the
75416         location of the return address relative to DATA.  Force early load of
75417         the return address.
75418         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
75419         __builtin_frame_address.
75421         dup3 for GNU Hurd.
75422         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
75423         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
75424         implement dup3 and do some further code clean-ups.
75425         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
75426         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
75428 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75430         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
75432         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
75433         HURD_CRITICAL_END around holding _hurd_dtable_lock.
75434         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
75435         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
75436         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
75437         d->port.lock.
75439         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
75440         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
75441         when handler == SIG_ERR, not when handler != SIG_ERR.
75443 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75445         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
75446         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
75447         definitions.
75449         accept4 for GNU Hurd.
75450         * include/sys/socket.h (__libc_accept4): New prototype.
75451         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
75452         to implement __libc_accept4.
75453         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
75454         __libc_accept4.
75455         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
75457         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
75458         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
75459         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
75460         signal-defines.sym.
75462 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75464         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
75466 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75468         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
75469         assertion on O_CLOEXEC flag.
75470         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
75471         * hurd/intern-fd.c: Likewise.
75472         * hurd/port2fd.c: Likewise.
75474 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75476         [BZ #3906]
75477         * bits/in.h (IPV6_PKTINFO): Define new macro.
75478         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
75480 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75482         [BZ #13954]
75483         [BZ #13955]
75484         [BZ #13956]
75485         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
75486         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75487         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
75488         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75489         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75490         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75491         * math/libm-test.inc (logb_test) : Additional logb tests.
75493 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
75494             Andreas Jaeger  <aj@suse.de>
75496         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
75497         * configure: Regenerated.
75498         * config.h.in (LINK_OBSOLETE_RPC): New macro.
75499         * config.make.in (link-obsolete-rpc): New substituted variable.
75500         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
75501         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
75502         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75503         (shared-only-routines): Don't set it under [link-obsolete-rpc],
75504         so that libc.a contains the symbols.
75505         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75506         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
75507         * sunrpc/auth_none.c: Likewise.
75508         * sunrpc/auth_unix.c: Likewise.
75509         * sunrpc/authdes_prot.c: Likewise.
75510         * sunrpc/authuxprot.c: Likewise.
75511         * sunrpc/clnt_gen.c: Likewise.
75512         * sunrpc/clnt_perr.c: Likewise.
75513         * sunrpc/clnt_raw.c: Likewise.
75514         * sunrpc/clnt_simp.c: Likewise.
75515         * sunrpc/clnt_tcp.c: Likewise.
75516         * sunrpc/clnt_udp.c: Likewise.
75517         * sunrpc/clnt_unix.c: Likewise.
75518         * sunrpc/des_crypt.c: Likewise.
75519         * sunrpc/des_soft.c: Likewise.
75520         * sunrpc/get_myaddr.c: Likewise.
75521         * sunrpc/key_call.c: Likewise.
75522         * sunrpc/key_prot.c: Likewise.
75523         * sunrpc/netname.c: Likewise.
75524         * sunrpc/pm_getmaps.c: Likewise.
75525         * sunrpc/pm_getport.c: Likewise.
75526         * sunrpc/pmap_clnt.c: Likewise.
75527         * sunrpc/pmap_prot.c: Likewise.
75528         * sunrpc/pmap_prot2.c: Likewise.
75529         * sunrpc/pmap_rmt.c: Likewise.
75530         * sunrpc/publickey.c: Likewise.
75531         * sunrpc/rpc_cmsg.c: Likewise.
75532         * sunrpc/rpc_common.c: Likewise.
75533         * sunrpc/rpc_dtable.c: Likewise.
75534         * sunrpc/rpc_prot.c: Likewise.
75535         * sunrpc/rpc_thread.c: Likewise.
75536         * sunrpc/rtime.c: Likewise.
75537         * sunrpc/svc.c: Likewise.
75538         * sunrpc/svc_auth.c: Likewise.
75539         * sunrpc/svc_raw.c: Likewise.
75540         * sunrpc/svc_run.c: Likewise.
75541         * sunrpc/svc_tcp.c: Likewise.
75542         * sunrpc/svc_udp.c: Likewise.
75543         * sunrpc/svc_unix.c: Likewise.
75544         * sunrpc/svcauth_des.c: Likewise.
75545         * sunrpc/xcrypt.c: Likewise.
75546         * sunrpc/xdr.c: Likewise.
75547         * sunrpc/xdr_array.c: Likewise.
75548         * sunrpc/xdr_float.c: Likewise.
75549         * sunrpc/xdr_intXX_t.c: Likewise.
75550         * sunrpc/xdr_mem.c: Likewise.
75551         * sunrpc/xdr_rec.c: Likewise.
75552         * sunrpc/xdr_ref.c: Likewise.
75553         * sunrpc/xdr_sizeof.c: Likewise.
75554         * sunrpc/xdr_stdio.c: Likewise.
75556 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75558         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
75559         change.  Update copyright years.
75561 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75563         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
75565 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
75566             Joseph Myers  <joseph@codesourcery.com>
75567             Paul Pluzhnikov  <ppluzhnikov@google.com>
75569         [BZ #14012]
75570         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
75571         requiring rpcgen.
75572         [cross-compiling] (extra-libs): Likewise.
75573         [cross-compiling] (extra-libs-others): Likewise.
75574         [cross-compiling] (librpcsvc-routines): Likewise.
75575         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
75576         [cross-compiling] (omit-deps): Likewise.
75577         (sunrpc-CPPFLAGS): New variable.
75578         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
75579         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
75580         (cross-rpcgen-objs): New variable.
75581         (extra-objs): Append $(cross-rpcgen-objs).
75582         ($(cross-rpcgen-objs)): New rule.
75583         ($(objpfx)cross-rpcgen): Likewise.
75584         (rpcgen-cmd): Define to use $(built-program-file).  Expand
75585         comment.
75586         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
75587         ($(objpfx)x%.stmp): Likewise.
75588         * sunrpc/proto.h [IS_IN_build] (_): Define.
75589         [IS_IN_build] (_libc_intl_domainname): Likewise.
75591 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75593         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
75594         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
75595         and R_X86_64_TPOFF64.
75597 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75599         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
75600         sysdeps/unix/sysv/syscalls.list.
75601         (stime): Likewise.
75602         (utime): Likewise.
75603         * sysdeps/unix/sysv/syscalls.list: Remove file.
75605 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
75607         [BZ #3440]
75608         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
75609         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
75610         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
75611         (__LC_IDENTIFICATION): Make these macros useful in #if
75612         expressions, as required by C99.
75614 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
75616         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
75617         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
75618         after this.
75620 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
75622         * stdlib/longlong.h: Updated from GCC.
75624 2012-05-09  Andreas Jaeger  <aj@suse.de>
75626         * nscd/nscd.c (run_modes): Make named enum, reorder so that
75627         default is first entry.
75628         (run_mode): Set type.
75629         (main): Remove informal message about syslog.
75630         (options): Fix typo.
75632         [BZ #14053]
75633         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
75634         to asm.
75635         (lrint): Likewise.
75636         (llrintf): Likewise.
75637         (llrint): Likewise.
75638         (rint): Likewise.
75639         (rintf): Likewise.
75640         (nearbyint): Likewise.
75641         (nearbyintf): Likewise.
75643 2012-05-09  Andreas Jaeger  <aj@suse.de>
75644             Pedro Alves  <palves@redhat.com>
75646         * nscd/nscd.c (run_mode): Use enum.
75647         (main): Cleanup coding style issue.
75649 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
75650             Andreas Jaeger  <aj@suse.de>
75652         * nscd/nscd.c (go_background): Replaced with...
75653         (run_mode): ... this.
75654         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
75655         (options): Add -F --foreground.
75656         (main): Implement it.
75657         (parse_opt): Parse it.
75659 2012-05-09  Andreas Jaeger  <aj@suse.de>
75661         [BZ #14083]
75662         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
75663         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
75664         -Wconversion warning.
75665         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
75666         Likewise.
75668 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
75670         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
75671         == 0.
75672         (LC_ALL): Use macro-int-constant.
75673         (LC_COLLATE): Likewise.
75674         (LC_CTYPE): Likewise.
75675         (LC_MESSAGES): Likewise.
75676         (LC_MONETARY): Likewise.
75677         (LC_NUMERIC): Likewise.
75678         (LC_TIME): Likewise.
75679         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
75680         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75681         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75682         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
75683         Specify type.
75684         [C99-based standards] (float_t): Expect type.
75685         [C99-based standards] (double_t): Expect type.
75686         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
75687         type.
75688         [C99-based standards] (HUGE_VALL): Likewise.
75689         [C99-based standards] (INFINITY): Likewise.
75690         [C99-based standards] (NAN): Likewise.
75691         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
75692         [C99-based standards] (FP_NAN): Likewise.
75693         [C99-based standards] (FP_NORMAL): Likewise.
75694         [C99-based standards] (FP_SUBNORMAL): Likewise.
75695         [C99-based standards] (FP_ZERO): Likewise.
75696         [C99-based standards] (FP_FAST_FMA): Use
75697         optional-macro-int-constant.  Specify type.  Require == 1.
75698         [C99-based standards] (FP_FAST_FMAF): Likewise.
75699         [C99-based standards] (FP_FAST_FMAL): Likewise.
75700         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
75701         [C99-based standards] (FP_ILOGBNAN): Likewise.
75702         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
75703         Specify type.
75704         [C99-based standards] (MATH_ERREXCEPT): Likewise.
75705         [C99-based standards] (math_errhandling): Specify type.
75706         [ISO99 || ISO11] (signgam): Do not allow.
75707         [non-C99-based standards] (copysignf): Do not allow.
75708         [non-C99-based standards] (exp2f): Likewise.
75709         [non-C99-based standards] (log2f): Likewise.
75710         [non-C99-based standards] (modff): Allow.
75711         [non-C99-based standards] (erff): Do not allow.
75712         [non-C99-based standards] (erfcf): Likewise.
75713         [non-C99-based standards] (gammaf): Likewise.
75714         [non-C99-based standards] (hypotf): Likewise.
75715         [non-C99-based standards] (j0f): Likewise.
75716         [non-C99-based standards] (j1f): Likewise.
75717         [non-C99-based standards] (jnf): Likewise.
75718         [non-C99-based standards] (lgammaf): Likewise.
75719         [non-C99-based standards] (tgammaf): Likewise.
75720         [non-C99-based standards] (y0f): Likewise.
75721         [non-C99-based standards] (y1f): Likewise.
75722         [non-C99-based standards] (ynf): Likewise.
75723         [non-C99-based standards] (isnanf): Likewise.
75724         [non-C99-based standards] (acoshf): Likewise.
75725         [non-C99-based standards] (asinhf): Likewise.
75726         [non-C99-based standards] (atanhf): Likewise.
75727         [non-C99-based standards] (cbrtf): Likewise.
75728         [non-C99-based standards] (expm1f): Likewise.
75729         [non-C99-based standards] (ilogbf): Likewise.
75730         [non-C99-based standards] (log1pf): Likewise.
75731         [non-C99-based standards] (logbf): Likewise.
75732         [non-C99-based standards] (nextafterf): Likewise.
75733         [non-C99-based standards] (remainderf): Likewise.
75734         [non-C99-based standards] (rintf): Likewise.
75735         [non-C99-based standards] (scalbf): Likewise.
75736         [non-C99-based standards] (copysignl): Likewise.
75737         [non-C99-based standards] (exp2l): Likewise.
75738         [non-C99-based standards] (log2l): Likewise.
75739         [non-C99-based standards] (modfl): Allow.
75740         [non-C99-based standards] (erfl): Do not allow.
75741         [non-C99-based standards] (erfcl): Likewise.
75742         [non-C99-based standards] (gammal): Likewise.
75743         [non-C99-based standards] (hypotl): Likewise.
75744         [non-C99-based standards] (j0l): Likewise.
75745         [non-C99-based standards] (j1l): Likewise.
75746         [non-C99-based standards] (jnl): Likewise.
75747         [non-C99-based standards] (lgammal): Likewise.
75748         [non-C99-based standards] (tgammal): Likewise.
75749         [non-C99-based standards] (y0l): Likewise.
75750         [non-C99-based standards] (y1l): Likewise.
75751         [non-C99-based standards] (ynl): Likewise.
75752         [non-C99-based standards] (isnanl): Likewise.
75753         [non-C99-based standards] (acoshl): Likewise.
75754         [non-C99-based standards] (asinhl): Likewise.
75755         [non-C99-based standards] (atanhl): Likewise.
75756         [non-C99-based standards] (cbrtl): Likewise.
75757         [non-C99-based standards] (expm1l): Likewise.
75758         [non-C99-based standards] (ilogbl): Likewise.
75759         [non-C99-based standards] (log1pl): Likewise.
75760         [non-C99-based standards] (logbl): Likewise.
75761         [non-C99-based standards] (nextafterl): Likewise.
75762         [non-C99-based standards] (remainderl): Likewise.
75763         [non-C99-based standards] (rintl): Likewise.
75764         [non-C99-based standards] (scalbl): Likewise.
75765         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75766         [non-C99-based standards] (FP_*): Do not allow.
75767         [C99-based standards] (FP_*): Change to
75768         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75769         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75770         allow.
75771         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
75772         (SIG_ERR): Likewise.
75773         [X/Open-based standards] (SIG_HOLD): Likewise.
75774         (SIG_IGN): Likewise.
75775         (SIGABRT): Use macro-int-constant.  Specify type.  Require
75776         positive value.
75777         (SIGFPE): Likewise.
75778         (SIGILL): Likewise.
75779         (SIGINT): Likewise.
75780         (SIGSEGV): Likewise.
75781         (SIGTER): Likewise.
75782         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
75783         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
75784         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
75785         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
75786         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
75787         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
75788         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
75789         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
75790         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
75791         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
75792         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
75793         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
75794         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
75795         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
75796         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
75797         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
75798         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
75799         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
75800         [X/Open-based standards] (SIGTRAP): Likewise.
75801         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
75802         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
75803         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
75804         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
75805         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75806         allow.
75808 2012-05-08  Ian Wienand  <ianw@vmware.com>
75810         [BZ #14080]
75811         * time/tzset.c (__tzset_parse_tz): Update default rules for
75812         daylight time changes in the Energy Policy Act of 2005.
75814 2012-05-09  Andreas Jaeger  <aj@suse.de>
75816         [BZ #13983]
75817         * elf/ldconfig.c (parse_conf): Change string to make clear that
75818         ldconfig only issued a warning if ld.so.conf does not exist.
75820 2012-05-08  David S. Miller  <davem@davemloft.net>
75822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
75823         movxtod instead of popping the value on the stack.
75825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75827 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
75829         * config.h.in: Add HAVE_ARM_PCS_VFP.
75831 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
75833         [BZ #13979]
75834         * include/features.h: Warn if user requests __FORTIFY_SOURCE
75835         checking but the checks are disabled for any reason.
75837 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
75839         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
75840         and ELF64_R_TYPE with ELFW(R_TYPE).
75842 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
75844         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
75845         (ulimit): Likewise.
75847         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
75848         (settimeofday): Likewise.
75850 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
75852         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
75853         a struct th_u2 inside the union, and move tu_block/tu_code into
75854         a new th_u3 union of tu_block/tu_code inside of that.  Move
75855         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
75856         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
75857         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
75858         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
75859         (th_stuff): Change to th_u1.tu_stuff.
75860         (th_data): Define.
75861         (th_msg): Change to th_u1.th_u2.tu_data.
75863 2012-05-07  David S. Miller  <davem@davemloft.net>
75865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75867         [BZ #14074]
75868         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
75869         (SETUP_PIC_REG): Use it.
75870         (SETUP_PIC_REG_LEAF): Use it.
75872 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
75874         [BZ #13885]
75875         [BZ #13923]
75876         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75877         USE_AS_EXPM1L.
75878         (EXPL_FINITE): Likewise.
75879         (FLDLOG): Likewise.
75880         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75881         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75882         e_expl.S.
75883         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75884         USE_AS_EXPM1L.
75885         (EXPL_FINITE): Likewise.
75886         (FLDLOG): Likewise.
75887         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75888         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75889         e_expl.S.
75890         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
75891         test of -max_value argument for long double.
75892         * sysdeps/i386/fpu/libm-test-ulps: Update.
75893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75895 2012-05-06  David S. Miller  <davem@davemloft.net>
75897         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
75898         quad soft-float symbols whose references which are compiler
75899         generated.
75900         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75902 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
75904         [BZ #13884]
75905         [BZ #13914]
75906         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75907         USE_AS_EXP10L.
75908         (EXPL_FINITE): Likewise.
75909         (FLDLOG): Likewise.
75910         (c0): Likewise.
75911         (c1): Likewise.
75912         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75913         Adjust comments for base varying.
75914         (__expl_finite): Change alias to EXPL_FINITE.
75915         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
75916         e_expl.S.
75917         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
75918         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
75919         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
75920         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
75921         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75922         USE_AS_EXP10L.
75923         (EXPL_FINITE): Likewise.
75924         (FLDLOG): Likewise.
75925         (c0): Likewise.
75926         (c1): Likewise.
75927         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75928         Adjust comments for base varying.
75929         (__expl_finite): Change alias to EXPL_FINITE.
75930         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
75931         tests for bugs.
75932         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75934         [BZ #14064]
75935         * math/libm-test.inc (check_float_internal): Correct ulp
75936         calculation for subnormal expected results.
75938 2012-05-06  Andreas Jaeger  <aj@suse.de>
75940         * Makeconfig (+math-flags): New, set to -frounding-math.
75941         (+cflags): Add +math-flags so that all of glibc gets compiled with
75942         it.
75944         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
75946 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
75948         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
75949         Disable one test.
75951         [BZ #13787]
75952         [BZ #13922]
75953         [BZ #14036]
75954         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
75955         (__ieee754_expl): Allow for and saturate large arguments.
75956         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
75957         (u_threshold): Likewise.
75958         (__exp): Call __ieee754_exp before checking for overflow and
75959         underflow.
75960         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
75961         (u_threshold): Likewise.
75962         (__expf): Call __ieee754_expf before checking for overflow and
75963         underflow.
75964         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
75965         (u_threshold): Likewise.
75966         (__expl): Call __ieee754_expl before checking for overflow and
75967         underflow.
75968         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
75969         (__ieee754_expl): Allow for and saturate large arguments.
75970         * math/libm-test.inc (exp_test): Add another test.  Do not allow
75971         missing overflow exception on overflow.
75972         (expm1_test): Do not allow missing overflow exception on overflow.
75974         * sysdeps/i386/fpu/e_expl.c: Move to ...
75975         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
75976         rather than using inline asm.
75977         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
75978         * sysdeps/x86_64/fpu/e_expl.S: Copy from
75979         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
75981         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
75982         (nice): Likewise.
75983         (poll): Likewise.
75984         (signal): Likewise.
75985         (time): Likewise.
75986         (times): Likewise.
75988 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75990         * sysdeps/unix/syscalls.list (adjtime): Add entry from
75991         sysdeps/unix/common/syscalls.list.
75992         (fchmod): Likewise.
75993         (fchown): Likewise.
75994         (ftruncate): Likewise.
75995         (getrusage): Likewise.
75996         (gettimeofday): Likewise.
75997         (setpgid): Likewise.
75998         (setregid): Likewise.
75999         (setreuid): Likewise.
76000         (sigaction): Likewise.
76001         (truncate): Likewise.
76002         (vhangup): Likewise.
76003         * sysdeps/unix/common/syscalls.list: Remove file.
76004         * sysdeps/unix/bsd/Implies: Don't include unix/common.
76005         * sysdeps/unix/sysv/linux/Implies: Likewise.
76007 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
76009         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
76010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
76011         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
76012         Moved to ...
76013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
76014         Here.
76015         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
76016         to ...
76017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
76018         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
76019         to ...
76020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
76021         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
76022         to ...
76023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
76024         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
76025         to ...
76026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
76027         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
76028         to ...
76029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
76030         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
76031         to ...
76032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
76033         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
76034         to ...
76035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
76036         Here.
76037         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
76038         to ...
76039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
76040         Here.
76041         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
76042         to ...
76043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
76044         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
76045         Moved to ...
76046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
76047         Here.
76048         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
76049         to ...
76050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
76052 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76054         * sysdeps/unix/common/bits/dirent.h: Remove file.
76055         * sysdeps/unix/common/bits/fcntl.h: Likewise.
76057         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
76058         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
76059         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
76060         * sysdeps/unix/bsd/isatty.c: Likewise.
76061         * sysdeps/unix/bsd/tcdrain.c: Likewise.
76062         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
76063         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
76065 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76067         [BZ #13563]
76068         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
76069         long double comparison inaccuracies.
76070         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
76071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76073 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
76075         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
76076         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
76078 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76080         [BZ #14049]
76081         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
76082         nonzero digits before rounding a hex value.
76083         * stdlib/tst-strtod.c (tests): Add another test.
76085 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76087         * sysdeps/s390/fpu/libm-test-ulps: Update.
76089 2012-05-03  Andreas Jaeger  <aj@suse.de>
76091         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
76092         does not get optimized out.
76093         (malloc_opt_barrier): New.
76095 2012-05-03  Andreas Jaeger  <aj@suse.de>
76096             Roland McGrath  <roland@hack.frob.com>
76098         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
76099         intermediate file deletion.
76100         (generated): Add .symlist files.
76102 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
76104         [BZ #13775]
76105         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
76106         Redirect under this condition.
76107         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76108         [__USE_GNU] (__dprintf_chk): Not under this condition.
76109         [__USE_GNU] (__vdprintf_chk): Likewise.
76110         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
76111         under this condition.
76112         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76113         [__USE_XOPEN2K8] (dprintf): Define under this condition.
76114         [__USE_XOPEN2K8] (vdprintf): Likewise.
76115         [__USE_GNU] (__dprintf_chk): Not under this condition.
76116         [__USE_GNU] (__vdprintf_chk): Likewise.
76117         [__USE_GNU] (dprintf): Likewise.
76118         [__USE_GNU] (vdprintf): Likewise.
76120 2012-05-03  Roland McGrath  <roland@hack.frob.com>
76122         * elf/Makefile (common-generated): Set this instead of generated for
76123         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
76124         $(all-built-dso)-derived lists.
76126 2012-05-03  Andreas Jaeger  <aj@suse.de>
76128         * sysdeps/i386/fpu/libm-test-ulps: Update.
76130         * FAQ: Removed.
76131         * FAQ.in: Likewise.
76132         * scripts/gen-FAQ.pl: Likewise.
76133         * manual/install.texi (Installation): Point to online location of
76134         FAQ.
76135         * Makefile (files-for-dist): Remove FAQ.
76136         (FAQ): Remove.
76138 2012-05-02  Allan McRae  <allan@archlinux.org>
76140         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
76141         (LDFLAGS-reldepmod5.so): Likewise.
76142         (LDFLAGS-reldep6mod1.so): Likewise.
76143         (LDFLAGS-reldep6mod4.so): Likewise.
76144         (LDFLAGS-reldep8mod3.so): Likewise.
76145         (LDFLAGS-unload4mod1.so): Likewise.
76146         (LDFLAGS-unload4mod2.so): Likewise.
76147         (LDFLAGS-tst-initorder): Likewise.
76148         (LDFLAGS-tst-initordera2.so): Likewise.
76149         (LDFLAGS-tst-initordera3.so): Likewise.
76150         (LDFLAGS-tst-initordera4.so): Likewise.
76151         (LDFLAGS-tst-initorderb2.so): Likewise.
76152         (LDFLAGS-noload): Likewise.
76153         (LDFLAGS-next): Likewise.
76154         (LDFLAGS-order2mod1.so): Likewise.
76155         (LDFLAGS-order2mod2.so): Likewise.
76156         (LDFLAGS-tst-initorder2): Likewise.
76157         (LDFLAGS-tst-initorder2a.so): Likewise.
76158         (LDFLAGS-tst-initorder2b.so): Likewise.
76159         (LDFLAGS-tst-initorder2c.so): Likewise.
76160         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
76162 2012-05-02  David S. Miller  <davem@davemloft.net>
76164         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76166 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
76168         [BZ #14055]
76169         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
76171 2012-05-02  Andreas Jaeger  <aj@suse.de>
76173         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
76174         since we manipulate rounding mode.
76175         (CPPFLAGS-test-idouble.c): Likewise.
76176         (CPPFLAGS-test-ifloat.c): Likewise.
76177         (CFLAGS-test-ldouble.c): Likewise.
76178         (CFLAGS-test-double.c): Likewise.
76179         (CFLAGS-test-float.c): Likewise.
76180         (CFLAGS-test-misc.c): Likewise.
76181         (CFLAGS-test-test-fenv.c): Likewise.
76183 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76185         [BZ #2550]
76186         [BZ #2570]
76187         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
76188         comparisons to determine direction to adjust input.
76190 2012-05-01  Roland McGrath  <roland@hack.frob.com>
76192         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
76193         output to the target.
76195         * scripts/localplt.awk: New file.
76196         * elf/Makefile ($(objpfx)check-localplt): Target removed.
76197         (check-localplt-CFLAGS): Variable removed.
76198         ($(all-built-dso:=.jmprel)): New static pattern rule.
76199         (generated): Add those targets.
76200         (localplt-built-dso): New variable.
76201         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
76203         * elf/check-localplt.c: File removed.
76205         * scripts/check-execstack.awk: New file.
76206         * elf/Makefile ($(objpfx)check-execstack): Target removed.
76207         (check-execstack-CFLAGS): Variable removed.
76208         ($(objpfx)check-execstack.h): Target removed.
76209         ($(objpfx)execstack-default): New target.
76210         (generated): Add that instead of check-execstack.h.
76211         ($(all-built-dso:=.phdr)): New static pattern rule.
76212         (generated): Add those targets.
76213         * elf/check-execstack.c: File removed.
76215         * scripts/check-textrel.awk: New file.
76216         * elf/Makefile ($(objpfx)check-textrel): Target removed.
76217         (check-textrel-CFLAGS): Variable removed.
76218         (all-built-dso): Use := to define.o
76219         ($(all-built-dso:=.dyn)): New static pattern rule.
76220         (generated): Add those targets.
76221         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
76222         * config.make.in (READELF): New substituted variable.
76223         * elf/check-textrel.c: File removed.
76225 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76227         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76228         allow.
76229         * conform/data/ctype.h-data [C99-based standards] (isblank):
76230         Expect function.
76231         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
76232         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
76233         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76234         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
76235         Specify type.  Require positive value.
76236         (EILSEQ): Likewise.
76237         (ERANGE): Likewise.
76238         [ISO || POSIX] (EILSEQ): Do not expect.
76239         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
76240         Specify type.  Require positive value.
76241         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
76242         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
76243         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
76244         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
76245         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
76246         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
76247         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
76248         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
76249         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
76250         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
76251         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
76252         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
76253         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
76254         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
76255         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
76256         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
76257         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
76258         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
76259         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
76260         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
76261         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
76262         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
76263         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
76264         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
76265         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
76266         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
76267         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
76268         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
76269         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
76270         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
76271         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
76272         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
76273         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
76274         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
76275         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
76276         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
76277         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
76278         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
76279         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
76280         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
76281         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
76282         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
76283         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
76284         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
76285         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
76286         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
76287         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
76288         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
76289         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
76290         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
76291         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
76292         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
76293         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
76294         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
76295         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
76296         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
76297         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
76298         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
76299         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
76300         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
76301         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
76302         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
76303         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
76304         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
76305         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
76306         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
76307         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
76308         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
76309         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
76310         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
76311         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
76312         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
76313         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
76314         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
76315         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
76316         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
76317         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
76318         Require >= 2.
76319         (FLT_ROUNDS): Expect as macro, not constant.
76320         (FLT_MANT_DIG): Use macro-int-constant.
76321         (DBL_MANT_DIG): Likewise.
76322         (LDBL_MANT_DIG): Likewise.
76323         (FLT_DIG): Likewise.
76324         (DBL_DIG): Likewise.
76325         (LDBL_DIG): Likewise.
76326         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
76327         (DBL_MIN_EXP): Likewise.
76328         (LDBL_MIN_EXP): Likewise.
76329         (FLT_MAX_EXP): Use macro-int-constant.
76330         (DBL_MAX_EXP): Likewise.
76331         (LDBL_MAX_EXP): Likewise.
76332         (FLT_MAX_10_EXP): Likewise.
76333         (DBL_MAX_10_EXP): Likewise.
76334         (LDBL_MAX_10_EXP): Likewise.
76335         (FLT_MAX): Use macro-constant.
76336         (DBL_MAX): Likewise.
76337         (LDBL_MAX): Likewise.
76338         (FLT_EPSILON): Use macro-constant.  Give upper bound.
76339         (DBL_EPSILON): Likewise.
76340         (LDBL_EPSILON): Likewise.
76341         (FLT_MIN): Likewise.
76342         (DBL_MIN): Likewise.
76343         (LDBL_MIN): Likewise.
76344         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
76345         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
76346         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
76347         [ISO11] (FLT_HAS_SUBNORM): Likewise.
76348         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
76349         [ISO11] (DBL_DECIMAL_DIG): Likewise.
76350         [ISO11] (FLT_DECIMAL_DIG): Likewise.
76351         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
76352         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
76353         [ISO11] (FLT_TRUE_MIN): Likewise.
76354         [ISO11] (LDBL_TRUE_MIN): Likewise.
76355         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76356         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
76357         (SCHAR_MIN): Use macro-int-constant.  Specify type.
76358         (SCHAR_MAX): Likewise.
76359         (UCHAR_MAX): Likewise.
76360         (CHAR_MIN): Likewise.
76361         (CHAR_MAX): Likewise.
76362         (MB_LEN_MAX): Use macro-int-constant.
76363         (SHRT_MIN): Use macro-int-constant.  Specify type.
76364         (SHRT_MAX): Likewise.
76365         (USHRT_MAX): Likewise.
76366         (INT_MAX): Likewise.
76367         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
76368         bound negative.
76369         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76370         bound with "U".
76371         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76372         bound with "L".
76373         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
76374         bound negative.  Suffix upper bound with "L".
76375         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76376         bound with "UL".
76377         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
76378         Specify type.
76379         [C99-based standards] (LLONG_MAX): Likewise.
76380         [C99-based standards] (ULLONG_MAX): Likewise.
76381         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
76382         == 0.
76383         [ISO11] (max_align_t): Require type.
76384         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76386         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
76387         from $CFLAGS, without defining away __attribute__ calls.
76388         (checknamespace): Use $CFLAGS_namespace.
76390         * conform/conformtest.pl (@keywords): Only include C99 keywords
76391         for standards based on C99 or C11.
76393         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
76394         Disable tests.
76395         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
76396         UNIX98]: Likewise.
76398         * conform/conformtest.pl: Handle "macro-int-constant" and test for
76399         usability of symbols in #if.
76401         * conform/conformtest.pl: If macro or constant types start
76402         "promoted:", expect the symbol to be of the following type
76403         promoted by the integer promotions.
76405         * conform/conformtest.pl: Parse all "constant" and "macro" lines
76406         in one place.  Also handle "macro-constant".
76408         * conform/conformtest.pl: Only accept expected macro values with
76409         "==".  Parse all "macro" lines in one place.
76410         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
76412         * conform/conformtest.pl: Handle braced types on "constant" lines
76413         instead of handling "typed-constant".
76414         * conform/data/signal.h-data: Use "constant" instead of
76415         "typed-constant".
76417         * conform/conformtest.pl: Handle "optional-" at start of lines in
76418         one place rather than duplicating several cases.  Handle each
76419         format of "macro" line with initial "optional-".
76421         * conform/conformtest.pl: Only accept expected constant or
76422         optional-constant values with "==".  Parse all "constant" lines in
76423         one place.  Parse all "optional-constant" lines in one place.
76424         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
76425         * conform/data/fmtmsg.h-data: Likewise.
76426         * conform/data/netinet/in.h-data: Likewise.
76427         * conform/data/tar.h-data: Likewise.
76428         * conform/data/limits.h-data: Use "==" form on "constant" and
76429         "optional-constant" lines.
76431         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
76432         Use -std=c99 for XOPEN2K.
76433         (@knownproblems): Remove.
76434         (newtoken): Don't check %isknown.
76436         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
76437         Do not expect macro.
76438         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
76439         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
76440         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
76441         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
76442         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
76443         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
76444         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
76445         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
76446         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
76447         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
76448         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
76449         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
76450         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
76451         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
76452         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
76453         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
76454         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
76455         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
76456         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
76457         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
76458         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
76459         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
76460         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
76461         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
76462         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
76463         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
76464         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
76465         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
76466         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
76467         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
76468         [XPG3] (acosh): Likewise.
76469         [XPG3] (asinh): Likewise.
76470         [XPG3] (atanh): Likewise.
76471         [XPG3] (cbrt): Likewise.
76472         [XPG3] (expm1): Likewise.
76473         [XPG3] (ilogb): Likewise.
76474         [XPG3] (log1p): Likewise.
76475         [XPG3] (logb): Likewise.
76476         [XPG3] (nextafter): Likewise.
76477         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
76478         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
76479         [XPG3] (remainder): Likewise.
76480         [XPG3] (rint): Likewise.
76481         [XPG3 || XPG4 || UNIX98] (round): Likewise.
76482         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
76483         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
76484         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
76485         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
76486         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
76487         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
76488         [UNIX98 || XOPEN2K] (scalb): Expect.
76489         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
76490         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
76491         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
76492         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
76493         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
76494         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
76495         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
76496         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
76497         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
76498         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
76499         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
76500         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
76501         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
76502         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
76503         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
76504         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
76505         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
76506         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
76507         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
76508         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
76509         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
76510         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
76511         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
76512         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
76513         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
76514         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
76515         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
76516         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
76517         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
76518         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
76519         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
76520         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
76521         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
76522         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
76523         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
76524         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
76525         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
76526         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
76527         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
76528         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
76529         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
76530         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
76531         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
76532         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
76533         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
76534         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
76535         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
76536         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
76537         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
76538         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
76539         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
76540         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
76541         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
76542         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
76543         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
76544         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
76545         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
76546         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
76547         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
76548         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
76549         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
76550         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
76551         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
76552         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
76553         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
76554         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
76555         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
76556         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
76557         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
76558         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
76559         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
76560         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
76561         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
76562         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
76563         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
76564         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
76565         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
76566         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
76567         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
76568         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
76569         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
76570         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
76571         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
76572         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
76573         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
76574         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
76575         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
76576         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
76577         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
76578         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
76579         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
76580         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
76581         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
76582         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
76583         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
76584         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
76585         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
76586         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
76587         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
76588         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
76589         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
76590         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
76591         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
76592         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
76593         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
76594         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
76595         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
76596         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
76597         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
76598         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
76599         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
76600         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
76601         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
76602         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
76603         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
76604         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
76605         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
76606         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
76607         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
76608         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
76609         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
76610         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
76611         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
76612         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
76613         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
76614         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
76615         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
76616         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
76617         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
76618         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
76619         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
76620         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
76621         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
76622         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
76623         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
76624         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
76625         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
76627         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
76628         _XOPEN_SOURCE_EXTENDED for XPG4.
76630         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
76632         * Makeconfig (localtime): Remove variable.
76633         (inst_localtime-file): Likewise.
76635 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
76638         Update.
76639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76640         Update.
76641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
76642         Update.
76643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
76644         Update.
76645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
76646         Update.
76647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
76648         Update.
76649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76650         Update.
76651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
76652         Update.
76653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76654         Update.
76656 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76658         [BZ #2550]
76659         [BZ #2570]
76660         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
76661         comparisons to determine direction to adjust input.
76662         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
76663         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
76664         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
76665         Likewise.
76666         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
76667         Likewise.
76668         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
76669         Likewise.
76670         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
76671         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
76672         Likewise.
76673         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
76674         Likewise.
76675         * math/libm-test.inc (nexttoward_test): Add more tests.
76677 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76679         [BZ #14040]
76680         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
76681         in version GLIBC_2.1, not GLIBC_2.0.
76682         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
76683         Likewise.
76685 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
76687         [BZ #13942]
76688         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
76689         (1 - x) * (1 + x).
76690         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76691         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
76692         * math/libm-test.inc (acos_test): Add more tests.
76693         (asin_test): Likewise.
76694         * sysdeps/i386/fpu/libm-test-ulps: Update.
76695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76697         [BZ #14034]
76698         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
76699         of square root.
76700         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
76701         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76702         * math/libm-test.inc (acos_test_tonearest): New function.
76703         (acos_test_towardzero): Likewise.
76704         (acos_test_downward): Likewise.
76705         (acos_test_upward): Likewise.
76706         (asin_test_tonearest): Likewise.
76707         (asin_test_towardzero): Likewise.
76708         (asin_test_downward): Likewise.
76709         (asin_test_upward): Likewise.
76710         (main): Call the new functions.
76711         * sysdeps/i386/fpu/libm-test-ulps: Update.
76712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76714         [BZ #13884]
76715         [BZ #13924]
76716         * math/e_exp10.c: Include <float.h>.
76717         (__ieee754_exp10): Handle underflow here rather than multiplying
76718         large negative argument by M_LN10.
76719         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
76720         of __ieee754_expf.
76721         * math/e_exp10l.c: Include <float.h>.
76722         (__ieee754_exp10l): Handle underflow here rather than multiplying
76723         large negative argument by M_LN10l.
76724         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
76725         spurious overflow exception on underflow.
76727 2012-04-29  Marek Polacek  <polacek@redhat.com>
76729         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
76730         (__fortify_function): New macro.
76731         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
76732         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
76733         __extern_always_inline.
76734         * libio/bits/stdio2.h: Likewise.
76735         * libio/bits/stdio.h: Likewise.
76736         * string/string.h: Likewise.
76737         * string/bits/string3.h: Likewise.
76738         * include/stdio.h: Likewise.
76739         * stdlib/bits/stdlib.h: Likewise.
76740         * stdlib/stdlib.h: Likewise.
76741         * rt/bits/mqueue2.h: Likewise.
76742         * rt/mqueue.h: Likewise.
76743         * posix/bits/unistd.h: Likewise.
76744         * posix/unistd.h: Likewise.
76745         * io/bits/poll2.h: Likewise.
76746         * io/bits/fcntl2.h: Likewise.
76747         * io/fcntl.h: Likewise.
76748         * io/sys/poll.h: Likewise.
76749         * misc/bits/syslog.h: Likewise.
76750         * misc/bits/syslog-ldbl.h: Likewise.
76751         * misc/sys/syslog.h: Likewise.
76752         * socket/bits/socket2.h: Likewise.
76753         * socket/sys/socket.h: Likewise.
76754         * debug/tst-chk1.c: Likewise.
76755         * wcsmbs/bits/wchar2.h: Likewise.
76756         * wcsmbs/bits/wchar-ldbl.h: Likewise.
76757         * wcsmbs/wchar.h: Likewise.
76759 2012-04-29  Andreas Jaeger  <aj@suse.de>
76761         * Makerules (tests): Remove enable-check-abi protection.
76762         (check-abi-warn): Remove.
76763         (check-abi-%): Remove check-abi-warn usage.
76765         * configure.in: Remove check-abi configure option.
76766         * configure: Regenerated.
76767         * config.make.in (enable-check-abi): Remove.
76769 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
76771         [BZ #14033]
76772         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
76773         double functions to double *_finite functions.
76775         [BZ #13941]
76776         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
76777         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
76778         LDBL_MIN_EXP.
76779         * stdio-common/Makefile (tests): Add tst-sprintf3.
76780         * stdio-common/tst-sprintf3.c: New file.
76782         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
76783         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
76785 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76787         * conform/conformtest.pl: Remove duplicate typed-constant
76788         handling.
76790 2012-04-28  David S. Miller  <davem@davemloft.net>
76792         * Makerules (%.abilist): Add vpath on sysdep_dirs.
76793         (check-abi-%): Remove AWK script prerequisite and explicit
76794         abilist directory.
76795         (check-abi): Rewrite to just diff the symlist with the abilist.
76796         (config-tls, config-abi-config): Delete, no longer used.
76797         (update-abi-%): Remove AWK script and explicit abilist directory.
76798         (update-abi): Rewrite to simply compare and conditionally copy the
76799         symlist and the sysdep abilist file.  Remove update-abi-config
76800         checks.
76801         * abilist/ld.abilist: Remove.
76802         * abilist/libBrokenLocale.abilist: Remove.
76803         * abilist/libanl.abilist: Remove.
76804         * abilist/libcrypt.abilist: Remove.
76805         * abilist/libdl.abilist: Remove.
76806         * abilist/librt.abilist: Remove.
76807         * abilist/libthread_db.abilist: Remove.
76808         * abilist/libutil.abilist: Remove.
76809         * scripts/extract-abilist.awk: Remove.
76810         * scripts/merge-abilist.awk: Remove.
76811         * sysdeps/generic/libcidn.abilist: New file.
76812         * sysdeps/generic/libnss_compat.abilist: New file.
76813         * sysdeps/generic/libnss_db.abilist: New file.
76814         * sysdeps/generic/libnss_dns.abilist: New file.
76815         * sysdeps/generic/libnss_files.abilist: New file.
76816         * sysdeps/generic/libnss_hesiod.abilist: New file.
76817         * sysdeps/generic/libnss_nis.abilist: New file.
76818         * sysdeps/generic/libnss_nisplus.abilist: New file.
76819         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
76820         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
76821         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
76822         file.
76823         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
76824         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
76825         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
76826         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
76827         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
76828         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
76829         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
76830         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
76831         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
76832         file.
76833         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
76834         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
76835         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
76836         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
76837         file.
76838         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
76839         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
76840         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
76841         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
76842         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
76843         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
76844         file.
76845         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
76846         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
76847         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
76848         file.
76849         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
76850         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
76851         New file.
76852         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
76853         New file.
76854         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
76855         New file.
76856         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
76857         New file.
76858         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
76859         New file.
76860         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
76861         New file.
76862         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
76863         New file.
76864         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
76865         New file.
76866         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
76867         New file.
76868         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
76869         New file.
76870         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
76871         New file.
76872         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
76873         New file.
76874         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
76875         New file.
76876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
76877         file.
76878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
76879         New file.
76880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
76881         New file.
76882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
76883         file.
76884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
76885         New file.
76886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
76887         New file.
76888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
76889         file.
76890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
76891         New file.
76892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76893         New file.
76894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
76895         New file.
76896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
76897         New file.
76898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
76899         New file.
76900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
76901         New file.
76902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
76903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
76904         file.
76905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
76906         New file.
76907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
76908         file.
76909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
76910         file.
76911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
76912         file.
76913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
76914         file.
76915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
76916         file.
76917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76918         New file.
76919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
76920         file.
76921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
76922         file.
76923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
76924         New file.
76925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
76926         file.
76927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
76928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
76929         file.
76930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
76931         New file.
76932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
76933         file.
76934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
76935         file.
76936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
76937         file.
76938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
76939         file.
76940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
76941         file.
76942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76943         New file.
76944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
76945         file.
76946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
76947         file.
76948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
76949         New file.
76950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
76951         file.
76952         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76953         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
76954         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
76955         file.
76956         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
76957         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
76958         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
76959         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
76960         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
76961         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
76962         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
76963         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
76964         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
76965         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
76966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
76967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
76968         file.
76969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
76970         New file.
76971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
76972         file.
76973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
76974         file.
76975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
76976         file.
76977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
76978         file.
76979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
76980         file.
76981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
76982         New file.
76983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
76984         New file.
76985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
76986         file.
76987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
76988         New file.
76989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
76990         file.
76991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
76992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
76993         file.
76994         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
76995         New file.
76996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
76997         file.
76998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
76999         file.
77000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
77001         file.
77002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
77003         file.
77004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
77005         file.
77006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
77007         New file.
77008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
77009         New file.
77010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
77011         file.
77012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
77013         New file.
77014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
77015         file.
77017 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77019         * conform/conformtest.pl: Fix typo in handling typed-constant from
77020         allow-header.
77022 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77024         * README: Cut down references to pre-2.6 Linux kernels and
77025         Linuxthreads.  Update lists of configurations in libc and ports
77026         and sort alphabetically.  Say "or newer" with Linux kernel version
77027         requirements.
77029         * config.h.in [IS_IN_build]: Allow compiling without optimization.
77031 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
77033         [BZ #887]
77034         * math/libm-test.inc (logb_test_downward): New test to expose
77035         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
77036         rounding mode.
77038 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77040         [BZ #14027]
77041         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
77042         to be done.
77043         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
77044         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
77046 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
77048         * sysdeps/unix/i386/brk.S: Remove file.
77049         * sysdeps/unix/i386/dl-brk.S: Likewise.
77050         * sysdeps/unix/i386/pipe.S: Likewise.
77051         * sysdeps/unix/i386/sigreturn.S: Likewise.
77052         * sysdeps/unix/i386/syscall.S: Likewise.
77053         * sysdeps/unix/i386/vfork.S: Likewise.
77054         * sysdeps/unix/i386/wait.S: Likewise.
77056         * sysdeps/unix/common/tcsendbrk.c: Move to ...
77057         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
77059         * configure.in (arm*-none*): Do not allow without
77060         --enable-hacker-mode.
77061         (netbsd*): Remove case setting base_os.
77062         (386bsd*): Likewise.
77063         (freebsd*): Likewise.
77064         (bsdi*): Likewise.
77065         (osf*): Likewise.
77066         (sunos*): Likewise.
77067         (ultrix*): Likewise.
77068         (newsos*): Likewise.
77069         (dynix*): Likewise.
77070         (*bsd*): Likewise.
77071         (sysv*): Likewise.
77072         (isc*): Likewise.
77073         (esix*): Likewise.
77074         (sco*): Likewise.
77075         (minix*): Likewise.
77076         (irix4*): Likewise.
77077         (irix6*): Likewise.
77078         (solaris[2-9]*): Likewise.
77079         (none): Likewise.
77080         * configure: Regenerated.
77082 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77084         [BZ #11521]
77085         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
77086         overflow or cancellation in calculating denominator.
77087         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
77088         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
77089         down expression to avoid unexpected rounding in newer GCCs.
77090         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
77092 2012-04-26  David S. Miller  <davem@davemloft.net>
77094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
77095         long-double compat symbols.
77096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
77100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
77102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
77103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
77104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
77105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
77106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
77107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
77108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77110 2012-04-25  David S. Miller  <davem@davemloft.net>
77112         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
77113         HWCAP_* values only after the memory barriers have been defined.
77114         (atomic_full_barrier): Define.
77115         (atomic_read_barrier): Define.
77116         (atomic_write_barrier): Define.
77118 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77120         * shlib-versions: Add libgcc_s version information.
77121         * sysdeps/generic/libgcc_s.h: Remove.
77122         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
77123         libgcc_s.h.
77124         * sysdeps/gnu/unwind-resume.c: Likewise.
77125         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
77127 2012-04-25  David S. Miller  <davem@davemloft.net>
77129         * sysdeps/unix/sparc/brk.S: Delete.
77130         * sysdeps/unix/sparc/dl-brk.S: Delete.
77131         * sysdeps/unix/sparc/pipe.S: Delete.
77132         * sysdeps/unix/sparc/sysdep.S: Delete.
77133         * sysdeps/unix/sparc/sysdep.h: Delete.
77134         * sysdeps/unix/sparc/vfork.S: Delete.
77135         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
77136         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
77137         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
77138         (ret_ERRVAL, r0, r1, MOVE): Define.
77139         (JUMPTARGET): Remove.
77140         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
77141         sysdeps/unix/sparc/sysdep.h
77142         (ENTRY, END): Remove.
77143         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77145 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
77147         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
77148         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
77149         -DIS_IN_build.
77151         * timezone/README: Update upstream location and email address for
77152         tzcode and tzdata.
77153         * timezone/zdump.c: Update from tzcode 2012b.
77154         * timezone/zic.c: Likewise.
77156         * configure.in (libc_cv_as_needed): Remove test.
77157         * configure: Regenerated.
77158         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
77159         conditional definition.
77160         [$(have-as-needed) != yes] (no-as-needed): Likewise.
77161         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
77162         * config.make.in (have-as-needed): Remove variable.
77164 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77165             Paul Pluzhnikov  <ppluzhnikov@google.com>
77167         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
77168         strings correctly.
77170 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
77172         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
77173         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
77174         * sysdeps/sh/strlen.S: Likewise.
77176 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77178         * sysdeps/unix/fork.S: Remove file.
77179         * sysdeps/unix/i386/fork.S: Likewise.
77180         * sysdeps/unix/sparc/fork.S: Likewise.
77182         * sysdeps/unix/system.c: Remove file.
77183         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
77185         * sysdeps/unix/getegid.S: Remove file.
77186         * sysdeps/unix/geteuid.S: Likewise.
77188 2012-04-24  Roland McGrath  <roland@hack.frob.com>
77190         * scripts/check-localplt.awk: New file.
77191         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
77192         of diff.
77193         * scripts/data/localplt-generic.data: Add a comment.
77195         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
77196         NODE when __dir_mkfile failed.
77197         * sysdeps/mach/hurd/symlinkat.c: Likewise.
77198         Reported by Ludovic Courtès <ludo@gnu.org>.
77200 2012-04-24  Andreas Jaeger  <aj@suse.de>
77202         * Makerules (common-clean): Also remove gen-as-const-headers
77203         files.
77205 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77207         * Makerules (native-compile): Do not change working directory for
77208         build.  Use $(OUTPUT_OPTION) in command.
77209         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
77211 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77213         [BZ #13886]
77214         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
77215         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
77216         * math/libm-test.inc (floor_test): Add more tests.
77217         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
77219 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77221         * sysdeps/unix/getdents.c: Remove file.
77222         * sysdeps/unix/sysv/getdents.c: Likewise.
77223         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
77225         * sysdeps/unix/syscalls.list (madvise): Add syscall from
77226         sysdeps/unix/mman/syscalls.list.
77227         (mmap): Likewise.
77228         (mprotect): Likewise.
77229         (msync): Likewise.
77230         (munmap): Likewise.
77231         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
77232         * sysdeps/unix/mman/syscalls.list: Remove.
77233         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
77235         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
77236         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
77237         * configure: Regenerated.
77238         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
77239         $(libgcc_s_suffix).
77240         * config.make.in (libgcc_s_suffix): Remove variable.
77242 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
77244         * sysdeps/unix/sysv/gethostname.c: Move to ...
77245         * sysdeps/posix/gethostname.c: ... here.
77247         * sysdeps/unix/execve.S: Remove file.
77249         * sysdeps/unix/_exit.S: Remove file.
77251 2012-04-23  Andreas Jaeger  <aj@suse.de>
77253         [BZ #13739]
77254         * manual/Makefile: Remove make dist support, there's no
77255         need for a stand-alone documentation tar ball.
77256         (TEXI2DVI): Define always, it's not in Makeconfig.
77257         (dist): Removed.
77258         (tar-it): Removed.
77259         (edition): Removed.
77260         (glibc-doc-$(edition).tar): Removed
77261         (%.Z): Removed.
77262         (%.gz): Removed.
77263         (%.uu): Removed.
77264         (ETAGS): Remove, it's in Makeconfig.
77265         (move-if-change): Remove, it's in Makeconfig.
77267 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
77269         [BZ #13970]
77270         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
77271         (strtod, strtof, strtold, strtol, strtoul, strtoq)
77272         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
77273         (strtod_l, strtof_l, strtold_l): Remove __wur.
77274         It is not necessarily an error to ignore strtol's return value.
77275         One can reliably look at the stored endptr to decide whether
77276         the number had valid syntax.
77278 2012-04-21  Andreas Jaeger  <aj@suse.de>
77280         [BZ #13739]
77281         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
77283 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
77285         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
77286         * sysdeps/unix/sysv/Versions: Remove file.
77288 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
77290         [BZ #13927]
77291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77293 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
77295         [BZ #7064]
77296         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
77297         version from __vm86.
77299 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
77301         * sysdeps/unix/common/lxstat.c: Remove file.
77302         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
77304         * sysdeps/unix/sysv/Makefile: Remove file.
77306         * sysdeps/unix/sysv/direct.h: Remove file.
77308         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
77309         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
77310         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
77311         * sysdeps/unix/sysv/bits/signum.h: Likewise.
77312         * sysdeps/unix/sysv/bits/stat.h: Likewise.
77313         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
77314         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
77316         * sysdeps/unix/sysv/setrlimit.c: Remove file.
77318         * sysdeps/unix/xmknod.c: Remove file.
77319         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
77321         * sysdeps/unix/sysv/settimeofday.c: Remove file.
77323         * sysdeps/unix/sysv/i386/time.S: Remove file.
77325         * sysdeps/unix/fxstat.c: Remove file.
77326         * sysdeps/unix/xstat.c: Likewise.
77327         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
77329         * sysdeps/unix/sysv/sigaction.c: Remove file.
77331         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
77332         (sysdep_headers): Remove variable.
77333         [termio.h not in sysdep_headers] (generated): Likewise.
77334         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
77335         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
77336         * sysdeps/unix/sysv/tcdrain.c: Likewise.
77337         * sysdeps/unix/sysv/tcflow.c: Likewise.
77338         * sysdeps/unix/sysv/tcflush.c: Likewise.
77339         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
77340         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
77341         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
77342         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
77343         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
77345         * sysdeps/unix/siglist.c: Remove file.
77347         * sysdeps/unix/getppid.S: Remove file.
77349         * sysdeps/unix/mkdir.c: Remove file.
77350         * sysdeps/unix/rmdir.c: Likewise.
77352 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
77354         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
77355         ERR_MAX value.
77356         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
77357         errlist-compat value.
77359 2012-04-18  David S. Miller  <davem@davemloft.net>
77361         * sysdeps/generic/memcopy.h (reg_char): Delete.
77362         * debug/strcat_chk.c: Use char, not reg_char.
77363         * debug/strcpy_chk.c: Likewise.
77364         * debug/strncat_chk.c: Likewise.
77365         * debug/strncpy_chk.c: Likewise.
77366         * string/memchr.c: Likewise.
77367         * string/memrchr.c: Likewise.
77368         * string/rawmemchr.c: Likewise.
77369         * string/strcat.c: Likewise.
77370         * string/strchr.c: Likewise.
77371         * string/strchrnul.c: Likewise.
77372         * string/strcmp.c: Likewise.
77373         * string/strcpy.c: Likewise.
77374         * string/strncat.c: Likewise.
77375         * string/strncmp.c: Likewise.
77376         * string/strncpy.c: Likewise.
77378 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77380         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
77381         __builtin_memcopy is called when src and dest ranges are known to not
77382         overlap.
77384 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77386         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
77387         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
77388         fwd_align_merge macro call.
77389         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
77390         bwd_align_merge macro call.
77391         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77393 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77395         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
77396         bwd_align_merge macros.
77397         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
77398         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
77399         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77401 2012-04-18  David S. Miller  <davem@davemloft.net>
77403         * sysdeps/sparc/sparc64/memcopy.h: Delete.
77405 2012-04-18  Andreas Jaeger  <aj@suse.de>
77407         [BZ# 6794]
77408         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
77409         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
77410         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77412         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
77413         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
77414         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77416         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
77417         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
77418         Adjust for changed ldbl-128 files.
77420         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
77421         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
77422         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77424 2012-04-17  David S. Miller  <davem@davemloft.net>
77426         * sysdeps/sparc/sparc32/memcopy.h: Delete.
77428 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
77430         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
77431         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
77432         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
77433         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
77434         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
77435         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
77437 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77439         [BZ #6794]
77440         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
77441         * math/libm-test.inc: Add ilogb errno and exception tests.
77442         * math/w_ilogb.c: New file: ilogb wrapper.
77443         * math/w_ilogbf.c: New file: ilogbf wrapper.
77444         * math/w_ilogbl.c: New file: ilogbl wrapper.
77445         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
77446         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
77447         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
77448         exception being thrown with 0.0 as argument.
77449         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
77450         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
77451         exception being thrown with 0.0 as argument.
77452         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
77453         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77454         exception being thrown with 0.0 as argument.
77455         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
77456         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77457         exception being thrown with 0.0 as argument.
77458         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
77459         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
77460         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
77461         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
77462         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
77463         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
77464         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
77465         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
77466         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
77468 2012-04-17  Petr Baudis  <pasky@ucw.cz>
77470         * include/sys/uio.h: Change __vector to __iovec to avoid clash
77471         with altivec.
77473 2012-04-16  Marek Polacek  <polacek@redhat.com>
77475         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
77477 2012-04-16  Marek Polacek  <polacek@redhat.com>
77479         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
77480         operands of fdivp instruction.
77482 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77484         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
77485         * elf/tst-auditmod3b.c: Likewise.
77486         * elf/tst-auditmod4b.c: Likewise.
77487         * elf/tst-auditmod5b.c: Likewise.
77488         * elf/tst-auditmod6b.c: Likewise.
77489         * elf/tst-auditmod6c.c: Likewise.
77490         * elf/tst-auditmod7b.c: Likewise.
77491         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
77492         * sysdeps/x86_64/preconfigure.in: Likewise.
77493         * sysdeps/x86_64/preconfigure: Regenerated.
77495 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77497         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
77498         __ILP32__.
77500 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
77502         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
77503         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
77505 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
77507         [BZ #13973]
77508         * locale/iso-639.def: Fix gl language name. Spotted by
77509         Yaron Shahrabani.
77511 2012-04-12  Roland McGrath  <roland@hack.frob.com>
77513         [BZ #2074]
77514         * libio/libio.h (__io_write_fn): Update comment.
77516 2012-04-12  Petr Baudis  <pasky@ucw.cz>
77518         [BZ #2074]
77519         * stdio.texi (Hook Functions): The user provided writer function
77520         is not allowed to return -1.
77522 2012-04-11  David S. Miller  <davem@davemloft.net>
77524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77526 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
77528         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
77529         Add a leading slash to rtkaio.
77531 2012-04-11  Jim Meyering  <meyering@redhat.com>
77533         [BZ #11959]
77534         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
77535         It is not necessarily an error to ignore fwrite's return
77536         value.  One can reliably use ferror to test for errors after
77537         the fact.
77539 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77541         * bits/types.h (__snseconds_t): New type.
77542         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
77544         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
77545         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77546         (__SNSECONDS_T_TYPE): Likewise.
77547         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77548         (__SNSECONDS_T_TYPE): Likewise.
77549         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77550         (__SNSECONDS_T_TYPE): Likewise.
77552 2012-04-10  Andreas Jaeger  <aj@suse.de>
77554         [BZ #2636]
77555         * manual/time.texi (Processor Time): Return type of times is
77556         elapsed real time since an arbitrary point in the past.
77557         (CPU Time): Move CLK_TCK from here...
77558         (Processor Time): ...to here.  Correct description.
77559         * manual/conf.texi (Constants for Sysconf): Correct description of
77560         _SC_CLK_TCK.
77562 2012-04-10  David S. Miller  <davem@davemloft.net>
77564         [BZ #13967]
77565         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
77566         where the is a gap between DT_REL(A) and DT_JMPREL.
77568 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77570         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
77571         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77572         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77574 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
77576         * elf/dl-support.c (_dl_inhibit_cache): New variable.
77577         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
77578         (dl_main): Handle --inhibit-cache.
77579         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
77580         _dl_inhibit_cache.
77581         * elf/dl-load.c (_dl_map_object): Use it.
77582         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
77584 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77586         [BZ #13872]
77587         * sysdeps/i386/fpu/e_powl.S (p78): New object.
77588         (__ieee754_powl): Saturate large exponents rather than testing for
77589         overflow of y*log2(x).
77590         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77591         * math/libm-test.inc (pow_test): Do not permit spurious overflow
77592         exceptions.
77594         [BZ #11521]
77595         * math/s_ctan.c: Include <float.h>.
77596         (__ctan): Avoid internal overflow or cancellation in calculating
77597         denominator.
77598         * math/s_ctanf.c: Likewise.
77599         * math/s_ctanl.c: Likewise.
77600         * math/s_ctanh.c: Likewise.
77601         * math/s_ctanhf.c: Likewise.
77602         * math/s_ctanhl.c: Likewise.
77603         * math/libm-test.inc (ctan_test): Add more tests.
77604         (ctanh_test): Likewise.
77605         * sysdeps/i386/fpu/libm-test-ulps: Update.
77606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77608 2012-04-09  Andreas Jaeger  <aj@suse.de>
77610         [BZ #6894]
77611         * manual/filesys.texi (Directory Entries): Mention that d_namlen
77612         is an optional BSD extension.
77614         [BZ #10254]
77615         * manual/stdio.texi (Opening Streams): Document additional fopen
77616         parameters.
77618 2012-04-09  Roland McGrath  <roland@hack.frob.com>
77620         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
77621         %eax without telling the compiler.
77623 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
77625         [BZ # 13963]
77626         * manual/install.texi: Use sourceware.org.
77628 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77630         [BZ #13873]
77631         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
77632         (__ieee754_pow): Generate overflow and underflow using huge*huge
77633         and tiny*tiny rather than just returning constant infinity or zero
77634         for large exponents.
77635         * math/libm-test.inc (pow_test): Require overflow exceptions for
77636         applicable cases of large exponents.
77638         [BZ #706]
77639         * sysdeps/i386/fpu/e_pow.S (p10): New object.
77640         (__ieee754_pow): Use iterative multiplication algorithm only for
77641         integer exponents with absolute value below 1024.  Check for odd
77642         integer exponents when using algorithm for real exponents.
77643         * math/libm-test.inc (pow_test): Add more tests.
77644         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77646 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
77648         [BZ #13705]
77649         * math/libm-test.inc (exp_test): Do not allow overflow exception
77650         on underflow test.
77652 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
77654         [BZ #13705]
77655         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
77656         instead of __kernel_standard_f.
77658 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
77660         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
77661         * sysdeps/x86_64/memset_chk.S: Likewise.
77663 2012-04-08  Andreas Jaeger  <aj@suse.de>
77665         [BZ #10153]
77666         * manual/startup.texi (Environment Access): Describe return value
77667         for putenv and setenv.
77669         [BZ #6895]
77670         * manual/filesys.texi (Directory Entries): Add description for
77671         DT_LNK.
77673         [BZ #6890]
77674         * manual/filesys.texi (Directory Entries): Clarify that it's file
77675         system not operating system in the description of DT_UNKNOWN.
77677         [BZ #6578]
77678         * manual/syslog.texi (closelog): Fix reference, it's openlog.
77680 2012-04-08  Stephen Compall  <s11@member.fsf.org>
77682         [BZ #6649]
77683         * manual/llio.texi (Opening and Closing Files): Add cross
77684         reference to explain mode argument.
77686 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
77688         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
77689         * sysdeps/x86_64/memset_chk.S: Likewise.
77691 2012-04-07  David S. Miller  <davem@davemloft.net>
77693         * elf/elf.h (R_SPARC_WDISP10): Define.
77694         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
77695         R_SPARC_SIZE32.
77696         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
77697         R_SPARC_SIZE64 and R_SPARC_H34.
77699 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
77701         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
77702         conditions and remove no longer applicable assertion.
77704 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77706         * bits/byteswap.h: Include <features.h>.
77707         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77708         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77710 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77712         * bits/byteswap.h (__bswap_16): Removed.
77713         Include <bits/byteswap-16.h> to get __bswap_16.
77714         * sysdeps/i386/bits/byteswap.h: Likewise.
77715         * sysdeps/s390/bits/byteswap.h: Likewise.
77716         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77717         * bits/byteswap-16.h: New file.
77718         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77719         * sysdeps/s390/bits/byteswap-16.h: Likewise.
77720         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
77721         * string/Makefile (headers): Add bits/byteswap-16.h.
77723 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77725         [BZ #13895]
77726         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
77727         extra indirection.
77728         * nss/Makefile (tests-static, tests): Add tst-nss-static.
77729         * nss/tst-nss-static.c: New.
77731 2012-04-06  Robert Millan  <rmh@gnu.org>
77733         [BZ #6486]
77734         * manual/llio.texi (File Position Primitive): lseek
77735         refers to WHENCE when it really means OFFSET.
77737 2012-04-06  Andreas Jaeger  <aj@suse.de>
77739         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
77740         strncmp declarations.
77742         * abilist/libc.abilist: Add __poll and __ppoll.
77744 2012-04-05  David S. Miller  <davem@davemloft.net>
77746         * scripts/check-local-headers.sh: Accept a host triplet in the
77747         path matched by the exclude regexp.
77749         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
77750         definition.
77751         * sysdeps/powerpc/powerpc32/dl-machine.h
77752         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
77753         * sysdeps/s390/s390-32/dl-machine.h
77754         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77755         * sysdeps/sparc/sparc32/dl-machine.h
77756         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77757         * sysdeps/sparc/sparc64/dl-machine.h
77758         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77760         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
77761         lazy binding.
77762         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
77763         undefined symbol errors.
77765         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
77766         DT_NEEDED entries.
77768 2012-04-05  Michael Matz  <matz@suse.de>
77770         [BZ #13592]
77771         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
77773 2012-04-05  Andreas Jaeger  <aj@suse.de>
77775         [BZ #13908]
77776         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
77777         comment.
77779 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77781         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
77782         which ROUND is no valid rounding mode.
77784 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77786         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
77787         read again.
77788         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
77790 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77792         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
77793         an exception using FPU order intentionally.
77795 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77797         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
77798         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
77799         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
77800         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
77802 2012-04-05  Simon Josefsson  <simon@josefsson.org>
77804         [BZ #12340]
77805         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
77806         EINVAL when BUFLEN is too smal.
77808 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
77810         [BZ #13553]
77811         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
77812         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
77814 2012-04-03  Andreas Jaeger  <aj@suse.de>
77816         [BZ #13938]
77817         * manual/setjmp.texi (System V contexts): Fix sentence.
77819         [BZ #13926]
77820         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
77821         New macro for this case.
77822         [!__GNUC__] (__bswap_64): New inline function for this case.
77823         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77824         * bits/byteswap.h: Likewise.
77825         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
77826         ull, guard with __GLIBC_HAVE_LONG_LONG.
77828         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
77829         __GLIBC_HAVE_LONG_LONG.
77831         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
77832         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
77834 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
77836         [BZ #13691]
77837         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
77838         inptr and inend, rather than using last_ch.
77840 2012-04-02  David S. Miller  <davem@davemloft.net>
77842         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
77843         * stdio-common/printf-parse.h (read_int): Change return type to
77844         'int', return -1 on INT_MAX overflow.
77845         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
77846         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
77847         overflows INT_MAX.  Check for overflow of in-format-string precision
77848         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
77849         SIZE_MAX not INT_MAX for integer overflow test.
77850         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
77851         skip the construct in the format string but do not record anything.
77852         * stdio-common/bug22.c: Adjust to test both width/prevision
77853         INT_MAX overflow as well as total length INT_MAX overflow.  Check
77854         explicitly for proper errno values.
77856 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
77858         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
77859         CHAR_MAX.
77860         * string/test-strcmp.c [! WIDE]: Likewise.
77861         * time/tst-mktime2.c: Likewise for INT_MAX.
77862         * string/test-string.h: #include <sys/param.h> for MIN.
77864         * csu/init-first.c (__libc_init_first): Call __ctype_init.
77865         * sysdeps/i386/init-first.c (init): Likewise.
77866         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
77867         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
77868         * sysdeps/sh/init-first.c (init): Likewise.
77870 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
77872         * po/ru.po: Update from translation team.
77873         * po/vi.po: Likewise.
77875 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
77877         * resolv/nss_dns/dns-host.c: Merge copyright years.
77879 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77881         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77882         Optimize memcpy with prefetch if
77883         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
77884         src, dst pointers have unequal 16 byte alignments.
77886 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
77888         [BZ #13928]
77889         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
77890         from a CNAME entry and return the minimum ttl for the query.
77891         (gaih_getanswer_slice): Likewise.
77893 2012-03-30  Jeff Law  <law@redhat.com>
77895         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
77896         due to long keys.
77897         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
77898         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
77900         * resolv/nss_dns/dns-host.c: Update copyright year.
77902 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
77904         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
77905         requests to save a system call.  Fix check that all bytes are sent.
77907         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
77908         comments for sendmmsg.
77910 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77912         [BZ #13691]
77913         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
77914         with only 1 character between 0x0041 and 0x01b0.
77915         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
77916         * wcsmbs/tst-mbsnrtowcs.c: New file.
77918 2012-03-29  David S. Miller  <davem@davemloft.net>
77920         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
77921         small copies by hand.
77923 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
77925         [BZ #13761]
77926         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
77927         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
77928         group memberships.
77930 2012-03-28  David S. Miller  <davem@davemloft.net>
77932         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
77933         that branches into memcpy.
77934         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
77935         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
77936         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77937         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
77938         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
77939         bits.
77940         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
77941         implementation too.
77942         * sysdeps/sparc/mempcpy.S: New file.
77944         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
77945         the IFUNC routine in the libc case.
77946         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77948         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
77949         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
77950         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
77951         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
77952         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
77953         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
77954         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
77955         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
77957         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
77958         loop to 256 bytes instead of 64 bytes and fix test signedness.
77960         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
77961         * sysdeps/sparc/sparc32/Makefile: rather than here...
77962         * sysdeps/sparc/sparc64/Makefile: and here.
77964 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
77966         * malloc/mallocbug.c: Avoid warnings about unused variables.
77968 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
77970         [BZ #13760]
77971         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
77972         in the right place. Discard and retry query if response is
77973         larger than input buffer size.
77975 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
77977         [BZ #369]
77978         [BZ #2678]
77979         [BZ #3866]
77980         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
77981         x for large integer exponent.
77982         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
77983         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
77984         sign of result as needed afterwards.
77985         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
77986         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
77987         result for underflowing pow the same as for overflow.
77988         (__kernel_standard_l): Handle powl overflow and underflow here
77989         rather than calling __kernel_standard.
77990         * math/libm-test.inc (pow_test): Add more tests.
77992         [BZ #3868]
77993         [BZ #13879]
77994         [BZ #13910]
77995         [BZ #13911]
77996         [BZ #13912]
77997         [BZ #13913]
77998         [BZ #13915]
77999         [BZ #13916]
78000         [BZ #13917]
78001         [BZ #13918]
78002         [BZ #13919]
78003         [BZ #13920]
78004         [BZ #13921]
78005         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
78006         * sysdeps/ieee754/k_standard.c: Include <float.h>.
78007         (__kernel_standard_l): New function.
78008         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
78009         __kernel_standard.
78010         * math/w_acosl.c (__acosl): Likewise.
78011         * math/w_asinl.c (__asinl): Likewise.
78012         * math/w_atan2l.c (__atan2l): Likewise.
78013         * math/w_atanhl.c (__atanhl): Likewise.
78014         * math/w_coshl.c (__coshl): Likewise.
78015         * math/w_exp10l.c (__exp10l): Likewise.
78016         * math/w_exp2l.c (__exp2l): Likewise.
78017         * math/w_fmodl.c (__fmodl): Likewise.
78018         * math/w_hypotl.c (__hypotl): Likewise.
78019         * math/w_j0l.c (__j0l, __y0l): Likewise.
78020         * math/w_j1l.c (__j1l, __y1l): Likewise.
78021         * math/w_jnl.c (__jnl, __ynl): Likewise.
78022         * math/w_lgammal.c (__lgammal): Likewise.
78023         * math/w_log10l.c (__log10l): Likewise.
78024         * math/w_log2l.c (__log2l): Likewise.
78025         * math/w_logl.c (__logl): Likewise.
78026         * math/w_powl.c (__powl): Likewise.
78027         * math/w_remainderl.c (__remainderl): Likewise.
78028         * math/w_scalbl.c (sysv_scalbl): Likewise.
78029         * math/w_sinhl.c (__sinhl): Likewise.
78030         * math/w_sqrtl.c (__sqrtl): Likewise.
78031         * math/w_tgammal.c (__tgammal): Likewise.
78032         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
78033         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
78034         * math/libm-test.inc (acos_test): Add more tests.
78035         (acosh_test): Likewise.
78036         (asin_test): Likewise.
78037         (atanh_test): Likewise.
78038         (exp_test): Likewise.
78039         (exp10_test): Likewise.
78040         (exp2_test): Likewise.
78041         (expm1_test): Likewise.
78042         (lgamma_test): Likewise.
78043         (log_test): Likewise.
78044         (log10_test): Likewise.
78045         (log1p_test): Likewise.
78046         (log2_test): Likewise.
78047         (pow_test): Do not allow some spurious overflow exceptions.
78048         (sqrt_test): Add more tests.
78049         (tgamma_test): Likewise.
78050         (y0_test): Likewise.
78051         (y1_test): Likewise.
78052         (yn_test): Likewise.
78054 2012-03-27  Anton Blanchard  <anton@samba.org>
78056         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
78057         MAP_HUGETLB.
78058         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78059         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78060         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78062 2012-03-27  David S. Miller  <davem@davemloft.net>
78064         * conform/Makefile: Run run-conformtest.sh using $(BASH).
78066         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
78067         have-as-vis3 check.
78069 2012-03-27  Andreas Jaeger  <aj@suse.de>
78071         * sysdeps/x86_64/elf/configure.in: Moved to ...
78072         * sysdeps/x86_64/configure.in: ... here.
78073         * sysdeps/x86_64/elf/start.S: Moved to ...
78074         * sysdeps/x86_64/start.S: ... here.
78075         * sysdeps/x86_64/elf/configure: Delete.
78077         * sysdeps/x86_64/configure.in: Merge contents from
78078         sysdeps/i386/configure.in (without i686 check).
78080         * sysdeps/i386/elf/Versions: Merge into ...
78081         * sysdeps/i386/Versions: ... this.
78082         * sysdeps/i386/elf/Versions: Delete file.
78083         * sysdeps/i386/elf/start.S: Moved to ...
78084         * sysdeps/i386/start.S: ...here.
78085         * sysdeps/i386/elf/configure.in: Merge into...
78086         * sysdeps/i386/configure.in: ...here.
78087         * sysdeps/i386/elf/configure.in: Delete file.
78088         * sysdeps/i386/elf/configure: Delete file.
78090         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
78091         * debug/backtracesyms.c: ... here.
78092         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
78093         * debug/backtracesymsfd.c: ... here.
78094         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
78095         * sysdeps/generic/ifunc-sel.h: ... here.
78097         * sysdeps/unix/i386/start.c: Delete file.
78098         * sysdeps/unix/sparc/start.c: Delete file.
78099         * sysdeps/unix/start.c: Delete file.
78101         * sysdeps/sh/elf/configure.in: Moved to ...
78102         * sysdeps/sh/configure.in: ... here.
78103         * sysdeps/sh/elf/start.S: Moved to ...
78104         * sysdeps/sh/start.S: ... here.
78105         * sysdeps/sh/elf/configure: Delete file.
78107         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
78108         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
78109         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
78110         * sysdeps/powerpc/powerpc64/entry.h: ... here.
78111         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
78112         * sysdeps/powerpc/powerpc64/start.S: here.
78113         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
78114         * sysdeps/powerpc/powerpc64/Makefile: ... this.
78115         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
78116         * sysdeps/powerpc/powerpc64/configure.in: ... this.
78117         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
78119         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
78120         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
78121         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
78122         * sysdeps/powerpc/powerpc32/start.S: ... here.
78123         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
78124         * sysdeps/powerpc/powerpc32/configure.in: ... this.
78125         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
78127         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
78128         * sysdeps/powerpc/ifunc-sel.h: ... here.
78129         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
78130         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
78132         * sysdeps/sparc/elf/configure.in: Moved to ...
78133         * sysdeps/sparc/configure.in: ... here.
78134         * sysdeps/sparc/elf/configure: Delete file.
78135         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
78136         * sysdeps/sparc/sparc32/start.S: ... here.
78137         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
78138         * sysdeps/sparc/sparc64/start.S: ... here.
78139         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
78140         * sysdeps/sparc/sparc32/Makefile: ... this.
78141         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
78142         * sysdeps/sparc/sparc64/Makefile: ... this.
78144         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
78145         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
78146         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
78147         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
78148         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
78149         * sysdeps/s390/s390-32/setjmp.S: ... here.
78150         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
78151         * sysdeps/s390/s390-32/configure.in: ... here.
78152         * sysdeps/s390/s390-32/elf/configure: Delete file.
78153         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
78154         * sysdeps/s390/s390-32/start.S: ... here.
78156         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
78157         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
78158         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
78159         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
78160         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
78161         * sysdeps/s390/s390-64/setjmp.S: ... here.
78162         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
78163         * sysdeps/s390/s390-64/configure.in: ... here
78164         * sysdeps/s390/s390-64/elf/configure: Delete file.
78165         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
78166         * sysdeps/s390/s390-64/start.S: ... here.
78167         * sysdeps/s390/s390-64/elf/configure: Delete.
78169         * configure.in: Remove support for elf directories in sysdeps.
78171         * configure: Regenerated.
78172         * sysdeps/i386/configure: Regenerated.
78173         * sysdeps/powerpc/powerpc32/configure: Regenerated.
78174         * sysdeps/powerpc/powerpc64/configure: Regenerated.
78175         * sysdeps/s390/s390-32/configure: Regenerated.
78176         * sysdeps/s390/s390-64/configure: Regenerated.
78177         * sysdeps/sh/configure: Regenerated.
78178         * sysdeps/sparc/configure: Regenerated.
78179         * sysdeps/x86_64/configure: Regenerated.
78181 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
78183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78185         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
78186         denormal result into account.
78188 2012-03-25  Roland McGrath  <roland@hack.frob.com>
78190         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
78191         Reported by Allan McRae <allan@archlinux.org>.
78193 2012-03-23  Jeff Law  <law@redhat.com>
78195         * nss/getnssent.c (__nss_getent): Fix typo.
78197 2012-03-23  David S. Miller  <davem@davemloft.net>
78199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78201 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
78203         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
78204         to pad to uint64_t for each field.
78205         (dl_tls_index): Replace unsigned long with uint64_t.
78207 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
78208         Paul Pluzhnikov  <ppluzhnikov@google.com>
78210         [BZ #6528]
78211         * grp/Makefile (otherlibs): Don't set it.
78212         * inet/Makefile (otherlibs): Likewise.
78213         * login/Makefile (otherlibs): Likewise.
78214         * nscd/Makefile (otherlibs): Likewise.
78215         * posix/Makefile (otherlibs): Likewise.
78216         * pwd/Makefile (otherlibs): Likewise.
78217         * rt/Makefile (otherlibs): Likewise.
78218         * sunrpc/Makefile (otherlibs): Likewise.
78219         * nss/Makefile (otherlibs): Likewise.
78220         Add libnss_files to routines and static-only-routines.
78221         ($(objpfx)getent): Remove rule.
78222         * resolv/Makefile: Add libnss_dns and libresolv to routines and
78223         static-only-routines.
78225 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78227         [BZ #13892]
78228         * math/s_cexp.c: Include <float.h>.
78229         (__cexp): Handle exp result overflowing not necessarily
78230         overflowing both real and imaginary parts of result.
78231         * math/s_cexpf.c: Likewise.
78232         * math/s_cexpl.c: Likewise.
78233         * math/libm-test.inc (cexp_test): Add more tests.
78234         * sysdeps/i386/fpu/libm-test-ulps: Update.
78235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78237 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78239         * include/link.h (ELFW): New macro.
78240         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
78241         Replace ELF64_R_TYPE with ELFW(R_TYPE).
78243 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78245         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
78246         with uint64_t.
78248 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78250         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
78251         declaration.
78252         (struct La_x32_retval): Likewise.
78254 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78256         * sysdeps/x86_64/preconfigure.in: New file.
78257         * sysdeps/x86_64/preconfigure: New generated file.
78259 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78261         [BZ #13824]
78262         * math/e_exp2l.c: Include <float.h>.
78263         (__ieee754_exp2l): Handle overflow and underflow cases
78264         separately.  Only pass fractional part of argument to
78265         __ieee754_expl.
78266         * math/libm-test.inc (exp2_test): Add more tests.
78268         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
78269         negating x to take absolute value.
78270         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
78271         Likewise.
78272         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
78273         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
78274         Likewise.
78275         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
78276         computing low part if x was negated.
78277         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
78279 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78281         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
78282         la_x32_gnu_pltexit.
78283         (pltexit): Cast int_retval to ptrdiff_t.
78284         * elf/tst-auditmod3b.c: Likewise.
78285         * elf/tst-auditmod4b.c: Likewise.
78286         * elf/tst-auditmod5b.c: Likewise.
78287         * elf/tst-auditmod6b.c: Likewise.
78288         * elf/tst-auditmod6c.c: Likewise.
78289         * elf/tst-auditmod7b.c: Likewise.
78291         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
78292         and x32_gnu_pltexit.
78294         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
78295         __ELF_NATIVE_CLASS.
78296         (La_x32_regs): New macro.
78297         (La_x32_retval): Likewise.
78298         (la_x32_gnu_pltenter): New function prototype.
78299         (la_x32_gnu_pltexit): Likewise.
78301 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
78303         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
78304         exponent.
78306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78308         * configure.in (libc_cv_cc_nofma): Check for option to disable
78309         generation of FMA instructions.
78310         * configure: Regenerate.
78311         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
78312         * sysdeps/ieee754/dbl-64/Makefile: New file.
78313         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
78314         Remove brandred-fma4.
78315         (CFLAGS-brandred-fma4.c): Remove.
78316         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
78317         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
78318         define.
78319         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
78320         define.
78322 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78324         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78325         LLONG_MAX != LONG_MAX.
78326         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78327         (_fitoa_word): Likewise.
78328         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
78329         LLONG_MAX != LONG_MAX.
78330         * stdio-common/_itowa.h: Include <_itoa.h>.
78331         (_itowa_word): Use _ITOA_WORD_TYPE on value.
78332         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
78333         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
78334         only if not defined.
78335         (_ITOA_WORD_TYPE): Likewise.
78336         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78337         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
78339 2012-03-21  David S. Miller  <davem@davemloft.net>
78341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78343 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78345         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
78346         of x86_64 when setting libc_cv_slibdir, libdir and
78347         libc_cv_localedir.
78348         * sysdeps/unix/sysv/linux/configure: Regenerated.
78350 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78352         * manual/lang.texi (Old Varargs): Remove section.
78353         (How Variadic): Update menu.
78354         (va_start): Do not mention varargs.h.
78356 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78357             Joseph Myers  <joseph@codesourcery.com>
78359         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
78360         link test.
78361         * configure: Regenerated.
78363 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78365         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
78366         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
78367         conformtest.pl
78369 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78371         * NOTES: Remove.
78372         * Makefile (files-for-dist): Remove NOTES.
78373         (NOTES): Remove rule.
78374         * README: Don't refer to NOTES.
78375         * manual/creature.texi: Don't include macros.texi.
78376         * manual/intro.texi (creature.texi): Remove comment referring to
78377         NOTES.
78379         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
78380         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
78381         * configure: Regenerated.
78382         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
78383         LIBC_TRY_CC_OPTION.
78384         (libc_cv_as_i686): Likewise.
78385         (libc_cv_cc_avx): Likewise.
78386         (libc_cv_cc_sse2avx): Likewise.
78387         (libc_cv_cc_fma4): Likewise.
78388         (libc_cv_cc_novzeroupper): Likewise.
78389         * sysdeps/i386/configure: Regenerated.
78391         [BZ #13883]
78392         * sysdeps/i386/fpu/s_cexp.S: Remove.
78393         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78394         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78395         * math/libm-test.inc (cexp_test): Add more tests.
78396         * sysdeps/i386/fpu/libm-test-ulps: Update.
78397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78399 2012-03-21  Allan McRae  <allan@archlinux.org>
78401         * timezone/Makefile: Do not install iso3166.tab and zone.tab
78403 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78405         [BZ #13871]
78406         * math/w_exp2.c: Do not include <float.h>.
78407         (o_threshold, u_threshold): Remove.
78408         (__exp2): Calculate result before checking finiteness and calling
78409         __kernel_standard.
78410         * math/w_exp2f.c: Likewise.
78411         * math/w_exp2l.c: Likewise.
78412         * math/libm-test.inc (exp2_test): Require overflow exception for
78413         1e6 input.
78415         [BZ #3866]
78416         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
78417         range of signed 64-bit integers before using fistpll.  Remove
78418         checks for whether integers fit in mantissa bits.
78419         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
78420         the range of signed 32-bit integers before using fistpl.  Remove
78421         checks for whether integers fit in mantissa bits.
78422         * sysdeps/i386/fpu/e_powl.S (p64): New object.
78423         (__ieee754_powl): Test for y outside the range of signed 64-bit
78424         integers before using fistpll.  Reduce 64-bit values to 63-bit
78425         ones as needed.
78426         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
78427         divide-by-zero is raised for zero to large negative powers.
78428         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
78429         (__ieee754_powl): Test for y outside the range of signed 64-bit
78430         integers before using fistpll.  Reduce 64-bit values to 63-bit
78431         ones as needed.
78432         * math/libm-test.inc (pow_test): Add more tests.
78434 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78436         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
78437         <stdio-common/_itoa.h>.
78438         * debug/segfault.c: Likewise.
78439         * elf/dl-cache.c: Likewise.
78440         * elf/dl-minimal.c: Likewise.
78441         * elf/dl-misc.c: Likewise.
78442         * elf/dl-sysdep.c: Likewise.
78443         * elf/dl-version.c: Likewise.
78444         * elf/rtld.c: Likewise.
78445         * hurd/hurdsock.c: Likewise.
78446         * hurd/lookup-retry.c: Likewise.
78447         * malloc/malloc.c: Likewise.
78448         * malloc/mtrace.c: Likewise.
78449         * nscd/nscd_getgr_r.c: Likewise.
78450         * nscd/nscd_getpw_r.c: Likewise.
78451         * nscd/nscd_getserv_r.c: Likewise.
78452         * posix/getopt_init.c: Likewise.
78453         * posix/wordexp.c: Likewise.
78454         * stdio-common/_itoa.c: Likewise.
78455         * stdio-common/printf_fphex.c: Likewise.
78456         * stdio-common/vfprintf.c: Likewise.
78457         * string/_strerror.c: Likewise.
78458         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
78459         * sysdeps/i386/i686/hp-timing.h: Likewise.
78460         * sysdeps/mach/_strerror.c: Likewise.
78461         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
78462         * sysdeps/mach/hurd/sethostid.c: Likewise.
78463         * sysdeps/mach/hurd/xmknodat.c: Likewise.
78464         * sysdeps/mach/xpg-strerror.c: Likewise.
78465         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
78466         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
78467         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
78468         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
78469         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
78470         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
78471         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
78472         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
78473         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
78474         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
78475         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
78476         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
78477         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
78478         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
78479         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
78480         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
78481         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
78482         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
78483         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
78484         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
78485         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
78487         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
78489         * stdio-common/_itoa.h: Moved to ...
78490         * sysdeps/generic/_itoa.h: Here.
78492         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
78494         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
78495         instead of "_itoa.h" and "_itowa.h".
78496         * stdio-common/vfprintf.: Likewise.
78498 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78500         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
78501         <bits/wordsize.h>.
78502         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
78503         (__signbit): Likewise.
78504         (llrintf): Likewise.
78505         (llrint): Likewise.
78507 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78509         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
78510         __WORDSIZE != 64.
78512 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
78514         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
78515         OVERFLOW_EXCEPTION_OK.
78516         * math/libm-test.inc ("Philosophy"): Update comment about
78517         exception testing.
78518         (OVERFLOW_EXCEPTION): Define.
78519         (OVERFLOW_EXCEPTION_OK): Likewise.
78520         (INVALID_EXCEPTION_OK): Renumber.
78521         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78522         (IGNORE_ZERO_INF_SIGN): Likewise.
78523         (test_exceptions): Handle FE_OVERFLOW.
78524         (exp10_test): Expect overflow exceptions.
78525         (exp2_test): Likewise.
78526         (expm1_test): Likewise.
78527         (nextafter_test): Likewise.
78528         (pow_test): Likewise.
78529         (scalbn_test): Likewise.
78530         (scalbln_test): Likewise.
78532 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78534         * sysdeps/x86_64/bits/atomic.h
78535         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
78536         64bit integer.
78537         (atomic_exchange_acq): Likewise.
78538         (__arch_exchange_and_add_body): Likewise.
78539         (__arch_add_body): Likewise.
78540         (atomic_add_negative): Likewise.
78541         (atomic_add_zero): Likewise.
78543 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78545         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
78546         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
78548 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78550         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
78551         Check __x86_64__ instead of __WORDSIZE.
78553 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78555         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
78557 2012-03-19  David S. Miller  <davem@davemloft.net>
78559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78561         * sysdeps/sparc/fpu/fenv_private.h: New file.
78562         * sysdeps/sparc/fpu/math_private.h: Use it.
78563         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
78564         Remove.
78565         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
78566         (libc_feholdexcept_setroundl): Remove.
78567         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
78568         Remove.
78569         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
78570         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
78572 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78574         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
78575         int64_t instead of long int.
78576         (INSERT_WORDS64): Likewise.
78578 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78580         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
78581         _Unwind_GetCFA return to _Unwind_Ptr first.
78583 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
78585         [BZ #13629]
78586         * math/s_clog.c: Include <float.h>.
78587         (__clog): Scale large or subnormal inputs.
78588         * math/s_clogf.c: Likewise.
78589         * math/s_clogl.c: Likewise.
78590         * math/s_clog10.c: Include <float.h>.
78591         (M_LOG10_2): Define.
78592         (__clog10): Scale large or subnormal inputs.
78593         * math/s_clog10f.c: Likewise.
78594         * math/s_clog10l.c: Likewise.
78595         * math/libm-test.inc (clog_test): Add more tests.
78596         (clog10_test): Likewise.
78597         * sysdeps/i386/fpu/libm-test-ulps: Update.
78598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78600         [BZ #11451]
78601         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
78602         x and y.
78603         * math/libm-test.inc (atan2_test): Add another test.
78605         * Makerules (common-objdir-compile): Remove.
78606         * sysdeps/unix/Makefile (config-generated): Do not add
78607         $(unix-generated) to variable.
78608         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
78609         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
78610         Remove rule.
78611         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
78612         Likewise.
78613         [generic bits/local_lim.h] (before-compile): Do not append to
78614         variable.
78615         [generic bits/local_lim.h] (common-generated): Likewise.
78616         [generic sys/param.h] (before-compile): Do not append to variable.
78617         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
78618         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
78619         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
78620         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
78621         include.
78622         [generic sys/param.h] (sys/param.h-includes): Remove variable.
78623         [generic sys/param.h] (sys/param.h-includes): Remove rule.
78624         [generic sys/param.h] ($(addprefix
78625         $(common-objpfx),$(sys/param.h-includes))): Likewise.
78626         [generic sys/param.h] (common-generated): Do not append to
78627         variable.
78628         [generic sys/param.h] (sysdep_headers): Likewise.
78629         [generic bits/errno.h] (before-compile): Do not append to
78630         variable.
78631         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
78632         rule.
78633         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
78634         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
78635         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
78636         [generic bits/errno.h] (common-generated): Do not append to
78637         variable.
78638         [generic bits/ioctls.h] (before-compile): Do not append to
78639         variable.
78640         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
78641         rule.
78642         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
78643         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
78644         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
78645         rule.
78646         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
78647         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
78648         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
78649         [generic bits/ioctls.h] (common-generated): Do not append to
78650         variable.
78651         [generic sys/syscall.h] (syscall.h): Remove variable.
78652         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
78653         rule.
78654         [generic sys/syscall.h] (before-compile): Do not append to
78655         variable.
78656         [generic sys/syscall.h] (common-generated): Likewise.
78657         * sysdeps/unix/errnos-tmpl.c: Remove file.
78658         * sysdeps/unix/errnos.awk: Likewise.
78659         * sysdeps/unix/ioctls-tmpl.c: Likewise.
78660         * sysdeps/unix/ioctls.awk: Likewise.
78661         * sysdeps/unix/mk-local_lim.c: Likewise.
78662         * sysdeps/unix/snarf-ioctls: Likewise.
78664 2012-03-19  Richard Henderson  <rth@twiddle.net>
78666         * sysdeps/i386/fpu/fenv_private.h: New file.
78667         * sysdeps/i386/fpu/math_private.h: Use it.
78668         (math_opt_barrier, math_force_eval): Remove.
78669         (libc_feholdexcept_setround_53bit): Remove.
78670         (libc_feupdateenv_53bit): Remove.
78671         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78672         (math_opt_barrier, math_force_eval): Remove.
78673         (libc_feholdexcept): Remove.
78674         (libc_feholdexcept_setround): Remove.
78675         (libc_fetestexcept, libc_fesetenv): Remove.
78676         (libc_feupdateenv_test): Remove.
78677         (libc_feupdateenv, libc_feholdsetround): Remove.
78678         (libc_feresetround): Remove.
78680         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
78681         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
78683         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
78684         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
78685         (libc_feupdateenv_testl): New.
78686         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
78687         (libc_feupdateenv_testf): New.
78688         (libc_feupdateenv): Use libc_feupdateenv_test.
78689         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
78690         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
78692         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
78693         (libc_feholdsetroundf, libc_feholdsetroundl): New.
78694         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
78695         (libc_feresetround_noex): New.
78696         (libc_feresetround_noexf): New.
78697         (libc_feresetround_noexl): New.
78698         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
78699         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
78700         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
78701         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
78702         SET_RESTORE_ROUND.
78703         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
78704         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
78705         (__cos): Likewise.
78706         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
78707         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
78708         SET_RESTORE_ROUND_NOEX.
78709         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
78710         SET_RESTORE_ROUND_NOEXF.
78711         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
78712         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
78713         (libc_feholdsetroundf): New.
78714         (libc_feresetround, libc_feresetroundf): New.
78716         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
78717         (libc_feholdexcept_setround_53bit): Convert from macro to function.
78718         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
78720         * sysdeps/generic/math_private.h: Include <fenv.h>.
78721         (default_libc_feholdexcept): New.
78722         (default_libc_feholdexcept_setround): New.
78723         (default_libc_fesetenv, default_libc_feupdateenv): New.
78724         (libc_feholdexcept): Only define if undefined.
78725         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
78726         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
78727         (libc_feholdexcept_setroundl): Likewise.
78728         (libc_feholdexcept_setround_53bit): Likewise.
78729         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
78730         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
78731         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
78732         (libc_feupdateenv_53bit): Likewise.
78733         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
78734         (libc_feholdexcept): Convert from macro to inline function.
78735         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
78736         (libc_fesetenv, libc_feupdateenv): Likewise.
78738         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
78739         not previously defined.
78740         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
78741         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
78742         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
78743         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
78744         * sysdeps/ieee754/flt-32/math_private.h: New file.
78745         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
78746         math_private.h below SET_FLOAT_WORD.
78747         (__isnan, __isinf_ns, __finite): Remove.
78748         (__isnanf, __isinf_nsf, __finitef): Remove.
78750 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
78752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78754 2012-03-17  David S. Miller  <davem@davemloft.net>
78756         [BZ #6471]
78757         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
78758         for 2.16.
78760 2012-03-16  David S. Miller  <davem@davemloft.net>
78762         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
78763         warnings.
78765         [BZ #6471]
78766         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
78767         properly.
78768         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
78769         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
78770         sysdep_routines when subdir is sysvipc.
78771         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
78772         __getshmlba helper.
78774         * sysdeps/sparc/fpu/libm-test/ulps: Update.
78776 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78778         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
78779         [__LP64__].
78781 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78783         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
78784         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
78785         (__lround): Renamed to ...
78786         (__llround): This.  Replace long int with long long int.
78787         Define lround functions as aliases of llround functions.
78788         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
78790 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78792         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
78793         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
78794         adresses to uintptr_t.  Replace "long int" and "unsigned long
78795         int" with "greg_t" on va_arg.
78797 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78799         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
78800         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
78802         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
78803         Move e_machine check before EI_CLASS check.  Handle x32
78804         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
78805         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
78806         SKIP_EM_IA_64 and include
78807         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
78809         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
78810         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
78811         (add_system_dir): New macro.
78813         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
78814         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
78816 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78818         [BZ #2551]
78819         [BZ #2552]
78820         [BZ #2553]
78821         [BZ #2554]
78822         [BZ #2562]
78823         [BZ #2563]
78824         [BZ #2565]
78825         [BZ #2566]
78826         [BZ #2576]
78827         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
78828         (y0): Likewise.
78829         * math/w_j0f.c (j0f): Likewise.
78830         (y0f): Likewise.
78831         * math/w_j0l.c (__j0l): Likewise.
78832         (__y0l): Likewise.
78833         * math/w_j1.c (j1): Likewise.
78834         (y1): Likewise.
78835         * math/w_j1f.c (j1f): Likewise.
78836         (y1f): Likewise.
78837         * math/w_j1l.c (__j1l): Likewise.
78838         (__y1l): Likewise.
78839         * math/w_jn.c (jn): Likewise.
78840         (yn): Likewise.
78841         * math/w_jnf.c (jnf): Likewise.
78842         (ynf): Likewise.
78843         * math/w_jnl.c (__jnl): Likewise.
78844         (__ynl): Likewise.
78845         * math/libm-test.inc (j0_test): Add more tests.
78846         (j1_test): Likewise.
78847         (jn_test): Likewise.  Add trailing semicolon to existing test.
78848         (y0_test): Likewise.
78849         (y1_test): Likewise.
78850         * sysdeps/i386/fpu/libm-test-ulps: Update.
78851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78853         [BZ #13851]
78854         [BZ #13854]
78855         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
78856         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
78857         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
78858         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
78859         (__tanl): Set errno for infinite argument.
78860         * sysdeps/i386/fpu/mptan.c: Remove.
78861         * sysdeps/i386/fpu/s_tan.S: Likewise.
78862         * sysdeps/i386/fpu/s_tanl.S: Likewise.
78863         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
78864         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
78865         * math/libm-test.inc (tan_test): Add more tests and enable more
78866         tests for double and long double.
78867         * sysdeps/i386/fpu/libm-test-ulps: Update.
78868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78870 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
78872         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
78873         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
78875 2012-03-16  Roland McGrath  <roland@hack.frob.com>
78877         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
78878         * configure.in: Use it for both main tree and add-ons.
78879         * configure: Regenerated.
78881 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78883         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
78885 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78887         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
78888         in comment.
78890         [BZ #13851]
78891         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
78892         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
78893         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
78894         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
78895         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
78896         infinite argument.
78897         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
78898         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
78899         != 0 for prec == 2.
78900         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
78901         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
78902         * sysdeps/i386/fpu/s_cosl.S: Likewise.
78903         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
78904         * sysdeps/i386/fpu/s_sinl.S: Likewise.
78905         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
78906         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
78907         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
78908         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
78909         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
78910         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
78911         * math/libm-test.inc (cos_test): Add more tests and enable more
78912         tests for long double.
78913         (sin_test): Likewise.
78914         (sincos_test): Likewise.
78915         * sysdeps/i386/fpu/libm-test-ulps: Update.
78916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78918 2012-03-16  David S. Miller  <davem@davemloft.net>
78920         * sysdeps/sparc/fpu/math_private.h: New file.
78922 2012-03-15  David S. Miller  <davem@davemloft.net>
78924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
78925         file.
78926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
78927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
78928         file.
78929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
78930         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
78931         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
78932         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
78933         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
78934         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
78935         sysdep routines.
78936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
78938         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
78939         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
78941         * sysdeps/sparc/sparc-ifunc.h: New file.
78942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
78943         sparc-ifunc.h
78944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
78945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
78946         Likewise.
78947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
78948         Likewise.
78949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
78950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
78951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
78953         Likewise.
78954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
78956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
78958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
78959         Likewise.
78960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
78961         Likewise.
78962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
78964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
78965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
78966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
78967         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
78968         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
78969         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
78970         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
78971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
78972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
78973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
78974         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
78975         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
78976         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
78977         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
78978         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
78979         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
78980         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
78981         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
78982         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
78983         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
78984         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
78985         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
78987 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
78989         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
78990         scaling.
78991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78993 2012-03-15  Andreas Jaeger  <aj@suse.de>
78995         [BZ #13852]
78996         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
78997         ieee754/flt-32 implementation for sin, cos and sincos.
78998         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
78999         * sysdeps/i386/fpu/s_cosf.S: Likewise.
79000         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
79001         * sysdeps/i386/fpu/s_sinf.S: Likewise.
79002         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
79003         ieee754/flt-32 implementation for tan.
79005         * math/libm-test.inc (cos_test): Enable some large input tests for
79006         float as well
79007         (sin_test): Likewise.
79008         (sincos_test): Likewise.
79009         (tan_test): Add tests for large input.
79011         * sysdeps/i386/fpu/libm-test-ulps: Update.
79013 2012-03-15  Andreas Jaeger  <aj@suse.de>
79015         [BZ #13658]
79016         * math/libm-test.inc (cos_test): Add more test cases.
79017         (sin_test): Likewise.
79018         (sincos_test): Likewise.
79020 2012-03-15  Andreas Jaeger  <aj@suse.de>
79022         [BZ #13837]
79023         * math/libm-test.inc (cos_test): Add a test case for large input
79024         value.
79025         (sin_test): Likewise.
79026         (sincos_test): Likewise.
79028 2012-03-15  Andreas Jaeger  <aj@suse.de>
79029             Joseph Myers  <joseph@codesourcery.com>
79031         [BZ #13658]
79032         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
79033         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
79034         * sysdeps/i386/fpu/branred.c: Likewise.
79035         * sysdeps/i386/fpu/dosincos.c: Likewise.
79036         * sysdeps/i386/fpu/mpa.c: Likewise.
79037         * sysdeps/i386/fpu/s_cos.S: Likewise.
79038         * sysdeps/i386/fpu/s_sin.S: Likewise.
79039         * sysdeps/i386/fpu/s_sincos.S: Likewise.
79040         * sysdeps/i386/fpu/sincos32.c: Likewise.
79042         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
79043         Define.
79044         (libc_feupdateenv_53bit): Define.
79045         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
79046         Define.
79047         (libc_feupdateenv_53bit): Define.
79049         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
79050         53 bit (without extend i386 double precision).
79052         * math/libm-test.inc (sincos_test): Add tests for large input.
79053         (sin): Likewise.
79054         (cos): Likewise.
79056         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
79058 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79062 2012-03-15  David S. Miller  <davem@davemloft.net>
79064         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
79065         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
79066         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
79067         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
79068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
79069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
79070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
79071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
79072         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
79073         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
79074         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
79075         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
79076         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
79077         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
79078         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
79079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
79080         file.
79081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
79082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
79083         file.
79084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
79085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
79086         file.
79087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
79088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
79089         file.
79090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
79091         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
79092         fmin/fmax sysdep routines.
79093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79095 2012-03-14  David S. Miller  <davem@davemloft.net>
79097         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
79098         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
79099         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
79100         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
79101         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
79102         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
79103         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
79104         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
79105         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
79106         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
79107         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
79108         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
79109         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
79110         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
79111         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
79112         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
79113         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
79114         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
79115         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
79116         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
79117         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
79118         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
79119         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
79120         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
79121         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
79122         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
79123         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
79124         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
79125         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
79126         routines.
79127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
79128         file.
79129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
79130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
79131         file.
79132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
79133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
79134         file.
79135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
79136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
79137         file.
79138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
79139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
79140         file.
79141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
79142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
79143         file.
79144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
79145         file.
79146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
79147         file.
79148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
79149         file.
79150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
79151         New file.
79152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
79153         file.
79154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
79155         file.
79156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
79157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
79158         file.
79159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
79160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
79161         file.
79162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
79163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
79164         file.
79165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
79166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
79167         VIS3 routines.
79169         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
79170         New file.
79172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79174         * sysdeps/sparc/configure.in: New file.
79175         * sysdeps/sparc/configure: Generate.
79176         * configure.in (libc_cv_sparc_as_vis3): Substitute.
79177         * configure: Regenerate.
79178         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
79179         * config.make.in (have-as-vis3): New.
79180         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
79181         available use -Av9d instead of -Av9a.
79182         * sysdeps/sparc/sparc64/Makefile: Likewise.
79183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
79184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
79185         New file.
79186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
79187         file.
79188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
79189         New file.
79190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
79191         file.
79192         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
79193         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
79194         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
79195         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
79196         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
79198         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
79199         fzeros/fnegs to load 0x80000000 into a float register instead of
79200         using the stack.
79201         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
79203 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79205         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79206         bits/syscall.h.
79207         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
79208         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
79209         ($(inst_includedir)/bits/syscall.h): Remove rule.
79210         ($(objpfx)bits/syscall.d): Include instead of
79211         $(objpfx)syscall-list.d.
79212         (generated): Change syscall-list.h and syscall-list.d to
79213         bits/syscall.h and bits/syscall.d.
79215 2012-03-14  Roland McGrath  <roland@hack.frob.com>
79217         [BZ #13846]
79218         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
79220 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79222         [BZ #13841]
79223         * math/s_csqrt.c: Include <float.h>.
79224         (__csqrt): Scale large or subnormal inputs.
79225         * math/s_csqrtf.c: Likewise.
79226         * math/s_csqrtl.c: Likewise.
79227         * math/libm-test.inc (csqrt_test): Add more tests.
79228         * sysdeps/i386/fpu/libm-test-ulps: Update.
79229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79231         [BZ #13840]
79232         * math/libm-test.inc (hypot_test): Add more tests.
79234 2012-03-13  David S. Miller  <davem@davemloft.net>
79236         [BZ #13840]
79237         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
79238         double-precision for the calculation instead of scaling.
79240 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
79242         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
79243         manipulate bits before adding and subtracting TWO52[sx].
79244         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
79245         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
79246         Likewise.
79247         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
79249 2012-03-13  David S. Miller  <davem@davemloft.net>
79251         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
79252         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
79253         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
79254         rtld-global-offsets.h
79255         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79257         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
79258         large parameters.
79260         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
79262         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
79263         'err' in the ifdef scope in which it is actually used.
79265         * nss/nss_db/db-init.c: Include string.h
79267 2012-03-12  David S. Miller  <davem@davemloft.net>
79269         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79270         masking out of the most significant byte of random value used.
79271         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79272         Fix coding style in previous change.
79274         * sysdeps/unix/sysv/linux/kernel-features.h
79275         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
79276         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
79277         expression.
79278         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
79279         later.
79281 2012-03-11  David S. Miller  <davem@davemloft.net>
79283         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
79284         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
79285         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
79286         for 'resultvar' otherwise things get truncated on 64-bit.
79288         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79289         Fix masking out of the most significant byte of random value used.
79291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79293 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
79295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79297 2012-03-09  David S. Miller  <davem@davemloft.net>
79299         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
79300         variables with appropriate CPP guards.
79301         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
79302         from the frame pointer, not the stack pointer.  Correct layout
79303         comments.  Fix test on resulting framesize and the management of
79304         the outregs buffer for pltexit.  Preserve floating point return
79305         values across _dl_call_pltexit call.
79306         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
79307         framesize and the management of the outregs buffer for pltexit.
79308         Preserve floating point return values across _dl_call_pltexit
79309         call.
79310         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
79311         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
79312         (la_sparc64_gnu_pltexit): New functions.
79313         (print_exit): Fix format string for return register value.
79315 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
79317         * sunrpc/Makefile (others): Add rpcgen.
79318         ($(objpfx)rpcgen): Remove special build rule and dependency on
79319         libc.
79320         * sunrpc/rpcgen.c: New file.
79322 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
79324         [BZ #13673]
79325         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
79326         * stdio-common/bug-vfprintf-nargs.c: Likewise.
79327         * sysdeps/i386/crti.S: Likewise.
79328         * sysdeps/i386/crtn.S: Likewise.
79329         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
79330         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
79331         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
79332         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
79333         * sysdeps/sh/crti.S: Likewise.
79334         * sysdeps/sh/crtn.S: Likewise.
79335         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
79337         [BZ #13673]
79338         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
79339         with URL.
79340         * locale/programs/locfile-kw.gperf: Likewise.
79341         * locale/programs/charmap-kw.h: Regenerated.
79342         * locale/programs/locfile-kw.h: Likewise.
79344         [BZ #13673]
79345         * intl/plural.y: Replace FSF snail mail address with URL.
79346         * intl/plural.c: Regenerated.
79348 2012-03-09  Richard Henderson  <rth@twiddle.net>
79350         * include/math_private.h: Remove file.
79351         * math/math_private.h: Move file ...
79352         * sysdeps/generic/math_private.h: ... here.
79354         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
79355         * sysdeps/powerpc/fpu/math_private.h: Likewise.
79356         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79358         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
79359         and <math_private.h>.
79360         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
79361         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
79362         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
79363         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
79364         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
79365         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
79366         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79367         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79368         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
79369         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79370         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79371         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79372         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79373         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79374         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
79375         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
79376         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79377         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
79378         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
79379         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
79380         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79381         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
79382         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
79383         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79384         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
79385         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
79386         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
79387         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79388         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79389         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
79390         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
79391         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79392         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
79393         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79394         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
79395         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
79396         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79397         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
79398         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
79399         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79400         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
79401         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
79402         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
79403         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
79404         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
79405         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
79406         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
79407         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
79408         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79409         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
79410         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
79411         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
79412         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
79413         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
79414         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
79415         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79416         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79417         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
79418         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
79419         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
79420         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79421         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
79422         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79423         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
79424         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
79425         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79426         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79427         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79428         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
79429         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
79430         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
79431         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79432         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
79433         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79434         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
79435         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
79436         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
79437         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
79438         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
79439         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
79440         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
79441         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
79442         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
79443         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79444         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79445         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
79446         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
79447         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
79448         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
79449         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79450         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79451         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
79452         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79453         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
79454         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
79455         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
79456         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79457         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
79458         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79459         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
79460         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
79461         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
79462         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
79463         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
79464         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
79465         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
79466         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
79467         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
79468         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
79469         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
79470         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
79471         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
79472         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
79473         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
79474         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
79475         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79476         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
79477         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
79478         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
79479         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79480         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
79481         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
79482         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79483         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
79484         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
79485         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
79486         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
79487         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
79488         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
79489         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
79490         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
79491         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79492         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
79493         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
79494         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
79495         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79496         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79497         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79498         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
79499         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79500         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79501         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79502         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79503         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
79504         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
79505         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79506         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79507         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79508         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
79509         * sysdeps/ieee754/k_standard.c: Likewise.
79510         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
79511         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
79512         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79513         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
79514         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
79515         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
79516         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
79517         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
79518         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
79519         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
79520         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79521         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
79522         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
79523         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
79524         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
79525         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
79526         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
79527         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
79528         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
79529         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
79530         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
79531         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
79532         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
79533         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
79534         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
79535         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
79536         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
79537         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
79538         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79539         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79540         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
79541         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79542         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79543         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79544         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
79545         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79546         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79547         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
79548         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
79549         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79550         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
79551         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
79552         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
79553         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79554         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
79555         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
79556         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79557         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79558         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79559         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79560         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79561         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
79562         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79563         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
79564         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79565         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79566         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
79567         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
79568         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79569         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79570         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79571         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
79572         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79573         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
79574         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79575         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79576         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
79577         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
79578         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
79579         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
79580         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
79581         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79582         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
79583         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
79584         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
79585         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
79586         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
79587         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
79588         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79589         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
79590         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
79591         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
79592         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79593         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79594         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
79595         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79596         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79597         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
79598         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79599         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79600         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
79601         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79602         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
79603         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
79604         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79605         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79606         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
79607         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
79608         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
79609         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
79610         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79611         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79612         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79613         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
79614         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
79615         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
79616         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
79617         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
79618         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
79619         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
79620         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
79621         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
79622         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
79623         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79624         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
79625         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79626         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
79627         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79628         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79629         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
79630         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79631         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
79632         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
79633         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
79634         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79635         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
79636         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
79637         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
79638         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
79639         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
79640         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79641         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
79642         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
79643         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
79644         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
79645         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
79646         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
79647         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
79648         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
79649         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
79650         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
79651         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
79652         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
79653         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
79654         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79655         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
79656         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
79657         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
79658         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
79659         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
79660         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
79661         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79662         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79663         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79664         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
79665         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
79666         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
79667         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
79668         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
79669         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
79670         * sysdeps/ieee754/s_lib_version.c: Likewise.
79671         * sysdeps/ieee754/s_matherr.c: Likewise.
79672         * sysdeps/ieee754/s_signgam.c: Likewise.
79673         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
79674         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
79675         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
79676         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
79677         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
79678         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79679         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
79680         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
79681         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
79682         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
79683         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
79684         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
79685         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
79686         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
79687         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
79688         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
79689         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
79690         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
79691         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
79692         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
79693         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
79695 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79697         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
79698         * sunrpc/rpc_main.c: Likewise.
79699         * sunrpc/rpc_svcout.c: Likewise.
79701 2012-03-09  David S. Miller  <davem@davemloft.net>
79703         * include/math_private.h: New file.
79705 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79707         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
79708         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
79709         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
79710         from <bits/socket_type.h>.
79711         (enum __socket_type): Don't define here.
79712         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
79713         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79714         bits/socket_type.h.
79716         [BZ #13566]
79717         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
79718         checking __USE_GNU.
79720         * Makerules ($(inst_includedir)/%.h): New rule.
79721         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
79722         (install-others): Remove variable setting.
79723         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
79725 2012-03-08  Richard Henderson  <rth@twiddle.net>
79727         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
79728         from macro to inline function; merge with the
79729         !__LIBC_INTERNAL_MATH_INLINES version.
79730         (__ieee754_sqrtf): Likewise.
79732         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
79733         to inline function.
79734         (__rintf, __floor, __floorf): Likewise.
79736         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
79737         macro to inline function.
79738         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
79740         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
79741         not <math/math_private.h>.
79743 2012-03-08  David S. Miller  <davem@davemloft.net>
79745         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
79746         copyright year.
79747         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
79749 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
79751         * resolv/gai_misc.c (handle_requests): Fix struct timespec
79752         normalization.
79753         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
79754         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
79756 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
79758         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
79759         be defined individually, they must be defined as a block.  Define
79760         S for printing a string instead of hidint the different by using a
79761         macro for adding the 'l'.
79762         * stdio-common/tst-fphex-wide.c: Adjust.
79764 2012-03-07  Marek Polacek  <polacek@redhat.com>
79766         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
79768 2012-03-08  Marek Polacek  <polacek@redhat.com>
79770         [BZ #13806]
79771         * stdio-common/Makefile (tests): Add tst-fphex-wide.
79772         * stdio-common/tst-fphex.c: Define a few macros to make the
79773         test reusable.  Use them.
79774         * stdio-common/tst-fphex-wide.c: New file.
79776 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
79778         [BZ #6911]
79779         * manual/macros.texi (gnusystems): New macro.
79780         (nongnusystems): Likewise.
79781         (gnulinuxhurdsystems): Likewise.
79782         (gnuhurdsystems): Likewise..
79783         (gnulinuxsystems): Likewise.
79784         * manual/charset.texi: Use new macros or @theglibc{} to refer to
79785         variants of the GNU system, not "GNU system".
79786         * manual/conf.texi: Likewise.
79787         * manual/errno.texi: Likewise.  Update example of errno macro
79788         expansion.
79789         * manual/filesys.texi: Likewise.
79790         (getumask): Document as specific to GNU/Hurd.
79791         * manual/install.texi: Likewise.  Reword some references to
79792         GNU/Linux.
79793         * manual/intro.texi: Likewise.
79794         * manual/io.texi: Likewise.
79795         (File Name Portability): Detail which constraints are inapplicable
79796         to all GNU systems and which are only inapplicable to GNU/Hurd.
79797         * manual/job.texi: Likewise.
79798         * manual/llio.texi: Likewise.
79799         (O_NOCTTY): Document as present on GNU/Linux.
79800         * manual/maint.texi: Likewise.
79801         * manual/memory.texi: Likewise.
79802         * manual/pattern.texi: Likewise.
79803         * manual/pipe.texi: Likewise.
79804         * manual/process.texi: Likewise.
79805         * manual/resource.texi: Likewise.
79806         (RUSAGE_CHILDREN): Remove statement about specifying a particular
79807         child on GNU/Hurd.
79808         * manual/setjmp.texi: Likewise.
79809         * manual/signal.texi: Likewise.
79810         * manual/startup.texi: Likewise.
79811         * manual/stdio.texi: Likewise.
79812         * manual/terminal.texi: Likewise.
79813         (ONLCR): Document as POSIX.
79814         (OXTABS): Document availability on GNU/Linux as XTABS.
79815         (ONOEOT): Document availability separately from other bits.
79816         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
79817         * manual/time.texi: Likewise.
79818         * manual/users.texi: Likewise.
79819         * INSTALL: Regenerated.
79820         * sysdeps/gnu/errlist.c: Regenerated.
79822         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
79823         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
79824         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
79825         puts.
79826         * configure: Regenerated.
79828 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
79830         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
79831         default includes instead of AC_HEADER_CHECK.
79832         * sysdeps/i386/configure: Regenerated.
79834         [BZ #10716]
79835         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
79836         * math/s_cacoshf.c (__cacoshf): Likewise.
79837         * math/s_cacoshl.c (__cacoshl): Likewise.
79838         * math/s_casinh.c (__casinh): Set signs of result from argument.
79839         * math/s_casinhf.c (__casinhf): Likewise.
79840         * math/s_casinhl.c (__casinhl): Likewise.
79841         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
79842         (casinh_test): Add more tests.
79843         * sysdeps/i386/fpu/libm-test-ulps: Update.
79844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79846 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
79848         * po/zh_TW.po: Update from translation team.
79850         * login/Makefile (distribute): Remove variable.
79851         * catgets/Makefile: Likewise.
79852         * mach/Makefile: Likewise.
79853         * malloc/Makefile: Likewise.
79854         * misc/Makefile: Likewise.
79855         * iconv/Makefile: Likewise.
79856         * nscd/Makefile: Likewise.
79857         * hurd/Makefile: Likewise.
79858         * manual/Makefile: Likewise.
79859         * locale/Makefile: Likewise.
79860         * intl/Makefile: Likewise.
79861         * conform/Makefile: Likewise.
79862         * nss/Makefile: Likewise.
79863         * time/Makefile: Likewise.
79864         * soft-fp/Makefile: Likewise.
79865         * dirent/Makefile: Likewise.
79866         * gmon/Makefile: Likewise.
79867         * po/Makefile: Likewise.
79868         * rt/Makefile: Likewise.
79869         * socket/Makefile: Likewise.
79870         * math/Makefile: Likewise.
79871         * signal/Makefile: Likewise.
79872         * debug/Makefile: Likewise.
79873         * elf/Makefile: Likewise.
79874         * timezone/Makefile: Likewise.
79875         * stdlib/Makefile: Likewise.
79876         * iconvdata/Makefile: Likewise.
79877         * sunrpc/Makefile: Likewise.
79878         * io/Makefile: Likewise.
79879         * argp/Makefile: Likewise.
79880         * inet/Makefile: Likewise.
79881         * hesiod/Makefile: Likewise.
79882         * grp/Makefile: Likewise.
79883         * csu/Makefile: Likewise.
79884         * wctype/Makefile: Likewise.
79885         * crypt/Makefile: Likewise.
79886         * libio/Makefile: Likewise.
79887         * string/Makefile: Likewise.
79888         * nis/Makefile: Likewise.
79889         * resolv/Makefile: Likewise.
79890         * stdio-common/Makefile: Likewise.
79891         * wcsmbs/Makefile: Likewise.
79892         * dlfcn/Makefile: Likewise.
79893         * posix/Makefile: Likewise.
79895         [BZ #6959]
79896         * timezone/Makefile: Don't install timezone files, just the programs
79897         and scripts.
79899 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
79901         * nss/databases.def: Add missing gshadow entry.
79903         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
79905 2012-03-06  Marek Polacek  <polacek@redhat.com>
79907         [BZ #13726]
79908         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
79909         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
79910         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
79911         * stdio-common/tst-long-dbl-fphex.c: New file.
79913 2012-03-06  David S. Miller  <davem@davemloft.net>
79915         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79916         (set_obp_int): New function.
79917         (get_obp_int): New function.
79918         (__get_clockfreq_via_dev_openprom): Likewise.
79919         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
79920         Avoid unused variable warnings on 'val' and use builtin_expect.
79921         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
79922         __builtin_expect.
79923         (INLINE_CLONE_SYSCALL): Likewise.
79925 2012-03-05  David S. Miller  <davem@davemloft.net>
79927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79929 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
79931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79933         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
79934         only for |x| >= 40.
79935         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79937 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
79939         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
79940         Replace gettimeofday with __vdso_gettimeofday.
79942         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79943         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
79944         __vdso_clock_gettime and __vdso_getcpu.
79946         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
79947         time with __vdso_time.
79949 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79951         * manual/lang.texi (size_t): Note types to which size_t may be
79952         equivalent with the GNU C Library, but do not describe when
79953         differences between them are significant.
79955 2012-03-05  Andreas Jaeger  <aj@suse.de>
79957         * sysdeps/i386/fpu/libm-test-ulps: Update.
79959 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79961         [BZ #3976]
79962         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
79963         (__ieee754_pow): Save and restore rounding mode and use
79964         round-to-nearest for main computations.
79965         * math/libm-test.inc (pow_test_tonearest): New function.
79966         (pow_test_towardzero): Likewise.
79967         (pow_test_downward): Likewise.
79968         (pow_test_upward): Likewise.
79969         (main): Call the new functions.
79970         * sysdeps/i386/fpu/libm-test-ulps: Update.
79971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79973         [BZ #3976]
79974         * math/libm-test.inc (cosh_test_tonearest): New function.
79975         (cosh_test_towardzero): Likewise.
79976         (cosh_test_downward): Likewise.
79977         (cosh_test_upward): Likewise.
79978         (sinh_test_tonearest): Likewise.
79979         (sinh_test_towardzero): Likewise.
79980         (sinh_test_downward): Likewise.
79981         (sinh_test_upward): Likewise.
79982         (main): Call the new functions.
79983         * sysdeps/i386/fpu/libm-test-ulps: Update.
79984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79986 2012-03-05  Tom de Vries  <tom@codesourcery.com>
79988         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
79989         default stack guard is set in last bytes.
79990         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
79992 2012-03-05  Kees Cook  <keescook@chromium.org>
79994         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
79996         [BZ #13656]
79997         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
79998         possibly allocate from heap instead of stack.
79999         * stdio-common/bug-vfprintf-nargs.c: New file.
80000         * stdio-common/Makefile (tests): Add nargs overflow test.
80002 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
80004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80006 2012-03-03  Marek Polacek  <polacek@redhat.com>
80008         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
80009         * math/math_private.h: Likewise.
80010         * stdlib/tst-strtod.c: Likewise.
80011         * sysdeps/i386/i486/bits/atomic.h: Likewise.
80012         * sysdeps/x86_64/bits/atomic.h: Likewise.
80014 2012-03-02  David S. Miller  <davem@davemloft.net>
80016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
80017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
80018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
80019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
80020         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
80021         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
80022         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
80023         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
80025 2012-03-02  Roland McGrath  <roland@hack.frob.com>
80027         [BZ #13792]
80028         * manual/examples/README: New file, says the example source files
80029         can be used under GPL>=2.
80030         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
80031         line containing just "*/".
80032         * manual/examples/add.c: Add copyright header (GPL>=2).
80033         * manual/examples/argp-ex1.c: Likewise.
80034         * manual/examples/argp-ex2.c: Likewise.
80035         * manual/examples/argp-ex3.c: Likewise.
80036         * manual/examples/argp-ex4.c: Likewise.
80037         * manual/examples/atexit.c: Likewise.
80038         * manual/examples/db.c: Likewise.
80039         * manual/examples/dir.c: Likewise.
80040         * manual/examples/dir2.c: Likewise.
80041         * manual/examples/execinfo.c: Likewise.
80042         * manual/examples/filecli.c: Likewise.
80043         * manual/examples/filesrv.c: Likewise.
80044         * manual/examples/fmtmsgexpl.c: Likewise.
80045         * manual/examples/genpass.c: Likewise.
80046         * manual/examples/inetcli.c: Likewise.
80047         * manual/examples/inetsrv.c: Likewise.
80048         * manual/examples/isockad.c: Likewise.
80049         * manual/examples/longopt.c: Likewise.
80050         * manual/examples/memopen.c: Likewise.
80051         * manual/examples/memstrm.c: Likewise.
80052         * manual/examples/mkfsock.c: Likewise.
80053         * manual/examples/mkisock.c: Likewise.
80054         * manual/examples/mygetpass.c: Likewise.
80055         * manual/examples/pipe.c: Likewise.
80056         * manual/examples/popen.c: Likewise.
80057         * manual/examples/rprintf.c: Likewise.
80058         * manual/examples/search.c: Likewise.
80059         * manual/examples/select.c: Likewise.
80060         * manual/examples/setjmp.c: Likewise.
80061         * manual/examples/sigh1.c: Likewise.
80062         * manual/examples/sigusr.c: Likewise.
80063         * manual/examples/stpcpy.c: Likewise.
80064         * manual/examples/strdupa.c: Likewise.
80065         * manual/examples/strftim.c: Likewise.
80066         * manual/examples/strncat.c: Likewise.
80067         * manual/examples/subopt.c: Likewise.
80068         * manual/examples/swapcontext.c: Likewise.
80069         * manual/examples/termios.c: Likewise.
80070         * manual/examples/testopt.c: Likewise.
80071         * manual/examples/testpass.c: Likewise.
80072         * manual/examples/timeval_subtract.c: Likewise.
80074         [BZ #13792]
80075         * manual/time.texi (Elapsed Time): Move timeval_subtract example
80076         function to ...
80077         * manual/timeval_subtract.c.texi: ... here, new file.
80079 2012-03-02  David S. Miller  <davem@davemloft.net>
80081         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
80083 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
80085         [BZ #3976]
80086         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
80087         (__sin): Save and restore rounding mode and use round-to-nearest
80088         for all computations.
80089         (__cos): Save and restore rounding mode and use round-to-nearest
80090         for all computations.
80091         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
80092         <fenv.h>.
80093         (tan): Save and restore rounding mode and use round-to-nearest for
80094         all computations.
80095         * math/libm-test.inc (cos_test_tonearest): New function.
80096         (cos_test_towardzero): Likewise.
80097         (cos_test_downward): Likewise.
80098         (cos_test_upward): Likewise.
80099         (sin_test_tonearest): Likewise.
80100         (sin_test_towardzero): Likewise.
80101         (sin_test_downward): Likewise.
80102         (sin_test_upward): Likewise.
80103         (tan_test_tonearest): Likewise.
80104         (tan_test_towardzero): Likewise.
80105         (tan_test_downward): Likewise.
80106         (tan_test_upward): Likewise.
80107         (main): Call the new functions.
80108         * sysdeps/i386/fpu/libm-test-ulps: Update.
80109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80111         [BZ #10135]
80112         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
80113         small n, then large n, before computing and testing k+n.
80114         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
80115         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
80116         Likewise.
80117         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
80118         Likewise.
80119         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
80120         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
80121         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
80122         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
80123         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
80124         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
80125         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
80126         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
80127         * math/libm-test.inc (scalbn_test): Add more tests.
80128         (scalbln_test): Likewise.
80130         * manual/filesys.texi (mode_t): Describe constraints on size and
80131         signedness, not exact equivalence to a particular type.
80132         (ino_t): Likewise.
80133         (ino64_t): Likewise.
80134         (dev_t): Likewise.
80135         (nlink_t): Likewise.
80136         (blkcnt_t): Likewise.
80137         (blkcnt64_t): Likewise.
80138         * manual/llio.texi (off_t): Likewise.
80140         [BZ #3976]
80141         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
80142         (__ieee754_exp): Save and restore rounding mode and use
80143         round-to-nearest for all computations.
80144         * math/libm-test.inc (exp_test_tonearest): New function.
80145         (exp_test_towardzero): Likewise.
80146         (exp_test_downward): Likewise.
80147         (exp_test_upward): Likewise.
80148         (main): Call the new functions.
80149         * sysdeps/i386/fpu/libm-test-ulps: Update.
80150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80152 2012-03-01  Chris Demetriou  <cgd@google.com>
80154         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
80155         have predictable order.
80157 2012-03-01  David S. Miller  <davem@davemloft.net>
80159         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
80161         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
80162         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
80163         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
80164         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
80166         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
80167         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
80168         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
80169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
80170         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
80171         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
80172         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
80173         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
80174         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
80176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80178         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
80179         * sysdeps/sparc/fpu/libm-test-ulps: to here.
80180         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
80182         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
80183         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80184         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80185         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
80186         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
80187         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
80188         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
80189         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80190         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80191         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
80192         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
80193         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80194         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80195         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80196         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80197         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80198         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
80199         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
80200         * sysdeps/sparc/elf/configure: Regenerated.
80202 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
80204         * configure.in (AS, LD): Require binutils 2.20 or later.
80205         * configure: Regenerated.
80206         * manual/install.texi (Tools for Compilation): Give binutils 2.20
80207         as required minimum version.
80208         * INSTALL: Regenerated.
80210         [BZ #2541]
80211         [BZ #4108]
80212         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
80213         before squaring exponent.
80214         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
80215         bottom long double and 27 bits of top long double before squaring
80216         exponent.
80217         * math/libm-test.inc (erfc_test): Add more tests.
80218         * sysdeps/i386/fpu/libm-test-ulps: Update.
80219         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80222 2012-03-01  Kai Tietz  <ktietz@redhat.com>
80224         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
80225         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
80226         containing bit-fields.
80227         * soft-fp/extended.h (_FP_UNION_E): Likewise.
80228         * soft-fp/single.h (_FP_UNION_S): Likewise.
80229         * soft-fp/double.h (_FP_UNION_D): Likewise.
80231 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80233         [BZ #13786]
80234         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
80235         not include ../strcmp.S.
80236         [USE_AS_STRNCASECMP_L]: Likewise.
80237         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
80238         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
80239         * sysdeps/i386/i686/multiarch/strncase_l-c.c
80240         (__strncasecmp_l_ia32): Define as alias to
80241         __strncasecmp_l_nonascii.
80243         [BZ #5794]
80244         * math/libm-test.inc (expm1_test): Add test for bug 5794.
80245         * sysdeps/i386/fpu/libm-test-ulps: Update.
80246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80248         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
80249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80251 2012-02-29  Jeff Law  <law@redhat.com>
80253         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
80254         out of bounds read.
80256 2012-02-29  Marek Polacek  <polacek@redhat.com>
80258         [BZ #13706]
80259         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
80260         * elf/Makefile: Add rules to run tst-unused-dep.out.
80262 2012-02-28  David S. Miller  <davem@davemloft.net>
80264         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
80265         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
80266         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
80267         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
80268         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
80269         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
80271 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80273         * math/libm-test.inc (llround_test): Move one test from
80274         lround_test.  Use TEST_f_L in moved test.
80275         (lround_test): Move misplaced test to llround_test.  Add testcase
80276         from bug 2561.
80278 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
80280         * sysdeps/x86_64/fpu/e_expf.S: New file.
80281         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
80283 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
80285         [BZ #13637]
80286         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
80287         of remain_len that may cause incomplete multi-byte character and
80288         false match.
80289         * posix/bug-regex33.c: New file.
80290         * posix/Makefile (tests): Add bug-regex33.
80292 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
80294         * manual/macros.texi: New file.
80295         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
80296         * manual/libc.texinfo: Include macros.texi.
80297         * manual/creatute.texi: Likewise.
80298         * manual/install.texi: Likewise.
80299         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
80300         @glibcadj{} in references to the GNU C Library.
80301         * manual/charset.texi: Likewise.
80302         * manual/conf.texi: Likewise.
80303         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
80304         when not using those macros.
80305         * manual/creature.texi: Likewise.
80306         * manual/crypt.texi: Likewise.
80307         * manual/errno.texi: Likewise.
80308         * manual/filesys.texi: Likewise.
80309         * manual/header.texi: Likewise.
80310         * manual/install.texi: Likewise.
80311         * manual/intro.texi: Likewise.
80312         * manual/io.texi: Likewise.
80313         * manual/job.texi: Likewise.
80314         * manual/lang.texi: Likewise.
80315         * manual/libc.texiinfo: Likewise.
80316         * manual/llio.texi: Likewise.
80317         * manual/locale.texi: Likewise.
80318         * manual/maint.texi: Likewise.
80319         * manual/math.texi: Likewise.
80320         * manual/memory.texi: Likewise.
80321         * manual/message.texi: Likewise.
80322         * manual/nss.texi: Likewise.
80323         * manual/pattern.texi: Likewise.
80324         * manual/process.texi: Likewise.
80325         * manual/resource.texi: Likewise.
80326         * manual/search.texi: Likewise.
80327         * manual/setjmp.texi: Likewise.
80328         * manual/signal.texi: Likewise.
80329         * manual/socket.texi: Likewise.
80330         * manual/startup.texi: Likewise.
80331         * manual/stdio.texi: Likewise.
80332         * manual/string.texi: Likewise.
80333         * manual/sysinfo.texi: Likewise.
80334         * manual/syslog.texi: Likewise.
80335         * manual/terminal.texi: Likewise.
80336         * manual/time.texi: Likewise.
80337         * manual/users.texi: Likewise.
80338         * INSTALL: Regenerated.
80339         * NOTES: Regenerated.
80340         * sysdeps/gnu/errlist.c: Regenerated.
80342 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
80344         * include/dirent.h: Include <dirstream.h> before
80345         <dirent/dirent.h>.
80347 2012-02-28  David S. Miller  <davem@davemloft.net>
80349         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
80350         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
80351         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
80352         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
80354 2012-02-27  David S. Miller  <davem@davemloft.net>
80356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
80357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
80358         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
80359         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
80361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
80362         frame pointer instead of stack pointer relative arg slot.
80363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80364         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80365         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80367 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
80369         [BZ #3992]
80370         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
80372 2012-02-27  David S. Miller  <davem@davemloft.net>
80374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
80375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
80378         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80379         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80380         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
80381         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
80383 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80385         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
80386         later.  Allow versions 5-9.
80387         * configure: Regenerated.
80388         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
80389         required minimum version and 4.6 as recommended version.  Do not
80390         mention bugs in GCC 2.7 and 2.8.
80391         * INSTALL: Regenerated.
80393 2012-02-27  David S. Miller  <davem@davemloft.net>
80395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
80396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
80397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
80398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
80399         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
80400         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
80401         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
80402         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
80404         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
80405         manipulate bits before adding and subtracting TWO112[sx].
80406         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
80408 2012-02-27  Roland McGrath  <roland@hack.frob.com>
80410         [BZ #13775]
80411         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
80412         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
80413         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
80414         being in POSIX, because they are in 1003.1-2008.
80416         * rt/tst-aio.c: Include <fcntl.h>.
80417         * rt/tst-aio7.c: Likewise.
80418         * rt/tst-aio64.c: Likewise.
80420         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
80422 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80424         * manual/install.texi (--with-headers): Describe headers as
80425         interface headers, not private headers.
80426         (Specific advice for GNU/Linux systems): Describe use of headers
80427         from "make headers_install", not private headers from older
80428         kernels.
80429         * INSTALL: Regenerated.
80430         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
80431         Change to 2.6.19.
80432         * sysdeps/unix/sysv/linux/configure: Regenerated.
80434         * manual/llio.texi (fclean): Remove documentation.
80436         * manual/Makefile (libc-texi-generated): New variable.  Include
80437         version.texi.
80438         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
80439         $(libc-texi-generated), not duplicated list of files.
80440         (version.texi, stamp-version): New rules.
80441         (realclean): Remove $(libc-texi-generated), not individual files
80442         from that list.  Do not remove dir-add.texinfo.
80443         * manual/libc.texinfo: Comment out uses of edition numbers and
80444         references to printed manual.  Remove last-updated dates.
80445         (EDITION): Comment out.
80446         (ISBN): Likewise.
80447         (VERSION, UPDATED): Remove.
80448         (version.texi): Include.
80450 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
80452         * sysdeps/posix/spawni.c: Include <signal.h>.
80453         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
80454         * sysdeps/pthread/aio_fsync.c: Likewise.
80456 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
80458         * conform/Makefile (tests): Run only when not cross-compiling and
80459         when fast-check is not defined.
80461         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
80462         * conform/data/limits.h-data: Fixes for POSIX2008.
80463         * conform/run-conformtest.sh: Run all tests.
80464         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
80465         headers.
80466         * include/bits/dlfcn.h: Likewise.
80467         * include/langinfo.h: Likewise.
80468         * include/monetary.h: Likewise.
80469         * include/sys/poll.h: Likewise.
80471         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
80472         for __USE_GNU.
80473         * posix/spawn.h: Define __need_sigset_t.
80474         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
80475         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
80476         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
80477         to get sigevent_t only.
80478         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
80479         only for __USE_GNU.
80480         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80481         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
80482         process_vm_writev only for __USE_GNU.
80483         * termios/termios.h: Declare tcgetsid also for POSIX2008.
80485         * conform/Makefile: For now ignore errors from run-conformtest.
80486         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
80487         POSIX to avoid namespace pollution.  Don't prepend headers.
80488         * conform/data/aio.h-data: Fixes for POSIX testing.
80489         * conform/data/fcntl.h-data: Likewise.
80490         * conform/data/glob.h-data: Likewise.
80491         * conform/data/grp.h-data: Likewise.
80492         * conform/data/pthread.h-data: Likewise.
80493         * conform/data/pwd.h-data: Likewise.
80494         * conform/data/signal.h-data: Likewise.
80495         * conform/data/spawn.h-data: Likewise.
80496         * conform/data/stdio.h-data: Likewise.
80497         * conform/data/stdlib.h-data: Likewise.
80498         * conform/data/stropts.h-data: Likewise.
80499         * conform/data/sys/mman.h-data: Likewise.
80500         * conform/data/sys/stat.h-data: Likewise.
80501         * conform/data/sys/types.h-data: Likewise.
80502         * conform/data/sys/wait.h-data: Likewise.
80503         * conform/data/time.h-data: Likewise.
80504         * conform/data/unistd.h-data: Likewise.
80505         * conform/data/utime.h-data: Likewise.
80507         * io/sys/stat.h: fchmod was always in POSIX.
80508         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
80509         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
80510         * rt/aio.h: Define __need_timespec before including <time.h>.
80511         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
80512         struct.  Add forward declaration of pthread_attr_t and use it in
80513         sigevent.
80514         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80515         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80516         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
80517         always remove CLK_TCK definition.
80519 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
80521         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
80523 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
80525         * conform/run-conformtest.sh: New file.
80526         * conform/Makefile: Run run-conformtest for tests.
80527         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
80528         support.
80530         * conform/data/uchar.h-data: New file.
80531         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
80532         * conform/data/arpa/inet.h-data: Likewise.
80533         * conform/data/assert.h-data: Likewise.
80534         * conform/data/complex.h-data: Likewise.
80535         * conform/data/cpio.h-data: Likewise.
80536         * conform/data/ctype.h-data: Likewise.
80537         * conform/data/dirent.h-data: Likewise.
80538         * conform/data/dlfcn.h-data: Likewise.
80539         * conform/data/errno.h-data: Likewise.
80540         * conform/data/fcntl.h-data: Likewise.
80541         * conform/data/float.h-data: Likewise.
80542         * conform/data/fmtmsg.h-data: Likewise.
80543         * conform/data/fnmatch.h-data: Likewise.
80544         * conform/data/ftw.h-data: Likewise.
80545         * conform/data/glob.h-data: Likewise.
80546         * conform/data/grp.h-data: Likewise.
80547         * conform/data/iconv.h-data: Likewise.
80548         * conform/data/inttypes.h-data: Likewise.
80549         * conform/data/langinfo.h-data: Likewise.
80550         * conform/data/libgen.h-data: Likewise.
80551         * conform/data/limits.h-data: Likewise.
80552         * conform/data/locale.h-data: Likewise.
80553         * conform/data/math.h-data: Likewise.
80554         * conform/data/monetary.h-data: Likewise.
80555         * conform/data/mqueue.h-data: Likewise.
80556         * conform/data/ndbm.h-data: Likewise.
80557         * conform/data/net/if.h-data: Likewise.
80558         * conform/data/netdb.h-data: Likewise.
80559         * conform/data/netinet/in.h-data: Likewise.
80560         * conform/data/nl_types.h-data: Likewise.
80561         * conform/data/poll.h-data: Likewise.
80562         * conform/data/pthread.h-data: Likewise.
80563         * conform/data/pwd.h-data: Likewise.
80564         * conform/data/regex.h-data: Likewise.
80565         * conform/data/sched.h-data: Likewise.
80566         * conform/data/search.h-data: Likewise.
80567         * conform/data/semaphore.h-data: Likewise.
80568         * conform/data/setjmp.h-data: Likewise.
80569         * conform/data/signal.h-data: Likewise.
80570         * conform/data/spawn.h-data: Likewise.
80571         * conform/data/stdarg.h-data: Likewise.
80572         * conform/data/stdio.h-data: Likewise.
80573         * conform/data/stdlib.h-data: Likewise.
80574         * conform/data/string.h-data: Likewise.
80575         * conform/data/strings.h-data: Likewise.
80576         * conform/data/stropts.h-data: Likewise.
80577         * conform/data/sys/ipc.h-data: Likewise.
80578         * conform/data/sys/mman.h-data: Likewise.
80579         * conform/data/sys/msg.h-data: Likewise.
80580         * conform/data/sys/resource.h-data: Likewise.
80581         * conform/data/sys/select.h-data: Likewise.
80582         * conform/data/sys/sem.h-data: Likewise.
80583         * conform/data/sys/shm.h-data: Likewise.
80584         * conform/data/sys/socket.h-data: Likewise.
80585         * conform/data/sys/stat.h-data: Likewise.
80586         * conform/data/sys/statvfs.h-data: Likewise.
80587         * conform/data/sys/time.h-data: Likewise.
80588         * conform/data/sys/timeb.h-data: Likewise.
80589         * conform/data/sys/times.h-data: Likewise.
80590         * conform/data/sys/types.h-data: Likewise.
80591         * conform/data/sys/uio.h-data: Likewise.
80592         * conform/data/sys/un.h-data: Likewise.
80593         * conform/data/sys/utsname.h-data: Likewise.
80594         * conform/data/sys/wait.h-data: Likewise.
80595         * conform/data/syslog.h-data: Likewise.
80596         * conform/data/tar.h-data: Likewise.
80597         * conform/data/termios.h-data: Likewise.
80598         * conform/data/utime.h-data: Likewise.
80599         * conform/data/utmpx.h-data: Likewise.
80600         * conform/data/varargs.h-data: Likewise.
80601         * conform/data/wchar.h-data: Likewise.
80602         * conform/data/wctype.h-data: Likewise.
80603         * conform/data/wordexp.h-data: Likewise.
80605         * include/stropts.h: New file.
80606         * include/uchar.h: New file.
80607         * include/aio.h: Changes to allow conformtest.pl to use the headers.
80608         * include/assert.h: Likewise.
80609         * include/ctype.h: Likewise.
80610         * include/dirent.h: Likewise.
80611         * include/dlfcn.h: Likewise.
80612         * include/fcntl.h: Likewise.
80613         * include/fnmatch.h: Likewise.
80614         * include/glob.h: Likewise.
80615         * include/grp.h: Likewise.
80616         * include/libio.h: Likewise.
80617         * include/locale.h: Likewise.
80618         * include/math.h: Likewise.
80619         * include/net/if.h: Likewise.
80620         * include/netdb.h: Likewise.
80621         * include/netinet/in.h: Likewise.
80622         * include/pthread.h: Likewise.
80623         * include/pwd.h: Likewise.
80624         * include/regex.h: Likewise.
80625         * include/sched.h: Likewise.
80626         * include/search.h: Likewise.
80627         * include/setjmp.h: Likewise.
80628         * include/signal.h: Likewise.
80629         * include/stdio.h: Likewise.
80630         * include/stdlib.h: Likewise.
80631         * include/string.h: Likewise.
80632         * include/sys/cdefs.h: Likewise.
80633         * include/sys/mman.h: Likewise.
80634         * include/sys/msg.h: Likewise.
80635         * include/sys/resource.h: Likewise.
80636         * include/sys/select.h: Likewise.
80637         * include/sys/socket.h: Likewise.
80638         * include/sys/stat.h: Likewise.
80639         * include/sys/statvfs.h: Likewise.
80640         * include/sys/time.h: Likewise.
80641         * include/sys/times.h: Likewise.
80642         * include/sys/uio.h: Likewise.
80643         * include/sys/utsname.h: Likewise.
80644         * include/sys/wait.h: Likewise.
80645         * include/termios.h: Likewise.
80646         * include/time.h: Likewise.
80647         * include/ulimit.h: Likewise.
80648         * include/unistd.h: Likewise.
80649         * include/utime.h: Likewise.
80650         * include/wchar.h: Likewise.
80651         * include/wctype.h: Likewise.
80652         * include/wordexp.h: Likewise.
80654         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
80656         * time/time.h: TIME_UTC must be a macro.
80657         Make timespec_get available for ISO C11 only as well.
80659 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
80661         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
80662         Reported by Peng Haitao <penght@cn.fujitsu.com>.
80664 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80666         * configure.in: Use -o not -a in test for unsupported multi-arch.
80668 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80670         * manual/texinfo.tex: Update to version 2012-01-19.16.
80672 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80674         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
80676 2012-02-24  Roland McGrath  <roland@hack.frob.com>
80678         [BZ #13738]
80679         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
80680         * manual/fdl-1.3.texi: New file.
80681         * manual/fdl-1.1.texi: File removed.
80683         [BZ #13738]
80684         * manual/libc.texinfo (FDL_VERSION): New @set.
80685         Use it for mention of FDL in cover text.
80686         (Documentation License): Use it in @include file name.
80688 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80689             Roland McGrath  <roland@hack.frob.com>
80691         [BZ #5461]
80692         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
80693         (not LONG_LONG_MAX and LONG_LONG_MIN.
80694         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
80695         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
80696         name.
80697         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
80699 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80701         [BZ #2547]
80702         [BZ #11365]
80703         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
80704         manipulate bits before adding and subtracting TWO23[sx].
80705         * math/libm-test.inc (nearbyint_test): Add more tests.
80707 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80709         [BZ #2548]
80710         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
80711         bits before adding and subtracting TWO23[sx].
80712         * math/libm-test.inc (rint_test): Add more tests.
80713         (rint_test_tonearest): Likewise.
80714         (rint_test_towardzero): Likewise.
80715         (rint_test_downward): Likewise.
80716         (rint_test_upward: Likewise.
80718 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80720         [BZ #10110]
80721         * include/stdc-predef.h: New file.  Extracted from features.h.
80722         * include/features.h: Include stdc-predef.h.
80723         * Makefile (headers): Add stdc-predef.h.
80724         * CONFORMANCE (Compiler limitations): Update.
80726 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80728         * manual/libc.texinfo (VERSION, UPDATED): Revert.
80730 2012-02-21  David S. Miller  <davem@davemloft.net>
80732         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
80733         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80735 2012-02-20  David S. Miller  <davem@davemloft.net>
80737         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
80738         using a normal save/restore sequence, rather than allocating a
80739         dummy stack frame just to store a frame pointer and restore.
80740         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80742 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80744         * manual/install.texi: Fix stray word in line-wrapped comment.
80746 2012-02-20  David S. Miller  <davem@davemloft.net>
80748         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
80749         both binutils and gcc support GOTDATA.
80751         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
80752         "rd %pc" in the PIC register setup sequences.
80754         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
80755         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
80756         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80757         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
80758         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80759         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
80760         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80761         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80762         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
80763         (SYSCALL_ERROR_HANDLER): Likewise.
80764         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80765         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80766         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
80767         (SYSCALL_ERROR_HANDLER): Likewise.
80769         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
80770         (HAVE_GCC_GOTDATA): New.
80771         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
80772         relocation support in both binutils and gcc.
80773         * sysdeps/sparc/elf/configure: Regenerate.
80775         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
80776         * sysdeps/sparc/sparc32/elf/configure: Delete.
80777         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
80778         * sysdeps/sparc/sparc64/elf/configure: Delete.
80779         * sysdeps/sparc/elf/configure.in: New file.
80780         * sysdeps/sparc/elf/configure: Generate.
80782         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
80783         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
80784         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80785         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
80786         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
80788 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80790         * manual/install.texi: Do not mention specific glibc version
80791         numbers.
80792         * manual/libc.texinfo (VERSION, UPDATED): Update.
80793         (@copying): Use @copyright{} and range of years.
80795 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80797         [BZ #13695]
80798         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
80799         [crti.S not in sysdirs] (generated): Do not append.
80800         [crti.S not in sysdirs] (omit-deps): Likewise.
80801         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
80802         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
80803         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
80804         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
80805         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
80806         Likewise.
80807         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
80808         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
80809         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
80810         * csu/defs.awk: Remove file.
80811         * sysdeps/generic/initfini.c: Likewise.
80812         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
80813         variable.
80814         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
80815         Likewise.
80817 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80819         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
80820         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
80821         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
80822         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
80823         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80824         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
80825         <bits/epoll.h>.
80826         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
80827         (__EPOLL_PACKED): Define to empty if not defined by
80828         <bits/epoll.h>.
80829         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
80830         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80831         bits/epoll.h.
80833 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80835         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
80836         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
80837         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
80838         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
80839         <bits/timerfd.h>.
80840         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
80841         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80842         bits/timerfd.h.
80844 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80846         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
80847         in C locale.
80848         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80849         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
80850         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
80851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80853 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
80855         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80856         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80858 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
80860         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
80861         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
80862         defined.
80863         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
80864         Likewise.
80865         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
80866         entry for 2.16.
80868 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
80870         * math/w_acos.c: Use non-signaling floating-point comparisons.
80871         * math/w_acosf.c: Likewise.
80872         * math/w_acosh.c: Likewise.
80873         * math/w_acoshf.c: Likewise.
80874         * math/w_acoshl.c: Likewise.
80875         * math/w_acosl.c: Likewise.
80876         * math/w_asin.c: Likewise.
80877         * math/w_asinf.c: Likewise.
80878         * math/w_asinl.c: Likewise.
80879         * math/w_atanh.c: Likewise.
80880         * math/w_atanhf.c: Likewise.
80881         * math/w_atanhl.c: Likewise.
80882         * math/w_exp2.c: Likewise.
80883         * math/w_exp2f.c: Likewise.
80884         * math/w_exp2l.c: Likewise.
80885         * math/w_j0.c: Likewise.
80886         * math/w_j0f.c: Likewise.
80887         * math/w_j0l.c: Likewise.
80888         * math/w_j1.c: Likewise.
80889         * math/w_j1f.c: Likewise.
80890         * math/w_j1l.c: Likewise.
80891         * math/w_jn.c: Likewise.
80892         * math/w_jnf.c: Likewise.
80893         * math/w_log.c: Likewise.
80894         * math/w_log10.c: Likewise.
80895         * math/w_log10f.c: Likewise.
80896         * math/w_log10l.c: Likewise.
80897         * math/w_log2.c: Likewise.
80898         * math/w_log2f.c: Likewise.
80899         * math/w_log2l.c: Likewise.
80900         * math/w_logf.c: Likewise.
80901         * math/w_logl.c: Likewise.
80902         * math/w_sqrt.c: Likewise.
80903         * math/w_sqrtf.c: Likewise.
80904         * math/w_sqrtl.c: Likewise.
80905         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80906         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
80907         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80908         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80909         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80911 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80913         [BZ #9739]
80914         * manual/string.texi (strnlen): Use correct parameter name in
80915         equivalent expression.
80917 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80919         [BZ #11174]
80920         * manual/users.texi (seteuid): Consistently use neweuid for
80921         argument name.
80923 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80925         [BZ #13704]
80926         * manual/nss.texi (Services in the NSS configuration): Correct
80927         list of services in example configuration file.
80929 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
80931         [BZ #11322]
80932         * manual/arith.texi: Remove statements about negative zero
80933         behaving identically to zero.
80935 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80937         [BZ #5993]
80938         * manual/install.texi: Do not document upgrading from libc5.
80940 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80942         [BZ #4596]
80943         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
80945 2012-02-18  David S. Miller  <davem@davemloft.net>
80947         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
80948         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
80949         %o7 across the call.
80950         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
80951         instead.
80952         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
80953         SETUP_PIC_REG_LEAF.
80954         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80955         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
80956         * sysdeps/sparc/crtn.S: Likewise.
80958 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
80960         * aout/Makefile: Remove.
80962 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
80964         [BZ #13058]
80965         * manual/examples/argp-ex1.c (main): Format definition in GNU
80966         style.
80967         * manual/examples/argp-ex2.c (main): Likewise.
80968         * manual/examples/argp-ex3.c (main): Likewise.
80969         * manual/examples/argp-ex4.c (main): Likewise.
80970         * manual/examples/longopt.c (main): Use new-style prototype
80971         definition.
80972         * manual/examples/strncat.c (main): Specify return type and use
80973         (void) for arguments.
80974         * manual/examples/subopt.c (main): Use char **argv argument.
80976 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80978         [BZ #5077]
80979         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
80980         rounding modes.
80982 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
80984         [BZ #6907]
80985         * manual/string.texi (strchr): Change when strchrnul is
80986         recommended.
80988 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
80990         [BZ #174]
80991         * manual/locale.texi (setlocale): Document LOCPATH.
80993 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80995         [BZ #10210]
80996         * manual/process.texi (execle): Move @dots{} before last argument.
80998 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
81000         [BZ #12047]
81001         * manual/charset.texi (Generic Charset Conversion): Fix typo
81002         (LC_TYPE -> LC_CTYPE).
81004 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
81006         [BZ #5805]
81007         * manual/arith.texi (scalbn): Use @var{} on parameter names.
81008         (scalbnf): Likewise.
81009         (scalbnl): Likewise.
81010         (scalbln): Likewise.
81011         (scalblnf): Likewise.
81012         (scalblnl): Likewise.
81013         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
81014         (vwarnx): Likewise.
81015         (verr): Likewise.
81016         (verrx): Likewise.
81017         * manual/filesys.texi (telldir): Use braces around return type.
81018         * manual/llio.texi (mmap): Add space after comma.
81019         (mmap64): Likewise.
81020         * manual/math.texi (jn): Use @var{} on parameter names.
81021         (jnf): Likewise.
81022         (jnl): Likewise.
81023         (yn): Likewise.
81024         (ynf): Likewise.
81025         (ynl): Likewise.
81026         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
81027         line.
81028         * manual/resource.texi (ulimit): Use @dots{} instead of literal
81029         "...".
81030         (sched_get_priority_min): Remove semicolon on @deftypefun line.
81031         (sched_get_priority_max): Likewise.
81032         * manual/signal.texi (sigvec): Add space after comma.
81033         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
81034         names.
81035         (if_indextoname): Likewise.
81036         (if_freenameindex): Likewise.
81037         (sendto): Use ',' instead of '.' in prototype.
81038         * manual/startup.texi (syscall): Use @dots{} instead of literal
81039         "...".
81040         * manual/stdio.texi (__fpending): Separate initial words of
81041         paragraph from @deftypefun line.
81042         * manual/syslog.texi (syslog): Use @dots{} instead of literal
81043         "...".
81044         (vsyslog): Use @var{} on parameter names.
81045         * manual/terminal.texi (stty): Use @var{} on parameter names.
81046         * manual/users.texi (getutmp): Use @var{} on parameter names.
81047         (getutmpx): Likewise.
81049 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81051         [BZ #6884]
81052         * manual/stdio.texi (fopen): Fix typos in description of
81053         ",ccs=STRING".
81055 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
81057         [BZ #4026]
81058         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
81059         get clock_id definition.
81061 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
81063         [BZ #4822]
81064         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
81065         (madvise): Cast every argument to void on its own.
81067 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81069         [BZ #9902]
81070         * manual/startup.texi (Exit Status): Fix typo.
81072 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81074         [BZ #10140]
81075         * manual/examples/argp-ex1.c: Include <stdlib.h>.
81076         * manual/examples/argp-ex2.c: Likewise.
81077         * manual/examples/argp-ex3.c: Likewise.
81079 2012-02-16  Richard Henderson  <rth@redhat.com>
81081         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
81082         * sysdeps/s390/s390-32/initfini.c: Remove.
81083         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
81084         * sysdeps/s390/s390-64/initfini.c: Remove.
81086 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
81088         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
81089         compiler output for sysdeps/generic/initfini.c.
81090         * sysdeps/sh/elf/initfini.c: Remove file.
81092 2012-02-16  David S. Miller  <davem@davemloft.net>
81094         [BZ #11494]
81095         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
81097         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
81098         * sysdeps/sparc/crti.S: New file.
81099         * sysdeps/sparc/crtn.S: New file.
81100         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
81101         * sysdeps/sparc/sparc64/Makefile: Likewise.
81103 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
81105         [BZ #3335]
81106         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
81108 2012-02-15  Roland McGrath  <roland@hack.frob.com>
81110         [BZ #4822]
81111         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
81113         * mach/devstream.c (cookie_io_functions_t): Macro removed.
81114         (write, read, close): Likewise.
81115         Patch by Aurelien Jarno <aurelien@aurel32.net>.
81117 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
81119         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
81120         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
81121         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
81122         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
81123         <bits/signalfd.h>.
81124         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
81125         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81126         bits/signalfd.h.
81128 2012-02-14  Marek Polacek  <polacek@redhat.com>
81130         * sysdeps/x86_64/crti.S: New file.
81131         * sysdeps/x86_64/crtn.S: New file.
81132         * sysdeps/x86_64/elf/initfini.c: Remove file.
81134 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81136         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
81137         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
81138         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
81139         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
81140         <bits/inotify.h>.
81141         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
81142         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81143         bits/inotify.h.
81145 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81147         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
81148         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
81149         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
81150         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
81151         <bits/eventfd.h>.
81152         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
81153         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81154         bits/eventfd.h.
81156 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
81158         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
81159         __feraiseexcept instead of feraiseexcept.
81161         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
81162         nanosleep invocations.
81163         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
81164         strings, and add error checking for a nanosleep invocations.
81166 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
81168         Replace FSF snail mail address with URLs, as per GNU coding standards.
81169         Most of the snail mail addresses were wrong anyway, and omitting
81170         them makes the source code easier to maintain.  Almost all of the
81171         changes are to license notices and to locale LC_IDENTIFICATION
81172         addresses, except for this one:
81173         * manual/libc.texinfo: In "Published by", give the FSF's URL,
81174         not its snail mail address.
81176 2012-02-09  Richard Henderson  <rth@twiddle.net>
81178         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
81179         of kernel-features.h.
81181         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
81183 2012-02-08  Marek Polacek  <polacek@redhat.com>
81185         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
81186         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
81187         * sysdeps/gnu/_G_config.h: Likewise.
81188         * sysdeps/generic/_G_config.h: Likewise.
81190 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
81192         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
81193         tests.
81194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81196         * sysdeps/powerpc/powerpc32/crti.S: New file.
81197         * sysdeps/powerpc/powerpc32/crtn.S: New file.
81198         * sysdeps/powerpc/powerpc64/crti.S: New file.
81199         * sysdeps/powerpc/powerpc64/crtn.S: New file.
81201         * Makeconfig (have-initfini): Don't set.
81202         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
81203         * configure.in (nopic_initfini): Don't substitute.
81204         * config.h.in (HAVE_INITFINI): Don't #undef.
81205         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
81206         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
81208 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
81210         Support crti.S and crtn.S provided directly by architectures.
81211         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
81212         [crti.S in sysdirs] (omit-deps): Likewise.
81213         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
81214         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
81215         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
81216         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
81217         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
81218         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
81219         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
81220         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
81221         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
81222         compiler output for sysdeps/generic/initfini.c.
81223         * sysdeps/i386/elf/Makefile: Remove file.
81224         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
81226 2012-02-07  Marek Polacek  <polacek@redhat.com>
81228         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
81229         * sysdeps/gnu/_G_config.h: Likewise.
81230         * sysdeps/mach/hurd/_G_config.h: Likewise.
81232 2012-02-07  Marek Polacek  <polacek@redhat.com>
81234         * math/Makefile (tests): Add tst-CMPLX2.
81235         * math/tst-CMPLX2.c: New file.
81237 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
81239         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81241         * math/libm-test.inc (jn_test): Add missing L suffix.
81243 2012-02-06  Marek Polacek  <polacek@redhat.com>
81245         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
81246         * sysdeps/i386/fpu/e_powf.S: Likewise.
81247         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
81248         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81249         * sysdeps/i386/fpu/e_acosh.S: Likewise.
81250         * sysdeps/i386/fpu/e_pow.S: Likewise.
81251         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
81252         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
81253         * sysdeps/i386/fpu/s_expm1.S: Likewise.
81254         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
81255         * sysdeps/i386/fpu/e_log2.S: Likewise.
81256         * sysdeps/i386/fpu/e_log2l.S: Likewise.
81257         * sysdeps/i386/fpu/e_scalb.S: Likewise.
81258         * sysdeps/i386/fpu/e_powl.S: Likewise.
81259         * sysdeps/i386/fpu/s_log1p.S: Likewise.
81260         * sysdeps/i386/fpu/e_log10f.S: Likewise.
81261         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
81262         * sysdeps/i386/fpu/e_logl.S: Likewise.
81263         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
81264         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
81265         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
81266         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
81267         * sysdeps/i386/fpu/e_log2f.S: Likewise.
81268         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
81269         * sysdeps/i386/fpu/e_log.S: Likewise.
81270         * sysdeps/i386/fpu/s_cexp.S: Likewise.
81271         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
81272         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
81273         * sysdeps/i386/fpu/e_logf.S: Likewise.
81274         * sysdeps/i386/fpu/e_log10l.S: Likewise.
81275         * sysdeps/i386/fpu/e_atanh.S: Likewise.
81276         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
81277         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
81278         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81279         * sysdeps/i386/fpu/e_log10.S: Likewise.
81280         * sysdeps/i386/fpu/s_frexp.S: Likewise.
81281         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
81282         * sysdeps/i386/fpu/s_asinh.S: Likewise.
81283         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
81284         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
81285         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
81286         * sysdeps/i386/asm-syntax.h: Likewise.
81287         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81288         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81289         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81290         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
81291         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
81292         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81293         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
81294         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
81295         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81296         * sysdeps/powerpc/sysdep.h: Likewise.
81297         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
81298         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
81300 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81302         [BZ #411]
81303         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
81305 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81307         * sysdeps/i386/sysdep.h: Include <features.h>.
81308         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
81309         version.
81311 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
81313         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
81314         Define.
81315         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
81316         LOAD_PIC_REG_STR.
81318 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81320         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
81321         (SETUP_PIC_REG): Use GET_PC_THUNK.
81322         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
81323         macro.
81325 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81327         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
81328         for non-PIC compilation.
81329         (SETUP_PIC_REG): Add .p2align directive.
81330         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
81331         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
81332         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
81333         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
81334         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
81335         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
81336         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
81337         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81338         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
81339         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
81340         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
81341         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
81342         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
81343         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
81344         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
81345         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
81346         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
81347         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
81348         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
81349         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
81350         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
81351         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
81352         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
81353         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
81354         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
81355         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
81356         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81357         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
81358         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
81359         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
81360         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
81361         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81362         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
81363         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
81364         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
81365         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
81366         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
81367         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
81368         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
81369         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
81370         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
81372 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81374         * math/tst-CMPLX.c: Include <stdio.h>.
81376 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
81378         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
81379         float.
81380         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81381         * sysdeps/sparc/bits/mathdef.h: Likewise.
81383 2012-01-31  Marek Polacek  <polacek@redhat.com>
81385         * libio/libio.h: Don't define _PARAMS.
81386         * locale/programs/config.h: Don't define PARAMS.
81387         * stdlib/strtol_l.c: Likewise.
81388         (__strtol_l): Remove PARAMS from the prototype.
81390 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
81392         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
81393         names.  Just use the correct names.  Remove unnecessary wrapper
81394         functions.
81395         * malloc/arena.c: Likewise.
81396         * malloc/hooks.c: Likewise.
81398         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
81399         ARENA_TEST says not to.  Simplify test for creation of a new arena.
81400         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
81402 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
81404         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
81405         into tail calls.
81406         (update_get_addr): New function.
81407         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
81408         GET_ADDR_MODULE parameter.
81410 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81412         * crypt/cert.c: Remove __STDC__ conditionals.
81413         * crypt/crypt-entry.c: Likewise.
81414         * crypt/crypt_util.c: Likewise.
81415         * libio/filedoalloc.c: Likewise.
81416         * libio/fileops.c: Likewise.
81417         * libio/genops.c: Likewise.
81418         * libio/iofclose.c: Likewise.
81419         * libio/iofdopen.c: Likewise.
81420         * libio/iofopen.c: Likewise.
81421         * libio/iofopen64.c: Likewise.
81422         * libio/iogetdelim.c: Likewise.
81423         * libio/iopopen.c: Likewise.
81424         * libio/obprintf.c: Likewise.
81425         * libio/oldfileops.c: Likewise.
81426         * libio/oldiofclose.c: Likewise.
81427         * libio/oldiofdopen.c: Likewise.
81428         * libio/oldiofopen.c: Likewise.
81429         * libio/oldiopopen.c: Likewise.
81430         * libio/wfiledoalloc.c: Likewise.
81431         * libio/wgenops.c: Likewise.
81432         * locale/programs/xmalloc.c: Likewise.
81433         * misc/syslog.c: Likewise.
81434         * stdio-common/xbug.c: Likewise.
81435         * string/memchr.c: Likewise.
81436         * string/memcmp.c: Likewise.
81437         * string/memrchr.c: Likewise.
81438         * string/rawmemchr.c: Likewise.
81439         * sysdeps/posix/getcwd.c: Likewise.
81440         * time/strftime_l.c: Likewise.
81442 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81444         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
81445         * config.make.in (config-cflags-sse2avx): Define.
81446         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
81447         Fix typo.
81449 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
81451         * scripts/config.guess: Update from upstream config git repository.
81452         * scripts/config.sub: Likewise.
81454 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
81456         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
81457         (EM_NUM): Update.
81458         (R_TILEPRO_*, R_TILEGX_*): New macros.
81460         * scripts/firstversions.awk: Fix bug in version range handling.
81462         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
81464         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
81466         * include/sys/epoll.h: New file.
81467         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
81468         libc_hidden_def.
81470 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
81472         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
81473         Avoid unnecessary __WORDSIZE == 64 test.
81474         (fmaxf): Use VEX format if possible.
81475         (fmax): Likewise.
81476         (fminf): Likewise.
81477         (fmin): Likewise.
81479         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
81480         * math/math_private.h: Remove libc_fegetround* and
81481         libc_fesetround*.
81482         * sysdeps/i386/configure.in: Check for -msse2avx.
81483         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
81484         also if SSE2AVX is defined.
81485         Remove libc_fegetround* and libc_fesetround*.
81486         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
81487         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
81488         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
81489         of HAS_YMM_USABLE.
81490         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81491         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81492         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81493         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81494         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81496         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
81498 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81500         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
81501         size is not set.
81502         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81504 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
81506         [BZ #13618]
81507         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
81508         relocation.
81509         * Makeconfig (libm): Define.
81510         * elf/Makefile: Add rules to build and run tst-relsort1.
81511         * elf/tst-relsort1.c: New file.
81512         * elf/tst-relsort1mod1.c: New file.
81513         * elf/tst-relsort1mod2.c: New file.
81515 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
81517         * math/s_ldexp.c: Remove __STDC__ conditionals.
81518         * math/s_ldexpf.c: Likewise.
81519         * math/s_ldexpl.c: Likewise.
81520         * math/s_nextafter.c: Likewise.
81521         * math/s_nexttowardf.c: Likewise.
81522         * math/s_significand.c: Likewise.
81523         * math/s_significandf.c: Likewise.
81524         * math/s_significandl.c: Likewise.
81525         * math/w_jnl.c: Likewise.
81526         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81527         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81528         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81529         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81530         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81531         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81532         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
81533         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81534         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81535         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81536         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81537         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81538         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81539         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81540         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81541         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81542         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81543         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81544         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81545         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81546         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81547         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81548         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81549         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81550         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81551         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81552         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81553         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81554         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81555         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81556         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81557         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81558         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81559         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81560         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81561         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81562         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81563         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81564         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81565         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81566         * sysdeps/ieee754/k_standard.c: Likewise.
81567         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81568         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81569         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81570         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81571         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81572         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81573         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81574         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81575         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81576         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81577         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81578         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81579         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81580         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81581         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81582         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81583         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81584         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81585         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81586         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81587         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81588         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81589         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81590         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81591         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81592         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81593         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81594         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81595         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81596         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81597         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81598         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
81599         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81600         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81601         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81602         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81603         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
81604         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81605         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81606         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
81607         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
81608         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81609         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
81610         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
81611         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81612         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
81613         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
81614         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81615         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81616         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
81617         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
81618         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81619         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81620         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81621         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81622         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81623         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
81624         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81625         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81626         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81627         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81628         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81629         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81630         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81631         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81632         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81633         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81634         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81635         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81636         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81637         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81638         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81639         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81640         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81641         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81642         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81643         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81644         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81645         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81646         * sysdeps/ieee754/s_matherr.c: Likewise.
81647         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81648         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81649         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81650         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81652 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81654         * crypt/md5.h: Remove __STDC__ conditionals.
81655         * libio/libioP.h: Likewise.
81656         * locale/programs/config.h: Likewise.
81657         * sysdeps/generic/sysdep.h: Likewise.
81658         * sysdeps/i386/asm-syntax.h: Likewise.
81659         * sysdeps/s390/asm-syntax.h: Likewise.
81660         * sysdeps/unix/sysdep.h: Likewise.
81661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
81662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
81664 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81666         * libio/libio.h: Remove __STDC__ conditionals.
81667         * malloc/obstack.h: Likewise.
81668         * math/complex.h: Likewise.
81669         * math/math.h: Likewise.
81670         * sysdeps/generic/_G_config.h: Likewise.
81671         * sysdeps/gnu/_G_config.h: Likewise.
81672         * sysdeps/mach/hurd/_G_config.h: Likewise.
81673         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81674         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81675         * sysdeps/sparc/bits/mathdef.h: Likewise.
81677 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
81679         [BZ #13583]
81680         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
81681         Clean up HAS_* macros.
81682         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
81683         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
81684         possible.
81685         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
81686         HAS_AVX.
81687         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81688         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81689         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81690         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81691         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81693 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
81695         * elf/tst-unique3.cc (gets): Remove declaration.
81696         * elf/tst-unique3lib.cc (gets): Likewise.
81697         * elf/tst-unique3lib2.cc (gets): Likewise.
81698         * elf/tst-unique4.cc (gets): Likewise.
81700 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
81702         * include/stdio.h: Add C++ protection.  Add gets declarations and
81703         definitions.
81704         * debug/tst-chk1.c: Don't declare gets here.
81705         * stdio-common/tst-gets.c: Likewise.
81707 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81709         * posix/glob: Remove directory.
81711 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81713         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
81715 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
81717         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
81718         of the non-standard EPFNOSUPPORT.
81720 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81722         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
81723         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
81724         ANYWHERE set to 1 only on KERN_NO_SPACE error.
81726 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
81728         * wcsmbs/uchar.h: Test __STDC_VERSION__.
81730 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
81732         * nscd/aicache.c (addhstaiX): Do not cache negative results of
81733         transient errors.
81734         * nscd/grpcache.c (cache_addgr): Likewise.
81735         * nscd/hstcache.c (cache_addhst): Likewise.
81736         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81737         * nscd/pwdcache.c (cache_addpw): Likewise.
81738         * nscd/servicescache.c (cache_addserv): Likewise.
81740 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
81742         * malloc/malloc.c: Various cleanups.
81743         * malloc/hooks.c: Likewise.
81745         * stdlib/Makefile (tests): Add bug-fmtmsg1.
81746         * stdlib/bug-fmtmsg1.c: New file.
81748         * stdlib/fmtmsg.c (init): Add missing unlock.
81749         Patch by Peng Haitao <penght@cn.fujitsu.com>.
81751 2012-01-12  Marek Polacek  <polacek@redhat.com>
81753         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
81754         and _GNU_SOURCE.
81756 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81758         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
81759         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
81760         macro to ensure uniqueness of label name.
81761         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81762         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81764 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
81766         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
81768         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
81769         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81770         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81771         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
81773 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
81775         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
81777         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
81778         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81779         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81781         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
81783         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
81784         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81785         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81786         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
81788         * math/bits/math-finite.h: Add ldexp support.
81790 2012-01-10  Marek Polacek  <polacek@redhat.com>
81792         * locale/programs/localedef.h (show_archive_content): Add noreturn
81793         attribute.
81795 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
81797         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
81799 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81801         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
81803         * io/Makefile (headers): Add bits/poll2.h.
81805 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
81807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
81808         typo #include statement.
81810 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81812         * include/sys/cdefs.h: Define __attribute_alloc_size.
81813         * catgets/gencat.c: Add alloc_size attribute and apply consistently
81814         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
81815         * elf/pldd.c: Likewise.
81816         * iconv/iconv_charmap.c: Likewise.
81817         * iconv/iconvconfig.c: Likewise.
81818         * iconv/strtab.c: Likewise.
81819         * locale/programs/locale.c: Likewise.
81820         * locale/programs/localedef.h: Likewise.
81821         * locale/programs/simple-hash.c: Likewise.
81822         * nscd/nscd.h: Likewise.
81823         * nss/makedb.c: Likewise.
81824         * sysdeps/generic/ldconfig.h: Likewise.
81825         * locale/programs/localedef.c: Remove xmalloc prototype.
81826         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
81828 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81830         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
81831         appropriate.
81833 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81835         * math/Makefile (tests): Add tst-CMPLX.
81836         * math/tst-CMPLX.c: New file.
81838         * math/complex.h (CMPLXL): Fix typo.
81840         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
81841         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
81842         GLIBC_2.16.
81843         * debug/tst-chk1.c: Add poll and ppoll tests.
81844         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
81845         * include/sys/poll.h: Add hidden proto for ppoll.
81846         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
81847         * sysdeps/mach/hurd/ppoll.c: Likewise.
81848         * io/ppoll.c: Likewise.
81849         * debug/poll_chk.c: New file.
81850         * debug/ppoll_chk.c: New file.
81851         * include/bits/poll2.h: New file.
81852         * io/bits/poll2.h: New file.
81854         [BZ #1350]
81855         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
81857         * configure.in: static is always set to yes.  Remove.
81858         * config.make.in: Don't set build-static.
81859         * Makeconfig: Remove use of build-static.
81860         * dlfcn/Makefile: Likewise.
81861         * elf/Makefile: Likewise.
81862         * math/Makefile: Likewise.
81863         * misc/Makefile: Likewise.
81864         * nptl/Makefile: Likewise.
81865         * sysdeps/mach/hurd/Makefile: Likewise.
81867         * configure.in: PWD_P is not used anymore.
81868         * config.make.in: Remove PWD_P entry.
81870         * configure.in: Remove last remnants of RANLIB.
81871         No need to check for signed size_t anymore.
81872         Don't set libc_commonpagesize and libc_relro_required here for Alpha
81873         and IA-64.
81874         Remove __builtin_expect test because we require at least gcc 3.4.
81875         * aclocal.m4: Likewise.
81877         * wcsmbs/mbrtoc16.c: Implement using towc function.
81878         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
81879         * wcsmbs/wcsmbsload.c: Likewise.
81880         * iconv/gconv_simple.c: Likewise.
81881         * iconv/gconv_int.h: Likewise.
81882         * iconv/gconv_builtin.h: Likewise.
81883         * iconv/iconv_prog.c: Remove CHAR16 handling.
81885         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
81887         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
81889         * configure.in: Remove --with-elf and --enable-bounded options.
81890         Dont set base_machine for ia64.  More non-ELF conditions removed.
81891         Remove testing and setting of leading underscore information.
81892         * config.make.in (build-bounded): Set to no.
81893         * config.h.in: Remove NO_UNDERSCORES entry.
81894         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
81895         them.
81896         * csu/start.c: Remove !NO_UNDERSCORE code.
81897         * locale/localeinfo.h: Likewise.
81898         * sysdeps/generic/machine-gmon.h: Likewise.
81899         * sysdeps/generic/sysdep.h: Likewise.
81900         * sysdeps/i386/sysdep.h: Likewise.
81901         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
81902         * sysdeps/mach/sysdep.h: Likewise.
81903         * sysdeps/s390/s390-32/sysdep.h: Likewise.
81904         * sysdeps/s390/s390-64/sysdep.h: Likewise.
81905         * sysdeps/sh/sysdep.h: Likewise.
81906         * sysdeps/sparc/sparc32/alloca.S: Likewise.
81907         * sysdeps/unix/i386/sysdep.S: Likewise.
81908         * sysdeps/unix/sparc/start.c: Likewise.
81909         * sysdeps/unix/sparc/sysdep.S: Likewise.
81910         * sysdeps/unix/sparc/sysdep.h: Likewise.
81911         * sysdeps/unix/start.c: Likewise.
81912         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81913         * sysdeps/x86_64/sysdep.h: Likewise.
81915 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
81917         [BZ #13553]
81918         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
81919         for non-gcc.
81920         * argp/argp-fmtstream.h: Use const instead __const.
81921         * argp/argp.h: Likewise.
81922         * assert/assert.h: Likewise.
81923         * bits/fenv.h: Likewise.
81924         * bits/sched.h: Likewise.
81925         * bits/sigset.h: Likewise.
81926         * bits/sigthread.h: Likewise.
81927         * catgets/nl_types.h: Likewise.
81928         * conform/data/pthread.h-data: Likewise.
81929         * crypt/crypt-private.h: Likewise.
81930         * crypt/crypt.h: Likewise.
81931         * crypt/crypt_util.c: Likewise.
81932         * ctype/ctype.h: Likewise.
81933         * debug/execinfo.h: Likewise.
81934         * debug/mbsnrtowcs_chk.c: Likewise.
81935         * debug/mbsrtowcs_chk.c: Likewise.
81936         * debug/wcsnrtombs_chk.c: Likewise.
81937         * debug/wcsrtombs_chk.c: Likewise.
81938         * debug/wcstombs_chk.c: Likewise.
81939         * dirent/dirent.h: Likewise.
81940         * dlfcn/dlfcn.h: Likewise.
81941         * elf/neededtest4.c: Likewise.
81942         * grp/grp.h: Likewise.
81943         * gshadow/gshadow.h: Likewise.
81944         * iconv/gconv.h: Likewise.
81945         * iconv/gconv_int.h: Likewise.
81946         * iconv/gconv_simple.c: Likewise.
81947         * iconv/iconv.h: Likewise.
81948         * iconv/loop.c: Likewise.
81949         * iconv/skeleton.c: Likewise.
81950         * include/aio.h: Likewise.
81951         * include/aliases.h: Likewise.
81952         * include/argz.h: Likewise.
81953         * include/arpa/inet.h: Likewise.
81954         * include/assert.h: Likewise.
81955         * include/dirent.h: Likewise.
81956         * include/dlfcn.h: Likewise.
81957         * include/execinfo.h: Likewise.
81958         * include/fcntl.h: Likewise.
81959         * include/fenv.h: Likewise.
81960         * include/glob.h: Likewise.
81961         * include/grp.h: Likewise.
81962         * include/libintl.h: Likewise.
81963         * include/mntent.h: Likewise.
81964         * include/netdb.h: Likewise.
81965         * include/pwd.h: Likewise.
81966         * include/rpc/netdb.h: Likewise.
81967         * include/sched.h: Likewise.
81968         * include/search.h: Likewise.
81969         * include/shadow.h: Likewise.
81970         * include/signal.h: Likewise.
81971         * include/stdio.h: Likewise.
81972         * include/stdlib.h: Likewise.
81973         * include/string.h: Likewise.
81974         * include/sys/socket.h: Likewise.
81975         * include/sys/stat.h: Likewise.
81976         * include/sys/statfs.h: Likewise.
81977         * include/sys/statvfs.h: Likewise.
81978         * include/sys/syslog.h: Likewise.
81979         * include/sys/time.h: Likewise.
81980         * include/sys/uio.h: Likewise.
81981         * include/time.h: Likewise.
81982         * include/unistd.h: Likewise.
81983         * include/utmp.h: Likewise.
81984         * include/wchar.h: Likewise.
81985         * include/wctype.h: Likewise.
81986         * inet/aliases.h: Likewise.
81987         * inet/arpa/inet.h: Likewise.
81988         * inet/netinet/ether.h: Likewise.
81989         * inet/netinet/in.h: Likewise.
81990         * intl/libintl.h: Likewise.
81991         * io/bits/fcntl2.h: Likewise.
81992         * io/fcntl.h: Likewise.
81993         * io/ftw.h: Likewise.
81994         * io/sys/poll.h: Likewise.
81995         * io/sys/stat.h: Likewise.
81996         * io/sys/statfs.h: Likewise.
81997         * io/sys/statvfs.h: Likewise.
81998         * io/utime.h: Likewise.
81999         * libio/bits/stdio.h: Likewise.
82000         * libio/bits/stdio2.h: Likewise.
82001         * libio/libio.h: Likewise.
82002         * libio/libioP.h: Likewise.
82003         * libio/stdio.h: Likewise.
82004         * locale/lc-ctype.c: Likewise.
82005         * locale/locale.h: Likewise.
82006         * login/utmp.h: Likewise.
82007         * malloc/arena.c: Likewise.
82008         * malloc/malloc.c: Likewise.
82009         * malloc/malloc.h: Likewise.
82010         * malloc/mcheck.c: Likewise.
82011         * malloc/mtrace.c: Likewise.
82012         * math/bits/mathcalls.h: Likewise.
82013         * math/fenv.h: Likewise.
82014         * math/math_private.h: Likewise.
82015         * misc/bits/error.h: Likewise.
82016         * misc/bits/syslog.h: Likewise.
82017         * misc/err.h: Likewise.
82018         * misc/error.h: Likewise.
82019         * misc/fstab.h: Likewise.
82020         * misc/mntent.h: Likewise.
82021         * misc/regexp.h: Likewise.
82022         * misc/search.h: Likewise.
82023         * misc/sgtty.h: Likewise.
82024         * misc/sys/mman.h: Likewise.
82025         * misc/sys/syslog.h: Likewise.
82026         * misc/sys/uio.h: Likewise.
82027         * misc/sys/xattr.h: Likewise.
82028         * misc/ttyent.h: Likewise.
82029         * nis/rpcsvc/ypclnt.h: Likewise.
82030         * nss/nss.h: Likewise.
82031         * posix/bits/unistd.h: Likewise.
82032         * posix/fnmatch.h: Likewise.
82033         * posix/glob.h: Likewise.
82034         * posix/sched.h: Likewise.
82035         * posix/spawn.h: Likewise.
82036         * posix/sys/wait.h: Likewise.
82037         * posix/unistd.h: Likewise.
82038         * posix/wordexp.h: Likewise.
82039         * pwd/pwd.h: Likewise.
82040         * resolv/netdb.h: Likewise.
82041         * resource/sys/resource.h: Likewise.
82042         * rt/aio.h: Likewise.
82043         * rt/bits/mqueue2.h: Likewise.
82044         * rt/mqueue.h: Likewise.
82045         * shadow/shadow.h: Likewise.
82046         * signal/signal.h: Likewise.
82047         * socket/send.c: Likewise.
82048         * socket/sendto.c: Likewise.
82049         * socket/sys/socket.h: Likewise.
82050         * stdio-common/printf.h: Likewise.
82051         * stdlib/bits/stdlib.h: Likewise.
82052         * stdlib/fmtmsg.h: Likewise.
82053         * stdlib/monetary.h: Likewise.
82054         * stdlib/stdlib.h: Likewise.
82055         * stdlib/ucontext.h: Likewise.
82056         * streams/stropts.h: Likewise.
82057         * string/argz.h: Likewise.
82058         * string/bits/string2.h: Likewise.
82059         * string/string.h: Likewise.
82060         * string/strings.h: Likewise.
82061         * sunrpc/rpc/auth.h: Likewise.
82062         * sunrpc/rpc/auth_des.h: Likewise.
82063         * sunrpc/rpc/clnt.h: Likewise.
82064         * sunrpc/rpc/netdb.h: Likewise.
82065         * sunrpc/rpc/pmap_clnt.h: Likewise.
82066         * sunrpc/rpc/xdr.h: Likewise.
82067         * sysdeps/generic/inttypes.h: Likewise.
82068         * sysdeps/generic/net/if.h: Likewise.
82069         * sysdeps/generic/sys/swap.h: Likewise.
82070         * sysdeps/gnu/net/if.h: Likewise.
82071         * sysdeps/gnu/utmpx.h: Likewise.
82072         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
82073         * sysdeps/i386/i486/bits/string.h: Likewise.
82074         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
82075         * sysdeps/s390/bits/string.h: Likewise.
82076         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
82077         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
82078         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
82079         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
82080         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
82081         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
82082         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
82083         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
82084         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
82085         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
82086         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
82087         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
82088         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
82089         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
82090         * sysdeps/unix/sysv/linux/readv.c: Likewise.
82091         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
82092         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
82093         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82094         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
82095         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
82096         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82097         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
82098         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
82099         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
82100         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
82101         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
82102         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
82103         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82104         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
82105         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
82106         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
82107         * sysvipc/sys/ipc.h: Likewise.
82108         * sysvipc/sys/msg.h: Likewise.
82109         * sysvipc/sys/sem.h: Likewise.
82110         * sysvipc/sys/shm.h: Likewise.
82111         * termios/termios.h: Likewise.
82112         * time/sys/time.h: Likewise.
82113         * time/time.h: Likewise.
82114         * wcsmbs/bits/wchar2.h: Likewise.
82115         * wcsmbs/uchar.h: Likewise.
82116         * wcsmbs/wchar.h: Likewise.
82117         * wctype/wctype.h: Likewise.
82119         [BZ #13551]
82120         * Makeconfig: Remove all but ELF support including AIX support.
82121         * Makerules: Likewise.
82122         * config.h.in: Likewise.
82123         * config.make.in: Likewise.
82124         * configure: Likewise.
82125         * configure.in: Likewise.
82126         * csu/Makefile: Likewise.
82127         * csu/version.c: Likewise.
82128         * debug/Makefile: Likewise.
82129         * dlfcn/Makefile: Likewise.
82130         * elf/Makefile: Likewise.
82131         * extra-lib.mk: Likewise.
82132         * iconv/Makefile: Likewise.
82133         * include/libc-symbols.h: Likewise.
82134         * include/shlib-compat.h: Likewise.
82135         * resolv/Makefile: Likewise.
82136         * resolv/res_libc.c: Likewise.
82137         * rt/Makefile: Likewise.
82138         * sysdeps/i386/asm-syntax.h: Likewise.
82139         * sysdeps/i386/sysdep.h: Likewise.
82140         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82141         * sysdeps/mach/sysdep.h: Likewise.
82142         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
82143         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
82144         * sysdeps/s390/asm-syntax.h: Likewise.
82145         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82146         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82147         * sysdeps/sh/sysdep.h: Likewise.
82148         * sysdeps/unix/sparc/sysdep.h: Likewise.
82149         * sysdeps/wordsize-32/divdi3.c: Likewise.
82150         * sysdeps/x86_64/sysdep.h: Likewise.
82152         * argp/Versions: Remove _argp_unlock_xxx.
82154         [BZ #13559]
82155         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
82156         * abilist/libBrokenLocale.abilist: Likewise.
82157         * abilist/libanl.abilist: Likewise.
82158         * abilist/libc.abilist: Likewise.
82159         * abilist/libcrypt.abilist: Likewise.
82160         * abilist/libdl.abilist: Likewise.
82161         * abilist/libm.abilist: Likewise.
82162         * abilist/libnsl.abilist: Likewise.
82163         * abilist/libpthread.abilist: Likewise.
82164         * abilist/libresolv.abilist: Likewise.
82165         * abilist/librt.abilist: Likewise.
82166         * abilist/libthread_db.abilist: Likewise.
82167         * abilist/libutil.abilist: Likewise.
82168         * abilist/libnss_db.abilist: New file.
82170         * scripts/abilist.awk: Add support for indirect functions.
82172         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
82174         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
82176         * shlib-versions: Remove entries for ports architectures.
82178         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
82179         files in ports.
82180         * elf/stackguard-macros.h: Remove support for IA-64.
82181         * elf/tst-auditmod1.c: Likewise.
82182         * sysdeps/generic/ldsodefs.h: Likewise.
82184         * sysdeps/unix/sysv/linux/configure.in: Ports should define
82185         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
82186         configure files.
82188         [BZ #13552]
82189         * configure.in: Remove --enable-omitfp support.
82190         * FAQ.in: Adjust.
82191         * config.make.in: Likewise.
82192         * Makeconfig: Likewise.
82193         * manual/install.texi: Likewise.
82195         In case anyone cares, the IA-64 architecture could move to ports.
82196         * sysdeps/ia64/*: Removed.
82197         * sysdeps/unix/sysv/linux/ia64/*: Removed.
82198         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
82200         [BZ #13555]
82201         * configure.in: Remove entries for unsupported architectures.
82203         [BZ #13533]
82204         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
82205         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
82206         routines.
82207         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
82208         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
82209         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
82210         fall back to using wcrtomb.
82211         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
82212         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
82213         renaming.
82214         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
82215         * wcsmbs/tst-c16c32-1.c: New file.
82217         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
82218         local variable.
82220         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
82222         * elf/tst-unique3.cc: Add explicit declaration of gets.
82223         * elf/tst-unique3lib.cc: Likewise.
82224         * elf/tst-unique3lib2.cc: Likewise.
82225         * elf/tst-unique4.cc: Likewise.
82227         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
82229 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
82231         [BZ #13566]
82232         * assert/assert.h (static_assert): Don't define for C++.
82233         * libio/stdio.h (gets): Do declare for C++ <= C++11.
82234         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
82236 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
82238         * iconv/loop.c (single loop): Fix assertion in storing of
82239         remaining bytes.
82241         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
82243 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
82245         * posix/getconf.c: Update copyright year.
82246         * nss/getent.c: Likewise.
82247         * nss/makedb.c: Likewise.
82248         * iconv/iconvconfig.c: Likewise.
82249         * iconv/iconv_prog.c: Likewise.
82250         * elf/ldconfig.c: Likewise.
82251         * elf/pldd.c: Likewise.
82252         * elf/sotruss.ksh: Likewise.
82253         * catgets/gencat.c: Likewise.
82254         * csu/version.c: Likewise.
82255         * elf/ldd.bash.in: Likewise.
82256         * elf/sprof.c (print_version): Likewise.
82257         * locale/programs/locale.c: Likewise.
82258         * locale/programs/localedef.c: Likewise.
82259         * login/programs/pt_chown.c: Likewise.
82260         * nscd/nscd.c (print_version): Likewise.
82261         * debug/xtrace.sh: Likewise.
82262         * malloc/memusage.sh: Likewise.
82263         * malloc/mtrace.pl: Likewise.
82264         * debug/catchsegv.sh: Likewise.
82266 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
82268         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
82269         pure attribute.
82271 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
82273         [BZ #13533]
82274         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
82275         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
82276         transformations.
82277         * iconv/gconv_int.h: Likewise.
82278         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
82279         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
82280         from libc for GLIBC_2.16.
82281         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
82282         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
82283         * wcsmbs/uchar.h: Really define mbstate_t.
82284         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
82285         * wcsmbs/c16rtomb.c: New file.
82286         * wcsmbs/mbrtoc16.c: New file.
82287         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
82288         for C/POSIX locale.
82289         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
82290         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
82292         * wcsmbs/wchar.h: Add missing __restrict.
82294 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82296         [BZ #13532]
82297         * time/Makefile (routines): Add timespec_get.
82298         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
82299         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
82300         timespec for ISO C11.
82301         * time/timespec_get.c: New file.
82302         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
82303         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
82305         [BZ #13531]
82306         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
82307         * stdlib/stdlib.h: Declare aligned_alloc.
82308         * Versions.def: Add GLIBC_2.16 for libc.
82309         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
82311         [BZ 13527]
82312         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
82313         ISO C11.
82315         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
82316         code.
82318         [BZ #13528]
82319         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
82321         [BZ #13529]
82322         * assert/assert.h (static_assert): Define.
82324         * version.h: Update for 2.16 development version.
82326         [BZ #13526]
82327         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
82328         _ISOC11_SOURCE.
82330         * version.h (RELEASE): Bump for 2.15 release.
82331         * include/features.h (__GLIBC_MINOR__): Bump to 15.
82333         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
82334         Patch by Marek Polacek <mpolacek@redhat.com>.
82336         * bits/byteswap.h: Protect long long constants with __extension__.
82337         * sysdeps/i386/bits/byteswap.h: Likewise.
82338         * sysdeps/ia64/bits/byteswap.h: Likewise.
82339         * sysdeps/s390/bits/byteswap.h: Likewise.
82340         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82342 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82344         [BZ #13540]
82345         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
82346         destination buffer.
82347         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
82349 2011-12-23  Marek Polacek  <polacek@redhat.com>
82351         * elf/dl-addr.c (determine_info): Add inline keyword.
82352         * elf/tst-auditmod4b.c (check_avx): Likewise.
82353         * elf/tst-auditmod6b.c (check_avx): Likewise.
82354         * elf/tst-auditmod6c.c (check_avx): Likewise.
82355         * elf/tst-auditmod7b.c (check_avx): Likewise.
82357 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82359         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
82360         !__SSE_MATH__.
82362 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82364         [BZ #13540]
82365         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
82366         processing for last bytes.
82368 2011-08-06  Bruno Haible  <bruno@clisp.org>
82370         [BZ #13061]
82371         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
82372         U+0385, not to U+1FEE.
82374         [BZ #13062]
82375         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
82376         entry for U+00A5 U+0301.
82378 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82380         [BZ #13166]
82381         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
82382         buffer for the output is too small.
82384         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
82385         optimization.
82387         [BZ #13185]
82388         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
82389         SSE flags if possible.
82391 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82393         [BZ #13540]
82394         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
82395         processing for last bytes.
82397 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
82399         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
82400         (syscall-list-default-options, syscall-list-default-condition)
82401         (syscall-list-includes): Define.
82402         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
82403         list of ABIs and options and #if conditions for each ABI.  Do not
82404         handle common syscalls between ABIs specially.
82405         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
82406         Remove.
82407         (syscall-list-variants, syscall-list-32bit-options)
82408         (syscall-list-32bit-condition, syscall-list-64bit-options)
82409         (syscall-list-64bit-condition): Define.
82410         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
82411         (syscall-list-variants, syscall-list-32bit-options)
82412         (syscall-list-32bit-condition, syscall-list-64bit-options)
82413         (syscall-list-64bit-condition): Define.
82414         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
82415         Remove.
82416         (syscall-list-variants, syscall-list-32bit-options)
82417         (syscall-list-32bit-condition, syscall-list-64bit-options)
82418         (syscall-list-64bit-condition): Define.
82419         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
82420         Remove.
82421         (syscall-list-variants, syscall-list-32bit-options)
82422         (syscall-list-32bit-condition, syscall-list-64bit-options)
82423         (syscall-list-64bit-condition): Define.
82425 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82427         * locale/iso-639.def: Add brx entry.
82429         [BZ #13328]
82430         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
82431         Proposed by Mariusz_Cukr <marcukr@op.pl>.
82433         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
82434         __feraiseexcept_renamed.
82436 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82438         [BZ #13538]
82439         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
82440         EPOLLET with unsigned values.
82441         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82442         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82444         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
82445         to large cancellation.
82446         * math/s_cacoshf.c: Likewise.
82447         * math/s_cacoshl.c: Likewise.
82449 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
82451         [BZ #13305]
82452         [BZ #12786]
82453         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
82454         * math/s_cacoshf.c: Likewise.
82455         * math/s_cacoshl.c: Likewise.
82457 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82459         [BZ #13439]
82460         * iconv/gconv.h: Define __GCONV_SWAP.
82461         * iconvdata/unicode.c: The swap bit must be stored in __flags.
82462         * iconvdata/utf-16.c: Likewise.
82463         * iconvdata/utf-32.c: Likewise.
82465 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
82467         [BZ #13524]
82468         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
82469         numerator after shifting it by one limb.
82471 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
82473         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
82474         under [__USE_EXTERN_INLINES].
82476 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82478         [BZ #13446]
82479         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
82481 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82483         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
82484         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
82485         optimized code.
82486         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
82487         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
82488         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
82489         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
82490         for strncasecmp/strncasecmp_l compilation.
82491         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
82492         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
82494 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
82496         [BZ #13484]
82497         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
82498         of __asm__.
82500 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82502         [BZ #13506]
82503         * time/tzfile.c (__tzfile_read): Check values from file header.
82505 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
82507         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
82508         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
82509         * powerpc/powerpc32/dl-start.S: Likewise.
82510         * powerpc/powerpc32/elf/start.S: Likewise.
82511         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
82512         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
82513         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
82514         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
82515         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
82516         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
82517         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
82518         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
82519         * powerpc/powerpc32/fpu/s_round.S: Likewise.
82520         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
82521         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
82522         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
82523         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
82524         * powerpc/powerpc32/memset.S: Likewise.
82525         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
82526         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
82527         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
82528         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
82529         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
82530         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
82531         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
82532         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
82533         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
82534         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
82535         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
82536         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82537         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82539 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82541         * math/libm-test.inc: Added more nearbyint tests.
82542         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
82543         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
82544         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
82545         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
82547 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
82549         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
82550         FD_CLOEXEC.
82552 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82554         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
82555         Add wcscpy-ssse3 wcscpy-c.
82556         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
82557         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
82558         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
82559         * sysdeps/x86_64/wcschr.S: New file.
82560         * sysdeps/x86_64/wcsrchr.S: New file.
82561         * string/test-strcmp.c: Remove checking of wcscmp function for
82562         wrong alignments.
82563         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
82564         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
82565         wcsrchr-sse2 wcsrchr-c.
82566         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
82567         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
82568         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
82569         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
82570         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
82571         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
82572         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
82573         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
82574         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
82575         * wcsmbc/wcschr.c (WCSCHR): New macro.
82577 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82579         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
82580         * wcsmbs/test-wcsrchr.c: New file.
82581         * string/test-strrchr.c: Add wcsrchr support.
82582         (WIDE): New macro.
82583         * wcsmbs/test-wcscpy.c: New file.
82584         * string/test-strcpy.c: Add wcscpy support.
82585         (WIDE): New macro.
82587 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
82589         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
82590         the inner loop.
82592 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
82594         [BZ #13472]
82595         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
82597 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
82599         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
82600         Minor optimizations.
82602         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
82603         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
82604         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
82606 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
82608         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
82609         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
82610         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
82611         for gcc to avoid warnings.
82612         * inet/Makefile (tests): Add tst-checks.
82613         * inet/tst-checks.c: New file.
82615         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
82616         warning.
82618         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
82619         __wmemcmp_sse2.
82621         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
82622         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
82624         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
82626 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
82628         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
82629         problem.
82631         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
82633 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
82635         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
82636         conditional on GCC version.
82637         (__arch_compare_and_exchange_val_8_acq)
82638         (__arch_compare_and_exchange_val_16_acq)
82639         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
82640         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
82641         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
82643 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
82645         * sysdeps/sh/backtrace.c: New file.
82647 2011-12-02  Andreas Schwab  <schwab@redhat.com>
82649         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
82650         parenthesis.
82652 2011-12-01  Andreas Schwab  <schwab@redhat.com>
82654         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
82655         falling back to utime.
82657 2011-11-30  Andreas Schwab  <schwab@redhat.com>
82659         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
82660         expectations for float.
82662 2011-11-29  Andreas Schwab  <schwab@redhat.com>
82664         * locale/weight.h (findidx): Add parameter len.
82665         * locale/weightwc.h (findidx): Likewise.
82666         * posix/fnmatch_loop.c (FCT): Adjust caller.
82667         * posix/regcomp.c (build_equiv_class): Likewise.
82668         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
82669         * posix/regexec.c (check_node_accept_bytes): Likewise.
82670         * string/strcoll_l.c (STRCOLL): Likewise.
82671         * string/strxfrm_l.c (STRXFRM): Likewise.
82673 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
82675         * Makefile.in: Remove CVSOPT handling.
82676         * configure.in: Remove use of AC_REVISION.
82677         * iconvdata/Makefile (distribute): No need to filter out CVS.
82678         * scripts/list-sources.sh: Remove CVS, subversion and monotone
82679         handling.
82681 2011-11-16  Andreas Schwab  <schwab@redhat.com>
82683         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
82684         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
82685         [USE_AS_STRNCASECMP_L]: Likewise.
82686         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
82687         NO_TLS_DIRECT_SEG_REFS.
82688         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
82689         Fix argument offsets for non-PIC.
82690         [USE_AS_STRNCASECMP_L]: Likewise.
82691         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
82692         NO_TLS_DIRECT_SEG_REFS.
82694 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82696         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
82697         O_CLOEXEC.
82698         * locale/loadlocale.c (_nl_load_locale): Likewise.
82700 2011-11-15  Andreas Schwab  <schwab@redhat.com>
82702         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
82703         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
82704         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
82705         (SYSCALL_GETTIME): Set errno on error.
82707         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
82708         count references to noai6ai_cached.
82710 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82712         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
82714         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
82715         FD_CLOEXEC for /proc/self/maps.
82717         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
82718         FD_CLOEXEC for /proc/meminfo.
82720         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
82721         gai.conf.
82723         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
82724         FD_CLOEXEC for given file.
82726         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
82728         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
82729         FD_CLOEXEC for /etc/hosts.
82730         (_gethtent): Likewise.
82732         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
82734         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
82735         cancellation and set FD_CLOEXEC for /etc/netgroup.
82737         * nss/nss_files/files-key.c (search): Don't allow cancellation when
82738         reading /etc/publickey.
82740         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
82741         allow cancellation when reading /etc/group.
82743         * nss/nss_files/files-alias.c (internal_setent): Don't allow
82744         cancellation.
82745         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
82747         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
82748         when using data file.
82750         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
82752         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
82753         (write_nis_obj): Use "c" and "e" in fopen.
82755         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
82757         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
82759         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
82761         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
82763         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
82764         locale.alias.
82766         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
82768         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
82770         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
82772         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
82773         file parsing and set FD_CLOEXEC.
82775 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82777         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
82779 2011-11-14  Andreas Schwab  <schwab@redhat.com>
82781         * malloc/arena.c (arena_get2): Don't call reused_arena when
82782         _int_new_arena failed.
82784 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82786         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
82787         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
82788         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
82789         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82790         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82791         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
82792         to compile strcasecmp and strncasecmp.
82793         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
82794         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
82796         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
82798 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
82800         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
82801         locale-defines.sym to gen-as-const-headers.
82802         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
82803         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
82804         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
82805         to compile strcasecmp and strncasecmp.
82806         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
82807         strcasecmp_l and strncasecmp_l.
82808         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
82809         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
82810         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
82811         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
82812         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
82813         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
82814         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
82815         * sysdeps/i386/i686/multiarch/strncase.S: New file.
82816         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
82817         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
82818         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
82820 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
82822         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
82823         result of SYSDEP_GETTIME_CPU to retval.
82824         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
82825         parameter list to macro.  Remove trailing semicolon.  Adjust users.
82827         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
82828         variable.
82830         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
82831         mantissa words.
82832         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
82834         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
82835         from unused variable.
82837         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
82838         DWARF definitions.
82839         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
82840         for assembling.
82842         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
82843         over namespaces.
82845         * sunrpc/rpc_prot.c (rejected): Fix case value.
82847         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
82848         unsigned long long int to avoid warnings in shift.
82850         * posix/regex_internal.c (re_string_reconstruct): Actually use result
82851         of use of trans.
82852         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
82853         variable tmp.
82855         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
82856         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
82857         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
82859         * nis/nis_table.c (nis_list): Use variable of correct type for
82860         result of __follow_path call.
82862 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82864         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
82865         of math functions ceil, trunc, floor, round, and sqrt, when
82866         avaliable on the platform.
82867         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
82868         name clash.
82869         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82870         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82871         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82873 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
82875         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
82876         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
82878 2011-11-11  Roland McGrath  <roland@hack.frob.com>
82880         * include/unistd.h: Fix __readlink return type.
82881         Reported by Chris Metcalf <cmetcalf@tilera.com>.
82883 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
82885         * stdlib/ucontext.h: Undo last change for makecontext.
82887 2011-11-11  Andreas Schwab  <schwab@redhat.com>
82889         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
82891         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
82892         * setjmp/setjmp.h: Mark functions as non-leaf.
82893         * setjmp/bits/setjmp2.h: Likewise.
82894         * stdlib/ucontext.h: Likewise.
82896 2011-11-10  Andreas Schwab  <schwab@redhat.com>
82898         * malloc/arena.c (_int_new_arena): Don't increment narenas.
82899         (reused_arena): Don't check arena limit.
82900         (arena_get2): Atomically check arena limit.
82902 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
82904         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
82905         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
82907         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
82908         instructions.
82910 2011-11-07  Andreas Schwab  <schwab@redhat.com>
82912         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
82913         handler when locking.
82915         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
82916         Fix size of allocated buffer.
82918 2011-11-04  Andreas Schwab  <schwab@redhat.com>
82920         [BZ #10103]
82921         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
82922         declarations for long double functions.
82923         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
82925         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
82927 2011-11-03  Andreas Schwab  <schwab@redhat.com>
82929         * nscd/nscd.c (main): Don't start AVC thread until credentials are
82930         installed.
82932         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
82933         is disabled.
82935 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82937         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
82939 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
82941         * include/alloca.h (stackinfo_alloca_round): Define.
82942         (extend_alloca): Use it.
82943         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
82944         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
82945         here.
82947         * scripts/check-local-headers.sh: Ignore libaudit.h.
82949         * nscd/Makefile (extra-objs): Make recursively expanded.
82951 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
82953         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
82954         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
82956         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
82957         * posix/tst-rfc3484-2.c: Likewise.
82958         * posix/tst-rfc3484-3.c: Likewise.
82960         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82961         process_vm_writev.
82962         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
82963         process_vm_writev.
82964         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
82965         process_vm_writev from libc using GLIBC_2.15 version.
82967         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
82969 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
82971         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
82972         stack usage.
82974 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
82976         [BZ #13367]
82977         * nss/getent.c (initgroups_keys): Show error message in case no group
82978         names are given.
82980         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
82981         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
82982         __bump_nl_timestamp.
82983         * nscd/connections (nscd_init): When host database is served open
82984         netlink socket and request notification about configuration changes.
82985         (main_loop_poll): Track netlink file descriptor and bump timestamp
82986         in case data becomes available.
82987         (main_loop_epoll): Likewise.
82988         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
82989         (database_pers_head): Add extra_data fileds.
82990         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
82991         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
82992         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
82993         Adjust caller.
82994         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
82995         in6ai data, call __free_in6ai.
82996         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
82997         Add -DHAVE_NETLINK.
82998         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
82999         interface information.  Reuse previous data if netlink timestamp
83000         is not changed.
83001         (__bump_nl_timestamp): New function.
83002         (__free_in6ai): New function.
83004 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
83006         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
83007         close_not_cancel_no_status here.
83008         (__check_pf): Reorganize code a bit to not call close twice if OOM.
83010 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83012         [BZ #13276]
83013         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
83014         return value.
83016         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
83017         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
83018         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
83020 2011-07-03  Andreas Jaeger  <aj@suse.de>
83022         [BZ #10709]
83023         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
83024         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
83025         * math/libm-test.inc (sin_test): Add test case.
83027 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83029         [BZ #13337]
83030         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
83031         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83033         * elf/chroot_canon.c (chroot_canon): Cleanups.
83035         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
83037         [BZ #13335]
83038         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
83039         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83041         * string/test-strchr.c: Make usable for strchrnul testing.
83042         * string/test-strchrnul.c: New file.
83043         * string/Makefile (strop-tests): Add strchrnul.
83045         * po/it.po: Update from translation team.
83046         * po/es.po: Likewise.
83048 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
83050         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
83051         the three constants needed as parameters.  Drop the others.
83052         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
83053         __m128i_strloadu_tolower.
83054         Create and initialize variable zero and use it in all the places
83055         where _mm_setzero_si128 was used.
83057         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
83058         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
83059         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
83060         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
83061         anymore.
83062         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
83063         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
83064         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
83065         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
83066         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
83067         __mpranred, __mptan.
83068         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
83069         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
83070         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
83071         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
83072         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
83073         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
83074         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
83075         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
83076         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
83078 2011-10-28  Andreas Schwab  <schwab@redhat.com>
83080         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
83081         redefine if SHARED.
83082         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
83084         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
83085         wide char related routines to wcsmbs subdir.
83087 2011-10-27  Andreas Schwab  <schwab@redhat.com>
83089         [BZ #13344]
83090         * misc/sys/cdefs.h (__THROWNL): Define.
83091         * posix/unistd.h: Use __THREADNL instead of __THREAD
83092         for memory synchronization functions.
83094 2011-10-26  Roland McGrath  <roland@hack.frob.com>
83096         [BZ #13349]
83097         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
83098         doesn't exist.
83099         * manual/stdio.texi (Obstack Streams): Node removed.
83101 2011-10-26  Andreas Schwab  <schwab@redhat.com>
83103         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
83104         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83105         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83107         * math/math_private.h (math_force_eval): Allow non-addressable
83108         arguments.
83109         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
83111 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83113         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
83114         file is not needed.
83116         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
83117         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
83118         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83119         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83120         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83121         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83122         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83123         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
83124         Add AVX variants.
83125         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
83126         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
83127         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
83128         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
83129         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
83130         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
83131         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
83132         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
83133         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
83134         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
83135         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
83136         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
83137         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
83138         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
83139         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
83140         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
83141         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
83142         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
83143         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
83145         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
83146         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
83148         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
83149         place.  Use VEX encoding when compiling for AVX.
83151 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83153         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
83154         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
83156         * string/test-strchr.c (do_test): Don't generate NUL bytes.
83158 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83160         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
83161         useless if() expression.
83162         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83163         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83164         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83165         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83166         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83167         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83168         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83169         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83170         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83171         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83172         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83173         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83174         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83175         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83176         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83177         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83178         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83179         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83180         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83182         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
83184 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83186         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
83187         condition.
83188         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83190 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83192         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
83193         .text section.  Avoid duplicate constants.
83194         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83195         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83196         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83197         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83198         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83199         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83200         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83201         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83202         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
83203         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
83204         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
83205         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
83206         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
83207         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
83208         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
83209         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
83210         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
83211         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
83212         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83213         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83214         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83215         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83216         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83217         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
83218         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
83219         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
83220         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
83221         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
83222         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
83223         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
83224         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
83225         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
83226         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
83227         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
83228         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
83229         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
83230         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
83231         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
83232         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
83233         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
83234         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
83235         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
83236         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
83237         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
83238         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
83240 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
83242         * sysdeps/x86_64/dla.h: Move to ...
83243         * sysdeps/x86_64/fpu/dla.h: ...here.
83244         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
83245         situations.  Use __builtin_fma only for gcc 4.6 and up.
83247         * config.make.in: Add have-mfma4 entry.
83248         * configure.in: Substitute libc_cv_cc_fma4.
83249         * math/Makefile (dbl-only-routines): Add sincostab.
83250         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
83251         Use __sincostab not sincos.
83252         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
83253         name is a macro.
83254         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83255         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83256         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83257         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
83258         using __copysign.
83259         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
83260         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
83261         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
83262         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
83263         and __inv.
83264         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
83265         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
83266         __copysign.
83267         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
83268         define aliases when function name is a macro.
83269         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
83270         sysdeps/ieee754/dbl-64/sincos.tbl.
83271         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
83272         fma4-enabled routines.
83273         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
83274         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
83275         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
83276         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
83277         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
83278         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
83279         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
83280         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
83281         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
83282         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
83283         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
83284         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
83285         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
83286         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
83287         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
83288         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
83289         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
83290         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
83291         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
83292         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
83293         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
83294         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
83295         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
83296         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
83297         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
83298         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
83299         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
83300         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
83301         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
83302         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
83304         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
83305         rename.
83306         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83307         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83308         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83309         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83310         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83311         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83312         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83313         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83315 2011-10-24  Andreas Schwab  <schwab@redhat.com>
83317         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
83319 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83321         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
83323         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
83324         prediction.
83325         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
83327         * string/strnlen.c: Don't define STRNLEN, reverse logic.
83328         Remove unused variable magic_bits.
83329         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
83331         * string/strnlen.c: Define and use STRNLEN macro.
83332         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
83333         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
83334         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
83335         * wcsmbs/wcslen.c: Define and use WCSLEN.
83336         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
83337         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
83338         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
83339         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
83340         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
83341         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
83342         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83344 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83347         strnlen-sse2-no-bsf.
83348         Rename strlen-no-bsf to strlen-sse2-no-bsf.
83349         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
83350         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
83351         Add strnlen support.
83352         (USE_AS_STRNLEN): New macro.
83353         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
83354         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
83355         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
83356         * sysdeps/x86_64/wcslen.S: New file.
83358 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
83360         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83361         XMM-moves are used for copying on small sizes.
83363 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83365         * wcsmbs/Makefile (strop-tests): Add wcschr.
83366         * wcsmbs/test-wcschr.c: New file.
83367         * string/test-strchr.c: Update.
83368         Add wcschr support.
83369         (WIDE): New macro.
83371 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83373         * wcsmbs/Makefile (strop-tests): Add wcslen.
83374         * wcsmbs/test-wcslen.c: New file.
83375         * string/test-strlen.c: Update.
83376         Add wcslen support.
83377         (WIDE): New macro.
83379 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83381         * po/it.po: Update from translation team.
83383 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83385         * sysdeps/x86_64/wcscmp.S: Update.
83386         Fix wrong comparison semantics.
83387         wcscmp shall use signed comparison not unsigned.
83388         Don't use substraction to avoid overflow bug.
83389         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
83390         * wcsmbc/wcscmp.c: Likewise.
83391         * string/test-strcmp.c: Likewise.
83392         Add new tests to check cases with negative values.
83394 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83396         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
83397         * sysdeps/x86_64/dla.h: ...here.  New file.
83398         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
83399         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83400         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83401         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83402         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83403         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83404         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83405         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83406         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83408 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
83410         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
83411         __ynl_finite aliases.
83413 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83415         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83417         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
83418         define DLA_FMA.
83419         [DLA_FMA] (EMULV): Use DLA_FMA.
83420         [DLA_FMA] (MUL12): Use EMULV.
83421         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
83422         that are not needed.
83423         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83424         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83425         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83426         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83427         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83428         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83429         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83431 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
83433         * math/s_nan.c: Undef __nan.
83434         * math/s_nanf.c: Undef __nanf.
83435         * math/s_nanl.c: Undef __nanl.
83436         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
83437         "math_private.h".
83439 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83441         * math/s_catan.c: Add branch predictions.
83442         * math/s_catanf.c: Likewise.
83443         * math/s_catanh.c: Likewise.
83444         * math/s_catanhf.c: Likewise.
83445         * math/s_catanhl.c: Likewise.
83446         * math/s_catanl.c: Likewise.
83447         * math/s_cexp.c: Likewise.
83448         * math/s_cexpf.c: Likewise.
83449         * math/s_cexpl.c: Likewise.
83450         * math/s_clog.c: Likewise.
83451         * math/s_clog10.c: Likewise.
83452         * math/s_clog10f.c: Likewise.
83453         * math/s_clog10l.c: Likewise.
83454         * math/s_clogf.c: Likewise.
83455         * math/s_clogl.c: Likewise.
83456         * math/s_csqrt.c: Likewise.
83457         * math/s_csqrtf.c: Likewise.
83458         * math/s_csqrtl.c: Likewise.
83459         * math/s_ctanf.c: Likewise.
83460         * math/s_ctanh.c: Likewise.
83461         * math/s_ctanhf.c: Likewise.
83462         * math/s_ctanhl.c: Likewise.
83463         * math/s_ctanl.c: Likewise.
83465         * math/math_private.h: Define __nan, __nanf, __nanl.
83466         * math/s_cacosh.c: Include <math_private.h>.
83467         * math/s_cacoshl.c: Likewise.
83468         * math/s_casinh.c: Likewise.
83469         * math/s_casinhf.c: Likewise.
83470         * math/s_casinhl.c: Likewise.
83471         * math/s_ccos.c: Rely entire on ccosh.
83472         * math/s_ccosf.c: Rely entire on ccoshf.
83473         * math/s_ccosl.c: Rely entirely on ccoshl.
83474         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
83475         Remove tests for FE_INVALID.
83476         * math/s_ccoshf.c: Likewise.
83477         * math/s_ccoshl.c: Likewise.
83478         * math/s_csin.c: Likewise.
83479         * math/s_csinf.c: Likewise.
83480         * math/s_csinh.c Likewise.
83481         * math/s_csinhf.c: Likewise.
83482         * math/s_csinhl.c: Likewise.
83483         * math/s_csinl.c: Likewise.
83484         * math/s_ctan.c: Likewise.
83485         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
83486         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
83487         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
83489 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
83491         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
83492         compilation problems.
83494         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
83495         __builtin_expect.
83497 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
83499         * sysdeps/i386/configure.in: Test for -mfma4 option.
83500         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
83501         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
83502         COMMON_CPUID_INDEX_80000001.
83503         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
83504         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
83505         use it if FMA3 is not supported.
83506         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
83508         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
83509         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83511 2011-10-20  Andreas Schwab  <schwab@redhat.com>
83513         [BZ #12892]
83514         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
83515         it would create a cycle with a link time dependency.
83517 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
83519         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
83520         instruction.
83521         * string/Makefile (strop-tests): Add rawmemchr.
83522         * string/test-rawmemchr.c: New file.
83524         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
83525         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
83526         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
83527         when compiling str{,n}casecmp and when AVX is available.  Hook up
83528         new optimized code in initializers.
83530 2011-10-19  Andreas Schwab  <schwab@redhat.com>
83532         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
83533         __feraiseexcept instead of feraiseexcept.
83535 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
83537         * math/math_private.h: Define defaults for libc_fetestexcept and
83538         libc_feupdateenv.
83539         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
83540         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
83541         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83542         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83543         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83544         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83545         libc_fetestexcept and libc_feupdateenv.
83547         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
83548         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
83549         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
83550         * sysdeps/x86_64/fpu/math_private.h: Define special version of
83551         libc_feholdexcept_setround.
83553         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
83554         Add s_nearbyint-c and s_nearbyintf-c.
83555         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
83556         nearbyintf inlines.
83557         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
83558         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
83559         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
83560         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
83562         * math/math_private.h: Define defaults for libc_fegetround,
83563         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
83564         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
83565         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
83566         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
83567         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
83568         standard functions.
83569         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83570         Remove comments and hacks for old compiler versions.
83571         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83572         libc_fegetround, libc_fesetround, libc_feholdexcept, and
83573         libc_feholdexceptl.
83575 2011-10-18  Andreas Schwab  <schwab@redhat.com>
83577         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83578         (__feraiseexcept_renamed): Add __NTH.
83579         (feraiseexcept): Add __NTH.  Rename local variables to fix
83580         namespace violations.
83582 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
83584         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
83586         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
83588         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
83589         recently added interfaces.
83590         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
83592         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
83593         about macro parameter expansion.
83595         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
83596         __NO_MATH_INLINES is defined.  Cleanups.
83598         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
83599         and __floorf is target has SSE4.1.
83600         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
83601         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
83602         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
83603         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
83605         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
83606         name.
83607         (floorf): Likewise.
83609         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
83611 2011-10-17  Andreas Schwab  <schwab@redhat.com>
83613         * misc/sys/cdefs.h: Fix last change.
83615         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
83616         database lookup.
83618 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
83620         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
83622         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
83623         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83624         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83625         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83626         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83627         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83628         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83629         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83630         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83631         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
83632         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
83633         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
83634         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
83635         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
83636         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
83637         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
83638         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
83639         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
83640         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
83641         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
83642         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
83643         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
83645         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
83646         ceil, ceilf, floor, floorf.
83648         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
83649         Perform IRELATIVE relocations last.
83651         * elf/do-rel.h: Add another parameter nrelative, replacing the
83652         local variable with the same name.  Change name of the function
83653         to end in Rel or Rela (uppercase).
83654         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
83655         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
83656         elf_dynamic_do_##reloc function.
83658 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83660         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
83661         is sufficient, at least on modern CPUs.
83663         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
83665         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
83666         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
83668         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
83669         __expl_finite.
83670         * math/bits/math-finite.h: Add entries for exp.
83671         * math/e_expl.c: Add __*_finite alias.
83672         * sysdeps/i386/fpu/e_exp.S: Likewise.
83673         * sysdeps/i386/fpu/e_expf.S: Likewise.
83674         * sysdeps/i386/fpu/e_expl.c: Likewise.
83675         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83676         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83677         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
83678         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
83679         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
83680         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
83681         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
83683         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
83684         is sufficient, at least on modern CPUs.
83686         * ctype/ctype-info.c (__ctype_init): Define.
83687         * include/ctype.h (__ctype_init): Declare.
83688         (__ctype_b_loc): The variable is always initialized.
83689         (__ctype_toupper_loc): Likewise.
83690         (__ctype_tolower_loc): Likewise.
83691         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
83692         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
83694 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
83696         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
83698         * configure.in: Also look in $cxxmachine/include for C++ system
83699         headers.
83701 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83703         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
83704         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
83705         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
83706         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
83707         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
83708         (USE_AS_WMEMCMP): New macro.
83709         Fixing indents.
83710         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
83711         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
83712         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
83713         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
83714         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83715         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
83716         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
83717         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
83718         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
83719         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
83720         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
83721         (USE_AS_WMEMCMP): New macro.
83722         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
83723         * sysdeps/string/test-memcmp.c: Update.
83724         Fix simple_wmemcmp.
83725         Add new tests.
83726         * wcsmbs/wmemcmp.c: Update.
83727         (WMEMCMP): New macro.
83728         Fix overflow bug.
83730 2011-10-12  Andreas Jaeger  <aj@suse.de>
83732         [BZ #13268]
83733         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
83735 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83737         * libio/iofwide.c (do_length): Avoid warning.
83739         * ctype/ctype.h (__isctype_f): Add missing __THROW.
83741 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
83743         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
83745         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
83746         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
83747         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
83748         * sysdeps/i386/i686/fpu/e_log.S: New file.
83749         * sysdeps/i386/i686/fpu/e_logf.S: New file.
83750         * sysdeps/i386/i686/fpu/e_logl.S: New file.
83752         * ctype/ctype.h: Add support for inlined isXXX functions when
83753         compiling C++ code.
83755 2011-10-14  Andreas Schwab  <schwab@redhat.com>
83757         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83759         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
83761 2011-10-13  Roland McGrath  <roland@hack.frob.com>
83763         [BZ #13291]
83764         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
83766 2011-10-13  Andreas Schwab  <schwab@redhat.com>
83768         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
83769         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
83770         feraiseexcept.
83772         * sysdeps/x86_64/memrchr.S: Check for zero size.
83774         * string/stratcliff.c: Add memrchr tests.
83776 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83778         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83779         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
83780         rawmemchr-sse2 rawmemchr-sse2-bsf.
83781         * sysdeps/i386/i686/multiarch/memchr.S: New file.
83782         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
83783         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
83784         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
83785         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
83786         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
83787         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
83788         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
83789         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
83790         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
83791         * string/memrchr.c (MEMRCHR): New macro.
83793 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
83795         Add integration with gcc's -ffinite-math-only and optimize wrapper
83796         functions in libm.
83797         * Versions.def: Define GLIBC_2.15 version for libm.
83798         * math/Makefile (headers): Add bits/math-finite.h.
83799         * math/bits/math-finite.h: New file.
83800         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
83801         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
83802         * math/e_acoshl.c: Add __*_finite alias.
83803         * math/e_acosl.c: Likewise.
83804         * math/e_asinl.c: Likewise.
83805         * math/e_atan2l.c: Likewise.
83806         * math/e_atanhl.c: Likewise.
83807         * math/e_coshl.c: Likewise.
83808         * math/e_exp10.c: Likewise.
83809         * math/e_exp10f.c: Likewise.
83810         * math/e_exp10l.c: Likewise.
83811         * math/e_exp2l.c: Likewise.
83812         * math/e_fmodl.c: Likewise.
83813         * math/e_gammal_r.c: Likewise.
83814         * math/e_hypotl.c: Likewise.
83815         * math/e_j0l.c: Likewise.
83816         * math/e_j1l.c: Likewise.
83817         * math/e_jnl.c: Likewise.
83818         * math/e_lgammal_r.c: Likewise.
83819         * math/e_log10l.c: Likewise.
83820         * math/e_log2l.c: Likewise.
83821         * math/e_logl.c: Likewise.
83822         * math/e_powl.c: Likewise.
83823         * math/e_sinhl.c: Likewise.
83824         * math/e_sqrtl.c: Likewise.
83825         * math/e_scalb.c: Completely rewritten and optimized.
83826         * math/e_scalbf.c: Likewise.
83827         * math/e_scalbl.c: Likewise.
83828         * math/w_acos.c: Likewise.
83829         * math/w_acosf.c: Likewise.
83830         * math/w_acosl.c: Likewise.
83831         * math/w_acosh.c: Likewise.
83832         * math/w_acoshf.c: Likewise.
83833         * math/w_acoshl.c: Likewise.
83834         * math/w_asin.c: Likewise.
83835         * math/w_asinf.c: Likewise.
83836         * math/w_asinl.c: Likewise.
83837         * math/w_atan2.c: Likewise.
83838         * math/w_atan2f.c: Likewise.
83839         * math/w_atan2l.c: Likewise.
83840         * math/w_atanh.c: Likewise.
83841         * math/w_atanhf.c: Likewise.
83842         * math/w_atanhl.c: Likewise.
83843         * math/w_exp10.c: Likewise.
83844         * math/w_exp10f.c: Likewise.
83845         * math/w_exp10l.c: Likewise.
83846         * math/w_fmod.c: Likewise.
83847         * math/w_fmodf.c: Likewise.
83848         * math/w_fmodl.c: Likewise.
83849         * math/w_j0.c: Likewise.
83850         * math/w_j0f.c: Likewise.
83851         * math/w_j0l.c: Likewise.
83852         * math/w_j1.c: Likewise.
83853         * math/w_j1f.c: Likewise.
83854         * math/w_j1l.c: Likewise.
83855         * math/w_jn.c: Likewise.
83856         * math/w_jnf.c: Likewise.
83857         * math/w_log.c: Likewise.
83858         * math/w_logf.c: Likewise.
83859         * math/w_logl.c: Likewise.
83860         * math/w_log10.c: Likewise.
83861         * math/w_log10f.c: Likewise.
83862         * math/w_log10l.c: Likewise.
83863         * math/w_log2.c: Likewise.
83864         * math/w_log2f.c: Likewise.
83865         * math/w_log2l.c: Likewise.
83866         * math/w_pow.c: Likewise.
83867         * math/w_powf.c: Likewise.
83868         * math/w_powl.c: Likewise.
83869         * math/w_remainder.c: Likewise.
83870         * math/w_remainderf.c: Likewise.
83871         * math/w_remainderl.c: Likewise.
83872         * math/w_scalb.c: Likewise.
83873         * math/w_scalbf.c: Likewise.
83874         * math/w_scalbl.c: Likewise.
83875         * math/w_sqrt.c: Likewise.
83876         * math/w_sqrtf.c: Likewise.
83877         * math/w_sqrtl.c: Likewise.
83878         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
83879         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
83880         used.
83881         * math/math_private.h: Declare __kernel_standard_f.
83882         * math/w_cosh.c: Remove cruft and optimize a bit.
83883         * math/w_coshf.c: Likewise.
83884         * math/w_coshl.c: Likewise.
83885         * math/w_exp2.c: Likewise.
83886         * math/w_exp2f.c: Likewise.
83887         * math/w_exp2l.c: Likewise.
83888         * math/w_hypot.c: Likewise.
83889         * math/w_hypotf.c: Likewise.
83890         * math/w_hypotl.c: Likewise.
83891         * math/w_lgamma.c: Likewise.
83892         * math/w_lgamma_r.c: Likewise.
83893         * math/w_lgammaf.c: Likewise.
83894         * math/w_lgammaf_r.c: Likewise.
83895         * math/w_lgammal.c: Likewise.
83896         * math/w_lgammal_r.c: Likewise.
83897         * math/w_sinh.c: Likewise.
83898         * math/w_sinhf.c: Likewise.
83899         * math/w_sinhl.c: Likewise.
83900         * math/w_tgamma.c: Likewise.
83901         * math/w_tgammaf.c: Likewise.
83902         * math/w_tgammal.c: Likewise.
83903         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83904         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83905         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
83906         Minor optimizations.  Pretty printing.  Remove cruft.
83907         * sysdeps/i386/fpu/e_acosf.S: Likewise.
83908         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83909         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83910         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83911         * sysdeps/i386/fpu/e_acosl.c: Likewise.
83912         * sysdeps/i386/fpu/e_asin.S: Likewise.
83913         * sysdeps/i386/fpu/e_asinf.S: Likewise.
83914         * sysdeps/i386/fpu/e_atan2.S: Likewise.
83915         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
83916         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
83917         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83918         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83919         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83920         * sysdeps/i386/fpu/e_exp10.S: Likewise.
83921         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
83922         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
83923         * sysdeps/i386/fpu/e_exp2.S: Likewise.
83924         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
83925         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
83926         * sysdeps/i386/fpu/e_fmod.S: Likewise.
83927         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
83928         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
83929         * sysdeps/i386/fpu/e_hypot.S: Likewise.
83930         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
83931         * sysdeps/i386/fpu/e_log.S: Likewise.
83932         * sysdeps/i386/fpu/e_log10.S: Likewise.
83933         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83934         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83935         * sysdeps/i386/fpu/e_log2.S: Likewise.
83936         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83937         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83938         * sysdeps/i386/fpu/e_logf.S: Likewise.
83939         * sysdeps/i386/fpu/e_logl.S: Likewise.
83940         * sysdeps/i386/fpu/e_pow.S: Likewise.
83941         * sysdeps/i386/fpu/e_powf.S: Likewise.
83942         * sysdeps/i386/fpu/e_powl.S: Likewise.
83943         * sysdeps/i386/fpu/e_remainder.S: Likewise.
83944         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
83945         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
83946         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83947         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83948         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83949         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
83950         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
83951         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
83952         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83953         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83954         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83955         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83956         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83957         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83958         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
83959         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83960         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83961         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83962         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83963         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83964         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83965         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83966         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83967         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83968         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83969         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83970         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83971         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83972         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83973         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83974         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83975         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83976         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83977         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83978         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83979         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83980         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
83981         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83982         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83983         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83984         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83985         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83986         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83987         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83988         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83989         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83990         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83991         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83992         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83993         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83994         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83995         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83996         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83997         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83998         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83999         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84000         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84001         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
84002         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84003         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84004         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84005         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84006         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84007         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84008         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84009         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84010         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84011         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84012         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84013         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84014         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84015         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84016         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84017         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84018         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84019         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84020         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
84021         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84022         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84023         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84024         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84025         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84026         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84027         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84028         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
84029         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84030         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84031         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84032         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84033         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84034         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
84035         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84036         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84037         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84038         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84039         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84040         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84041         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84042         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84043         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84044         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84045         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
84046         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84047         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84048         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84049         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
84050         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
84051         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
84052         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
84053         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
84054         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
84055         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
84056         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84057         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84058         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84059         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84060         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
84061         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84062         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
84063         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
84064         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
84065         (__isnanf): Likewise.
84066         (__isinf_ns): Likewise.
84067         (__isinf_nsf): Likewise.
84068         (__finite): Likewise.
84069         (__finitef): Likewise.
84070         (__ieee754_sqrt): Define as macro.
84071         (__ieee754_sqrtf): Define as macro.
84072         (__ieee754_sqrtl): Define as macro.
84073         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
84074         inlined copy.
84075         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
84076         __FINITE_MATH_ONLY__ consistent.
84077         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
84079 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
84081         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
84082         of rawmemchr.
84084         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
84086 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
84088         * po/ja.po: Update from translation team.
84090 2011-10-08  Roland McGrath  <roland@hack.frob.com>
84092         * locale/programs/locarchive.c (prepare_address_space): New function.
84093         (create_archive, enlarge_archive, open_archive): Use it.
84095         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
84096         inside [SHARED], where it is used.
84098         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
84100         * nss/getent.c (netgroup_keys): Remove unused variable.
84101         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84103 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
84105         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
84106         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
84107         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
84108         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
84109         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
84110         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
84111         * math/Makefile (libm-calls): Add s_isinf_ns.
84112         * math/divtc3.c: Use __isinf_nsl instead of isinf.
84113         * math/multc3.c: Likewise.
84114         * math/s_casin.c: Likewise.
84115         * math/s_casinf.c: Likewise.
84116         * math/s_casinl.c: Likewise.
84117         * math/s_ccos.c: Likewise.
84118         * math/s_ccosf.c: Likewise.
84119         * math/s_ccosl.c: Likewise.
84120         * math/s_ctan.c: Likewise.
84121         * math/s_ctanf.c: Likewise.
84122         * math/s_ctanh.c: Likewise.
84123         * math/s_ctanhf.c: Likewise.
84124         * math/s_ctanhl.c: Likewise.
84125         * math/s_ctanl.c: Likewise.
84126         * math/w_fmod.c: Likewise.
84127         * math/w_fmodf.c: Likewise.
84128         * math/w_fmodl.c: Likewise.
84129         * math/w_remainder.c: Likewise.
84130         * math/w_remainderf.c: Likewise.
84131         * math/w_remainderl.c: Likewise.
84132         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
84133         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
84134         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
84135         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
84136         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
84137         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
84138         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
84139         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
84141         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
84142         of the number.
84143         * stdio-common/printf_fphex.c: Likewise.
84144         * stdio-common/printf_size.c: Likewise.
84146         * math/e_exp10.c: Include math_private.h using <...> not "...".
84147         * math/e_exp10f.c: Likewise.
84148         * math/e_exp10l.c: Likewise.
84149         * math/e_exp2l.c: Likewise.
84150         * math/e_j0l.c: Likewise.
84151         * math/e_j1l.c: Likewise.
84152         * math/e_jnl.c: Likewise.
84153         * math/e_lgammal_r.c: Likewise.
84154         * math/e_rem_pio2l.c: Likewise.
84155         * math/e_scalb.c: Likewise.
84156         * math/e_scalbf.c: Likewise.
84157         * math/e_scalbl.c: Likewise.
84158         * math/k_cosl.c: Likewise.
84159         * math/k_sinl.c: Likewise.
84160         * math/k_tanl.c: Likewise.
84161         * math/s_cacoshf.c: Likewise.
84162         * math/s_catan.c: Likewise.
84163         * math/s_catanf.c: Likewise.
84164         * math/s_catanh.c: Likewise.
84165         * math/s_catanhf.c: Likewise.
84166         * math/s_catanhl.c: Likewise.
84167         * math/s_catanl.c: Likewise.
84168         * math/s_ccosh.c: Likewise.
84169         * math/s_ccoshf.c: Likewise.
84170         * math/s_ccoshl.c: Likewise.
84171         * math/s_cexp.c: Likewise.
84172         * math/s_cexpf.c: Likewise.
84173         * math/s_cexpl.c: Likewise.
84174         * math/s_clog.c: Likewise.
84175         * math/s_clog10.c: Likewise.
84176         * math/s_clog10f.c: Likewise.
84177         * math/s_clog10l.c: Likewise.
84178         * math/s_clogf.c: Likewise.
84179         * math/s_clogl.c: Likewise.
84180         * math/s_csin.c: Likewise.
84181         * math/s_csinf.c: Likewise.
84182         * math/s_csinh.c: Likewise.
84183         * math/s_csinhf.c: Likewise.
84184         * math/s_csinhl.c: Likewise.
84185         * math/s_csinl.c: Likewise.
84186         * math/s_csqrt.c: Likewise.
84187         * math/s_csqrtf.c: Likewise.
84188         * math/s_csqrtl.c: Likewise.
84189         * math/s_ctan.c: Likewise.
84190         * math/s_ctanf.c: Likewise.
84191         * math/s_ctanh.c: Likewise.
84192         * math/s_ctanhf.c: Likewise.
84193         * math/s_ctanhl.c: Likewise.
84194         * math/s_ctanl.c: Likewise.
84195         * math/s_ldexp.c: Likewise.
84196         * math/s_ldexpf.c: Likewise.
84197         * math/s_ldexpl.c: Likewise.
84198         * math/s_significand.c: Likewise.
84199         * math/s_significandf.c: Likewise.
84200         * math/s_significandl.c: Likewise.
84201         * math/w_acos.c: Likewise.
84202         * math/w_acosf.c: Likewise.
84203         * math/w_acosh.c: Likewise.
84204         * math/w_acoshf.c: Likewise.
84205         * math/w_acoshl.c: Likewise.
84206         * math/w_acosl.c: Likewise.
84207         * math/w_asin.c: Likewise.
84208         * math/w_asinf.c: Likewise.
84209         * math/w_asinl.c: Likewise.
84210         * math/w_atan2.c: Likewise.
84211         * math/w_atan2f.c: Likewise.
84212         * math/w_atan2l.c: Likewise.
84213         * math/w_atanh.c: Likewise.
84214         * math/w_atanhf.c: Likewise.
84215         * math/w_atanhl.c: Likewise.
84216         * math/w_cosh.c: Likewise.
84217         * math/w_coshf.c: Likewise.
84218         * math/w_coshl.c: Likewise.
84219         * math/w_dremf.c: Likewise.
84220         * math/w_exp10.c: Likewise.
84221         * math/w_exp10f.c: Likewise.
84222         * math/w_exp10l.c: Likewise.
84223         * math/w_exp2.c: Likewise.
84224         * math/w_exp2f.c: Likewise.
84225         * math/w_fmod.c: Likewise.
84226         * math/w_fmodf.c: Likewise.
84227         * math/w_fmodl.c: Likewise.
84228         * math/w_hypot.c: Likewise.
84229         * math/w_hypotf.c: Likewise.
84230         * math/w_hypotl.c: Likewise.
84231         * math/w_j0.c: Likewise.
84232         * math/w_j0f.c: Likewise.
84233         * math/w_j0l.c: Likewise.
84234         * math/w_j1.c: Likewise.
84235         * math/w_j1f.c: Likewise.
84236         * math/w_j1l.c: Likewise.
84237         * math/w_jn.c: Likewise.
84238         * math/w_jnf.c: Likewise.
84239         * math/w_jnl.c: Likewise.
84240         * math/w_lgamma.c: Likewise.
84241         * math/w_lgamma_r.c: Likewise.
84242         * math/w_lgammaf.c: Likewise.
84243         * math/w_lgammaf_r.c: Likewise.
84244         * math/w_lgammal.c: Likewise.
84245         * math/w_lgammal_r.c: Likewise.
84246         * math/w_log.c: Likewise.
84247         * math/w_log10.c: Likewise.
84248         * math/w_log10f.c: Likewise.
84249         * math/w_log10l.c: Likewise.
84250         * math/w_log2.c: Likewise.
84251         * math/w_log2f.c: Likewise.
84252         * math/w_log2l.c: Likewise.
84253         * math/w_logf.c: Likewise.
84254         * math/w_logl.c: Likewise.
84255         * math/w_pow.c: Likewise.
84256         * math/w_powf.c: Likewise.
84257         * math/w_powl.c: Likewise.
84258         * math/w_remainder.c: Likewise.
84259         * math/w_remainderf.c: Likewise.
84260         * math/w_remainderl.c: Likewise.
84261         * math/w_scalb.c: Likewise.
84262         * math/w_scalbf.c: Likewise.
84263         * math/w_scalbl.c: Likewise.
84264         * math/w_sinh.c: Likewise.
84265         * math/w_sinhf.c: Likewise.
84266         * math/w_sinhl.c: Likewise.
84267         * math/w_sqrt.c: Likewise.
84268         * math/w_sqrtf.c: Likewise.
84269         * math/w_sqrtl.c: Likewise.
84270         * math/w_tgamma.c: Likewise.
84271         * math/w_tgammaf.c: Likewise.
84272         * math/w_tgammal.c: Likewise.
84274         * po/ja.po: Update from translation team.
84276 2011-09-29  Andreas Jaeger  <aj@suse.de>
84278         [BZ #13179]
84279         * sunrpc/netname.c (netname2host): Fix logic.
84281         [BZ #6779]
84282         [BZ #6783]
84283         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
84284         correctly.
84285         * math/w_remainder.c (__remainder): Likewise.
84286         * math/w_remainderf.c (__remainderf): Likewise.
84287         * math/libm-test.inc (remainder_test): Add test cases.
84289 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84291         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
84292         sdiv_qrnnd.
84294 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84296         * string/test-memcmp.c: Avoid unncessary #defines.
84297         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84299 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84301         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
84302         Use new sse2 version for core i3 - i7 as it's faster
84303         than sse42 version.
84304         (bit_Prefer_PMINUB_for_stringop): New.
84305         * sysdeps/x86_64/rawmemchr.S: Update.
84306         Replace with faster SSE2 version.
84307         * sysdeps/x86_64/memrchr.S: New file.
84308         * sysdeps/x86_64/memchr.S: Update.
84309         Replace with faster SSE2 version.
84311 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
84313         * elf/dl-load.c (lose): Add cast to avoid warning.
84315 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84317         * po/ca.po: Update from translation team.
84319         * inet/getnetgrent_r.c: Hook up nscd.
84320         * nscd/Makefile (routines): Add nscd_netgroup.
84321         (nscd-modules): Add netgroupcache.
84322         (CFLAGS-netgroupcache.c): Define.
84323         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
84324         (cache_search): Add const to second parameter.
84325         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
84326         INNETGR.
84327         (dbs): Add netgrdb entry.
84328         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
84329         (verify_persistent_db): Handle netgrdb.
84330         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
84331         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
84332         GETFDNETGR.
84333         (netgroup_response_header): Define.
84334         (innetgroup_response_header): Define.
84335         (datahead): Add netgroup_response_header and innetgroup_response_header
84336         elements.
84337         * nscd/nscd.conf: Add entries for netgroup cache.
84338         * nscd/nscd.h (dbtype): Add netgrdb.
84339         (_PATH_NSCD_NETGROUP_DB): Define.
84340         (netgroup_iov_disabled): Declare.
84341         (xmalloc, xcalloc, xrealloc): Move declarations here.
84342         (cache_search): Adjust prototype.
84343         Add netgroup-related prototypes.
84344         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
84345         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
84346         (__nscd_innetgr): Declare.
84347         * nscd/selinux.c (perms): Use access_vector_t as element type and
84348         add netgroup-related initializers.
84349         * nscd/netgroupcache.c: New file.
84350         * nscd/nscd_netgroup.c: New file.
84351         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
84352         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
84353         For four parameters use innetgr.
84354         * nss/nss_files/files-init.c: Add definition and callback for netgr.
84355         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
84356         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
84357         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
84359         * nscd/connections.c (register_traced_file): Don't register file
84360         for disabled databases.
84362 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
84364         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
84366         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
84367         from tree and freeing node.
84369 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
84371         * nss/nsswitch.c (__nss_database_lookup): Handle
84372         nss_parse_service_list out of memory case.
84374 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
84376         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
84377         out of memory case.
84379 2011-10-04  Andreas Schwab  <schwab@redhat.com>
84381         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
84382         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
84383         pass it down.
84384         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
84385         elf_machine_rela, elf_machine_lazy_rel.
84386         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
84387         (ELF_DYNAMIC_DO_REL): Likewise.
84388         (ELF_DYNAMIC_DO_RELA): Likewise.
84389         (ELF_DYNAMIC_RELOCATE): Likewise.
84390         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
84391         to ELF_DYNAMIC_DO_REL.
84392         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
84393         (dl_main): In trace mode always set __RTLD_NOIFUNC.
84394         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
84395         elf_machine_rela.
84396         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
84397         skip_ifunc, don't call ifunc function if non-zero.
84398         (elf_machine_rela): Likewise.
84399         (elf_machine_lazy_rel): Likewise.
84400         (elf_machine_lazy_rela): Likewise.
84401         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
84402         (elf_machine_lazy_rel): Likewise.
84403         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
84404         Likewise.
84405         (elf_machine_lazy_rel): Likewise.
84406         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84407         Likewise.
84408         (elf_machine_lazy_rel): Likewise.
84409         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
84410         (elf_machine_lazy_rel): Likewise.
84411         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
84412         (elf_machine_lazy_rel): Likewise.
84413         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
84414         (elf_machine_lazy_rel): Likewise.
84415         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
84416         (elf_machine_lazy_rel): Likewise.
84417         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
84418         (elf_machine_lazy_rel): Likewise.
84419         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
84420         (elf_machine_lazy_rel): Likewise.
84422 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
84424         * nss/nss_files/files-init.c (_nss_files_init): Use static
84425         initialization for all the *_traced_file variables.
84427 2011-09-28  Andreas Schwab  <schwab@redhat.com>
84429         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84431 2011-09-27  Roland McGrath  <roland@hack.frob.com>
84433         [BZ #13226]
84434         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
84436 2011-09-27  Andreas Schwab  <schwab@redhat.com>
84438         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84439         Reread the line before reparsing it.
84441 2011-09-26  Andreas Schwab  <schwab@redhat.com>
84443         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
84445 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
84446             Maxim Kuvyrkov  <maxim@codesourcery.com>
84447             Joseph Myers  <joseph@codesourcery.com>
84449         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
84450         if needed for __stack_chk_guard.
84452 2011-09-19  Roland McGrath  <roland@hack.frob.com>
84454         * sysdeps/posix/spawni.c (script_execute): Always define it.
84455         It will be optimized away if unused.
84456         (maybe_script_execute): New function.
84457         (__spawni): Call it.
84459         * Makerules: Don't include tls.make.
84460         (config-tls): Always set to thread.
84461         * tls.make.c: File removed.
84463 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
84465         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
84466         * config.make.in (CPPFLAGS-config): New substituted variable.
84468 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84470         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
84472         [BZ #13192]
84473         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
84474         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
84476 2011-09-15  Roland McGrath  <roland@hack.frob.com>
84478         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
84479         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
84480         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84481         (CALL_FAIL): Likewise.
84482         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
84483         (CALL_FAIL): Macro removed.
84484         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
84486 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84488         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
84489         for __FINITE_MATH_ONLY__ == 1.
84491 2011-09-15  Andreas Schwab  <schwab@redhat.com>
84493         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
84494         __ieee754_sqrt instead of sqrt.
84495         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
84496         __ieee754_sqrtf instead of sqrtf.
84497         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
84498         __floorf instead of floorf.
84499         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
84500         __floorf, __truncf instead of floorf, truncf.
84502 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
84504         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
84506         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
84507         __extern_always_inline.
84508         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
84509         32-bit.
84511 2011-09-14  Andreas Schwab  <schwab@redhat.com>
84513         * elf/rtld.c (dl_main): Also relocate in dependency order when
84514         doing symbol dependency testing.
84516 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
84518         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84519         Always define `refsym'.
84521 2011-09-13  Andreas Schwab  <schwab@redhat.com>
84523         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
84524         (__FD_ELT): Renamed from __FDELT.
84525         * misc/bits/select2.h (__FD_ELT): Likewise.
84526         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
84527         __FD_MASK instead of __FDELT, __FDMASK.
84528         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84529         Likewise.
84530         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84531         Likewise.
84533         * elf/Makefile (gen-ldd): Fix pattern.
84535         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
84536         (init_tls): Likewise.
84538 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
84540         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
84542 2011-09-12  Andreas Schwab  <schwab@redhat.com>
84544         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
84545         `struct cmsghdr *' instead of `void *'.
84546         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
84547         Likewise.
84549 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
84551         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
84552         if non-absolute.
84553         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
84554         ldd_rewrite_script.
84556 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
84558         * configure.in: Remove --with-tls option.
84559         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
84560         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
84561         out in case it is missing.
84562         * sysdeps/ia64/elf/configure.in: Likewise.
84563         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
84564         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
84565         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
84566         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
84567         * sysdeps/sh/elf/configure.in: Likewise.
84568         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
84569         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84570         * sysdeps/x86_64/elf/configure.in: Likewise.
84571         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
84572         * sysdeps/mach/hurd/tls.h: Likewise.
84574         [BZ #13067]
84575         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
84577         [BZ #13090]
84578         * configure.in: Fix use of AC_INIT.
84580         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
84582 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
84584         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
84585         __set_errno.
84586         * malloc/hooks.c: Likewise.
84588         [BZ #11929]
84589         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
84590         variables statically.
84591         (narenas): Initialize.
84592         (list_lock): Initialize.
84593         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
84594         initializtion of main_arena and list_lock.  Small cleanups.
84595         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
84596         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
84597         Add initializers to main_arena and mp_.
84598         (malloc_state): Remove pagesize member.  Change all users to use
84599         GLRO(dl_pagesize).
84601         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
84602         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
84603         is always initialized.
84605         * malloc/malloc.c: Removed unused configurations and dead code.
84606         * malloc/arena.c: Likewise.
84607         * malloc/hooks.c: Likewise.
84608         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
84610         * include/tls.h: Removed.  USE___THREAD must always be defined.
84611         * bits/libc-tsd.h: Don't handle !USE___THREAD.
84612         * elf/dl-libc.c: Likewise.
84613         * elf/dl-tsd.c: Likewise.
84614         * include/errno.h: Likewise.
84615         * include/netdb.h: Likewise.
84616         * include/resolv.h: Likewise.
84617         * inet/herrno-loc.c: Likewise.
84618         * inet/herrno.c: Likewise.
84619         * malloc/arena.c: Likewise.
84620         * malloc/hooks.c: Likewise.
84621         * malloc/malloc.c: Likewise.
84622         * resolv/res-state.c: Likewise.
84623         * resolv/res_libc.c: Likewise.
84624         * sysdeps/i386/dl-machine.h: Likewise.
84625         * sysdeps/ia64/dl-machine.h: Likewise.
84626         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
84627         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
84628         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
84629         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
84630         * sysdeps/sh/dl-machine.h: Likewise.
84631         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84632         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84633         * sysdeps/unix/i386/sysdep.S: Likewise.
84634         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
84635         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
84636         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
84637         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
84638         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
84639         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
84640         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
84641         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84643         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
84644         * sysdeps/unix/x86_64/sysdep.S: Likewise.
84645         * sysdeps/x86_64/dl-machine.h: Likewise.
84646         * tls.make.c: Likewise.
84648         * configure.in: Remove --with-__thread option.  Make tests for
84649         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
84650         tls_model attribute fail if no support is available.  Remove
84651         USE_IN_LIBIO.
84652         * Makeconfig: Adjust for dropped configure option.  All features are
84653         now mandatory.
84654         * Makerules: Likewise.
84655         * Versions.def: Likewise.
84656         * argp/argp-fmtstream.c: Likewise.
84657         * argp/argp-fmtstream.h: Likewise.
84658         * argp/argp-help.c: Likewise.
84659         * assert/assert.c: Likewise.
84660         * config.h.in: Likewise.
84661         * config.make.in: Likewise.
84662         * configure: Likewise.
84663         * configure.in: Likewise.
84664         * csu/Versions: Likewise.
84665         * csu/init.c: Likewise.
84666         * elf/tst-audit2.c: Likewise.
84667         * elf/tst-tls10.c: Likewise.
84668         * elf/tst-tls10.h: Likewise.
84669         * elf/tst-tls11.c: Likewise.
84670         * elf/tst-tls12.c: Likewise.
84671         * elf/tst-tls14.c: Likewise.
84672         * elf/tst-tlsmod11.c: Likewise.
84673         * elf/tst-tlsmod12.c: Likewise.
84674         * elf/tst-tlsmod13.c: Likewise.
84675         * elf/tst-tlsmod13a.c: Likewise.
84676         * elf/tst-tlsmod14a.c: Likewise.
84677         * elf/tst-tlsmod15b.c: Likewise.
84678         * elf/tst-tlsmod16a.c: Likewise.
84679         * elf/tst-tlsmod16b.c: Likewise.
84680         * elf/tst-tlsmod7.c: Likewise.
84681         * elf/tst-tlsmod8.c: Likewise.
84682         * elf/tst-tlsmod9.c: Likewise.
84683         * gmon/gmon.c: Likewise.
84684         * grp/fgetgrent_r.c: Likewise.
84685         * grp/putgrent.c: Likewise.
84686         * hurd/fopenport.c: Likewise.
84687         * include/libc-symbols.h: Likewise.
84688         * include/tls.h: Likewise.
84689         * intl/gettextP.h: Likewise.
84690         * intl/loadinfo.h: Likewise.
84691         * locale/global-locale.c: Likewise.
84692         * locale/localeinfo.h: Likewise.
84693         * mach/devstream.c: Likewise.
84694         * malloc/arena.c: Likewise.
84695         * malloc/set-freeres.c: Likewise.
84696         * misc/err.c: Likewise.
84697         * misc/getttyent.c: Likewise.
84698         * misc/mntent_r.c: Likewise.
84699         * posix/getopt.c: Likewise.
84700         * posix/wordexp.c: Likewise.
84701         * pwd/fgetpwent_r.c: Likewise.
84702         * resolv/Versions: Likewise.
84703         * resolv/res_hconf.c: Likewise.
84704         * shadow/fgetspent_r.c: Likewise.
84705         * shadow/putspent.c: Likewise.
84706         * stdio-common/printf_fphex.c: Likewise.
84707         * stdio-common/tmpfile.c: Likewise.
84708         * stdlib/abort.c: Likewise.
84709         * stdlib/fmtmsg.c: Likewise.
84710         * sunrpc/auth_unix.c: Likewise.
84711         * sunrpc/clnt_perr.c: Likewise.
84712         * sunrpc/clnt_tcp.c: Likewise.
84713         * sunrpc/clnt_udp.c: Likewise.
84714         * sunrpc/clnt_unix.c: Likewise.
84715         * sunrpc/openchild.c: Likewise.
84716         * sunrpc/svc_simple.c: Likewise.
84717         * sunrpc/svc_tcp.c: Likewise.
84718         * sunrpc/svc_udp.c: Likewise.
84719         * sunrpc/svc_unix.c: Likewise.
84720         * sunrpc/xdr.c: Likewise.
84721         * sunrpc/xdr_array.c: Likewise.
84722         * sunrpc/xdr_rec.c: Likewise.
84723         * sunrpc/xdr_ref.c: Likewise.
84724         * sunrpc/xdr_stdio.c: Likewise.
84726 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84728         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84730 2011-07-03  Andreas Jaeger  <aj@suse.de>
84732         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
84733         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
84734         regenerate with gen-libm-tests.pl.
84736 2010-05-12  Petr Baudis  <pasky@suse.cz>
84738         [BZ #11589]
84739         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
84740         around j0() zero points by switching to j1().
84741         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84742         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84743         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84744         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84746 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84748         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
84749         instead of 0.
84750         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
84751         instead of 0.
84752         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84753         Patch in part by Pavel Roskin <proski@gnu.org>.
84755         [BZ #13138]
84756         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
84757         realloc.
84758         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
84759         Free memory block if necessary.
84761         [BZ #12847]
84762         * libio/genops.c (INTDEF): For string streams the _lock pointer can
84763         be NULL.  Don't lock in this case.
84765 2011-09-09  Roland McGrath  <roland@hack.frob.com>
84767         * elf/elf.h (ELFOSABI_GNU): New macro.
84768         (ELFOSABI_LINUX): Define to that.
84770 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
84772         * string/strncat.c (strncat): Undef the symbol in case it has been
84773         defined in bits/string.h.
84775 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84777         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
84779         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
84780         link map.
84782 2011-08-17  Andreas Jaeger  <aj@suse.de>
84784         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
84786 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
84787             Ian Lance Taylor  <iant@google.com>
84789         * math/libm-test.inc (lround_test): New testcase.
84790         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
84792 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
84794         * Makefile: Remove support for automatic cvs check-ins.
84795         * Makerules: Likewise.
84796         * config.make.in: Likewise.
84797         * configure.in: Likewise.
84798         * intl/Makefile: Likewise.
84799         * locale/Makefile: Likewise.
84800         * po/Makefile: Likewise.
84801         * posix/Makefile: Likewise.
84802         * sysdeps/gnu/Makefile: Likewise.
84803         * sysdeps/mach/hurd/Makefile: Likewise.
84804         * sysdeps/sparc/sparc32/Makefile: Likewise.
84806         [BZ #13118]
84807         * posix/Makefile (bug-regex32-ENV): Define.
84808         Patch by John Stanley <jpsinthemix@verizon.net>.
84810         * misc/Makefile (headers): Add bits/select2.h.
84811         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
84812         * misc/bits/select2.h: New file.
84813         * include/bits/select2.h: New file.
84814         * debug/Makefile (routines): Add fdelt_chk.
84815         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
84816         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
84817         FD_ISSET.
84818         * debug/fdelt_chk.c: New file.
84820         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
84821         * wcsmbs/test-wmemcmp.c: Likewise.
84822         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
84823         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
84825 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84827         * string/Makefile (strop-tests): Add memcmp.
84828         * string/test-wmemcmp.c: New file.
84829         * string/test-memcmp.c: Add wmemcmp support.
84831 2011-09-08  Roland McGrath  <roland@hack.frob.com>
84833         [BZ #13153]
84834         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
84835         2011-07-19 change.
84837         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
84838         garbage value in a __mach_port_mod_refs call in the cases of the
84839         task-self and thread-self ports.
84841 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84843         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
84845 2011-09-08  Andreas Schwab  <schwab@redhat.com>
84847         * elf/dl-load.c (lose): Check for non-null L.
84849 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84851         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
84853         * elf/dl-libc.c (dlerror_run): Pass back error code from
84854         dl_catch_error.
84856         [BZ #13123]
84857         * elf/dl-load.c (lose): Free l_origin if it is valid.
84859         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
84860         names.
84861         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
84862         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84863         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84864         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84865         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
84866         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
84868 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84870         * sysdeps/powerpc/fpu/e_hypot.c: New file.
84871         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
84872         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
84873         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
84874         * sysdeps/powerpc/fpu/k_cosf.c: New file.
84875         * sysdeps/powerpc/fpu/k_sinf.c: New file.
84876         * sysdeps/powerpc/fpu/s_cosf.c: New file.
84877         * sysdeps/powerpc/fpu/s_sinf.c: New file.
84878         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
84879         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
84881 2011-08-15  Alan Modra  <amodra@gmail.com>
84883         [BZ #13092]
84884         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
84885         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
84886         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
84887         ppc_mcount to static-only-routines.
84888         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
84889         __mcount_internal.
84890         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
84891         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
84893 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
84895         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
84896         for finite and infinity parameters.
84898 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84900         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
84901         and add nop instructions for throughput optimization.
84902         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
84904 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
84906         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
84907         aligned copy for power7 with vector-scalar instructions.
84908         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
84910 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
84912         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
84913         AVX check.
84915 2011-09-07  Andreas Schwab  <schwab@redhat.com>
84917         [BZ #13144]
84918         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
84919         last change.
84921 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84923         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84924         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
84925         syscall wrapper around clock_gettime in __vdso_clock_gettime.
84926         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
84927         clock_gettime.
84929 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84931         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
84932         Forgot to demangle the pointer.
84934         * sysdeps/i386/sysdep.h: Define atom_text_section.
84935         * sysdeps/x86_64/sysdep.h: Likewise.
84936         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
84937         section with atom_text_section.
84938         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84939         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84940         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
84941         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84942         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
84944         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
84945         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
84946         already be defined.  Change to take two parameters and don't assign
84947         result to variable.  Adjust all users.
84948         Define INTERNAL_GETTIME if not already defined.
84949         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
84950         call.
84951         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
84952         HAVE_CLOCK_GETTIME_VSYSCALL.
84953         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
84955         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
84956         gettimeofday vsyscall, just use time.
84958 2011-09-06  Andreas Schwab  <schwab@redhat.com>
84960         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
84961         <errno.h>.
84963 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84965         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
84966         syscall on x86-64.
84967         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
84968         syscall.
84969         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
84970         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
84971         syscall if possible.
84973 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84975         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
84976         e_ident.  Don't pass to find_mapsXX.
84977         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
84979 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84981         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84982         strchr-sse2-no-bsf strrchr-sse2-no-bsf
84983         * sysdeps/x86_64/multiarch/strchr.S: Update.
84984         Check bit_slow_BSF bit.
84985         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
84986         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
84987         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
84989 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84991         [BZ #13134]
84992         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
84993         before glibc 2.15.
84994         (tryshell): Define.
84995         (__spawni): Change last parameter to be flag.  Test
84996         SPAWN_XFLAGS_USE_PATH flag to use path or not.
84997         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
84998         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
84999         * posix/spawni.c: Likewise.
85000         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
85001         * posix/spawnp.c: Likewise.  Change normal version to use
85002         SPAWN_XFLAGS_USE_PATH.
85003         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
85004         SPAWN_XFLAGS_TRY_SHELL.
85006         [BZ #13150]
85007         * posix/glob.h: Remove gcc 1.x support.
85009         [BZ #13068]
85010         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
85012 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85014         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85015         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
85016         strrchr-sse2-bsf
85017         * sysdeps/i386/i686/multiarch/strchr.S: New file.
85018         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
85019         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
85020         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
85021         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
85022         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
85024 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85026         * sysdeps/x86_64/wcscmp.S: New file.
85028         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
85029         wcscmp-c wcscmp-sse2
85030         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
85031         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
85032         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
85033         * wcsmbs/wcscmp.c: Allow renaming.
85035 2011-09-05  David S. Miller  <davem@davemloft.net>
85037         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
85038         stack slot, rather than the struct return pointer slot.
85039         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
85040         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
85041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
85042         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
85044 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85046         * po/ja.po: Update from translation team.
85048         [BZ #13144]
85049         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
85050         kernel in 64-bit binaries.
85052 2011-09-01  David S. Miller  <davem@davemloft.net>
85054         * elf/elf.h (HWCAP_SPARC_*): Move to..
85055         * sysdeps/sparc/sysdep.h: this new file and add new values.
85056         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
85057         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
85058         _DL_HWCAP_COUNT to 24.
85059         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
85060         entries.
85061         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
85062         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
85063         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
85064         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
85065         instead of magic constants.
85066         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85068 2011-08-31  David S. Miller  <davem@davemloft.net>
85070         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
85071         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
85072         Reimplement to do errno handling inline.
85073         (SYSCALL_ERROR_HANDLER): New macro.
85074         (__SYSCALL_STRING): Do not do errno handling in asm.
85075         (__CLONE_SYSCALL_STRING): Delete.
85076         (__INTERNAL_SYSCALL_STRING): Delete.
85077         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
85078         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
85079         (PSEUDO): Reimplement to do errno handling inline.
85080         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
85081         (SYSCALL_ERROR_HANDLER): New macro.
85082         (__SYSCALL_STRING): Do not do errno handling in asm.
85083         (__CLONE_SYSCALL_STRING): Delete.
85084         (__INTERNAL_SYSCALL_STRING): Delete.
85085         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
85086         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
85087         i386.
85088         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
85089         (inline_syscall*): Add 'err' argument.
85090         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
85091         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
85092         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
85093         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
85095         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
85096         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
85098 2011-08-30  Andreas Schwab  <schwab@redhat.com>
85100         * elf/rtld.c (dl_main): Relocate objects in dependency order.
85102 2011-08-29  Jiri Olsa <jolsa@redhat.com>
85104         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
85105         directive.
85107 2011-08-24  David S. Miller  <davem@davemloft.net>
85109         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
85111 2011-08-24  Andreas Schwab  <schwab@redhat.com>
85113         * elf/Makefile: Add rules to build and run unload8 test.
85114         * elf/unload8.c: New file.
85115         * elf/unload8mod1.c: New file.
85116         * elf/unload8mod1x.c: New file.
85117         * elf/unload8mod2.c: New file.
85118         * elf/unload8mod3.c: New file.
85120         * elf/dl-close.c (_dl_close_worker): Reset private search list if
85121         it wasn't used.
85123 2011-08-23  David S. Miller  <davem@davemloft.net>
85125         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
85126         subtract stack bias.
85127         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
85128         %sp not %fp in calculations.
85129         (_JMPBUF_UNWINDS_ADJ): Likewise.
85131         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
85132         (aio_suspend): Call it to force an exception region around the
85133         AIO_MISC_WAIT() invocation.
85135 2011-08-23  Andreas Schwab  <schwab@redhat.com>
85137         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
85138         backslash.
85140 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
85142         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
85143         protection macro.
85144         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
85145         and <dl-machine.h>.
85146         (Elf64_FuncDesc): Remove.
85148 2011-08-22  David S. Miller  <davem@davemloft.net>
85150         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
85151         sigaltstack check, add missing cfi directives.
85152         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
85153         missing cfi directives, and sigaltstack handling.
85155 2011-08-16  Andreas Schwab  <schwab@redhat.com>
85157         [BZ #11724]
85158         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
85159         object is seen twice.
85160         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85162         * elf/Makefile (distribute): Add tst-initorder2.c.
85163         (tests): Add tst-initorder2.
85164         (modules-names): Add tst-initorder2a tst-initorder2b
85165         tst-initorder2c tst-initorder2d.  Add rules to build them.
85166         ($(objpfx)tst-initorder2.out): New rule.
85167         * elf/tst-initorder2.c: New file.
85168         * elf/tst-initorder2.exp: New file.
85170 2011-08-22  Andreas Schwab  <schwab@redhat.com>
85172         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
85174         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
85175         dependencies back to end of function.
85177         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85178         $(elfobjdir)/ld.so.
85180 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
85182         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
85183         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
85184         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
85185         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
85186         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
85187         of __vdso_gettimeofday.
85188         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
85189         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
85190         attribute_hidden.
85191         (_libc_vdso_platform_setup): Remove initialization of
85192         __vdso_gettimeofday and __vdso_time.
85194 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85196         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
85197         and fgetc_unlocked.
85198         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
85199         getc_unlocked.
85201         * elf/dl-open.c (add_to_global): Report additions to the global scope
85202         for LD_DEBUG=scopes.
85203         (dl_open_worker): Also print scope of newly loaded dependencies.
85204         (_dl_show_scope): Indicate if there is no scope.
85206         [BZ #13114]
85207         * stdio-common/Makefile (tests): Add bug24.
85208         * stdio-common/bug24.c: New file.
85210 2011-08-19  Andreas Jaeger  <aj@suse.de>
85212         [BZ #13114]
85213         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
85214         non-existant file when using close-on-exec mode.
85216 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85218         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
85219         the very first instruction.
85221         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
85222         the CFI state in the end.
85223         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
85224         inclusion of dl-trampoline.h.
85225         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
85227 2011-08-19  Andreas Schwab  <schwab@redhat.com>
85229         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
85230         expectations for long double.
85232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
85233         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
85235 2011-08-14  David S. Miller  <davem@davemloft.net>
85237         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
85238         artificual limit depends upon the system page size.
85240 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85242         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
85243         * resolv/Makefile: Define CFLAGS-libresolv.
85245 2011-08-17  Andreas Schwab  <schwab@redhat.com>
85247         * nss/makedb.c (compute_tables): Make variables used in nested
85248         function static.
85250 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85252         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
85253         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
85254         if buffer was too small.
85256         * elf/pldd.c (main): Attach to all threads in the process.
85257         Rewrite /proc handling to use *at functions.
85259 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
85261         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
85262         specifies first scope to show.
85263         (dl_open_worker): Update callers.  Move printing scope of new
85264         object to before the relocation.
85265         * elf/rtld.c (dl_main): Update _dl_show_scope call.
85266         * sysdeps/generic/ldsodefs.h: Update declaration.
85268         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
85269         string for the scope number.
85271 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
85273         * nscd/servicescache.c (cache_addserv): Make sure written is always
85274         initialized.
85276 2011-08-14  Roland McGrath  <roland@hack.frob.com>
85278         * sysdeps/i386/i486/bits/atomic.h
85279         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
85280         statement expression, so as to suppress "set but not used" warning.
85281         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
85283         * string/strncat.c (STRNCAT): Use prototype definition.
85285         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
85286         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
85287         -Iprograms here.
85288         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
85289         (localedef-modules): Add localedef.
85290         (locale-modules): Add locale.
85292         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
85293         * elf/rtld.c (dl_main): Invert order of assignment in last change,
85294         to avoid a warning.
85296 2011-08-14  David S. Miller  <davem@davemloft.net>
85298         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
85299         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
85301 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
85303         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
85304         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
85305         * elf/rtld.c (dl_main): Set l_name of vDSO.
85306         Call _dl_show_scope when DL_DEBUG_SCOPES.
85307         (process_dl_debug): Recognize scopes flag and also set it for all.
85308         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
85309         Declare _dl_show_scope.
85311         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
85312         (do_dlopen): Pass caller_dlopen to dl_open.
85313         (__libc_dlopen_mode): Initialize caller_dlopen.
85315         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
85316         of libc.  Make tolower call locale-independent.  Optimize a bit by
85317         using isdigit instead of isalnum.
85318         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
85320 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
85322         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
85323         was a dependency or dynamically loaded.
85325 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
85327         * intl/l10nflist.c: Allow architecture-specific pop function.
85328         * sysdeps/x86_64/l10nflist.c: New file.
85330         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
85331         classification.
85333 2011-08-10  Andreas Schwab  <schwab@redhat.com>
85335         * include/dirent.h: Add libc_hidden_proto for scandirat and
85336         scandirat64.  Don't declare __scandirat64.
85337         * dirent/scandirat.c: Add libc_hidden_def.
85338         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
85339         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
85341 2011-08-10  David S. Miller  <davem@davemloft.net>
85343         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
85344         enum.
85345         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85346         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85347         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85349 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
85351         * Versions.def [libc]: Add GLIBC_2.15.
85352         * dirent/Makefile (routines): Add scandirat and scandirat64.
85353         * dirent/Versions [libc]: Export scandirat and scandirat64 for
85354         GLIBC_2.15.
85355         * dirent/dirent.h: Declare scandirat and scandirat64.
85356         * dirent/scandirat.c: New file.
85357         * dirent/scandirat64.c: New file.
85358         * sysdeps/wordsize-64/scandirat.c: New file.
85359         * sysdeps/wordsize-64/scandirat64.c: New file.
85360         * dirent/opendir.c: Define opendirat.
85361         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
85362         using scandirat.
85363         * dirent/scandir64.c: Adjust for scandir.c change.
85364         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
85365         __scandirat64, and __scandir_cancel_handler.
85366         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
85367         additional parameter and use openat instead of open (outside of ld.so).
85368         Add new __opendir as wrapper around __opendirat.
85369         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
85370         here without requiring old scandirat implementation.
85372 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
85374         * dirent/scandir.c (cancel_handler): Renamed to
85375         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
85376         defined.  Adjust users.
85377         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
85378         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
85380 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
85382         * string/test-string.h (IMPL): Use __STRING to expand name and then
85383         stringify it.
85385         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
85386         of cleanups.
85388 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85390         * string/Makefile: Update.
85391         (strop-tests): Append strncat.
85392         * string/test-wcscmp.c: New file.
85393         New comprehensive test for wcscmp.
85394         * string/test-strcmp.c: Update.
85395         (WIDE): New define.
85397 2011-07-22  Andreas Schwab  <schwab@redhat.com>
85399         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
85400         line.
85402 2011-07-26  Andreas Schwab  <schwab@redhat.com>
85404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
85405         encoding to ACE if AI_IDN.
85407 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
85409         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
85410         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
85412 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85414         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
85415         Fix overflow bug in strncat.
85416         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
85418         * string/test-strncat.c: Update.
85419         Add new tests for checking overflow bugs.
85421 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85423         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85424         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
85425         * sysdeps/i386/i686/multiarch/strcat.S: New file.
85426         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
85427         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
85428         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
85429         * sysdeps/i386/i686/multiarch/strncat.S: New file.
85430         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
85431         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
85433         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
85434         (USE_AS_STRCAT): Define.
85435         Add strcat and strncat support.
85436         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85438 2011-07-25  Andreas Schwab  <schwab@redhat.com>
85440         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
85441         __n bigger than INT_MAX+1.
85442         (__strncmp_g): Likewise.
85444 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
85446         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
85447         * libio/stido.h: Likewise.
85449         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
85450         (AF_NFC): Define.
85451         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
85452         (AF_NFC): Define.
85454         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
85455         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85456         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85457         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
85458         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85460         [BZ #13021]
85461         * scripts/test-installation.pl: Don't expect libnss_test1 to be
85462         installed.
85464         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
85465         typo.
85466         (_dl_x86_64_save_sse): Likewise.
85468 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
85470         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
85471         OSXSAVE.
85472         (_dl_x86_64_save_sse): Likewise.
85474         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
85476         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
85478 2011-07-21  Andreas Schwab  <schwab@redhat.com>
85480         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
85481         change.
85482         (_dl_x86_64_save_sse): Use correct AVX check.
85484 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85486         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
85487         bug in strncpy/strncat.
85488         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
85490 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
85492         * string/tester.c (test_strcat): Add tests for different alignments
85493         of source and destination.
85494         (test_strncat): Likewise.
85496 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85498         [BZ #12852]
85499         * posix/glob.c (glob): Check passed in values before using them in
85500         expressions to avoid some overflows.
85501         (glob_in_dir): Likewise.
85503         [BZ #13007]
85504         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
85505         check for AVX enablement so that we don't crash with old kernels and
85506         new hardware.
85507         * elf/tst-audit4.c: Add same checks here.
85508         * elf/tst-audit6.c: Likewise.
85510         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
85512 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
85514         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
85516 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85518         * po/cs.po: Update from translation team.
85519         * po/bg.po: Likewise.
85521 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
85523         * misc/sys/cdefs.h: Add support for const attribute.
85524         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
85525         to gnu_dev_{major,minor,makedev} functions.
85527 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
85529         * intl/dcigettext.c (get_output_charset): Add missing bracket.
85531 2011-07-20  Andreas Schwab  <schwab@redhat.com>
85533         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
85534         strlen results.
85536 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85538         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
85539         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
85540         register in order to avoid conflicts with the soft frame pointer
85541         being held in r11 when necessary.
85542         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
85543         (INTERNAL_VSYSCALL_NCS): Likewise.
85545 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
85547         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
85548         * elf/dl-fini.c (_dl_fini): Adjust caller.
85549         * elf/dl-close.c (_dl_close_worker): Likewise.
85550         * sysdeps/generic/ldsodefs.h: Adjust declaration.
85552 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85554         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
85555         "aux_cache->nlibs < 0".
85557         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
85558         in the reload-count case.
85560 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85562         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85563         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
85564         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
85565         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
85566         * sysdeps/x86_64/multiarch/strcat.S: New file.
85567         * sysdeps/x86_64/multiarch/strncat.S: New file.
85568         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
85569         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
85570         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
85571         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
85572         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
85573         (USE_AS_STRCAT): Define.
85574         Add strcat and strncat support.
85575         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85576         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
85577         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
85578         * string/strncat.c: Update.
85579         (USE_AS_STRNCAT): Define.
85580         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85581         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
85582         and i7.
85583         * sysdeps/x86_64/multiarch/init-arch.h
85584         (bit_Prefer_PMINUB_for_stringop): New.
85585         (index_Prefer_PMINUB_for_stringop): Likewise.
85586         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
85587         bit_Prefer_PMINUB_for_stringop.
85589 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85591         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
85592         buffer64.
85593         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
85594         of casting of buffer.
85595         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
85596         buffer32 and buffer64.
85597         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
85598         writes instead of casting of buffer.
85599         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
85600         buffer32.
85601         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
85602         casting of buffer.
85604 2011-07-19  Andreas Schwab  <schwab@redhat.com>
85606         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
85608 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85610         * nscd/nscd.c (termination_handler): Don't do anything for a database
85611         if it has not yet been initialized.
85613 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85615         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85617 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85619         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85621 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85623         * po/nl.po: Update from translation team.
85624         * po/sv.po: Likewise.
85626 2011-07-16  Roland McGrath  <roland@hack.frob.com>
85628         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
85629         now disallowed by GCC.
85631         * configure.in (use-default-link): Default to yes if a test -shared
85632         link meets our qualifications.
85633         * configure: Regenerated.
85635         * config.make.in (output-format): New variable.
85636         * configure.in: Check for ld --print-output-format support.
85637         * configure: Regenerated.
85638         * Makerules ($(common-objpfx)format.lds)
85639         [$(output-format) != unknown]: Just use $(output-format),
85640         instead of the linker-script munging.
85642 2011-07-14  Roland McGrath  <roland@hack.frob.com>
85644         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
85645         of $(common-objpfx)shlib.lds.
85646         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
85648         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
85649         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
85651         * configure.in (-z relro check): Adjust test code to add a large
85652         writable data section after it.
85653         * configure: Regenerated.
85655 2011-07-11  Roland McGrath  <roland@hack.frob.com>
85657         * configure.in (-z relro check): Fix test code to make the variable
85658         truly const.
85659         * configure: Regenerated.
85661 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
85663         * nscd/nscd.h (struct traced_file): Define.
85664         (struct database_dyn): Remove inotify_descr, reset_res, and filename
85665         elements.  Add traced_files.
85666         (inotify_fd): Declare.
85667         (register_traced_file): Declare.
85668         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
85669         (inotify_fd): Export.
85670         (resolv_conf_descr): Remove.
85671         (nscd_init): Move inotify descriptor creation to main.
85672         Don't register files for notification here.
85673         (register_traced_file): New function.
85674         (invalidate_cache): Don't use reset_res to determine whether to call
85675         res_init, go through the list of registered files.
85676         (main_loop_poll): The inotify descriptors are now stored in the
85677         structures for the traced files.
85678         (main_loop_epoll): Likewise.
85679         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
85680         to __nss_disable_nscd.
85681         * nscd/cache.c (prune_cache): There is no single inotify descriptor
85682         for a database anymore.  Check the records for all the registered
85683         files instead.
85684         * nss/Makefile (libnss_files-routines): Add files-init.
85685         (libnss_db-routines): Add db-init.
85686         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
85687         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
85688         * nss/nss_db/db-init.c: New file.
85689         * nss/nss_files/files-init.c: New file.
85690         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
85691         __nss_lookup_function.
85692         (__nss_lookup_function): Call nss_load_library.
85693         (nss_load_all_libraries): New function.
85694         (__nss_disable_nscd): Take parameter with callback function for files
85695         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
85696         used for the cached services.
85697         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
85698         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
85699         options for features to all the files in nscd.
85701         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
85703 2011-07-10  Roland McGrath  <roland@hack.frob.com>
85705         * csu/elf-init.c (__libc_csu_init): Comment typo.
85707 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
85709         * po/pl.po: Update from translation team.
85710         * po/ja.po: Likewise.
85711         * po/ru.po: Likewise.
85712         * po/ko.po: Likewise.
85713         * po/fr.po: Likewise.
85715 2011-07-09  Roland McGrath  <roland@hack.frob.com>
85717         * configure.in (.ctors/.dtors header and trailer check):
85718         Use an empirical test on a built program.
85719         * configure: Regenerated.
85721         * configure.in (-z relro check): Use an empirical test on a built DSO.
85722         Detect, but do not require, on ia64.
85723         * configure: Regenerated.
85725         * configure.in (READELF): Find it with AC_CHECK_TOOL.
85726         Update tests that use readelf to use $READELF instead.
85727         * configure: Regenerated.
85729 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
85731         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
85732         if the result is not used.
85734 2011-07-05  Andreas Jaeger  <aj@suse.de>
85736         [BZ#9696]
85737         * stdlib/tst-strtod.c: Add testcase.
85739 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
85741         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
85742         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
85743         The latter has a higher limit.  Take additional parameter to pass to
85744         the new function.
85745         (__pathconf): Pass file to __statfs_link_max.
85746         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
85747         __statfs_link_max.
85748         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
85749         __statfs_link_max.
85751         [BZ #12868]
85752         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
85753         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85754         Handle Lustre.
85755         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
85756         (__statfs_filesize_max): Likewise.
85757         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
85759 2011-07-05  Andreas Jaeger  <aj@suse.de>
85761         * resolv/res_comp.c (dn_skipname): Remove unused variable.
85763 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
85765         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
85766         `status' variable.
85767         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
85768         Likewise.
85770 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
85772         * Makefile (strop-tests): Add strncat.
85773         * string/test-strncat.c: New file.
85775 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
85777         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
85779 2011-06-21  Andreas Jaeger  <aj@suse.de>
85781         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
85782         Copy rule from iconvdata/Makefile.
85784 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85786         [BZ #12922]
85787         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
85788         but no long options are defined, just return 'W'.
85790 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
85792         [BZ #9696]
85793         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
85795 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85797         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
85798         netgroups to read.
85799         (innetgr): Likewise.
85801 2011-07-05  Roland McGrath  <roland@hack.frob.com>
85803         * config.make.in (install_root): Default to $(DESTDIR).
85805 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
85807         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
85809 2011-07-02  Roland McGrath  <roland@hack.frob.com>
85811         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
85813         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
85814         containing directory rather than embedding absolute directory names.
85816         * scripts/check-local-headers.sh: Rewritten using awk.
85817         Match by word, not by line.  Print error messages for matches.
85818         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
85820         * Makerules [shlib-lds-flags empty]:
85821         ($(common-objpfx)libc_pic.opts): New target.
85822         ($(common-objpfx)libc_pic.os.clean): New target.
85823         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
85825         * config.make.in (OBJCOPY): New variable.
85826         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
85827         * configure: Regenerated.
85829         * config.make.in (use-default-link): New variable.
85830         * configure.in (use_default_link): Grok --with-default-link to set it.
85831         * configure: Regenerated.
85832         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
85833         (shlib-lds, shlib-lds-flags): Define to empty.
85835         * Makerules (shlib-lds): New variable.
85836         (shlib-lds-flags): New variable.
85837         (build-shlib, build-moduile, build-module-asneeded): Use it.
85838         ($(common-objpfx)libc.so): Use $(shlib-lds).
85839         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
85840         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
85842         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
85843         DT_FLAGS/DT_FLAGS_1 with zero flags.
85845         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
85846         linker script munging.
85848 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
85850         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
85851         as 128-bit value.
85852         * crypt/sha512.c (sha512_process_block): Perform total addition using
85853         128-bit if possible.
85854         (__sha512_finish_ctx): Likewise.
85855         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
85856         as 64-bit value.
85857         * crypt/sha256.c (SWAP64): Define.
85858         (sha256_process_block): Perform total addition using 64-bit if
85859         possible.
85860         (__sha256_finish_ctx): Likewise.
85862 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
85864         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
85865         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85866         * nscd/hstcache.c (cache_addhst): Likewise.
85867         * nscd/grpcache.c (cache_addgr): Likewise.
85868         * nscd/aicache.c (addhstaiX): Likewise.
85869         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
85871 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
85873         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
85874         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85875         * nscd/hstcache.c (cache_addhst): Likewise.
85876         * nscd/grpcache.c (cache_addgr): Likewise.
85877         * nscd/aicache.c (addhstaiX): Likewise.
85879 2011-07-01  Andreas Schwab  <schwab@redhat.com>
85881         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
85882         domain only when needed.
85884 2011-06-30  Andreas Schwab  <schwab@redhat.com>
85886         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
85887         is always restored.
85889 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
85891         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
85892         are re-adding the entry.
85893         * nscd/servicescache.c (cache_addserv): Likewise.
85895 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
85897         * sysdeps/generic/dl-irel.h: fix protection against multiple
85898         inclusions.
85899         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
85901 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
85903         [BZ #12935]
85904         * malloc/memusage.sh: Fix quoting in message.
85905         * debug/xtrace.sh: Likewise.
85907         * configure.in: Remove support for --experimental-malloc option, make
85908         it the default.
85909         * config.make.in: Likewise.
85910         * malloc/Makefile: Likewise.
85912 2011-06-27  Andreas Schwab  <schwab@redhat.com>
85914         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
85915         two-byte characters.
85917 2011-06-27  Roland McGrath  <roland@hack.frob.com>
85919         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
85920         AC_CACHE_CHECK invocation.
85921         * configure: Regenerated.
85923         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
85925 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
85927         [BZ #12350]
85928         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
85929         bit from old_res_options.
85931         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
85933         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
85934         value type for setfct.
85936 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
85938         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85939         __gettimeofday instead of gettimeofday.
85941 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
85943         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
85945 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
85947         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
85949         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
85950         info.
85952 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85955         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85956         strcpy-sse2-unaligned strncpy-sse2-unaligned
85957         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
85958         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
85959         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
85960         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
85961         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
85962         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
85963         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
85964         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
85965         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
85966         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
85967         (STRCPY): Support SSE2 and SSSE3 versions.
85969 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
85971         [BZ #12874]
85972         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
85973         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
85974         kernels which artificially limit size of requests.
85976 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85978         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85979         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85980         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
85981         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
85982         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
85983         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
85984         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
85985         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
85986         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
85987         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
85988         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
85989         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
85990         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
85991         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
85992         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
85993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85994         Enable unaligned load optimization for Intel Core i3, i5 and i7
85995         processors.
85996         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
85997         Define.
85998         (index_Fast_Unaligned_Load): Define.
85999         (HAS_FAST_UNALIGNED_LOAD): Define.
86001 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
86003         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
86005 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86007         [BZ #12907]
86008         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
86009         until it is clear that the information is realy needed.
86010         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
86012 2011-06-22  Andreas Schwab  <schwab@redhat.com>
86014         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
86016 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86018         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86019         /sys/devices/system/cpu/online if it is usable.
86021         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
86022         reading the information from the /proc filesystem to once a second.
86024 2011-06-21  Andreas Jaeger  <aj@suse.de>
86026         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
86027         NULL after inclusion of kernel headers.
86029 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
86031         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
86032         calls to internal_setent.
86034         [BZ #12885]
86035         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
86036         addresses using gethostbyname4_r ignore IPv4 addresses.
86038         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
86039         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
86041         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
86043 2011-06-20  David S. Miller  <davem@davemloft.net>
86045         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
86046         inclusions.
86047         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
86049         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
86050         (elf_irel): Use it.
86051         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
86052         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
86053         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
86054         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
86055         * sysdeps/x86_64/dl-irel.h: Likewise.
86057         * elf/dl-runtime.c: Use elf_ifunc_invoke.
86058         * elf/dl-sym.c: Likewise.
86060 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86062         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
86063         need to dereference resplen2.
86065 2011-06-14  Andreas Schwab  <schwab@redhat.com>
86067         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
86069 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86071         * Makeconfig: Define vardbdir and inst_vardbdir.
86072         * nss/Makefile: Add rules to install db-Makefile.
86074         * nss/nss_db/db-XXX.c: Cleanup.
86076         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
86077         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
86078         GLIBC_PRIVATE.
86079         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
86080         * nss/makedb.c: Implement -g option to specify that value strings
86081         are generated and should not be added to table iterated over for
86082         get*ent calls.
86083         * nss/nss_db/db-initgroups.c: New file.
86085         * nss/getent.c: Add support for initgroups lookups through getgrouplist
86086         interface.
86088         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
86089         (internal_getgrouplist): Adjust to name change.
86090         Update use_initgroups_entry if this is not the first call.
86091         * nss/databases.def: Add initgroups entry.
86093         * nss/makedb.c (compute_tables): Check result of multiple hash table
86094         sizes to minimize maximum chain length.
86096 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
86098         * Versions.def: Add entry for libnss_db.
86099         * shlib-versions: Likewise.
86100         * nss/Makefile: Add rules to build libnss_db.
86101         * nss/Versions: Add libnss_db information.  Organize libnss_files
86102         entries better.
86103         * nss/db-Makefile: Add gshadow support.  Change rules for the new
86104         makedb progra.  Some minor improvements to generate smaller files.
86105         * nss/nss_db/nss_db.h: Move NSS database header data structures to
86106         here from...
86107         * nss/makedb.c: ...here.
86108         Improve database format to be smaller and require less memory at
86109         runtime.
86110         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
86111         db anymore.
86112         * nss/nss_db/db-netgrp.c: Likewise.
86113         * nss/nss_db/db-open.c: Likewise.
86114         * nss/nss_files/flies-XXX.x: Adjust comments.
86115         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
86116         * nss/nss_files/files-grp.c: Likewise.
86117         * nss/nss_files/files-hosts.c: Likewise.
86118         * nss/nss_files/files-network.c: Likewise.
86119         * nss/nss_files/files-proto.c: Likewise.
86120         * nss/nss_files/files-pwd.c: Likewise.
86121         * nss/nss_files/files-rpc.c: Likewise.
86122         * nss/nss_files/files-service.c: Likewise.
86123         * nss/nss_files/files-sgrp.c: Likewise.
86124         * nss/nss_files/files-spwd.c: Likewise.
86125         * nss/nss_db/db-alias.c: Removed.
86126         * nss/nss_db/dummy-db.h: Removed.
86128 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
86130         * nss/makedb.c: Rewritten to not use database library.
86131         * nss/Makefile: Update to build new makedb program.
86133 2011-06-14  Andreas Jaeger  <aj@suse.de>
86135         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
86136         memset declaration.
86138 2011-06-10  Andreas Schwab  <schwab@redhat.com>
86140         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
86141         tmpbuf.
86143 2011-06-10  Roland McGrath  <roland@hack.frob.com>
86145         * Makerules (shlib.lds): Fail if the linker script comes out empty.
86146         * elf/Makefile ($(objpfx)ld.so): Likewise.
86148         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
86149         Don't list ld.so twice in dependencies.
86151         * posix/bug-regex31.c: Include <stdlib.h>.
86153         * nscd/hstcache.c (cache_addhst): Remove unused variable.
86155         * nis/nss_compat/compat-spwd.c
86156         (getspent_next_nss_netgr): Remove unused variable.
86157         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
86159         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
86160         nonmembers" output to use the right array.
86162         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
86164         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
86166         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
86167         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
86168         * catgets/gencat.c (read_input_file): Likewise.
86169         * locale/programs/locarchive.c (enlarge_archive): Likewise.
86171         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
86172         variable definition inside #if's controlling its use.
86174         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
86176         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
86178         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
86180         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
86181         unreachable code.
86183         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
86185         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
86186         * configure: Regenerated.
86188         * Makerules: Revert last change.
86189         * elf/Makefile: Likewise.
86191 2011-06-09  Roland McGrath  <roland@hack.frob.com>
86193         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
86194         * elf/Makefile ($(objpfx)librtld.os): Likewise.
86195         (reloc-link): Likewise.
86197 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
86199         * elf/Makefile: Add rules to build pldd.
86200         * elf/pldd.c: New file.
86201         * elf/pldd-xx.c: New file.
86203 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
86205         * version.h: Update for 2.15 development version.
86207 2011-06-07  David S. Miller  <davem@davemloft.net>
86209         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
86210         ifuncs.
86211         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
86212         elf_machine_lazy_rel): Likewise.
86213         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
86214         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
86215         elf_machine_lazy_rel): Likewise.
86216         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
86217         dl_hwcap via passed in argument.
86218         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
86219         Likewise.
86221 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86223         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
86225 2011-06-06  Roland McGrath  <roland@hack.frob.com>
86227         [BZ #12849]
86228         * manual/fdl-1.1.texi: New file, verbatim from:
86229         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
86230         * manual/lgpl-2.1.texi: New file, verbatim from:
86231         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
86232         * manual/Makefile (licenses): New variable, list those new file names.
86233         (texis): Use it.
86234         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
86236         * manual/fdl.texi: File removed.
86237         * manual/lesser.texi: File removed.
86238         * manual/libc.texinfo (Copying, Documentation License):
86239         Use new @include file names, put @appendix directive before @include.
86241 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
86243         [BZ #12841]
86244         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
86245         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
86246         (mq_open): Add __NTH.
86248 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
86250         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86251         Assume Intel Core i3/i5/i7 processor if AVX is available.
86253 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86255         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86256         typo.
86258 2011-05-31  Andreas Schwab  <schwab@redhat.com>
86260         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
86261         memory.  Use alloca_account.  Fix memory leak when retrying.
86263 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86265         * version.h (RELEASE): Bump for 2.14 release.
86266         * include/features.h (__GLIBC_MINOR__): Bump to 14.
86268         * config.make.in (RANLIB): Remove entry.
86270 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
86272         * po/Makefile (po-sed-cmd): Add ksh to extensions.
86273         (libc.pot): Work around missing support for .ksh extension in xgettext.
86275         [BZ #12684]
86276         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
86277         if both request failed.
86278         (send_dg): In case of server errors clear resplen or *resplen2.
86280         [BZ #12454]
86281         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
86282         when there are multiple maps.
86283         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
86284         (_dl_fini): Remove test here.
86286         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
86288 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
86290         [BZ #12350]
86291         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
86292         bit from old_res_options.
86293         (gaih_inet): Likewise.
86295         [BZ #11099]
86296         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
86297         as signed.
86299         * resolv/res_init.c (res_setoptions): Make the code more compact.
86301         [BZ #11558]
86302         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
86303         set RES_USEVC.
86305         [BZ #11634]
86306         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
86308         * malloc/malloc.h: Mark malloc hook variables as deprecated.
86310         [BZ #11781]
86311         * malloc/malloc.h: Declare malloc hook variables as volatile.
86313         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
86314         in last patch.
86316         [BZ #11799]
86317         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
86318         raise in the comment.
86319         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86320         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86321         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
86323 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
86325         [BZ #12811]
86326         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
86327         grow the buffers more if it already has to be sufficient.
86328         (build_wcs_upper_buffer): Likewise.
86329         * posix/regexec.c (check_matching): Likewise.
86330         (clean_state_log_if_needed): Likewise.
86331         (extend_buffers): Don't enlarge buffers beyond size of the input
86332         buffer.
86333         Patches mostly by Emil Wojak <emil@wojak.eu>.
86334         * posix/bug-regex32.c: New file.
86335         * posix/Makefile (tests): Add bug-regex32.
86337         * locale/findlocale.c (_nl_find_locale): Return right away if
86338         _nl_explode_name failed.
86339         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
86341         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
86343         * debug/xtrace.sh: Unify messages.
86344         * malloc/memusage.sh: Likewise.
86346         [BZ #12813]
86347         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
86348         time symbol from vDSO.  Substitute with vsyscall if not available.
86349         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
86350         __vdso_time.
86352         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
86353         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
86354         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
86355         Add sendmmsg and internal_sendmmsg.
86356         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
86357         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
86358         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
86360         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
86361         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
86362         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
86364 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
86366         [BZ #12813]
86367         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
86368         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
86369         available.
86370         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
86371         __vdso_getcpu.
86373         [BZ #12814]
86374         * iconvdata/Makefile (tests): Add bug-iconv9.
86375         * iconvdata/bug-iconv9.c: New file.
86377 2011-05-27  Andreas Schwab  <schwab@redhat.com>
86379         [BZ #12814]
86380         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
86382 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
86384         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86385         (struct user_regs_struct): Change intcs field back to cs.
86387 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
86389         * po/ja.po: Update from translation team.
86391 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
86393         [BZ #12795]
86394         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
86395         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
86397 2011-05-20  Andreas Schwab  <schwab@redhat.com>
86399         * stdlib/longlong.h: Update from GCC.
86401 2011-05-23  Andreas Schwab  <schwab@redhat.com>
86403         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
86404         parameter name.
86405         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
86406         Add parameter name.
86407         (__sysconf): Pass it down.
86409 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
86411         [BZ #12671]
86412         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
86413         some situations.
86414         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
86415         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
86416         add in in __libc_use_alloca calls.  Adjust callers.
86417         (glob): Use malloc in some situations.
86419         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
86420         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
86421         pltexit.
86423 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
86425         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
86426         and CLOCK_BOOTTIME_ALARM.
86428         [BZ #12782]
86429         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
86430         is returned.
86432         * string/_strerror.c (__strerror_r): Print negative errors as signed
86433         numbers.
86435         [BZ #12777]
86436         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
86437         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
86438         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
86440         * configure.in: Fix typo in redirection and correct removal of test
86441         files in two cases.
86443         [BZ #12788]
86444         * locale/setlocale.c (new_composite_name): Fix test to check for
86445         identical name of all categories.
86447         [BZ #12792]
86448         * libio/filedoalloc.c (local_isatty): New function.
86449         (_IO_file_doallocate): Use local_isatty.
86450         * stdio-common/perror.c (perror): In case a new stream is used
86451         forward the stream error.
86452         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
86453         error flag.
86455 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
86457         [BZ #11884]
86458         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
86459         alloca.
86460         * include/alloca.h (extend_alloca_account): Define.
86462         [BZ #11857]
86463         * posix/regex.h: Fix comments with documentation of user-accessible
86464         fields after compilation and describe correct free'ing of pattern
86465         after re_compile_pattern.
86466         Patch by Reuben Thomas <rrt@sc3d.org>.
86468 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
86470         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
86471         and -mno-altivec to prevent the compiler from using Altivec and/or
86472         VSX instructions when the corresponding registers are not available.
86474 2011-05-19  Andreas Schwab  <schwab@redhat.com>
86476         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
86478 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
86480         * libio/freopen.c (freopen): Use __dup2, not dup2.
86481         * libio/freopen64.c (freopen64): Likewise.
86483 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
86485         [BZ #12775]
86486         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
86487         * math/Makefile (tests): Add test-powl.
86488         (CFLAGS-test-powl.c): Define.
86489         * math/test-powl.c: New file.
86491 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
86493         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
86495 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
86497         [BZ #11837]
86498         * iconvdata/gb18030.c: Update to GB18020-2005.
86500 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
86502         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
86503         RE_SYNTAX_POSIX_AWK): Update to match recent development.
86504         Patch by Aharon Robbins <arnold@skeeve.com>.
86506         [BZ #11892]
86507         * stdlib/putenv.c (putenv): Don't always create copy of the variable
86508         on the stack.
86510         [BZ #11895]
86511         * misc/pselect.c (__pselect): Handle timeout value errors hidden
86512         through underflows.
86514         [BZ #12766]
86515         * misc/error.c (error_at_line): Ensure file_name and old_file_name
86516         point to strings before performing equality test for error_one_per_line
86517         mode.
86519         [BZ #11697]
86520         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
86522         [BZ #11820]
86523         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86524         (struct user_fpregs_struct): Avoid __uint*_t types.
86526         [BZ #6420]
86527         * malloc/mtrace.c (tr_where): Add additional parameter to point to
86528         symbol info.  Use it instead of calling _dl_addr locally.
86529         (lock_and_info): New function.
86530         (tr_freehook): Call lock_and_info and pass symbol info as additional
86531         parameter to tr_where.
86532         (tr_mallochook): Likewise.
86533         (tr_reallochook): Likewise.
86534         (tr_memalignhook): Likewise.
86536         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
86537         used and couldn't be at all thread-safe.
86539 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
86541         * libio/freopen.c (freopen): Don't close old file descriptor
86542         before the new one is opened.  Instead dup the new file descriptor
86543         to the old one after the new stream is created.
86544         * libio/freopen64.c (freopen64): Likewise.
86545         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
86546         * libio/fileops.c (_IO_new_file_close_it): Handle new
86547         _IO_FLAGS2_NOCLOSE flag.
86548         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
86549         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
86550         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
86551         _IO_FLAGS2_NOCLOSE flag.
86552         * include/unistd.h: Add hidden_proto for dup3.
86553         Define __have_dup3.
86554         * io/dup3.c: Define hidden symbol.
86555         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
86557         [BZ #7101]
86558         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
86559         when an incomplete long option is used.
86560         * posix/tst-getopt_long1.c: New file.
86561         * posix/Makefile (tests): Add tst-getopt_long1.
86563         [BZ #10138]
86564         * scripts/config.guess: Update from autoconf-2.68.
86565         * scripts/config.sub: Likewise.
86567         [BZ #10157]
86568         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
86569         tests into ...
86570         (has_cpuclock): ...this.  New function.
86571         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
86572         macro here based on has_cpuclock code.
86574         [BZ #10149]
86575         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86576         First byte (not low byte) is now always NUL.
86577         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
86579         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86580         Use non-cancelable interfaces.
86582         [BZ #9809]
86583         * locale/iso-639.def: Add entry for Sorani.
86585         [BZ #11901]
86586         * include/stdlib.h: Move include protection to the right place.
86587         Define abort_msg_s.  Declare __abort_msg with it.
86588         * stdlib/abort.c (__abort_msg): Adjust type.
86589         * assert/assert.c (__assert_fail_base): New function.  Majority
86590         of code from __assert_fail.  Allocate memory for __abort_msg with
86591         mmap.
86592         (__assert_fail): Now call __assert_fail_base.
86593         * assert/assert-perr.c: Remove bulk of implementation.  Use
86594         __assert_fail_base.
86595         * include/assert.hL Declare __assert_fail_base.
86596         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
86597         mmap.
86598         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
86600 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
86602         [BZ #11952]
86603         [BZ #12453]
86604         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
86605         until all modules are registered in the DTV.
86606         * elf/Makefile: Add rules to build and run tst-tls19.
86607         * elf/tst-tls19.c: New file.
86608         * elf/tst-tls19mod1.c: New file.
86609         * elf/tst-tls19mod2.c: New file.
86610         * elf/tst-tls19mod3.c: New file.
86611         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
86613         [BZ #12083]
86614         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
86615         correctly.
86617         [BZ #12601]
86618         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
86619         two-byte sequence errors.
86620         * iconvdata/Makefile (tests): Add bug-iconv8.
86621         * iconvdata/bug-iconv8.c: New file.
86623         [BZ #12626]
86624         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
86625         buf2 definition.
86627         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
86629         [BZ #12432]
86630         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
86631         (dummy_getcfa): New function.
86632         (init): Get _Unwind_GetCFA address, use dummy if not found.
86633         (backtrace_helper): In recursion check, also check whether CFA changes.
86634         (__backtrace): Completely initialize arg.
86636         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
86637         storing incomplete byte sequence in state object.  Avoid testing for
86638         guaranteed too small input if we know there is enough data available.
86640 2011-05-11  Andreas Schwab  <schwab@redhat.com>
86642         * Makeconfig (+link-pie): Indent.
86643         * Rules (binaries-pie): Define if $(have-fpie) and
86644         $(build-shared).
86645         (binaries-shared): Also filter out $(binaries-pie).
86646         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
86647         * nscd/Makefile (others-pie): Add nscd.
86648         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
86649         ($(objpfx)nscd): Remove command override.
86650         * login/Makefile (others-pie): Add pt_chown.
86651         ($(objpfx)pt_chown): Remove command override.
86652         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
86653         remove command overrides.
86655 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
86657         * libio/tst_putwc.c: Fix error messages.
86659         [BZ #12724]
86660         * libio/fileops.c (_IO_new_file_close_it): Always flush when
86661         currently writing and seek to current position when not.
86662         * libio/Makefile (tests): Add bug-fclose1.
86663         * libio/bug-fclose1.c: New file.
86665 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
86667         [BZ #12511]
86668         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
86669         don't set DF_1_NODELETE here.
86670         (do_lookup_x): When entering new entry test for copy relocation
86671         and if necessary set DF_1_NODELETE flag.
86672         * elf/tst-unique4.cc: New file.
86673         * elf/tst-unique4.h: New file.
86674         * elf/tst-unique4lib.cc: New file.
86675         * elf/Makefile: Add rules to build and run tst-unique4.
86676         Patch by Piotr Bury <pbury@goahead.com>.
86678 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
86680         [BZ #12052]
86681         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
86683         [BZ #12625]
86684         * misc/mntent_r.c (addmntent): Flush the stream after the output
86686         [BZ #12393]
86687         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
86688         (is_trusted_path_normalize): Skip initial colon.  Append slash
86689         to empty buffer.  Duplicate is_trusted_path code but allow
86690         constructed patch to be prefix.
86691         (is_dst): Allow $ORIGIN followed by /.
86692         (_dl_dst_substitute): Correct clearing of check_for_trusted.
86693         Correct testing of result of is_trusted_path_normalize
86694         (decompose_rpath): Fix warning.
86696 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
86698         [BZ #11257]
86699         * grp/initgroups.c (internal_getgrouplist): When we found the service
86700         list through the initgroups entry in nsswitch.conf do not always
86701         continue on a successful lookup.  Don't always use the
86702         __nss_group_database value if it is set.
86703         * nss/nsswitch.conf (initgroups): Change action for successful db
86704         lookup to continue for compatibility.
86706 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
86708         [BZ #11532]
86709         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
86710         and CP774 modules.
86711         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
86712         and CP774 modules.
86713         * iconvdata/tst-tables.sh: Likewise.
86714         * iconvdata/cp770.c: New file.
86715         * iconvdata/cp771.c: New file.
86716         * iconvdata/cp772.c: New file.
86717         * iconvdata/cp773.c: New file.
86718         * iconvdata/cp774.c: New file.
86719         * iconvdata/testdata/CP770: New file.
86720         * iconvdata/testdata/CP770..UTF8: New file.
86721         * iconvdata/testdata/CP771: New file.
86722         * iconvdata/testdata/CP771..UTF8: New file.
86723         * iconvdata/testdata/CP772: New file.
86724         * iconvdata/testdata/CP772..UTF8: New file.
86725         * iconvdata/testdata/CP773: New file.
86726         * iconvdata/testdata/CP773..UTF8: New file.
86727         * iconvdata/testdata/CP774: New file.
86728         * iconvdata/testdata/CP774..UTF8: New file.
86730         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
86731         END CHARMAP line.
86732         * iconvdata/gen-8bit-gap.sh: Likewise.
86733         * iconvdata/gen-8bit.sh: Likewise.
86735         * locale/iso-639.def: Add ary entry.
86737         [BZ #11258]
86738         * locale/C-translit.h.in: Add U20A1 transliteration.
86740         [BZ #12178]
86741         * locale/iso-639.def: Add wae entry.
86742         Patch by Kevin Bortis <bortis@translate-wae.ch>.
86744         [BZ #12545]
86745         * locale/programs/localedef.c (construct_output_path): Use ssize_t
86746         for n.
86748         [BZ #12711]
86749         * locale/C-translit.h.in: Add entry for U20B9.
86750         Patch by pravin.d.s@gmail.com.
86752 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
86754         [BZ #12713]
86755         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
86756         ENAMETOOLONG use generic getcwd.
86757         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
86758         in rtld.  Use *stat64.
86759         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
86760         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
86761         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
86762         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
86763         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
86764         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
86765         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
86766         __fstatat64 macros.
86767         * include/dirent.h: Add libc_hidden_proto for rewinddir.
86768         * dirent/rewinddir.c: Add libc_hidden_def.
86769         * sysdeps/mach/hurd/rewinddir.c: Likewise.
86770         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
86772         * include/dirent.h (__alloc_dir): Add flags parameter.
86773         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
86774         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
86775         __alloc_dir.
86776         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
86777         from fdopendir if O_CLOEXEC is already set.
86779 2011-03-15  Alan Modra  <amodra@gmail.com>
86781         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
86782         l_tls_firstbyte_offset non-zero.  Save padding offset in
86783         l_tls_firstbyte_offset for later use.
86784         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
86785         freeing static tls block.
86787 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
86789         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
86790         where #ifdef was intended.  The intent is to prevent ARG_MAX from
86791         being defined by the kernel headers.
86793 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
86795         [BZ #12734]
86796         * resolv/resolv.h: Define RES_NOTLDQUERY.
86797         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
86798         no-tld-query and set RES_NOTLDQUERY.
86799         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
86800         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
86801         modern BIND to search name as TLD unless forbidden.
86803 2011-05-07  Petr Baudis  <pasky@suse.cz>
86804             Ulrich Drepper  <drepper@gmail.com>
86806         [BZ #12393]
86807         * elf/dl-load.c (fillin_rpath): Move trusted path check...
86808         (is_trusted_path): ...to here.
86809         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
86810         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
86811         using is_trusted_path_normalize() in setuid scripts.
86813 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
86815         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
86816         __BEGIN/__END_DECLS.
86818 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
86820         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
86821         NSS_STATUS_NOTFOUND if no record was found.
86823 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86825         * sunrpc/Makefile (headers): Add rpc/netdb.h.
86826         (headers-not-in-tirpc): Remove rpc/netdb.h
86827         * resolv/netdb.h: Revert last change.
86829 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
86831         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
86832         circular dependency between libgcc.a and libc.a.
86834 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86836         * resolv/netdb.h: Don't include <rpc/netdb.h>.
86837         * nis/Makefile: Don't install rpcsvc/*.
86838         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
86839         instead of <rpc/types.h>.
86840         (MAXHOSTNAMELEN): Define.
86842 2011-05-03  Andreas Schwab  <schwab@redhat.com>
86844         * elf/ldconfig.c (add_dir): Don't crash on empty path.
86846 2011-04-28  Maciej Babinski  <mbabinski@google.com>
86848         [BZ #12714]
86849         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
86850         gethostbyname4_r when IPv6 results are possible.
86852 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
86854         [BZ #12723]
86855         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
86856         _PC_PIPE_BUF handling.
86858 2011-04-30  Bruno Haible  <bruno@clisp.org>
86860         [BZ #12717]
86861         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
86862         * resolv/netdb.h (getnameinfo): Change type of flags parameter
86863         to 'int'.
86864         * inet/getnameinfo.c (getnameinfo): Likewise.
86866 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
86868         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
86869         to groups setting in database lookup.
86870         * nss/nsswitch.conf: Add initgroups entry.
86872 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
86874         [BZ #12685]
86875         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
86876         mode string.
86877         Patch by Eric Blake <eblake@redhat.com>.
86879 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
86881         * sunrpc/Makefile (need-export-routines): Add svc_run.
86882         (routines): Remove svc_run.
86883         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
86884         * sunrpc/clnt_perr.c (clnt_perrno): Export.
86885         * sunrpc/svc_run.c (svc_run): Likewise.
86886         * sunrpc/svc_udp.c (svcudp_create): Likewise.
86888 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
86890         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
86891         problem in reallocation in last patch.
86893 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
86895         * sunrpc/Makefile: Move inclusion of Rules.
86897 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86899         * nss/nss_files/files-initgroups.c: New file.
86900         * nss/Makefile (libnss_files-routines): Add files-initgroups.
86901         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
86902         _nss_files_initgroups_dyn.
86904 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
86906         * elf/elf.h (R_ARM_IRELATIVE): Define.
86908 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86910         * po/ru.po: Update from translation team.
86912 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86914         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
86915         dependencies.
86917 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
86919         [BZ #12653]
86920         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
86921         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
86922         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86923         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
86924         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
86926 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
86928         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
86929         differing bytes.
86930         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
86931         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
86932         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86934 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86936         [BZ #12420]
86937         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
86938         storing it.
86939         * stdlib/bug-getcontext.c: New file.
86940         * stdlib/Makefile: Add rules to build and run bug-getcontext.
86942 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86944         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
86945         instructions into .machine "z9-109".
86946         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
86947         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
86949 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86951         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
86952         between environment variables and auxiliary vector.
86954 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
86956         * Makefile: Add rules to build linkobj/libc.so.
86957         * include/libc-symbols.h: Define libc_hidden_nolink.
86958         * include/rpc/auth.h: Mark functions which are to be hidden.
86959         * include/rpc/auth_des.h: Likewise.
86960         * include/rpc/auth_unix.h: Likewise.
86961         * include/rpc/clnt.h: Likewise.
86962         * include/rpc/des_crypt.h: Likewise.
86963         * include/rpc/key_prot.h: Likewise.
86964         * include/rpc/pmap_clnt.h: Likewise.
86965         * include/rpc/pmap_prot.h: Likewise.
86966         * include/rpc/pmap_rmt.h: Likewise.
86967         * include/rpc/rpc_msg.h: Likewise.
86968         * include/rpc/svc.h: Likewise.
86969         * include/rpc/svc_auth.h: Likewise.
86970         * include/rpc/xdr.h: Likewise.
86971         * nis/Makefile: Link all DSOs against linkobj/libc.so.
86972         * nss/Makefile: Likewise.
86973         * sunrpc/Makefile: Don't install headers.  Build library with normal
86974         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
86975         * sunrpc/auth_des.c: Hide exported symbols by default, export some
86976         for the compat linking library.  Remove use of INTDEF/INTUSE.
86977         * sunrpc/auth_none.c: Likewise.
86978         * sunrpc/auth_unix.c: Likewise.
86979         * sunrpc/authdes_prot.c: Likewise.
86980         * sunrpc/authuxprot.c: Likewise.
86981         * sunrpc/clnt_gen.c: Likewise.
86982         * sunrpc/clnt_perr.c: Likewise.
86983         * sunrpc/clnt_raw.c: Likewise.
86984         * sunrpc/clnt_simp.c: Likewise.
86985         * sunrpc/clnt_tcp.c: Likewise.
86986         * sunrpc/clnt_udp.c: Likewise.
86987         * sunrpc/clnt_unix.c: Likewise.
86988         * sunrpc/des_crypt.c: Likewise.
86989         * sunrpc/des_soft.c: Likewise.
86990         * sunrpc/get_myaddr.c: Likewise.
86991         * sunrpc/key_call.c: Likewise.
86992         * sunrpc/key_prot.c: Likewise.
86993         * sunrpc/netname.c: Likewise.
86994         * sunrpc/pm_getmaps.c: Likewise.
86995         * sunrpc/pm_getport.c: Likewise.
86996         * sunrpc/pmap_clnt.c: Likewise.
86997         * sunrpc/pmap_prot.c: Likewise.
86998         * sunrpc/pmap_prot2.c: Likewise.
86999         * sunrpc/pmap_rmt.c: Likewise.
87000         * sunrpc/publickey.c: Likewise.
87001         * sunrpc/rpc_cmsg.c: Likewise.
87002         * sunrpc/rpc_common.c: Likewise.
87003         * sunrpc/rpc_dtable.c: Likewise.
87004         * sunrpc/rpc_prot.c: Likewise.
87005         * sunrpc/rpc_thread.c: Likewise.
87006         * sunrpc/rtime.c: Likewise.
87007         * sunrpc/svc.c: Likewise.
87008         * sunrpc/svc_auth.c: Likewise.
87009         * sunrpc/svc_authux.c: Likewise.
87010         * sunrpc/svc_raw.c: Likewise.
87011         * sunrpc/svc_run.c: Likewise.
87012         * sunrpc/svc_simple.c: Likewise.
87013         * sunrpc/svc_tcp.c: Likewise.
87014         * sunrpc/svc_udp.c: Likewise.
87015         * sunrpc/svc_unix.c: Likewise.
87016         * sunrpc/svcauth_des.c: Likewise.
87017         * sunrpc/xcrypt.c: Likewise.
87018         * sunrpc/xdr.c: Likewise.
87019         * sunrpc/xdr_array.c: Likewise.
87020         * sunrpc/xdr_float.c: Likewise.
87021         * sunrpc/xdr_intXX_t.c: Likewise.
87022         * sunrpc/xdr_mem.c: Likewise.
87023         * sunrpc/xdr_rec.c: Likewise.
87024         * sunrpc/xdr_ref.c: Likewise.
87025         * sunrpc/xdr_sizeof.c: Likewise.
87026         * sunrpc/xdr_stdio.c: Likewise.
87028 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
87030         [BZ #12650]
87031         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
87032         * sysdeps/ia64/dl-tls.h: Likewise.
87033         * sysdeps/powerpc/dl-tls.h: Likewise.
87034         * sysdeps/s390/dl-tls.h: Likewise.
87035         * sysdeps/sh/dl-tls.h: Likewise.
87036         * sysdeps/sparc/dl-tls.h: Likewise.
87037         * sysdeps/x86_64/dl-tls.h: Likewise.
87038         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
87040 2011-03-14  Andreas Schwab  <schwab@redhat.com>
87042         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
87043         rpath element also skip the following colon.
87044         (expand_dynamic_string_token): Add is_path parameter and pass
87045         down to DL_DST_REQUIRED and _dl_dst_substitute.
87046         (decompose_rpath): Call expand_dynamic_string_token with
87047         non-zero is_path.  Ignore empty rpaths.
87048         (_dl_map_object_from_fd): Call expand_dynamic_string_token
87049         with zero is_path.
87051 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
87053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
87054         Make cancelable.
87056 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
87058         [BZ #12655]
87059         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
87060         Patch by Filipe David Manana <fdmanana@apache.org>.
87062 2011-04-07  Andreas Schwab  <schwab@redhat.com>
87064         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
87065         Maintain aligned stack.
87066         (CHECK_RSP): Remove unused macro.
87068 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
87070         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
87071         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
87073 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
87075         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
87077         * include/features.h: Mention __USE_XOPEN2K8 in comment.
87079 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
87081         [BZ #12518]
87082         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
87083         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
87084         * sysdeps/x86_64/memmove.c: New file.
87085         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
87086         (memcpy): Renamed to ...
87087         (__new_memcpy): This.
87088         (memcpy): Provide GLIBC_2_14 memcpy.
87089         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
87090         (memcpy): Provide GLIBC_2_2_5 memcpy.
87092 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87094         [BZ #12631]
87095         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
87097 2011-03-30  Andreas Schwab  <schwab@redhat.com>
87099         * misc/syncfs.c: New file.
87100         * misc/Makefile (routines): Add syncfs.
87101         * posix/unistd.h: Declare syncfs.
87102         * sysdeps/unix/syscalls.list: Add syncfs.
87104 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87106         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
87107         open_by_handle_at.
87108         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87109         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87110         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87111         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87112         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87113         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
87114         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87116 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87118         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
87119         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87120         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
87121         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87122         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87123         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87124         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87126         * io/Makefile: Compile fallocate.c, fallocate64.c, and
87127         sync_file_range.c with -fexceptions.
87128         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
87129         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
87130         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
87131         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
87132         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
87133         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
87134         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
87135         sync_file_range as cancellation point
87136         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
87137         now a wrapper around __call_sync_file_range with cancellation handling.
87138         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
87139         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
87140         function name to __call_sync_file_range.
87141         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
87142         Add call_sync_file_range.
87144 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87146         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87147         bits/timex.h.
87149 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87151         * iconv/iconv.h: Fix typo in comment.
87152         * io/fcntl.h: Likewise.
87153         * libio/stdio.h: Likewise.
87154         * posix/spawn.h: Likewise.
87155         * posix/unistd.h: Likewise.
87156         * stdlib/stdlib.h: Likewise.
87157         * time/time.h: Likewise.
87158         * wcsmbs/wchar.h: Likewise.
87160         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
87161         open_by_handle): Add.
87162         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
87163         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
87164         Augment a few comments.
87165         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87166         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87167         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87168         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87169         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87170         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
87171         open_by_handle.
87173         * io/fcntl.h (AT_EMPTY_PATH): Define.
87175 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
87177         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
87178         * sysdeps/unix/sysv/linux/bits/time.h: New file.
87179         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
87180         to...
87181         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
87182         * Versions.def: Add GLIBC_2.14.
87183         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
87184         Export.
87186 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
87188         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
87189         round counter.
87190         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87192 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
87194         [BZ #12597]
87195         * string/test-strncmp.c (do_page_test): New function.
87196         (check2): Likewise.
87197         (test_main): Call check2.
87198         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
87200 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
87202         [BZ #12587]
87203         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
87204         Handle cache information in CPU leaf 4.
87205         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87207 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
87209         [BZ #12583]
87210         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
87211         character representation.
87212         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
87214 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
87216         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
87217         END(__isnan) to END(__isnanf) to match function entry point/label
87218         EALIGN(__isnanf,...).
87220 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
87222         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
87224 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
87226         [BZ #12510]
87227         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
87228         copy from the symbol referenced in the relocation to initialize the
87229         used variable.
87230         Patch by Piotr Bury <pbury@goahead.com>.
87231         * elf/Makefile: Add rules to build and tst-unique3.
87232         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
87233         * elf/tst-unique3.cc: New file.
87234         * elf/tst-unique3.h: New file.
87235         * elf/tst-unique3lib.cc: New file.
87236         * elf/tst-unique3lib2.cc: New file.
87238         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
87240 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
87242         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
87243         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
87244         to _start.
87246 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
87248         * elf/dl-load.c (_dl_map_object): If we are looking for the first
87249         to-be-loaded object along a path to loader is ld.so.
87251 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87252             Ulrich Drepper  <drepper@gmail.com>
87254         * sysdeps/x86_64/memset.S: After aligning destination, code
87255         branches to different locations depending on the value of
87256         misalignment, when multiarch is enabled. Fix this.
87258 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87260         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
87261         Set _x86_64_preferred_memory_instruction for AMD processsors.
87262         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87263         Set bit_Prefer_SSE_for_memop for AMD processors.
87265 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
87267         * libio/fmemopen.c (fmemopen): Optimize a bit.
87269 2011-03-03  Andreas Schwab  <schwab@redhat.com>
87271         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
87273 2011-03-03  Roland McGrath  <roland@redhat.com>
87275         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
87277 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
87279         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
87280         __bzero_ultra1 instead of __memset_ultra1.
87282 2011-02-23  Andreas Schwab  <schwab@redhat.com>
87283             Ulrich Drepper  <drepper@gmail.com>
87285         [BZ #12509]
87286         * include/link.h (struct link_map): Add l_orig_initfini.
87287         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
87288         returning unsuccessfully.
87289         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
87290         close of a file loaded at startup, restore the original l_initfini
87291         list.
87292         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
87293         list, store the pointer.
87294         * elf/Makefile ($(objpfx)noload-mem): New rule.
87295         (noload-ENV): Define.
87296         (tests): Add $(objpfx)noload-mem.
87297         * elf/noload.c: Include <memcheck.h>.
87298         (main): Call mtrace.  Close all opened handles.
87300 2011-02-17  Andreas Schwab  <schwab@redhat.com>
87302         [BZ #12454]
87303         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
87304         dependencies are missing.
87306 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87308         Fix __if_freereq crash: Unlike the generic version which uses free,
87309         Hurd needs munmap.
87310         * sysdeps/mach/hurd/ifreq.h: New file.
87312 2011-01-27  Petr Baudis  <pasky@suse.cz>
87313             Ulrich Drepper  <drepper@gmail.com>
87315         [BZ 12445]#
87316         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
87317         to extend_alloca().
87318         * stdio-common/bug23.c: New file.
87319         * stdio-common/Makefile (tests): Add bug23.
87321 2010-09-28  Andreas Schwab  <schwab@redhat.com>
87322             Ulrich Drepper  <drepper@gmail.com>
87324         [BZ #12489]
87325         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
87326         before performing relro protection.  At old place add assertion
87327         to make sure nothing changed.
87329 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
87330             Glauber de Oliveira Costa  <glommer@gmail.com>
87332         * elf/elf.h: Add new ARM TLS relocs.
87334 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
87336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
87337         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
87338         cast from r3.
87339         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
87340         'tests' variable.
87341         * sysdeps/wordsize-64/tst-writev.c: New file.
87343 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
87345         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
87346         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
87347         insns in _dl_start to prevent a TOC reference before relocs are
87348         resolved.
87350 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
87352         [BZ #12469]
87353         * Makeconfig: Remove RANLIB definition.
87354         * Makerules: Don't use RANLIB.
87355         * aclocal.m4: Remove ranlib test.
87356         * configure.in: No need to check for ranlib.
87357         * elf/rtld-Rules: Don't use RANLIB.
87359 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87361         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
87362         protection macro.
87363         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
87364         inclusion protection macro.
87366         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
87367         SIGRTMIN and SIGRTMAX and print information in that case only when
87368         SIGRTMIN is defined.
87370 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
87372         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
87373         arginfo fn returning -1.
87375         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
87376         and thousands string is zero terminated.
87378 2011-02-03  Andreas Schwab  <schwab@redhat.com>
87380         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
87381         sysdeps/unix/sysv/linux/bits/socket.h.
87383 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87385         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
87386         (__CPU_COUNT): Remove old macros.
87387         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
87388         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
87389         (__CPU_ALLOC, __CPU_FREE): Add macros.
87390         (__sched_cpualloc, __sched_cpufree): Add declarations.
87392 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
87394         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
87395         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
87396         * nscd/aicache.c (addhstaiX): Return timeout of added value.
87397         (readdhstai): Return value of addhstaiX call.
87398         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
87399         (addgrbyX): Return value returned by cache_addgr.
87400         (readdgrbyname): Return value returned by addgrbyX.
87401         (readdgrbygid): Likewise.
87402         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
87403         (addpwbyX): Return value returned by cache_addpw.
87404         (readdpwbyname): Return value returned by addhstbyX.
87405         (readdpwbyuid): Likewise.
87406         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
87407         (addservbyX): Return value returned by cache_addserv.
87408         (readdservbyname): Return value returned by addservbyX:
87409         (readdservbyport): Likewise.
87410         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
87411         (addhstbyX): Return value returned by cache_addhst.
87412         (readdhstbyname): Return value returned by addhstbyX.
87413         (readdhstbyaddr): Likewise.
87414         (readdhstbynamev6): Likewise.
87415         (readdhstbyaddrv6): Likewise.
87416         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
87417         (readdinitgroups): Return value returned by addinitgroupsX.
87418         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
87419         (prune_cache): Keep track of timeout value of re-added entries.
87420         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
87421         * nscd/nscd.h: Adjust prototypes of readd* functions.
87423 2011-02-04  Roland McGrath  <roland@redhat.com>
87425         * nis/nis_server.c (nis_servstate): Use the right name for 0.
87426         (nis_stats): Likewise.
87427         * nis/nis_modify.c (nis_modify): Likewise.
87428         * nis/nis_remove.c (nis_remove): Likewise.
87429         * nis/nis_add.c (nis_add): Likewise.
87431         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
87433         * posix/fnmatch_loop.c: Add some consts.
87435         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
87437 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
87439         [BZ #12460]
87440         * config.make.in (config-cflags-novzeroupper): Define.
87441         * configure.in: Substitute libc_cv_cc_novzeroupper.
87442         * elf/Makefile (AVX-CFLAGS): Define.
87443         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
87444         (CFLAGS-tst-auditmod4a.c): Likewise.
87445         (CFLAGS-tst-auditmod4b.c): Likewise.
87446         (CFLAGS-tst-auditmod6b.c): Likewise.
87447         (CFLAGS-tst-auditmod6c.c): Likewise.
87448         (CFLAGS-tst-auditmod7b.c): Likewise.
87449         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
87451 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
87453         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
87454         function to the callback.
87455         Patch partly by Jiri Olsa <jolsa@redhat.com>.
87457 2011-02-02  Andreas Schwab  <schwab@redhat.com>
87459         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
87460         of errno.
87462 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
87464         [BZ #11724]
87465         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
87466         of constructors.
87467         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
87468         of destructors.
87469         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
87471         [BZ #11724]
87472         * elf/Makefile: Add rules to build and run new test.
87473         * elf/tst-initorder.c: New file.
87474         * elf/tst-initorder.exp: New file.
87475         * elf/tst-initordera1.c: New file.
87476         * elf/tst-initordera2.c: New file.
87477         * elf/tst-initordera3.c: New file.
87478         * elf/tst-initordera4.c: New file.
87479         * elf/tst-initorderb1.c: New file.
87480         * elf/tst-initorderb2.c: New file.
87481         * elf/tst-order-a1.c: New file.
87482         * elf/tst-order-a2.c: New file.
87483         * elf/tst-order-a3.c: New file.
87484         * elf/tst-order-a4.c: New file.
87485         * elf/tst-order-b1.c: New file.
87486         * elf/tst-order-b2.c: New file.
87487         * elf/tst-order-main.c: New file.
87488         New test case by George Gensure <werkt0@gmail.com>.
87490 2010-10-01  Andreas Schwab  <schwab@redhat.com>
87492         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87493         decoding ACE if AI_CANONIDN.
87495 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
87497         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
87499 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
87501         * version.h (RELEASE): Bump for 2.13 release.
87502         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
87504         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
87506         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
87507         MADV_NOHUGEPAGE.
87508         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
87509         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
87510         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
87511         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
87512         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
87513         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87515         * posix/getconf.c: Update copyright year.
87516         * catgets/gencat.c: Likewise.
87517         * csu/version.c: Likewise.
87518         * debug/catchsegv.sh: Likewise.
87519         * debug/xtrace.sh: Likewise.
87520         * elf/ldconfig.c: Likewise.
87521         * elf/ldd.bash.in: Likewise.
87522         * elf/sprof.c (print_version): Likewise.
87523         * iconv/iconv_prog.c: Likewise.
87524         * iconv/iconvconfig.c: Likewise.
87525         * locale/programs/locale.c: Likewise.
87526         * locale/programs/localedef.c: Likewise.
87527         * malloc/memusage.sh: Likewise.
87528         * malloc/mtrace.pl: Likewise.
87529         * nscd/nscd.c (print_version): Likewise.
87530         * nss/getent.c: Likewise.
87532         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
87533         PF_CAIF, and PF_ALG.
87534         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87536 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
87538         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
87539         (modules-names): Use them.
87540         (ifunc-test-modules, ifunc-pie-tests): Define.
87541         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
87542         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
87543         (test-extras): Likewise.
87544         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
87545         $(compile-command.c).
87546         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
87547         (all-built-dso): Define.
87548         (check-textrel.out, check-execstack.out): Depend on it.
87550         * configure.in: Don't override --enable-multi-arch.
87552 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
87554         [BZ #6812]
87555         * nscd/hstcache.c (tryagain): Define.
87556         (cache_addhst): Return tryagain not notfound for temporary errors.
87557         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
87558         failed.
87560 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
87562         [BZ #10563]
87563         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
87564         to make the syscall.
87565         * sysdeps/unix/sysv/linux/setgroups.c: New file.
87567         [BZ #12378]
87568         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
87569         and fall back to matching as normal character if the string ends before
87570         the matching ']' is found.  This is what POSIX requires.
87571         * posix/testfnm.c: Adjust test result.
87572         * posix/globtest.sh: Adjust test result.  Add new test.
87573         * posix/tst-fnmatch.input: Likewise.
87574         * posix/tst-fnmatch2.c: Add new test.
87576 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
87578         * elf/Makefile (check-execstack): Revert last change.  Depend on
87579         check-execstack.h.
87580         (check-execstack.h): New target.
87581         (generated): Add check-execstack.h.
87582         * elf/check-execstack.c: Include "check-execstack.h".
87583         (main): Revert last change.
87584         (handle_file): Return zero if GNU_STACK is absent and
87585         DEFAULT_STACK_PERMS doesn't include PF_X.
87587 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
87589         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
87590         in child fails because the descriptor is already closed.
87591         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
87592         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
87593         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
87595         [BZ #12397]
87596         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
87597         syscall.
87599         [BZ #10484]
87600         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
87601         temporary buffer used to handle multi lookups locally.
87602         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
87604 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87606         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
87607         loader is ld.so.
87609 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
87611         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
87612         alignment for SSE2.
87614 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87616         [BZ #12394]
87617         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
87618         characters.  When rounding increased number of integer digits recompute
87619         number of groups.
87620         * stdio-common/tst-grouping.c: New file.
87621         * stdio-common/Makefile: Add rules to build and run tst-grouping.
87623 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
87625         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
87626         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
87628         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
87629         void.
87630         * bits/select.h: Likewise.
87632 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
87634         * po/ja.po: Update from translation team.
87636 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
87638         [BZ #11155]
87639         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
87640         implementation just like for lxstat, fxstatat, et al.
87642 2010-12-27  Jim Meyering  <meyering@redhat.com>
87644         [BZ #12348]
87645         * posix/regexec.c (build_trtable): Return failure indication upon
87646         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
87648 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
87650         [BZ #12201]
87651         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
87652         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
87653         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
87654         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
87656         [BZ #12207]
87657         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
87659         [BZ #12204]
87660         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
87661         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
87663 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
87665         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
87666         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
87667         script has SORT_BY_INIT_PRIORITY.
87668         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
87669         NO_CTORS_DTORS_SECTIONS is defined.
87670         * elf/soinit.c: Likewise.
87671         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
87672         NO_CTORS_DTORS_SECTIONS is defined.
87673         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
87674         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
87675         * sysdeps/sh/init-first.c: Likewise.
87676         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
87678 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
87680         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
87681         always use the slow path.
87683 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
87685         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
87686         similar rule which adds the sysdep directories to the header search in
87687         order to pick up the correct platform stackinfo.h.
87688         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
87689         perform test if it is, otherwise return successfully without testing.
87690         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
87691         DEFAULT_STACK_PERMS define in stackinfo.h.
87692         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
87693         defined in stackinfo.h.
87694         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
87695         DEFAULT_STACK_PERMS defined in stackinfo.h.
87696         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
87697         * sysdeps/ia64/stackinfo.h: Likewise.
87698         * sysdeps/s390/stackinfo.h: Likewise.
87699         * sysdeps/sh/stackinfo.h: Likewise.
87700         * sysdeps/sparc/stackinfo.h: Likewise.
87701         * sysdeps/x86_64/stackinfo.h: Likewise.
87702         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
87703         PF_X for powerpc64.  Retain PF_X for powerpc32.
87705 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
87707         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
87708         accurately.
87709         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
87710         GETDENTS_64BIT_ALIGNED.
87712 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
87714         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
87716 2010-12-10  Andreas Schwab  <schwab@redhat.com>
87718         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
87719         _GNU_SOURCE.
87721         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
87722         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
87723         Remove __restrict.
87724         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
87725         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
87727 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
87729         [BZ #11655]
87730         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
87731         are initialized.
87733 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
87735         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
87737 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
87739         * po/it.po: Update from translation team.
87741 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
87743         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
87744         unused codes.
87746 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
87748         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
87750 2010-11-24  Andreas Schwab  <schwab@redhat.com>
87752         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
87753         specially.
87754         (gaih_getanswer_slice): Likewise.
87756 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
87758         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
87760 2010-05-31  Petr Baudis  <pasky@suse.cz>
87762         [BZ #11149]
87763         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
87764         silently even in the chroot mode.
87766 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
87768         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
87769         last patch a bit.  Pretty printing
87771 2010-05-31  Petr Baudis <pasky@suse.cz>
87773         [BZ #10085]
87774         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
87775         initialization of skip_initgroups_dyn.
87777 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
87779         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
87780         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87782 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
87784         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
87786 2010-11-11  Andreas Schwab  <schwab@redhat.com>
87788         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
87789         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
87790         (tst-fnmatch-ENV): Set MALLOC_TRACE.
87791         ($(objpfx)tst-fnmatch-mem): New rule.
87792         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
87793         * posix/tst-fnmatch.c (main): Call mtrace.
87795 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
87797         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87798         Support Intel processor model 6 and model 0x2c.
87800 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
87802         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
87803           signed comparison.
87805 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
87807         [BZ #12205]
87808         * string/test-strncasecmp.c (check_result): New function.
87809         (do_one_test): Use it.
87810         (check1): New function.
87811         (test_main): Use it.
87812         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
87813         Support strcasecmp and strncasecmp.
87815 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
87817         [BZ #12194]
87818         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
87819         * sysdeps/x86_64/bits/byteswap.h: Likewise.
87821 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
87823         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
87824         IFUNC support.
87825         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87826         memset-x86-64.
87827         * sysdeps/x86_64/multiarch/bzero.S: New file.
87828         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
87829         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
87830         * sysdeps/x86_64/multiarch/memset.S: New file.
87831         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
87832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87833         Set bit_Prefer_SSE_for_memop for Intel processors.
87834         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
87835         Define.
87836         (index_Prefer_SSE_for_memop): Define.
87837         (HAS_PREFER_SSE_FOR_MEMOP): Define.
87839 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
87841         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
87842         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
87844 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
87846         [BZ #12191]
87847         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87848         (__x86_64_raw_data_cache_size_half): Likewise.
87849         (__x86_64_raw_shared_cache_size): Likewise.
87850         (__x86_64_raw_shared_cache_size_half): Likewise.
87852         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87853         (__x86_64_raw_data_cache_size_half): Likewise.
87854         (__x86_64_raw_shared_cache_size): Likewise.
87855         (__x86_64_raw_shared_cache_size_half): Likewise.
87856         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
87857         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
87858         and __x86_64_raw_shared_cache_size_half.  Round
87859         __x86_64_data_cache_size_half, __x86_64_data_cache_size
87860         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
87861         to multiple of 256 bytes.
87863 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
87865         [BZ #12167]
87866         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
87867         of inacessible symlinks.  Verify result of symlink before returning it.
87868         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
87869         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
87871 2010-10-28  Erich Ritz  <erichritz@gmail.com>
87873         * math/math.h (isinf): Fix typo in comment.
87875 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
87877         * po/da.po: Update from translation team.
87879 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
87881         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
87882         is added to the list.
87884 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87885             Ulrich Drepper  <drepper@gmail.com>
87887         * elf/dl-object.c (_dl_new_object): Don't append the new object to
87888         the global list here.  Move code to...
87889         (_dl_add_to_namespace_list): ...here.  New function.
87890         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
87891         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
87892         * elf/dl-load.c (lose): Don't remove the element from the list.
87893         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
87894         (_dl_map_object): Likewise.
87896 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
87898         [BZ #12159]
87899         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
87900         into all bytes of SSE register.
87901         Patch by Richard Li <richardpku@gmail.com>.
87903 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
87905         [BZ #12140]
87906         * malloc/malloc.c (_int_free): Fill correct number of bytes when
87907         perturbing.
87909 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
87911         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
87912         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
87913         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
87914         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
87916         submachine.
87917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
87919 2010-10-22  Andreas Schwab  <schwab@redhat.com>
87921         * include/dlfcn.h (__RTLD_SECURE): Define.
87922         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
87923         mode & __RTLD_SECURE instead.
87924         (open_path): Rename preloaded parameter to secure.
87925         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
87926         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
87927         * elf/dl-deps.c (openaux): Likewise.
87928         * elf/rtld.c (struct map_args): Remove is_preloaded.
87929         (map_doit): Don't use it.
87930         (dl_main): Likewise.
87931         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
87932         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
87934 2010-09-09  Andreas Schwab  <schwab@redhat.com>
87936         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
87937         (sysd-rules-targets): Remove duplicates.
87938         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
87939         rtld-%.$o dependency.
87941 2010-10-18  Andreas Schwab  <schwab@redhat.com>
87943         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
87944         _dl_map_object do it.
87946 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
87948         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
87949         fast fma builtins, define the macros in the C99 standard.
87950         (FP_FAST_FMAF): Likewise.
87951         (FP_FAST_FMAL): Likewise.
87952         * sysdeps/x86_64/bits/mathdef.h: Likewise.
87954         * bits/mathdef.h: Update copyright year.
87955         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87957 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
87959         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
87960         builtins, define the macros in the C99 standard.
87961         (FP_FAST_FMAF): Likewise.
87962         (FP_FAST_FMAL): Likewise.
87963         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
87964         multiply/add.
87965         (FP_FAST_FMAF): Likewise.
87967 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
87969         [BZ #3268]
87970         * math/libm-test.inc (fma_test): Some new testcases.
87971         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
87972         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
87973         y and infinite z.  Do multiplication by C already in long double.
87974         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
87975         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
87976         y and infinite z.  Do bitwise or of inexact bit into u.d.
87977         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
87978         * sysdeps/i386/fpu/s_fmaf.S: Removed.
87979         * sysdeps/i386/fpu/s_fma.S: Removed.
87980         * sysdeps/i386/fpu/s_fmal.S: Removed.
87982 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
87984         [BZ #3268]
87985         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
87986         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
87987         computation is not scheduled after fetestexcept.  Fix value
87988         of minimum denormal long double.
87990 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
87992         [BZ #3268]
87993         * math/libm-test.inc (fma_test): Add some more tests.
87994         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
87995         correctly.
87997 2010-10-15  Andreas Schwab  <schwab@redhat.com>
87999         * scripts/data/localplt-s390-linux-gnu.data: New file.
88000         * scripts/data/localplt-s390x-linux-gnu.data: New file.
88002 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
88004         [BZ #3268]
88005         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
88006         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
88007         instead of dbl-64.
88008         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
88009         inlines.
88010         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
88011         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
88012         if one of x and y is very large and the other is subnormal.
88013         * sysdeps/s390/fpu/s_fmaf.c: New file.
88014         * sysdeps/s390/fpu/s_fma.c: New file.
88015         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
88016         * sysdeps/powerpc/fpu/s_fma.S: New file.
88017         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
88018         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
88019         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
88021 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
88023         [BZ #3268]
88024         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
88025         fma tests.
88026         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
88027         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
88028         * sysdeps/i386/i686/multiarch/s_fma.c: Include
88029         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
88030         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
88031         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
88032         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
88034 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
88036         [BZ #12078]
88037         * posix/regcomp.c (parse_branch): One more memory leak plugged.
88038         * posix/bug-regex31.input: Add test case.
88040 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88042         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
88043         * posix/bug-regex31.input: New file.
88045         [BZ #12078]
88046         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
88047         (parse_sub_exp): Fix last change, use postorder.
88049         * posix/bug-regex31.c: New file.
88050         * posix/Makefile: Add rules to build and run bug-regex31.
88052         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
88054         [BZ #12078]
88055         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
88057         [BZ #12108]
88058         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
88059         to have entries in sys_siglist.
88061         [BZ #12093]
88062         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
88063         be NULL.
88065 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
88067         [BZ #3268]
88068         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
88069         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
88070         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
88071         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
88072         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88073         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
88074         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
88075         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
88076         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
88077         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
88078         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
88079         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
88080         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
88081         * math/ftestexcept.c (fetestexcept): Likewise.
88082         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
88083         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
88084         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
88085         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
88086         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
88087         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
88088         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
88090 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88092         [BZ #12107]
88093         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
88094         newline.
88096 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
88098         * string/bug-strstr1.c: New file.
88099         * string/Makefile: Add rules to build and run bug-strstr1.
88101 2010-10-05  Eric Blake  <eblake@redhat.com>
88103         [BZ #12092]
88104         * string/str-two-way.h (two_way_long_needle): Always clear memory
88105         when skipping input due to the shift table.
88107 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
88109         [BZ #12005]
88110         * malloc/mcheck.c: Handle large requests.
88112         [BZ #12077]
88113         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
88114         for strncmp and strncasecmp.
88115         * string/stratcliff.c: Add tests for strcmp and strncmp.
88116         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
88118 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
88120         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
88121         __set_fpscr.
88123 2010-09-30  Andreas Jaeger  <aj@suse.de>
88125         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
88126         (CGROUP_SUPER_MAGIC): Define.
88127         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88128         Handle btrfs and cgroup file systems.
88129         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
88130         Likewise.
88132 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
88134         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
88135         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
88137 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88139         [BZ #12067]
88140         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
88141         trying to locate the ELF header.
88143 2010-09-27  Andreas Schwab  <schwab@redhat.com>
88145         [BZ #11611]
88146         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
88147         Mask out sign-bit copies when constructing f_fsid.
88149 2010-09-24  Petr Baudis <pasky@suse.cz>
88151         * debug/stack_chk_fail_local.c: Add missing licence exception.
88152         * debug/warning-nop.c: Likewise.
88154 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
88156         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
88157         implementing getdents64 using getdents syscall, set d_type if
88158         __ASSUME_GETDENTS32_D_TYPE.
88160 2010-09-16  Andreas Schwab  <schwab@redhat.com>
88162         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
88163         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
88165 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
88167         [BZ #12037]
88168         * posix/unistd.h: Undo change of feature selection for ftruncate from
88169         2010-01-11.
88171 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
88173         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
88174         detection.
88176 2010-09-20  Andreas Schwab  <schwab@redhat.com>
88178         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
88179         fanotify_mark.
88180         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88182 2010-09-14  Andreas Schwab  <schwab@redhat.com>
88184         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
88185         variables after CHECK_SP call.
88186         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
88188 2010-09-13  Andreas Schwab  <schwab@redhat.com>
88189             Ulrich Drepper  <drepper@redhat.com>
88191         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
88192         re-relocationg ld.so.
88193         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
88194         _dl_init_paths call.
88195         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
88196         here anymore.
88198 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
88200         * resolv/res_init.c (__res_vinit): Count the default server we added.
88202 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
88203             Ulrich Drepper  <drepper@redhat.com>
88205         [BZ #11968]
88206         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88207         (____longjmp_chk): Use %ebx for saving value across system call.
88208         Add unwind info.
88210 2010-09-06  Andreas Schwab  <schwab@redhat.com>
88212         * manual/Makefile: Don't mix pattern rules with normal rules.
88214 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
88216         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
88217         operation.
88218         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
88219         * libio/iofopncook.c (_IO_cookie_init): Likewise.
88220         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
88221         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
88222         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88223         Likewise.
88225 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
88227         [BZ #11979]
88228         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
88229         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
88231 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
88233         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
88234         * sysdeps/x86_64/addmul_1.S: Likewise.
88235         * sysdeps/x86_64/lshift.S: Likewise.
88236         * sysdeps/x86_64/mul_1.S: Likewise.
88237         * sysdeps/x86_64/rshift.S: Likewise.
88238         * sysdeps/x86_64/sub_n.S: Likewise.
88239         * sysdeps/x86_64/submul_1.S: Likewise.
88241 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88243         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
88244         Define __sched_param instead of SCHED_* and sched_param when
88245         <bits/sched.h> is included with __need_schedparam defined.
88246         * bits/sched.h [__need_schedparam]
88247         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
88248         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
88249         (__defined_schedparam): Define to 1.
88250         (__sched_param): New structure, identical to sched_param.
88251         (__need_schedparam): Undefine.
88253 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
88255         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
88256         (epoll_create1): Declare.
88258         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
88260 2010-08-31  Andreas Schwab  <schwab@redhat.com>
88262         [BZ #7066]
88263         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
88264         shifting retval into place.
88266 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
88268         * nis/rpcsvc/nis.h: Update copyright notice.
88269         * nis/rpcsvc/nis.x: Likewise.
88270         * nis/rpcsvc/nis_callback.h: Likewise.
88271         * nis/rpcsvc/nis_callback.x: Likewise.
88272         * nis/rpcsvc/nis_object.x: Likewise.
88273         * nis/rpcsvc/nis_tags.h: Likewise.
88274         * nis/rpcsvc/yp.h: Likewise.
88275         * nis/rpcsvc/yp.x: Likewise.
88276         * nis/rpcsvc/ypupd.h: Likewise.
88277         * nis/yp_xdr.c: Likewise.
88278         * nis/ypupdate_xdr.c: Likewise.
88280         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
88281         mainly the body of pmap_getport.  Add parameters to specify timeouts.
88282         (pmap_getport): Use __libc_rpc_getport.
88283         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
88284         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
88285         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
88287 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
88289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
88290         fanotify_mark.
88292 2010-08-27  Roland McGrath  <roland@redhat.com>
88294         * sysdeps/i386/i686/multiarch/Makefile
88295         (CFLAGS-varshift.c): New variable.
88297 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
88299         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
88300         * sysdeps/i386/i686/multiarch/varshift.c: New file.
88302         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
88304         * sysdeps/x86_64/strlen.S: Minimal code improvement.
88306 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
88308         * sysdeps/x86_64/strlen.S: Unroll the loop.
88309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88310         strlen-sse2 strlen-sse2-bsf.
88311         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
88312         __strlen_no_bsf if bit_Slow_BSF is set.
88313         (__strlen_sse42): Removed.
88314         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
88315         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
88317 2010-08-25  Roland McGrath  <roland@redhat.com>
88319         * sysdeps/x86_64/multiarch/varshift.S: File removed.
88320         * sysdeps/x86_64/multiarch/varshift.c: New file.
88321         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
88322         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
88323         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
88324         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
88326 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
88328         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88329         strlen-sse2 strlen-sse2-bsf.
88330         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
88331         __strlen_sse2_bsf if bit_Slow_BSF is unset.
88332         (__strlen_sse2): Removed.
88333         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
88334         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
88335         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
88336         bit_Slow_BSF for Atom.
88337         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
88338         (index_Slow_BSF): Define.
88339         (HAS_SLOW_BSF): Define.
88341 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
88343         [BZ #10851]
88344         * resolv/res_init.c (__res_vinit): When no server address at all
88345         is given default to loopback.
88347 2010-08-24  Roland McGrath  <roland@redhat.com>
88349         * configure.in: Remove config-name.h generation.
88350         * configure: Regenerated.
88351         * config-name.in: File removed.
88352         * scripts/config-uname.sh: New file.
88353         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
88354         ($(objdir)config-name.h): New target.
88356         * sunrpc/rpc_parse.h: Avoid nested comment.
88358 2010-08-24  Richard Henderson  <rth@redhat.com>
88359             Ulrich Drepper  <drepper@redhat.com>
88360             H.J. Lu  <hongjiu.lu@intel.com>
88362         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
88363         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
88364         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
88365         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
88366         _mm_alignr_epi8 with _mm_loadu_si128.
88367         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
88368         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
88369         (__m128i_shift_right): Removed.
88370         * sysdeps/i386/i686/multiarch/varshift.h: New file.
88371         * sysdeps/i386/i686/multiarch/varshift.S: New file.
88372         * sysdeps/x86_64/multiarch/varshift.h: New file.
88373         * sysdeps/x86_64/multiarch/varshift.S: New file.
88375 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
88377         * configure.in: Move assembler checks to before sysdep dir checking.
88379 2010-08-20  Petr Baudis  <pasky@suse.cz>
88381         * LICENSES: Sync the sunrpc license.
88383 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
88385         * sunrpc/auth_des.c: Update copyright notice once again.
88386         * sunrpc/auth_none.c: Likewise.
88387         * sunrpc/auth_unix.c: Likewise.
88388         * sunrpc/authdes_prot.c: Likewise.
88389         * sunrpc/authuxprot.c: Likewise.
88390         * sunrpc/bindrsvprt.c: Likewise.
88391         * sunrpc/clnt_gen.c: Likewise.
88392         * sunrpc/clnt_perr.c: Likewise.
88393         * sunrpc/clnt_raw.c: Likewise.
88394         * sunrpc/clnt_simp.c: Likewise.
88395         * sunrpc/clnt_tcp.c: Likewise.
88396         * sunrpc/clnt_udp.c: Likewise.
88397         * sunrpc/clnt_unix.c: Likewise.
88398         * sunrpc/des_crypt.c: Likewise.
88399         * sunrpc/des_soft.c: Likewise.
88400         * sunrpc/get_myaddr.c: Likewise.
88401         * sunrpc/getrpcport.c: Likewise.
88402         * sunrpc/key_call.c: Likewise.
88403         * sunrpc/key_prot.c: Likewise.
88404         * sunrpc/openchild.c: Likewise.
88405         * sunrpc/pm_getmaps.c: Likewise.
88406         * sunrpc/pm_getport.c: Likewise.
88407         * sunrpc/pmap_clnt.c: Likewise.
88408         * sunrpc/pmap_prot.c: Likewise.
88409         * sunrpc/pmap_prot2.c: Likewise.
88410         * sunrpc/pmap_rmt.c: Likewise.
88411         * sunrpc/rpc/auth.h: Likewise.
88412         * sunrpc/rpc/auth_unix.h: Likewise.
88413         * sunrpc/rpc/clnt.h: Likewise.
88414         * sunrpc/rpc/des_crypt.h: Likewise.
88415         * sunrpc/rpc/key_prot.h: Likewise.
88416         * sunrpc/rpc/netdb.h: Likewise.
88417         * sunrpc/rpc/pmap_clnt.h: Likewise.
88418         * sunrpc/rpc/pmap_prot.h: Likewise.
88419         * sunrpc/rpc/pmap_rmt.h: Likewise.
88420         * sunrpc/rpc/rpc.h: Likewise.
88421         * sunrpc/rpc/rpc_des.h: Likewise.
88422         * sunrpc/rpc/rpc_msg.h: Likewise.
88423         * sunrpc/rpc/svc.h: Likewise.
88424         * sunrpc/rpc/svc_auth.h: Likewise.
88425         * sunrpc/rpc/types.h: Likewise.
88426         * sunrpc/rpc/xdr.h: Likewise.
88427         * sunrpc/rpc_clntout.c: Likewise.
88428         * sunrpc/rpc_cmsg.c: Likewise.
88429         * sunrpc/rpc_common.c: Likewise.
88430         * sunrpc/rpc_cout.c: Likewise.
88431         * sunrpc/rpc_dtable.c: Likewise.
88432         * sunrpc/rpc_hout.c: Likewise.
88433         * sunrpc/rpc_main.c: Likewise.
88434         * sunrpc/rpc_parse.c: Likewise.
88435         * sunrpc/rpc_parse.h: Likewise.
88436         * sunrpc/rpc_prot.c: Likewise.
88437         * sunrpc/rpc_sample.c: Likewise.
88438         * sunrpc/rpc_scan.c: Likewise.
88439         * sunrpc/rpc_scan.h: Likewise.
88440         * sunrpc/rpc_svcout.c: Likewise.
88441         * sunrpc/rpc_tblout.c: Likewise.
88442         * sunrpc/rpc_util.c: Likewise.
88443         * sunrpc/rpc_util.h: Likewise.
88444         * sunrpc/rpcinfo.c: Likewise.
88445         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
88446         * sunrpc/rpcsvc/key_prot.x: Likewise.
88447         * sunrpc/rpcsvc/klm_prot.x: Likewise.
88448         * sunrpc/rpcsvc/mount.x: Likewise.
88449         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
88450         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
88451         * sunrpc/rpcsvc/rex.x: Likewise.
88452         * sunrpc/rpcsvc/rstat.x: Likewise.
88453         * sunrpc/rpcsvc/rusers.x: Likewise.
88454         * sunrpc/rpcsvc/sm_inter.x: Likewise.
88455         * sunrpc/rpcsvc/spray.x: Likewise.
88456         * sunrpc/rpcsvc/yppasswd.x: Likewise.
88457         * sunrpc/rtime.c: Likewise.
88458         * sunrpc/svc.c: Likewise.
88459         * sunrpc/svc_auth.c: Likewise.
88460         * sunrpc/svc_authux.c: Likewise.
88461         * sunrpc/svc_raw.c: Likewise.
88462         * sunrpc/svc_run.c: Likewise.
88463         * sunrpc/svc_simple.c: Likewise.
88464         * sunrpc/svc_tcp.c: Likewise.
88465         * sunrpc/svc_udp.c: Likewise.
88466         * sunrpc/svc_unix.c: Likewise.
88467         * sunrpc/svcauth_des.c: Likewise.
88468         * sunrpc/xcrypt.c: Likewise.
88469         * sunrpc/xdr.c: Likewise.
88470         * sunrpc/xdr_array.c: Likewise.
88471         * sunrpc/xdr_float.c: Likewise.
88472         * sunrpc/xdr_mem.c: Likewise.
88473         * sunrpc/xdr_rec.c: Likewise.
88474         * sunrpc/xdr_ref.c: Likewise.
88475         * sunrpc/xdr_sizeof.c: Likewise.
88476         * sunrpc/xdr_stdio.c: Likewise.
88478         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
88479         handling.
88481 2010-08-19  Andreas Schwab  <schwab@redhat.com>
88483         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
88485 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
88487         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
88488         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
88489         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
88490         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
88491         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
88492         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
88493         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
88494         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
88495         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
88496         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
88497         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
88498         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
88499         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
88500         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
88502 2010-07-26  Anton Blanchard  <anton@samba.org>
88504         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
88505         * malloc/arena.c (heap_trim): Likewise.
88507 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
88509         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
88510         here.  Not...
88511         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
88512         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
88514 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
88516         * sysdeps/i386/elf/Makefile: New file.
88518 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88520         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
88521         from fanotify_init.
88522         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
88523         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88525 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
88527         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
88528         of strncasecmp_l.
88529         * sysdeps/multiarch/strcmp.S: Likewise.
88531 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
88533         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88534         strncase_l-nonascii.
88535         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88536         Add strncase_l-ssse3.
88537         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
88538         * sysdeps/x86_64/strcmp.S: Likewise.
88539         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
88540         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
88541         * sysdeps/x86_64/strncase.S: New file.
88542         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
88543         * sysdeps/x86_64/strncase_l.S: New file.
88544         * string/Makefile (strop-tests): Add strncasecmp.
88545         * string/test-strncasecmp.c: New file.
88547         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
88548         warning.
88550         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
88551         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
88553 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88555         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
88557 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
88559         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
88560         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
88561         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
88563 2010-05-01  Alan Modra  <amodra@gmail.com>
88565         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
88566         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
88567         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
88568         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
88569         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
88570         tidying.  Don't tail-call __sigjmp_save for static lib.
88571         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
88572         save location.
88573         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
88574         (CALL_MCOUNT): Add eh info, and nop after bl.
88575         (TAIL_CALL_SYSCALL_ERROR): New macro.
88576         (PSEUDO_RET): Use it.
88577         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
88578         Correct save location of integer regs and cr.
88579         (_dl_profile_resolve): Correct cr save location.  Delete nops
88580         after bl when SHARED.  Reduce cfi size a little by better
88581         placement of cfi directives.
88582         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
88583         make a stack frame.  Instead use parm save area as a temp.
88584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
88585         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
88586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
88587         Don't make a stack frame for parent, use parm save area.
88588         Increase child stack frame to 112 bytes.  Don't save unused reg,
88589         and adjust reg usage.  Set up cfi on error recovery and
88590         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
88591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
88592         (__makecontext): Add dummy nop after jump to exit.
88593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
88594         Use correct parm save area and cr save, reduce stack frame.
88595         Correct cfi for possible PSEUDO_RET frame setup.
88596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
88597         Branch to local label emitted by PSEUDO_RET rather than
88598         __syscall_error.
88600 2010-08-12  Andreas Schwab  <schwab@redhat.com>
88602         [BZ #11904]
88603         * locale/programs/locale.c (print_assignment): New function.
88604         (show_locale_vars): Use it.
88606 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
88608         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
88609         field.
88610         (struct statfs64): Likewise.
88611         (_STATFS_F_FLAGS): Define.
88612         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
88613         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88614         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
88615         (ST_VALID): Define locally.
88616         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
88617         __statvfs_getflags, use the provided value.
88618         * sysdeps/unix/sysv/linux/kernel-features.h: Define
88619         __ASSUME_STATFS_F_FLAGS.
88621         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
88623         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
88624         Add sys/fanotify.h.
88625         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
88626         fanotify_mask for GLIBC_2.13.
88627         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
88628         fanotify_init and fanotify_mark.
88629         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88630         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
88632         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
88633         Add prlimit.
88634         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
88635         prlimit64 for GLIBC_2.13.
88636         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
88637         prlimit64.
88638         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
88639         syscall.
88640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
88641         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88642         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
88643         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
88644         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
88645         add prlimit alias.
88646         * sysdeps/unix/sysv/linux/prlimit.c: New file.
88648         [BZ #11903]
88649         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
88650         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
88652         * nss/Makefile: Add rules to build and run tst-nss-test1.
88653         * shlib-versions: Add entry for libnss_test1.
88654         * nss/nss_test1.c: New file.
88655         * nss/tst-nss-test1.c: New file.
88657         * nss/nsswitch.c (__nss_database_custom): Define new variable.
88658         (__nss_configure_lookup): Set appropriate entry in
88659         __nss_configure_lookup to true.
88660         * nss/nsswitch.h: Define enum with indeces of databases in
88661         databases and __nss_database_custom arrays.  Declare
88662         __nss_database_custom.
88663         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
88664         to avoid using nscd when custom rules are installed.
88665         * nss/getXXbyYY_r.c: Likewise.
88666         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
88668         * nss/nss_files/files-parse.c: Whitespace fixes.
88670 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
88672         [BZ #11883]
88673         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
88674         * posix/fnmatch_loop.c: Likewise.
88676 2010-07-17  Andi Kleen  <ak@linux.intel.com>
88678         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
88679         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
88680         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
88681         * Versions.def [GLIBC_2.13]: Add.
88683 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
88685         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88686         Also fail if tpwd after pwuid call is NULL.
88688 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88690         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
88691         when converting to ms.
88693 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88695         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
88696         EOPNOTSUPP errors with ENOTTY.
88697         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
88698         EOPNOTSUPP errors with ENOTTY.
88700 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
88702         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88703         Add strcasecmp_l-ssse3.
88704         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
88705         strcasecmp.
88706         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
88707         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
88708         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
88710 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
88712         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
88714         * string/Makefile (strop-tests): Add strcasecmp.
88715         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88716         strcasecmp_l-nonascii.
88717         (gen-as-const-headers): Add locale-defines.sym.
88718         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
88719         * sysdeps/x86_64/strcasecmp.S: New file.
88720         * sysdeps/x86_64/strcasecmp_l.S: New file.
88721         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
88722         * sysdeps/x86_64/locale-defines.sym: New file.
88723         * string/test-strcasecmp.c: New file.
88725         * string/test-strcasestr.c: Test both ends of the range of characters.
88726         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
88728 2010-07-29  Roland McGrath  <roland@redhat.com>
88730         [BZ #11856]
88731         * manual/locale.texi (Yes-or-No Questions): Fix example code.
88733 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
88735         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
88736         for ld.so.
88738 2010-07-27  Andreas Schwab  <schwab@redhat.com>
88740         * manual/memory.texi (Malloc Tunable Parameters): Document
88741         M_PERTURB.
88743 2010-07-26  Roland McGrath  <roland@redhat.com>
88745         [BZ #11840]
88746         * configure.in (-fgnu89-inline check): Set and substitute
88747         gnu89_inline, not libc_cv_gnu89_inline.
88748         * configure: Regenerated.
88749         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
88751 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
88753         * string/test-strnlen.c: New file.
88754         * string/Makefile (strop-tests): Add strnlen.
88755         * string/tester.c (test_strnlen): Add a few more test cases.
88756         * string/tst-strlen.c: Better error reporting.
88758         * sysdeps/x86_64/strnlen.S: New file.
88760 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
88762         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
88763         lower-latency instructions.
88765 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
88767         * string/test-strcasestr.c: New file.
88768         * string/test-strstr.c: New file.
88769         * string/Makefile (strop-tests): Add strstr and strcasestr.
88770         * string/str-two-way.h: Don't undefine MAX.
88771         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
88773 2010-07-21  Andreas Schwab  <schwab@redhat.com>
88775         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88776         strcasestr-nonascii.
88777         (CFLAGS-strcasestr-nonascii.c): Define.
88778         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
88779         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
88780         Remove unused attribute.
88782 2010-07-20  Roland McGrath  <roland@redhat.com>
88784         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
88785         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
88786         ld.so.cache was broken.  With it, there is no way to disable dsocaps
88787         like LD_HWCAP_MASK can disable hwcaps.
88789 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88791         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
88793 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
88795         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
88796         call in strcasestr.
88797         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
88798         __strcasestr_sse42_nonascii.
88799         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
88800         strcasestr-nonascii.c.
88801         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
88803 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
88805         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
88806         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
88807         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
88808         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
88810 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
88812         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
88813         fcntl.
88815 2010-07-06  Andreas Schwab  <schwab@redhat.com>
88817         [BZ #11577]
88818         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
88819         dl_signal_cerror.
88821 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
88823         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
88824         _PC_PIPE_BUF using F_GETPIPE_SZ.
88826 2010-07-05  Roland McGrath  <roland@redhat.com>
88828         * manual/arith.texi (Rounding Functions): Fix rint description
88829         implicit in round description.
88831 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
88833         * elf/Makefile: Fix linking for a few tests to make recent linker
88834         happy.
88836 2010-06-30  Andreas Schwab  <schwab@redhat.com>
88838         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88839         $(common-objpfx)libc_nonshared.a.
88841 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
88843         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
88844         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
88845         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88846         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88847         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
88848         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
88849         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88850         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
88852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
88853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
88854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
88856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
88858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
88859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
88860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
88861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
88863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
88865         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
88866         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
88867         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
88868         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
88869         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
88870         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
88871         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
88872         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
88873         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
88874         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
88875         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
88876         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
88877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
88878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
88879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
88880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
88881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
88882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
88883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
88884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
88885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
88886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
88887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
88888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
88889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
88890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
88892 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
88894         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
88895         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
88896         * string/memmove.c (memmove): Renamed to ...
88897         (MEMMOVE): ...this.  Default to memmove.
88898         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
88899         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
88900         (END_CHK): Define.
88901         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88902         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
88903         mempcpy-ssse3-back memmove-ssse3-back.
88904         * sysdeps/x86_64/multiarch/bcopy.S: New file .
88905         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
88906         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
88907         * sysdeps/x86_64/multiarch/memcpy.S: New file.
88908         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
88909         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
88910         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
88911         * sysdeps/x86_64/multiarch/memmove.c: New file.
88912         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
88913         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
88914         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
88915         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
88916         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
88917         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
88918         Define.
88919         (index_Fast_Copy_Backward): Define.
88920         (HAS_ARCH_FEATURE): Define.
88921         (HAS_FAST_REP_STRING): Define.
88922         (HAS_FAST_COPY_BACKWARD): Define.
88924 2010-06-21  Andreas Schwab  <schwab@redhat.com>
88926         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88927         Restore proper fallback handling.
88929 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
88931         [BZ #11701]
88932         * posix/group_member.c (__group_member): Correct checking loop.
88934         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
88935         OOM in getpwuid_r correctly.  Return error number when the caller
88936         should return, otherwise -1.
88937         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
88938         call returning > 0 value.
88939         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
88941 2010-06-07  Andreas Schwab  <schwab@redhat.com>
88943         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
88944         libc_nonshared.a from targets in modules-names.
88946 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
88948         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
88949         requires it.
88951 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
88953         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
88954         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
88955         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
88956         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
88958 2010-06-02  Andreas Schwab  <schwab@redhat.com>
88960         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
88962 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
88964         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
88965         and F_GETPIPE_SZ.
88966         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88967         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88968         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88969         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88970         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88971         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88973 2010-06-14  Roland McGrath  <roland@redhat.com>
88975         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
88977 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
88979         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
88980         __REDIRECT followed by __THROW.
88981         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
88982         * posix/getopt.h (getopt): Likewise.
88984 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88986         * hurd/lookup-at.c (__file_name_lookup_at): Accept
88987         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
88988         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
88989         in AT_FLAGS.
88990         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
88991         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
88993 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
88995         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
88997 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
88999         [BZ #11640]
89000         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89001         Properly check family and model.
89003 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
89005         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
89007 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
89009         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
89011 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
89013         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
89014         symbol reference.
89016 2010-05-19  Andreas Schwab  <schwab@redhat.com>
89018         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
89019         symbol reference.
89021 2010-05-21  Andreas Schwab  <schwab@redhat.com>
89023         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
89024         and internal_recvmmsg.
89025         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
89026         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
89027         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
89028         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
89030         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
89031         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
89032         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
89034 2010-05-20  Andreas Schwab  <schwab@redhat.com>
89036         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
89038 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
89040         POWER7 optimizations.
89041         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
89042         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
89044 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
89046         * version.h: Update for 2.13 development version.
89048 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
89050         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
89051         exceptions.  Return 0.
89053 2010-05-07  Roland McGrath  <roland@redhat.com>
89055         * elf/ldconfig.c (main): Add a const.
89057 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
89059         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
89060         (args_options): Add no-idn option.
89061         (ahosts_keys_int): Add idn_flags to ai_flags.
89062         (parse_option): Handle 'i' option to clear idn_flags.
89064         * malloc/malloc.c (_int_free): Possible race in the most recently
89065         added check.  Only act on the data if no current modification
89066         happened.
89068 See ChangeLog.17 for earlier changes.